/* Modern Login Styles - Minimalistisch & Modern */
html {
  height: 100%;
}

body {
  background-image: url(../images/world.jpg);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 100vh;
  overflow: auto;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  margin: 0;
}

#login-frame {
  width: 100%;
  max-width: 420px;
  margin: auto;
  padding: 48px 40px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 
              0 2px 8px rgba(0, 0, 0, 0.15);
  color: #000;
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#login-frame h1 {
  margin: 0 0 32px 0;
  font-size: 28px;
  font-weight: 600;
  color: #000;
  text-align: center;
  letter-spacing: -0.5px;
}

#login-frame h3 {
  margin: 0 0 20px 0;
  font-size: 20px;
  font-weight: 600;
  color: #000;
  text-align: center;
}

#login-frame p {
  color: #000;
  line-height: 1.6;
  margin-bottom: 16px;
}

label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 14px;
  color: #000;
  float: none;
}

input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 20px;
  margin-left: 0;
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 12px;
  font-size: 15px;
  font-family: inherit;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  transition: all 0.3s ease;
  box-sizing: border-box;
  float: none;
}

input[type="email"]:focus,
input[type="password"]:focus,
input[type="text"]:focus {
  outline: none;
  border-color: #007bff;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 123, 255, 0.1);
}

input::placeholder {
  color: rgba(0, 0, 0, 0.4);
}

button[type="submit"] {
  width: 100%;
  padding: 14px 24px;
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
  margin-top: 8px;
}

button[type="submit"]:hover {
  background: linear-gradient(135deg, #0056b3 0%, #004085 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

button[type="submit"]:active {
  transform: translateY(0);
}

#twofA {
  display: block;
  text-align: center;
}

#twofA input {
  text-align: center;
  font-size: 24px;
  letter-spacing: 8px;
  font-weight: 600;
}

.error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.3);
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  color: #000;
  font-size: 14px;
  line-height: 1.5;
}

#countdown {
  font-weight: 600;
  color: #dc3545;
  font-size: 18px;
}

/* Password Reset Link Container */
.password-reset-container {
  text-align: center;
  margin-top: 15px;
}

.password-reset-link {
  color: #007bff;
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s ease;
}

.password-reset-link:hover {
  color: #0056b3;
  text-decoration: underline;
}

/* Admin Login Link in Error */
.admin-login-link {
  color: #007bff;
  text-decoration: underline;
  font-weight: 500;
}

.admin-login-link:hover {
  color: #0056b3;
}

/* Responsive */
@media (max-width: 480px) {
  #login-frame {
    padding: 32px 24px;
    margin: 20px;
  }
  
  #login-frame h1 {
    font-size: 24px;
  }
}
