body[data-path="login"] {
  min-height: 100vh;
  background:
    linear-gradient(rgba(17, 24, 39, 0.2), rgba(17, 24, 39, 0.2)),
    url("/files/login-background-enhanced.jpg") center center / cover no-repeat fixed;
}

body[data-path="login"] .page-content-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
}

body[data-path="login"] .navbar,
body[data-path="login"] .web-header,
body[data-path="login"] nav.navbar {
  display: none !important;
}

body[data-path="login"] .page_content {
  width: 100%;
}

body[data-path="login"] .for-login,
body[data-path="login"] .for-forgot,
body[data-path="login"] .for-login-with-email-link,
body[data-path="login"] .for-signup,
body[data-path="login"] .for-email-login {
  width: 100%;
}

body[data-path="login"] .for-login .page-card,
body[data-path="login"] .for-forgot .page-card,
body[data-path="login"] .for-login-with-email-link .page-card,
body[data-path="login"] .for-signup .page-card,
body[data-path="login"] .for-email-login .page-card {
  max-width: 476px;
  padding: 32px 44px 36px;
  margin: 0 auto;
  border: 0;
  border-radius: 0;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.24);
}

body[data-path="login"] .page-card-head {
  padding: 0;
  margin-bottom: 28px;
  text-align: center;
}

body[data-path="login"] .page-card-head .app-logo {
  content: url("/files/bsa2ed494b.jpg");
  width: min(100%, 220px);
  max-width: 220px;
  max-height: none;
  height: auto;
  margin: 0 auto 18px;
}

body[data-path="login"] .page-card-head h4 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 2.35rem;
  font-weight: 700;
  line-height: 1.08;
  color: #ffffff;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(15, 23, 42, 0.22);
}

body[data-path="login"] .login-content form {
  max-width: none;
}

body[data-path="login"] .page-card-body .form-group {
  margin-bottom: 14px;
}

body[data-path="login"] .page-card-body .email-field input,
body[data-path="login"] .page-card-body .password-field input,
body[data-path="login"] .page-card-body input[type="email"],
body[data-path="login"] .page-card-body input[type="text"],
body[data-path="login"] .page-card-body input[type="password"] {
  height: 50px;
  padding: 12px 18px 12px 18px;
  border: 1px solid #9ca3af;
  border-radius: 4px;
  background: #fff;
  box-shadow: none;
  font-size: 1rem;
}

body[data-path="login"] .page-card-body .email-field input {
  padding-left: 18px;
}

body[data-path="login"] .page-card-body .password-field input {
  padding-left: 18px;
  padding-right: 72px;
}

body[data-path="login"] .page-card-body .field-icon {
  display: none;
}

body[data-path="login"] .page-card-body .toggle-password {
  top: 14px;
  right: 14px;
  color: #2563eb;
  font-size: 0.84rem;
  font-weight: 500;
}

body[data-path="login"] .page-card-body input:focus {
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

body[data-path="login"] .forgot-password-message {
  margin-top: 2px;
  margin-bottom: 14px;
  text-align: left;
}

body[data-path="login"] .forgot-password-message a,
body[data-path="login"] .sign-up-message a {
  color: #2563eb;
  text-decoration: underline;
}

body[data-path="login"] .page-card-actions {
  margin-top: 10px;
}

body[data-path="login"] .page-card .btn.btn-primary,
body[data-path="login"] .page-card .btn.btn-login,
body[data-path="login"] .page-card .btn.btn-forgot,
body[data-path="login"] .page-card .btn.btn-login-with-email-link {
  height: 46px;
  margin-top: 0;
  border: 0;
  border-radius: 4px;
  background: #2f6fca;
  font-size: 1rem;
  font-weight: 600;
  box-shadow: none;
}

body[data-path="login"] .page-card .btn.btn-login-with-email-link,
body[data-path="login"] .page-card .btn.btn-login-with-email-link:hover,
body[data-path="login"] .page-card .btn.btn-login-with-email-link:focus {
  color: #ffffff;
}

body[data-path="login"] .page-card .btn.btn-primary:hover,
body[data-path="login"] .page-card .btn.btn-login:hover,
body[data-path="login"] .page-card .btn.btn-forgot:hover,
body[data-path="login"] .page-card .btn.btn-login-with-email-link:hover {
  background: #205fb6;
}

body[data-path="login"] .sign-up-message {
  margin-top: 12px;
  text-align: center;
  color: #3f3f46;
}

body[data-path="login"] .web-footer {
  display: none !important;
}

@media (max-width: 575.98px) {
  body[data-path="login"] .page-content-wrapper {
    padding: 22px 14px;
  }

  body[data-path="login"] .for-login .page-card,
  body[data-path="login"] .for-forgot .page-card,
  body[data-path="login"] .for-login-with-email-link .page-card,
  body[data-path="login"] .for-signup .page-card,
  body[data-path="login"] .for-email-login .page-card {
    padding: 24px 20px 26px;
  }

  body[data-path="login"] .page-card-head h4 {
    font-size: 2rem;
  }

  body[data-path="login"] .page-card-head .app-logo {
    width: min(100%, 180px);
    margin-bottom: 16px;
  }
}

body.student-portal-theme {
  min-height: 100vh;
  background: linear-gradient(180deg, #0f172a 0%, #153a6b 50%, #f8fafc 100%);
}

body.student-portal-theme #app {
  min-height: 100vh;
}

body.student-portal-theme .h-screen.w-screen {
  min-height: 100vh;
  width: 100%;
  background: transparent;
}

body.student-portal-theme .h-full.border-r.bg-gray-50 {
  border-right: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(16px);
  box-shadow: 24px 0 60px rgba(15, 23, 42, 0.18);
}

body.student-portal-theme .flex-1.flex.flex-col.h-full.overflow-auto {
  background: rgba(255, 255, 255, 0.86);
  backdrop-filter: blur(12px);
}

body.student-portal-theme header.flex.justify-between.gap-3.items-center {
  border-bottom: 1px solid rgba(47, 111, 202, 0.16);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.9));
}

body.student-portal-theme header h3 {
  color: #16325c;
  font-weight: 700;
}

body.student-portal-theme button[class*="btn"],
body.student-portal-theme .btn {
  border-radius: 4px;
}

body.student-portal-theme button[class*="variant-solid"],
body.student-portal-theme .bg-ink-gray-9,
body.student-portal-theme .bg-gray-900,
body.student-portal-theme .bg-[--primary-color] {
  background: #2f6fca !important;
}

body.student-portal-theme .flex.h-full.flex-col.justify-between.transition-all.duration-300.ease-in-out > button,
body.student-portal-theme .flex.flex-col.overflow-y-auto button {
  color: rgba(255, 255, 255, 0.92);
}

body.student-portal-theme .h-full.border-r.bg-gray-50 .text-gray-900,
body.student-portal-theme .h-full.border-r.bg-gray-50 .text-gray-800,
body.student-portal-theme .h-full.border-r.bg-gray-50 .text-gray-700,
body.student-portal-theme .h-full.border-r.bg-gray-50 .text-gray-600,
body.student-portal-theme .h-full.border-r.bg-gray-50 .text-base,
body.student-portal-theme .h-full.border-r.bg-gray-50 .text-sm,
body.student-portal-theme .h-full.border-r.bg-gray-50 .font-medium,
body.student-portal-theme .h-full.border-r.bg-gray-50 .font-semibold {
  color: #ffffff !important;
}

body.student-portal-theme .flex.flex-col.overflow-y-auto button:hover,
body.student-portal-theme .flex.h-full.flex-col.justify-between.transition-all.duration-300.ease-in-out > button:hover {
  background: rgba(255, 255, 255, 0.12) !important;
}

body.student-portal-theme .flex.flex-col.overflow-y-auto button.bg-white,
body.student-portal-theme .flex.h-full.flex-col.justify-between.transition-all.duration-300.ease-in-out > button.bg-white {
  background: rgba(255, 255, 255, 0.96) !important;
  color: #000000 !important;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.16);
}

body.student-portal-theme .flex.flex-col.overflow-y-auto button.bg-white .text-gray-900,
body.student-portal-theme .flex.flex-col.overflow-y-auto button.bg-white .text-gray-800,
body.student-portal-theme .flex.flex-col.overflow-y-auto button.bg-white .text-gray-700,
body.student-portal-theme .flex.flex-col.overflow-y-auto button.bg-white .text-gray-600,
body.student-portal-theme .flex.flex-col.overflow-y-auto button.bg-white .text-base,
body.student-portal-theme .flex.flex-col.overflow-y-auto button.bg-white .text-sm,
body.student-portal-theme .flex.h-full.flex-col.justify-between.transition-all.duration-300.ease-in-out > button.bg-white .text-gray-900,
body.student-portal-theme .flex.h-full.flex-col.justify-between.transition-all.duration-300.ease-in-out > button.bg-white .text-gray-800,
body.student-portal-theme .flex.h-full.flex-col.justify-between.transition-all.duration-300.ease-in-out > button.bg-white .text-gray-700,
body.student-portal-theme .flex.h-full.flex-col.justify-between.transition-all.duration-300.ease-in-out > button.bg-white .text-gray-600,
body.student-portal-theme .flex.h-full.flex-col.justify-between.transition-all.duration-300.ease-in-out > button.bg-white .text-base,
body.student-portal-theme .flex.h-full.flex-col.justify-between.transition-all.duration-300.ease-in-out > button.bg-white .text-sm {
  color: #000000 !important;
}

body.student-portal-theme .flex.flex-col.overflow-y-auto button svg,
body.student-portal-theme .flex.h-full.flex-col.justify-between.transition-all.duration-300.ease-in-out > button svg {
  color: inherit;
}

body.student-portal-theme .rounded-md,
body.student-portal-theme .rounded-lg {
  border-radius: 4px;
}

body.student-portal-theme .bg-white {
  background: rgba(255, 255, 255, 0.96) !important;
}

body.student-portal-theme .shadow-sm {
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.14) !important;
}

body.student-portal-theme .border-lightGray,
body.student-portal-theme .border-b,
body.student-portal-theme .border-r {
  border-color: rgba(47, 111, 202, 0.16) !important;
}

body.student-portal-theme .text-gray-900 {
  color: #16325c !important;
}

body.student-portal-theme .text-gray-800,
body.student-portal-theme .text-gray-700 {
  color: #334155 !important;
}

body.student-portal-theme .text-gray-600,
body.student-portal-theme .text-gray-500 {
  color: #475569 !important;
}

body.student-portal-theme .bg-gray-50,
body.student-portal-theme .bg-gray-100 {
  background: rgba(47, 111, 202, 0.08) !important;
}

@media (max-width: 767.98px) {
  body.student-portal-theme .h-full.border-r.bg-gray-50 {
    background: rgba(15, 23, 42, 0.84);
  }

  body.student-portal-theme .flex-1.flex.flex-col.h-full.overflow-auto {
    background: rgba(255, 255, 255, 0.9);
  }
}
