/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

/* Background */
.login-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Container */
.login-container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

/* Card */
.login-form {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
  animation: fadeInUp 0.6s ease;
}
/* Logo */
.logo-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 30px;
}

.logo-wrapper img {
  max-width: 180px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.25));
}
.logo-wrapper img {
  animation: logoFade 0.7s ease;
}

@keyframes logoFade {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Title */
.login-form h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  font-weight: 700;
  color: #203a43;
  letter-spacing: 0.5px;
}

/* Form groups */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  color: #444;
}

.form-group input {
  width: 100%;
  padding: 13px 14px;
  border-radius: 10px;
  border: 1px solid #ddd;
  font-size: 15px;
  transition: all 0.3s ease;
  background-color: #fafafa;
}

.form-group input:focus {
  outline: none;
  border-color: #2c5364;
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(44, 83, 100, 0.15);
}

/* Button */
.btn-primary {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  border: none;
  border-radius: 12px;
  background: linear-gradient(135deg, #203a43, #2c5364);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(32, 58, 67, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 5px 10px rgba(32, 58, 67, 0.3);
}

/* Interest link */
.interest-link p {
  margin-top: 10px;
}

.interest-link a {
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.interest-link a:hover {
  color: #203a43;
  text-decoration: underline;
}

/* Admin link (από inline css σου) */
.admin-link {
  text-align: center;
  margin-top: 25px;
  border-top: 1px solid #e0e0e0;
  padding-top: 15px;
}

.admin-link a {
  color: #777;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s ease;
}

.admin-link a:hover {
  color: #203a43;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .login-form {
    padding: 30px 20px;
  }

  .login-form h2 {
    font-size: 24px;
  }
}
/* Login messages */
.login-message {
  margin-top: 15px;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  display: none;
  text-align: center;
  border: 1px solid transparent;
}

.login-message.error {
  background: rgba(248, 215, 218, 0.95);
  color: #721c24;
  border-color: #f5c6cb;
}
.input-error {
  border: 1px solid #d52925 !important;
  background: #fbf0f0 !important;
  /* box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.2) !important; */
}
/* Valid input (blue highlight) */
.input-valid {
  border-color: #2c5364 !important;
  background-color: #f4f9fb !important;
  box-shadow: 0 0 0 3px rgba(44, 83, 100, 0.2) !important;
}
