body {
  font-family: Arial, sans-serif;
  background: #fff;
  text-align: center;
  margin: 0;
  padding: 0;
  display: flex; /* Enable Flexbox for vertical centering */
  flex-direction: column; /* Arrange items in a column */
  justify-content: space-between; /* Push content to top/bottom */
  align-items: center; /* Center horizontally */
  min-height: 100vh; /* Ensure the body takes full viewport height */
}

.container {
  padding: 2em;
  max-width: 600px;
  flex-grow: 1; /* Allow container to take available space */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Vertically center content inside container */
  align-items: center; /* Horizontally center content inside container */
}

input[type="text"], input[type="password"], select {
  width: 88%;
  padding: 10px;
  font-size: 1.1em;
  margin: 10px 0;
}

button {
  padding: 10px 20px;
  font-size: 1em;
  margin: 10px;
}

/* Styling for the text-based logo */
.logo {
  font-size: 2em;
  font-weight: bold;
  margin-bottom: 5px; /* Reduced margin to bring the new line closer */
  display: block;
}

.tagline { /* New class for the added text */
  font-size: 1.2em;
  margin-bottom: 20px;
  display: block;
}

.taglineslogan { /* New class for the added text */
  font-size: 1.0em;
  margin-bottom: 20px;
  display: block;
}

.result {
  margin-top: 20px;
  font-size: 1.4em;
}

.error {
  color: red;
}

/* Styling for the admin link */
.admin-link {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 0.9em;
}

.admin-link a {
  text-decoration: none;
  color: #1a0dab;
  font-weight: bold;
}

/* Footer styles */
.main-footer {
  width: 100%;
  background-color: #f0f0f0;
  padding: 15px 0;
  display: flex;
  justify-content: space-around;
  align-items: center;
  font-size: 0.9em;
  border-top: 1px solid #ddd;
}

.footer-column {
  flex: 1;
  text-align: center;
  padding: 0 10px;
}


/* Header-Links styles */
.main-header-links {
  width: 100%;
  background-color: #f5f5f5;
  padding: 15px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.9em;
  border-top: 1px solid #ddd;
}

.lemko-btn {
    background-color: #28a745; /* Zielony */
    color: white;
    padding: 14px 22px;
    border-radius: 10px;
    font-size: 1.2em;
    font-weight: 600;
    border: none;
    cursor: pointer;
    font-family: system-ui, Arial, sans-serif;
    transition: background 0.2s, transform 0.1s;
}

.lemko-btn:hover {
    background-color: #1e7e34;
}

.lemko-btn:active {
    transform: scale(0.97);
}

.header-column {
  padding: 0 10px;
}

.main-header-links a {
  text-decoration: none;
}

@media (max-width: 768px) {
  .main-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-column {
    flex: none;
    text-align: left;
    margin-bottom: 5px;
  }

}