.login-container {
  width: 100%;
  margin: 0 auto;
  max-width: 500px;
}

.login-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 40px;
  border: 1px solid rgba(59, 130, 246, 0.1);
  box-shadow: 0 10px 40px rgba(30, 58, 138, 0.1);
  backdrop-filter: blur(10px);
}

.login-title {
  font-size: 32px;
  font-weight: 700;
  color: #1e3a8a;
  margin-bottom: 12px;
  text-align: center;
  letter-spacing: -0.5px;
}

.login-subtitle {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 32px;
  text-align: center;
}

.google-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 16px 24px;
  background: #ffffff;
  border: 1px solid rgba(59, 130, 246, 0.3);
  border-radius: 12px;
  color: #374151;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 32px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(30, 58, 138, 0.08);
}

.google-btn:hover {
  background: linear-gradient(135deg, #f8fafc, #eff6ff);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.15);
}

.google-icon {
  margin-right: 10px;
}

.divider {
  text-align: center;
  position: relative;
  margin: 24px 0;
  color: #64748b;
  font-size: 14px;
}

.divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(59, 130, 246, 0.3),
    transparent
  );
  z-index: 0;
}

.divider span {
  background: #ffffff;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.messages {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  max-width: 440px;
  width: calc(100% - 40px);
}

.message {
  padding: 12px 16px;
  border-radius: 8px;
  margin-bottom: 8px;
  font-size: 14px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.message.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #22c55e;
}

.message.error {
  background: #fef2f2;
  color: #dc2626;
  border: 1px solid #ef4444;
}

.message.info {
  background: #eff6ff;
  color: #1e3a8a;
  border: 1px solid #3b82f6;
}

.form-group {
  margin-bottom: 20px;
  position: relative;
}

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: #1e3a8a;
  margin-bottom: 6px;
  display: none;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(59, 130, 246, 0.2);
  border-radius: 12px;
  font-size: 16px;
  background: #ffffff;
  color: #1e3a8a;
  transition: all 0.3s ease;
  box-sizing: border-box;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.04);
}

.form-control:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-control::placeholder {
  color: #94a3b8;
}

input[type="text"],
input[type="email"],
input[type="password"] {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 2px solid rgba(59, 130, 246, 0.2);
  border-radius: 25px;
  font-size: 16px;
  background: #ffffff;
  color: #1e3a8a;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(30, 58, 138, 0.05);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1),
    0 4px 15px rgba(30, 58, 138, 0.1);
}

input[type="text"]::placeholder,
input[type="email"]::placeholder,
input[type="password"]::placeholder {
  color: #94a3b8;
}

.input-icon {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #3b82f6;
  font-size: 18px;
  pointer-events: none;
  transition: all 0.3s ease;
}

.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  opacity: 0;
  transition: all 0.3s ease;
}

.password-toggle.show {
  opacity: 1;
}

.password-toggle:hover {
  color: #3b82f6;
  background: rgba(59, 130, 246, 0.1);
}

.login-btn {
  width: 100%;
  padding: 18px 24px;
  background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #1e40af 100%);
  color: #ffffff;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-bottom: 32px;
  box-shadow: 0 8px 25px rgba(30, 58, 138, 0.25);
  letter-spacing: 0.5px;
}

.login-btn:hover:not(:disabled) {
  background: linear-gradient(135deg, #1e40af 0%, #2563eb 50%, #1d4ed8 100%);
  box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.login-btn:active:not(:disabled) {
  transform: translateY(-1px);
  box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.login-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.links {
  text-align: center;
}

.forgot-password {
  margin-bottom: 16px;
}

.forgot-password a {
  color: #3b82f6;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.forgot-password a:hover {
  color: #1e40af;
  text-decoration: underline;
}

.links div:last-child {
  font-size: 14px;
}

.text-muted {
  color: #64748b;
}

.links a {
  color: #22c55e;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.links a:hover {
  color: #16a34a;
  text-decoration: underline;
}

@media (max-width: 480px) {
  .login-card {
    padding: 24px;
    margin: 16px 3px;
  }

  .form-group label {
    display: block;
  }

  .password-toggle {
    transform: translateY(-10%);
  }

  .input-icon {
    transform: translateY(15%);
  }

  .fa-envelope.input-icon {
    transform: translateY(20%);
  }

  input[type="text"],
  input[type="email"],
  input[type="password"] {
    padding: 12px 12px 12px 40px;
  }

  .input-icon {
    left: 12px;
    font-size: 16px;
  }

  .password-toggle {
    right: 12px;
  }
}
