/* Student login page styles */
body {
  background: linear-gradient(135deg, #eef2ff 0%, #f8fafc 100%);
}

.login-hero-section {
  padding: 0;
}

.hero-card {
  position: relative;
  background: linear-gradient(180deg, rgba(59, 130, 246, 0.14), rgba(255, 255, 255, 0.96));
  border: 1px solid rgba(59, 130, 246, 0.14);
  box-shadow: 0 32px 80px rgba(37, 99, 235, 0.08);
}

.login-help-icon {
  font: inherit;
  cursor: pointer;
  position: absolute;
  top: 1rem;
  right: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  min-height: 2.5rem;
  padding: 0 0.85rem;
  height: 2.5rem;
  border-radius: 999px;
  border: 1px solid rgba(59, 130, 246, 0.32);
  background: rgba(255, 255, 255, 0.9);
  color: var(--bs-primary);
  text-decoration: none;
  box-shadow: 0 10px 24px rgba(37, 99, 235, 0.12);
  transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.login-help-label {
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.login-help-icon:hover {
  transform: translateY(-1px);
  color: var(--bs-primary);
  background: #fff;
  box-shadow: 0 14px 30px rgba(37, 99, 235, 0.16);
}

.login-help-icon:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.45);
  outline-offset: 2px;
}

.hero-brand .navbar-brand {
  justify-content: center;
}

.hero-brand svg {
  color: var(--bs-primary);
}

.hero-brand .brand-text {
  line-height: 1.1;
  font-weight: 700;
  color: var(--bs-gray-900);
}

.hero-brand .brand-text .brand-line {
  font-size: 3rem;
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-info));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--bs-gray-600);
  margin-top: 0.5rem !important;
  margin-bottom: 0.75rem;
}

.login-panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.login-form .btn {
  border-radius: 0.85rem;
}

.password-field {
  position: relative;
}

.password-field .form-control {
  padding-right: 3.5rem;
}

.password-toggle {
  position: absolute;
  top: 50%;
  right: 0.85rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--bs-gray-600);
  transform: translateY(-50%);
}

.password-toggle:hover {
  color: var(--bs-primary);
}

.password-toggle:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.35);
  outline-offset: 2px;
  border-radius: 999px;
}

.password-toggle-hide {
  display: none;
}

.password-toggle.is-visible .password-toggle-show {
  display: none;
}

.password-toggle.is-visible .password-toggle-hide {
  display: block;
}

.sample-card h3 {
  margin-bottom: 1.5rem;
}

.btn-link {
  color: var(--bs-primary);
}

.btn-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .login-help-icon {
    top: 0.75rem;
    right: 0.75rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-brand .navbar-brand {
    flex-direction: column;
    padding-top: 2.5rem !important;
    padding-bottom: 1.5rem !important;
  }

  .hero-brand .navbar-brand > svg {
    width: 3.5rem;
    height: 3.5rem;
    margin: 0 0 0.75rem !important;
  }

  .hero-brand .brand-text .brand-line {
    font-size: clamp(1.45rem, 8vw, 2rem);
  }
}
