/**
 * Login Page Specific Styles
 */

.login-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #004e98 0%, #00458b 100%);
  padding: 20px;
}

.login-card {
  background: white;
  border-radius: 20px;
  padding: 40px;
  max-width: 450px;
  width: 100%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.login-header {
  text-align: center;
  margin-bottom: 30px;
}

.login-logo {
  width: 150px;
  margin-bottom: 20px;
}

.login-title {
  font-size: 24px;
  font-weight: 600;
  color: #1a1a1a;
  margin-bottom: 10px;
}

.login-subtitle {
  font-size: 14px;
  color: #666;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.login-form .form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #333;
}

.login-form .form-group input {
  padding: 12px 16px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 14px;
  transition: border-color 0.2s;
}

.login-form .form-group input:focus {
  outline: none;
  border-color: #004e98;
}

#turnstile-container {
  display: flex;
  justify-content: center;
  position: relative;
  min-height: 65px;
}

#turnstile-container::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 65px;
  background: #fafafa;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
  z-index: -1;
}

#turnstile-container:has(iframe)::before {
  display: none;
}

.login-button {
  background: linear-gradient(135deg, #004e98, #00458b);
  color: white;
  border: none;
  padding: 14px 24px;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.login-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 78, 152, 0.3);
}

.login-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.login-message {
  text-align: center;
  padding: 12px;
  border-radius: 8px;
  font-size: 14px;
  margin-top: 15px;
  display: none;
}

.login-message.error {
  background: #fee;
  color: #c33;
  border: 1px solid #fcc;
  display: block;
}

.login-message.success {
  background: #efe;
  color: #3c3;
  border: 1px solid #cfc;
  display: block;
}

.back-home-link {
  text-align: center;
  margin-top: 20px;
}

.back-home-link a {
  color: #004e98;
  text-decoration: none;
  font-size: 14px;
}

.back-home-link a:hover {
  text-decoration: underline;
}
