/* accounts.css - account app styles */

:root {
    --acc-nav-bg: rgba(15, 23, 42, .94);
    --acc-nav-bg-strong: #0f172a;
    --acc-nav-line: rgba(255, 255, 255, .12);
    --acc-nav-text: #e5eefc;
    --acc-nav-muted: #9fb1ca;
    --acc-nav-blue: #3b82f6;
    --acc-nav-teal: #14b8a6;
    --acc-nav-soft: rgba(255, 255, 255, .08);
    --acc-nav-hover: rgba(59, 130, 246, .16);
    --acc-nav-shadow: 0 18px 45px rgba(2, 6, 23, .28);
}

body {
    padding-top: 76px;
}

.acc-navbar {
    min-height: 76px;
    background:
        radial-gradient(circle at top left, rgba(20, 184, 166, .22), transparent 36%),
        linear-gradient(135deg, rgba(15, 23, 42, .98), rgba(30, 41, 59, .96));
    border-bottom: 1px solid var(--acc-nav-line);
    box-shadow: var(--acc-nav-shadow);
    backdrop-filter: blur(16px);
    z-index: 1050;
}

.acc-navbar .navbar-brand {
    display: inline-flex;
    align-items: center;
    gap: .7rem;
    color: #fff !important;
    font-weight: 950;
    letter-spacing: -.02em;
}

.acc-brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, var(--acc-nav-blue), var(--acc-nav-teal));
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 14px;
    box-shadow: 0 12px 28px rgba(20, 184, 166, .24);
}

.acc-brand-text {
    display: grid;
    line-height: 1.05;
}

.acc-brand-text small {
    margin-top: .18rem;
    color: var(--acc-nav-muted);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: .02em;
}

.acc-navbar .navbar-toggler {
    border-color: var(--acc-nav-line);
    background: var(--acc-nav-soft);
    box-shadow: none;
}

.acc-navbar .navbar-toggler:focus {
    box-shadow: 0 0 0 .18rem rgba(59, 130, 246, .22);
}

.acc-navbar .navbar-toggler-icon {
    filter: invert(1) grayscale(1) brightness(2);
}

.acc-navbar .nav-link,
.acc-navbar .dropdown-toggle {
    color: var(--acc-nav-text) !important;
    font-size: .88rem;
    font-weight: 850;
    border-radius: 999px;
}

.acc-navbar .nav-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    min-height: 40px;
    padding: .48rem .72rem !important;
}

.acc-navbar .nav-link:hover,
.acc-navbar .nav-link:focus,
.acc-navbar .nav-link.active {
    color: #fff !important;
    background: var(--acc-nav-hover);
}

.acc-navbar .dropdown-menu {
    padding: .65rem;
    background: rgba(255, 255, 255, .98);
    border: 1px solid rgba(148, 163, 184, .35);
    border-radius: 18px;
    box-shadow: 0 24px 70px rgba(2, 6, 23, .22);
}

.acc-navbar .dropdown-item {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 40px;
    color: #334155;
    border-radius: 12px;
    font-size: .86rem;
    font-weight: 780;
}

.acc-navbar .dropdown-item i {
    color: #2563eb;
}

.acc-navbar .dropdown-item:hover,
.acc-navbar .dropdown-item:focus {
    color: #1d4ed8;
    background: #eff6ff;
}

.acc-nav-search {
    min-width: min(28vw, 360px);
    display: flex;
    align-items: center;
    gap: .5rem;
    min-height: 42px;
    padding: 0 .72rem;
    color: var(--acc-nav-muted);
    background: rgba(255, 255, 255, .08);
    border: 1px solid var(--acc-nav-line);
    border-radius: 999px;
}

.acc-nav-search input {
    width: 100%;
    color: #fff;
    background: transparent;
    border: 0;
    outline: 0;
    font-size: .86rem;
}

.acc-nav-search input::placeholder {
    color: rgba(226, 232, 240, .68);
}

.acc-icon-btn {
    width: 42px;
    height: 42px;
    display: inline-grid;
    place-items: center;
    color: #e2e8f0 !important;
    background: var(--acc-nav-soft);
    border: 1px solid var(--acc-nav-line);
    border-radius: 999px;
    text-decoration: none !important;
    position: relative;
}

.acc-icon-btn:hover {
    color: #fff !important;
    background: var(--acc-nav-hover);
}

.acc-dot {
    position: absolute;
    top: 8px;
    right: 9px;
    width: 9px;
    height: 9px;
    background: #ef4444;
    border: 2px solid #0f172a;
    border-radius: 999px;
}

.acc-user-toggle {
    display: inline-flex;
    align-items: center;
    gap: .58rem;
    min-height: 44px;
    padding: .28rem .48rem .28rem .3rem !important;
    color: #fff !important;
    background: rgba(255, 255, 255, .08);
    border: 1px solid var(--acc-nav-line);
    border-radius: 999px;
    text-decoration: none !important;
}

.acc-avatar {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #2563eb, #0f766e);
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 950;
}

.acc-user-meta {
    display: grid;
    line-height: 1.05;
    text-align: left;
}

.acc-user-meta strong {
    max-width: 132px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: .8rem;
}

.acc-user-meta span {
    color: var(--acc-nav-muted);
    font-size: .68rem;
    font-weight: 800;
}

.acc-mega-menu {
    width: min(760px, calc(100vw - 1.5rem));
}

.acc-menu-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .65rem;
}

.acc-menu-section {
    padding: .7rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.acc-menu-title {
    display: flex;
    align-items: center;
    gap: .42rem;
    margin: 0 0 .45rem;
    color: #0f172a;
    font-size: .74rem;
    font-weight: 950;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.acc-menu-title i {
    color: #0f766e;
}

.acc-dropdown-footer {
    display: flex;
    justify-content: space-between;
    gap: .6rem;
    align-items: center;
    margin-top: .65rem;
    padding: .75rem;
    color: #475569;
    background: linear-gradient(135deg, #eff6ff, #ecfeff);
    border: 1px solid #bfdbfe;
    border-radius: 16px;
    font-size: .8rem;
    font-weight: 760;
}

.acc-dropdown-footer a {
    color: #1d4ed8;
    font-weight: 900;
    text-decoration: none;
}

.acc-status-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    min-height: 32px;
    padding: .35rem .58rem;
    color: #bbf7d0;
    background: rgba(22, 163, 74, .12);
    border: 1px solid rgba(187, 247, 208, .18);
    border-radius: 999px;
    font-size: .76rem;
    font-weight: 900;
    white-space: nowrap;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu > .dropdown-menu {
    top: 0;
    left: 100%;
    margin-left: .35rem;
}

.dropdown-submenu > .dropdown-item::after {
    content: ">";
    margin-left: auto;
    color: #94a3b8;
    font-size: 1.1rem;
    font-weight: 900;
}

@media (min-width: 992px) {
    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }
}

@media (max-width: 1199.98px) {
    .acc-nav-search {
        min-width: 220px;
    }
}

@media (max-width: 991.98px) {
    body {
        padding-top: 70px;
    }

    .acc-navbar {
        min-height: 70px;
    }

    .acc-navbar .navbar-collapse {
        margin-top: .8rem;
        padding: .85rem;
        background: rgba(15, 23, 42, .98);
        border: 1px solid var(--acc-nav-line);
        border-radius: 20px;
    }

    .acc-nav-search {
        width: 100%;
        min-width: 100%;
        margin: .55rem 0;
    }

    .acc-navbar .nav-link {
        border-radius: 14px;
    }

    .acc-menu-grid {
        grid-template-columns: 1fr;
    }

    .acc-mega-menu {
        width: 100%;
    }

    .dropdown-submenu > .dropdown-menu {
        position: static;
        margin: .35rem 0 .35rem .8rem;
        box-shadow: none;
        border-radius: 14px;
    }

    .acc-user-toggle {
        width: 100%;
        justify-content: flex-start;
        border-radius: 14px;
    }
}
#mainNavbar {
  width: 100%;
  margin: 0rem auto;
  padding: 1rem;
  border-radius: 0px;
  background: #170f11;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  z-index: 100;
  box-shadow:
    #c2ef75 0px 1px 3px,
    rgba(244, 155, 244, 0.15) 0px 1px 2px;
  margin-bottom: 3rem;
}
.content {
  min-height: 80vh;
  margin-bottom: 5rem;
}
.footer {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: #2f2f2f;
  color: #ced4da;
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    Arial,
    sans-serif;
  margin-top: 2rem;
  box-shadow:
    #d5ddf1 0px 3px 5px,
    rgba(190, 183, 183, 0.15) 0px -1px 2px;
  bottom: 0%;
}
.navbar-brand,
.nav-link {
  width: auto;
  color: #ced4da;
}

input[type="text"],
input[type="email"],
input[type="password"],
textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
}
button {
  padding: 8px 14px;
  background: #2d7bf6;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}
button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

nav a {
  color: #2d7bf6;
  text-decoration: none;
}
.visually-hidden {
  position: absolute !important;
  height: 1px;
  width: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
  border: 0;
  padding: 0;
  margin: -1px;
}
/* Additional styling for the signup form */
/* =========================
   GLASSMORPHISM NAVBAR
========================= */
.my-top-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: rgba(255, 255, 255, 0.65);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.35s ease;
  padding-top: 16px;
  padding-bottom: 16px;
}

/* Shrink on Scroll */

.my-top-nav.shrink {
  padding-top: 6px;
  padding-bottom: 6px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
}

.card {
  margin-top: 8rem;
  max-width: 80%;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  justify-content: center;
}

/* =========================
   BRAND
========================= */

.brand-logo {
  font-weight: 700;
  letter-spacing: 0.5px;
  font-size: 1.35rem;

  transition: all 0.25s ease;
}

.brand-logo:hover {
  transform: scale(1.05);
}

/* =========================
   NAV LINKS
========================= */

.nav-link {
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;

  margin-left: 10px;
  margin-right: 10px;

  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  height: 2px;
  width: 0%;
  background: #2563eb;
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

/* =========================
   REGISTER BUTTON
========================= */

.btn-register {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: white !important;

  padding: 8px 14px;
  border-radius: 35px;

  transition: all 0.3s ease;

  display: inline-block;
  min-width: 6rem;

  text-align: center;
  white-space: nowrap;
}

/* Hover effect */

.btn-register:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(79, 70, 229, 0.4);
}

/* Tablet */

@media (max-width: 992px) {
  .register {
    width: 100%;
    padding: 10px 16px;
    margin-top: 8px;
  }
}

/* Mobile view: remove button styling */

@media (max-width: 768px) {
  .register {
    background: none;
    color: inherit !important;

    padding: 0;
    border-radius: 0;
    min-width: auto;

    box-shadow: none;
    transform: none;
  }

  .register:hover {
    box-shadow: none;
    transform: none;
    text-decoration: underline;
  }
}

/* =========================
   DARK MODE
========================= */

body.dark-mode {
  background: #0f172a;
  color: #e2e8f0;
}

body.dark-mode .my-top-nav {
  background: rgba(15, 23, 42, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

body.dark-mode .nav-link {
  color: #e2e8f0 !important;
}

/* =========================
   THEME BUTTON
========================= */

.theme-toggle {
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.theme-toggle:hover {
  transform: scale(1.2) rotate(10deg);
}

/* Card enhancements */
.card-body {
  margin-top: 5rem;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}
.card-body:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}
/* Form inputs */
.form-control-lg {
  border-radius: 0.5rem;
  border: 1px solid #ced4da;
  transition:
    border-color 0.2s ease-in-out,
    box-shadow 0.2s ease-in-out;
}
.form-control-lg:focus {
  border-color: #86b7fe;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Invalid state */
.form-control-lg.is-invalid {
  border-color: #dc3545;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(0.375em + 0.1875rem) center;
  background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}
.form-control-lg.is-invalid:focus {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
}

/* Error messages (invalid-feedback) */
.invalid-feedback {
  font-size: 0.875rem;
  color: #dc3545;
  margin-top: 0.25rem;
  display: block; /* ensures it appears when present */
}

/* Button */
.btn-primary.btn-lg {
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition:
    background-color 0.2s,
    transform 0.1s;
}
.btn-primary.btn-lg:hover {
  background-color: #0b5ed7;
  transform: scale(1.02);
}
.btn-primary.btn-lg:active {
  transform: scale(0.98);
}

/* Links */
a {
  transition: color 0.2s;
}
a:hover {
  color: #0a58ca;
  text-decoration: underline !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
  .card-body {
    padding: 1.5rem !important;
  }
  .btn-lg {
    font-size: 1rem;
  }
}

.signup {
  display: inline-block;
  padding: 14px 32px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fdfff7;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;

  /* Gradient background */
  background: linear-gradient(135deg, #4f46e5, #06b6d4);

  /* Depth */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

  /* Smooth animation */
  transition: all 0.35s ease;

  position: relative;
  overflow: hidden;
}

/* Hover effect */
.signup:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  color: #d2f0f5;
}

/* Click effect */
.signup:active {
  transform: translateY(1px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
}

/* Light sweep animation */
.signup::before {
  content: "";
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  transform: skewX(-25deg);
  transition: left 0.6s ease;
}

.signup:hover::before {
  left: 130%;
}

.title {
  font-size: 2.8rem;
  font-weight: 700;
  text-align: center;
  letter-spacing: 1px;
  margin-bottom: 25px;
  position: relative;
  cursor: default;

  /* Gradient text */
  background: linear-gradient(120deg, #2563eb, #9333ea, #ec4899);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  /* Animation */
  animation: gradientShift 6s ease infinite;

  /* Glow */
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

/* Animated underline */
.title::after {
  content: "";
  position: absolute;
  width: 60px;
  height: 3px;
  left: 50%;
  bottom: -8px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, #2563eb, #9333ea, #ec4899);
  border-radius: 5px;
  transition: width 0.4s ease;
}

/* Hover interaction */
.title:hover::after {
  width: 120px;
}

/* Subtle scale and glow on hover */
.title:hover {
  transform: scale(1.05);
  text-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

/* Gradient animation */
@keyframes gradientShift {
  0% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
  100% {
    background-position: 0% center;
  }
}

/* Background */

.login-bg {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 30%, #4f46e5 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, #9333ea 0%, transparent 40%),
    linear-gradient(135deg, #0f172a, #1e293b, #020617);
  display: flex;
  align-items: center;
}

/* Login Card (3D effect) */

.login-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(20px);

  border-radius: 20px;

  padding: 40px;

  border: 1px solid rgba(255, 255, 255, 0.15);

  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);

  transform-style: preserve-3d;

  transition: all 0.4s ease;
}

/* Hover tilt */

.login-card:hover {
  transform: rotateX(4deg) rotateY(-4deg) translateY(-6px) scale(1.02);

  box-shadow: 0 60px 120px rgba(0, 0, 0, 0.8);
}

/* Header */

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

.login-title {
  font-size: 2rem;
  font-weight: 700;

  background: linear-gradient(120deg, #38bdf8, #818cf8, #c084fc);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  letter-spacing: 0.5px;
}

.login-subtitle {
  color: #cbd5f5;
  font-size: 0.95rem;
  margin-top: 8px;
}

/* Form */

.login-body form {
  margin-top: 10px;
}

/* Crispy form inputs */

.login-card input {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.2);

  background: rgba(255, 255, 255, 0.07);

  color: white;

  transition: 0.3s;
}

.login-card input:focus {
  border-color: #818cf8;

  box-shadow: 0 0 12px rgba(129, 140, 248, 0.7);

  background: rgba(255, 255, 255, 0.12);
}
.login-card label {
  font-weight: 600;
  letter-spacing: 0.3px;
  color: #cbd5f5;

  margin-bottom: 6px;
}

/* Login button */

.btn-login {
  width: 100%;

  margin-top: 20px;

  border: none;

  border-radius: 12px;

  padding: 14px;

  font-size: 1.1rem;

  font-weight: 600;

  letter-spacing: 0.5px;

  color: white;

  background: linear-gradient(135deg, #4f46e5, #9333ea);

  box-shadow: 0 12px 25px rgba(79, 70, 229, 0.6);

  transition: all 0.3s ease;
}

/* Button hover */

.btn-login:hover {
  transform: translateY(-3px) scale(1.03);

  box-shadow: 0 18px 40px rgba(147, 51, 234, 0.8);
}

/* Links section */

.login-links {
  margin-top: 25px;
  text-align: center;
}

.login-links a {
  color: #a5b4fc;
  font-weight: 500;
  text-decoration: none;

  transition: 0.2s;
}

.login-links a:hover {
  color: white;
}

/* Divider */

.divider {
  height: 1px;

  margin: 18px 0;

  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.4),
    transparent
  );
}

.btn-login-done {
  width: 150px;
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;

  /* Gradient background */
  background: linear-gradient(135deg, #4f46e5, #06b6d4);

  /* Depth */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

  /* Smooth animation */
  transition: all 0.35s ease;

  position: relative;
}
.btn-contact {
  display: inline-block;
  padding: 14px 32px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #fff;
  text-decoration: none;
  border: none;
  border-radius: 50px;
  cursor: pointer;

  /* Gradient background */
  background: linear-gradient(135deg, #46e588, #022126);

  /* Depth */
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);

  /* Smooth animation */
  transition: all 0.35s ease;

  position: relative;
}

/* Page spacing */

body {
  padding-top: 90px;
  background: #0f172a;
  color: white;
}

.main-content {
  padding-top: 40px;
  padding-bottom: 80px;

  min-height: 80vh;
}

.content-wrapper {
  margin-top: 30px;
  margin-bottom: 60px;
}

/* NAVBAR */

.my-top-nav {
  background: linear-gradient(135deg, #020617, #0f172a, #1e293b);

  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);

  backdrop-filter: blur(12px);

  transition: all 0.3s ease;
}

/* Brand */

.brand-logo {
  font-weight: 700;
  font-size: 1.5rem;

  background: linear-gradient(90deg, #38bdf8, #818cf8, #c084fc);

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Nav list spacing */

.nav-modern li {
  margin-left: 15px;
  font-size: 1.25rem;
  color: #f0f0f3;
}
.admin-portal {
  font-size: 1.5rem;
}
.dropdown-item{
    font-size: 1rem;
}

/* Nav links */

.nav-modern-link {
  font-weight: 500;

  position: relative;

  padding: 8px 14px;

  transition: all 0.3s ease;
}

/* Underline animation */

.nav-modern-link::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: -3px;

  width: 0%;

  height: 2px;

  background: #818cf8;

  transition: width 0.3s ease;
}

.nav-modern-link:hover::after {
  width: 100%;
}

.nav-modern-link:hover {
  color: #a5b4fc;

  transform: translateY(-1px);
}

/* Call-to-action button */

.nav-cta {
  background: linear-gradient(135deg, #4f46e5, #9333ea);

  padding: 8px 18px;

  border-radius: 15px;

  font-weight: 500;

  color: white !important;

  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.5);

  transition: all 0.3s ease;
  width: auto;
  text-align: center;
}

.nav-cta:hover {
  transform: translateY(-3px);

  box-shadow: 0 14px 35px rgba(147, 51, 234, 0.8);
}

/* Theme toggle */

.theme-toggle {
  background: rgba(255, 255, 255, 0.08);

  border: none;

  border-radius: 50%;

  width: 40px;
  height: 40px;

  font-size: 18px;

  transition: 0.3s;
}

.theme-toggle:hover {
  background: rgba(255, 255, 255, 0.2);

  transform: rotate(20deg);
}

/* Footer */

.footer {
  padding: 18px;

  background: #020617;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: #94a3b8;
}
.form-label {
  font-weight: 600;
  letter-spacing: 0.5px;
  color: #495057;
}
.card-activate {
  background: linear-gradient(135deg, #26dcc7, #9333ea);
  color: white;
  border: solid 1px rgba(255, 255, 255, 0.15);
  border-radius: 10px 10px 0 0;
  padding: 1rem;
  transition: all 0.3s ease;
  margin: auto;
}

.activation-page {
  min-height: 75vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Glass Card */

.activation-card {
  border: none;
  border-radius: 18px;
  overflow: hidden;

  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);

  box-shadow:
    0 25px 60px rgba(0, 0, 0, 0.15),
    0 10px 20px rgba(0, 0, 0, 0.08);

  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.activation-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow:
    0 35px 70px rgba(0, 0, 0, 0.2),
    0 15px 30px rgba(0, 0, 0, 0.1);
}

/* Header */

.activation-header {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  padding: 1.5rem;
  text-align: center;
}

.activation-header h4 {
  color: white;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin: 0;
}

/* Body */

.activation-body {
  padding: 2rem 2.2rem;
}

/* Description text */

.activation-description {
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
}

/* Submit button */

.btn-send {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  border: none;
  border-radius: 40px;
  padding: 10px;

  font-weight: 600;
  letter-spacing: 0.4px;

  transition: all 0.3s ease;
}

.btn-send:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.35);
}

/* Footer */

.activation-footer {
  background: #f8f9fa;
  text-align: center;
  padding: 1rem;
}

.activation-footer a {
  text-decoration: none;
  font-weight: 500;
  color: #4f46e5;
  transition: all 0.2s ease;
}

.activation-footer a:hover {
  color: #2563eb;
  text-decoration: underline;
}

/* Small animation */

.fade-in {
  animation: fadeInUp 0.6s ease;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* PROFILE MENU TRIGGER */

.profile-trigger {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.profile-trigger:hover {
  transform: translateY(-2px);
}

/* PROFILE ICON */

.profile-icon {
  font-size: 18px;
  color: #4f46e5;
}

.avatar-img {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #4f46e5;
}

/* DROPDOWN MENU */

.profile-dropdown {
  border: none;
  border-radius: 14px;
  padding: 10px 0;
  min-width: 220px;
  animation: profileFade 0.25s ease;
}

/* SECTION HEADERS */

.profile-header {
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #999;
  padding: 3px 10px;
}

/* MENU ITEMS */

.profile-item {
  padding: 10px 10px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.profile-item:hover {
  background: #f5f7fb;
  transform: translateX(4px);
}

/* LOGOUT */

.logout-item {
  color: #d9534f;
  font-weight: 600;
}

.logout-item:hover {
  background: #ffe9e9;
}

/* DROPDOWN ANIMATION */

@keyframes profileFade {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.profile-text {
  font-weight: 600;
  color: #d9d8ef;
  font-size: 18px;
}

/* HERO SECTION */

.dashboard-hero {
  min-height: 80vh;

  display: flex;
  justify-content: center;
  align-items: center;

  padding: 40px 20px;

  background: linear-gradient(135deg, #0f172a, #1e3a8a, #2563eb);
  background-size: 400% 400%;

  animation: gradientShift 12s ease infinite;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

/* MAIN CARD */

.dashboard-card {
  max-width: 900px;
  width: 100%;

  background: rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(18px);

  border-radius: 18px;

  padding: 50px;

  text-align: center;

  color: white;

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.35);

  transition: transform 0.4s ease;
}

.dashboard-card:hover {
  transform: translateY(-5px);
}

/* TITLE */

.welcome-title {
  font-size: 2.4rem;
  font-weight: 700;

  margin-bottom: 15px;
}

/* LEAD TEXT */

.lead-text {
  font-size: 1.1rem;
  opacity: 0.9;

  max-width: 700px;
  margin: auto;
}

/* FEATURES GRID */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));

  gap: 25px;

  margin-top: 40px;
  margin-bottom: 40px;
}

/* FEATURE CARD */

.feature {
  background: rgba(255, 255, 255, 0.15);

  padding: 25px;

  border-radius: 12px;

  transition: all 0.35s ease;

  cursor: default;
}

.feature:hover {
  transform: translateY(-6px) scale(1.03);

  background: rgba(255, 255, 255, 0.25);
}

/* ICON */

.icon {
  font-size: 2rem;
  margin-bottom: 10px;
}

/* STATUS TEXT */

.status-text {
  margin-bottom: 20px;
  font-size: 1rem;
}

.status-text.success {
  color: #bbf7d0;
}

.status-text.warning {
  color: #fde68a;
}

/* CTA BUTTON */

.cta-btn {
  display: inline-block;

  padding: 12px 28px;

  border-radius: 30px;

  background: white;
  color: #1e3a8a;

  font-weight: 600;

  text-decoration: none;

  transition: all 0.3s ease;

  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.cta-btn:hover {
  transform: translateY(-3px);

  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.35);
}

/* PRIMARY BUTTON */

.cta-btn.primary {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
}

/* MOBILE */

@media (max-width: 768px) {
  .dashboard-card {
    padding: 35px 25px;
  }

  .welcome-title {
    font-size: 1.9rem;
  }
}
/* PROFILE CARD */

.profile-card {
  border-radius: 18px;

  transform: perspective(1200px) rotateX(0deg);

  transition: all 0.4s ease;

  background: linear-gradient(145deg, #ffffff, #f8fafc);

  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.profile-card:hover {
  transform: perspective(1200px) rotateX(2deg) translateY(-4px);

  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

/* HEADER */

.profile-header {
  background: linear-gradient(135deg, #2563eb, #4f46e5);

  color: white;

  padding: 28px;

  border-radius: 18px 18px 0 0;

  letter-spacing: 0.5px;
}

/* FORM AREA */

.form-area {
  margin-top: 10px;
}

/* SAVE BUTTON */

.btn-save {
  background: linear-gradient(135deg, #2563eb, #4f46e5);

  color: white;

  padding: 10px 26px;

  border-radius: 30px;

  border: none;

  font-weight: 600;

  letter-spacing: 0.3px;

  transition: all 0.3s ease;

  box-shadow: 0 10px 20px rgba(37, 99, 235, 0.35);
}

.btn-save:hover {
  transform: translateY(-2px);

  box-shadow: 0 15px 30px rgba(37, 99, 235, 0.45);

  background: linear-gradient(135deg, #1d4ed8, #4338ca);
}

/* CANCEL BUTTON */

.btn-cancel {
  background: linear-gradient(135deg, #ef4444, #dc2626);

  color: white;

  padding: 10px 26px;

  border-radius: 30px;

  font-weight: 600;

  border: none;

  transition: all 0.3s ease;

  box-shadow: 0 10px 20px rgba(220, 38, 38, 0.35);
}

.btn-cancel:hover {
  transform: translateY(-2px);

  box-shadow: 0 15px 30px rgba(220, 38, 38, 0.45);

  background: linear-gradient(135deg, #dc2626, #b91c1c);
}

/* MOBILE IMPROVEMENTS */

@media (max-width: 768px) {
  .btn-save,
  .btn-cancel {
    width: 48%;
    padding: 10px;
  }
}
/* Password Reset Card */
.reset-card {
  border-radius: 20px;
  background: linear-gradient(145deg, #ffffff, #f0f4f8);
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition: all 0.4s ease;
}
.reset-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

/* Header Gradient */
.reset-card-header {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: white;
  border-radius: 20px 20px 0 0;
  padding: 2rem 1rem;
}

/* Button Styling */
.btn-reset {
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: white;
  border-radius: 30px;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  transition: all 0.3s ease;
}
.btn-reset:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
}

/* Responsive spacing */
@media (max-width: 768px) {
  .reset-card {
    margin: 1rem;
  }
  .btn-reset {
    width: 100%;
  }
}
/* Profile Card with 3-D tilt */
.profile-card {
  border-radius: 20px;
  background: #ffffff;
  padding: 2rem;
  box-shadow:
    0 15px 40px rgba(0, 0, 0, 0.15),
    inset 0 1px 0 rgba(255, 255, 255, 0.6);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  perspective: 1000px; /* Needed for 3-D tilt */
}
.profile-card:hover {
  transform: rotateX(3deg) rotateY(3deg) translateY(-5px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
}

/* Layout */
.profile-info-container {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.profile-image-container {
  flex: 0 0 200px;
  text-align: center;
  position: relative;
}

.profile-image-container img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #4f46e5;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
  transition: all 0.3s ease;
}
.profile-image-container img:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 30px rgba(79, 70, 229, 0.45);
}

/* Change Image Button */
.btn-change-image {
  margin-top: 0.75rem;
  background: linear-gradient(135deg, #2563eb, #4f46e5);
  color: white;
  border-radius: 30px;
  padding: 0.5rem 1.25rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
  transition: all 0.3s ease;
}
.btn-change-image:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 235, 0.45);
  background: linear-gradient(135deg, #1d4ed8, #4338ca);
}

/* Vertical Divider */
.vertical-divider {
  border-left: 2px solid #218af2;
  height: auto;
}

/* Profile Text */
.profile-info {
  flex: 1;
}
.profile-info p {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
  color: #39393a;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .profile-info-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .vertical-divider {
    display: none;
  }
  .profile-info {
    margin-top: 1rem;
  }
}
/* Page spacing */
.application-wrapper {
  margin-top: 40px;
}

/* Card styling */
.app-card {
  border-radius: 16px;
  border: 2px solid transparent;
  transition: all 0.35s ease;
  cursor: pointer;
  background: white;
  position: relative;
  overflow: hidden;
}

/* Gradient glow on hover */
.app-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Selected state */
.app-card.selected {
  border: 2px solid #0d6efd;
  background: linear-gradient(145deg, #f7fbff, #ffffff);
  box-shadow: 0 15px 35px rgba(13, 110, 253, 0.25);
}

/* Icon styling */
.app-icon {
  font-size: 4rem;
  transition: transform 0.3s ease;
}

.app-card:hover .app-icon {
  transform: scale(1.15) rotate(-5deg);
}

/* Header */
.app-header {
  background: linear-gradient(135deg, #0d6efd, #4dabff);
  border-radius: 16px 16px 0 0;
}

/* Continue button */
.btn-continue {
  padding: 10px 28px;
  font-weight: 600;
  letter-spacing: 0.4px;
  border-radius: 30px;
  transition: all 0.25s ease;
}

.btn-continue:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(13, 110, 253, 0.3);
}

/* Cancel button */
.btn-cancel {
  border-radius: 30px;
  padding: 10px 25px;
}

/* Hidden radio */
.application-radio {
  display: none;
}

/* subtle background */
.page-bg {
  background: linear-gradient(120deg, #f5f7fa, #eef2f7);
  padding: 30px;
  border-radius: 16px;
}
.dashboard-wrapper {
  padding-top: 10px;
}

/* title styling */

.portal-title {
  letter-spacing: 1px;
}

.title-divider {
  height: 2px;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  border: none;
  margin-bottom: 30px;
}

/* container depth */

.dash-container {
  position: relative;
  border-radius: 18px;
  background: #ffffff;
  overflow: visible;
  padding-bottom: 10px;
  transition: transform 0.35s ease;
  margin: 45px 5px;
  width: 30%;
}

/* ribbon hanger */

.hanger {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 14px;
  background: linear-gradient(90deg, #c0392b, #e74c3c);
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 3;
}

/* nail illusion */

.hanger::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 8px;
  height: 8px;
  background: #444;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* image */

.card-img-top {
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
  transition: transform 0.6s ease;
}

/* card styling */

.dash-card {
  border-radius: 14px;
  transition: all 0.35s ease;
  cursor: pointer;
  transform-style: preserve-3d;
  background: #ffffff;
  margin-top: 10px;
}

/* hover effects */

.dash-container:hover {
  transform: translateY(-10px);
}

.dash-container:hover .dash-card {
  box-shadow:
    0 25px 45px rgba(0, 0, 0, 0.25),
    0 10px 15px rgba(0, 0, 0, 0.15);
  transform: rotateX(6deg) rotateY(-4deg);
}

.dash-container:hover .card-img-top {
  transform: scale(1.05);
}

/* text */

.card-header {
  background: #ffffff;
  border-top: 1px solid #f0f0f0;
  text-align: center;
}

/* button */

.btn-primary {
  border-radius: 30px;
  padding: 6px 18px;
}

.profile-card img {
  border-radius: 50%;
  border: 3px solid #4f46e5;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
  transition: all 0.3s ease;
  width: auto;
  height: 200px;
}

/* Faculty demo form */
body.page-faculty-demo {
  background: #f5f7fb;
  color: #0f172a;
}

  .faculty-task-shell {
    color: #0f172a;
    padding: .35rem 0 2.5rem;
  }

  .faculty-task-layout {
    display: block;
    position: relative;
  }

  .faculty-task-sidebar {
    position: fixed;
    top: 5.8rem;
    left: 1.25rem;
    width: 300px;
    max-height: calc(100vh - 6.6rem);
    overflow-y: auto;
    z-index: 1010;
  }

  .faculty-task-main {
    margin-left: calc(300px + 2rem);
    min-width: 0;
  }

  .faculty-task-welcome {
    position: relative;
    overflow: hidden;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: 1.6rem;
    background:
      linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(14, 165, 233, 0.90)),
      #0f766e;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
    color: #fff;
  }

  .faculty-task-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .75rem;
    padding: .42rem .68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .faculty-task-welcome h1 {
    margin: 0 0 .45rem;
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: 0;
  }

  .faculty-task-welcome p {
    max-width: 820px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
  }

  .faculty-task-status {
    min-width: 190px;
    border-radius: 8px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .faculty-task-status span {
    display: block;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, 0.76);
  }

  .faculty-task-status strong {
    display: block;
    margin-top: .3rem;
    font-size: 1.15rem;
  }

  .faculty-task-progress {
    margin-top: .75rem;
    height: .45rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.2);
    overflow: hidden;
  }

  .faculty-task-progress-bar {
    width: 0;
    height: 100%;
    background: #f8fafc;
    transition: width .22s ease;
  }

  .faculty-task-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.25rem;
    margin-top: 1.25rem;
  }

  .faculty-task-panel,
  .faculty-task-guide,
  .faculty-task-jump,
  .faculty-task-mini {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  }

  .faculty-task-panel {
    overflow: hidden;
  }

  .faculty-task-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
  }

  .faculty-task-panel-title h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 900;
  }

  .faculty-task-panel-title p {
    margin: .3rem 0 0;
    color: #64748b;
  }

  .faculty-task-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .76rem;
    border-radius: 999px;
    background: #ecfeff;
    border: 1px solid rgba(13, 148, 136, 0.16);
    color: #0f766e;
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .faculty-task-form {
    padding: 1.35rem;
  }

  .faculty-form-section {
    padding: 1.15rem 0;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
    scroll-margin-top: 7rem;
  }

  .faculty-form-section:first-child {
    padding-top: 0;
    border-top: 0;
  }

  .faculty-form-section h3 {
    display: flex;
    align-items: center;
    gap: .55rem;
    margin: 0 0 .85rem;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
  }

  .faculty-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
  }

  .faculty-form-field {
    min-width: 0;
  }

  .faculty-form-field.is-wide {
    grid-column: 1 / -1;
  }

  .faculty-form-field label {
    margin-bottom: .45rem;
    color: #1f2937;
    font-weight: 800;
  }

  .faculty-task-form .form-control,
  .faculty-task-form .form-select {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: .72rem .78rem;
    background-color: #ffffff;
    color: #0f172a;
    box-shadow: none;
  }

  .faculty-task-form textarea.form-control {
    min-height: 132px;
    resize: vertical;
    line-height: 1.5;
  }

  .faculty-task-form .form-control:focus,
  .faculty-task-form .form-select:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 .2rem rgba(15, 118, 110, 0.13);
  }

  .faculty-field-footer {
    display: flex;
    justify-content: space-between;
    gap: .75rem;
    margin-top: .38rem;
    color: #64748b;
    font-size: .84rem;
  }

  .faculty-word-count {
    white-space: nowrap;
    color: #0f766e;
    font-weight: 700;
  }

  .faculty-submit-box {
    display: flex;
    align-items: flex-start;
    gap: .8rem;
    padding: 1rem;
    border-radius: 8px;
    background: #f0fdfa;
    border: 1px solid rgba(13, 148, 136, 0.16);
  }

  .faculty-submit-box .form-check-input {
    margin-top: .2rem;
    width: 1.1rem;
    height: 1.1rem;
    flex: 0 0 auto;
  }

  .faculty-submit-box label {
    display: block;
    margin-bottom: .2rem;
    color: #0f172a;
    font-weight: 900;
  }

  .faculty-task-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: flex-end;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
  }

  .faculty-task-btn {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 8px;
    padding: .72rem 1rem;
    font-weight: 800;
    text-decoration: none;
  }

  .faculty-task-btn-primary {
    border: 1px solid #0f766e;
    background: #0f766e;
    color: #fff;
  }

  .faculty-task-btn-primary:hover {
    background: #115e59;
    border-color: #115e59;
    color: #fff;
  }

  .faculty-task-btn-secondary {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
  }

  .faculty-task-btn-secondary:hover {
    border-color: #94a3b8;
    color: #0f172a;
  }

  .faculty-task-aside {
    display: grid;
    gap: 1rem;
  }

  .faculty-task-guide,
  .faculty-task-jump,
  .faculty-task-mini {
    padding: 1rem;
  }

  .faculty-task-aside h3 {
    margin: 0 0 .65rem;
    font-size: .94rem;
    font-weight: 900;
    color: #0f172a;
  }

  .faculty-task-list {
    display: grid;
    gap: .65rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .faculty-task-list li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: .65rem;
    align-items: start;
    color: #475569;
    font-size: .92rem;
  }

  .faculty-task-list i,
  .faculty-jump-link i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ecfeff;
    color: #0f766e;
  }

  .faculty-jump-list {
    display: grid;
    gap: .55rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .faculty-jump-link {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: .65rem;
    align-items: center;
    padding: .58rem;
    border-radius: 8px;
    color: #0f172a;
    text-decoration: none;
    border: 1px solid transparent;
  }

  .faculty-jump-link:hover {
    border-color: rgba(13, 148, 136, 0.16);
    background: #f8fafc;
    color: #0f766e;
    text-decoration: none !important;
  }

  .faculty-task-mini {
    background: #f8fafc;
  }

  .faculty-task-mini p {
    margin: 0;
    color: #475569;
    font-size: .92rem;
  }

  .faculty-task-error {
    margin-top: .35rem;
    color: #b91c1c;
    font-size: .84rem;
    font-weight: 700;
  }

  @media (max-width: 1199.98px) {
    .faculty-task-grid {
      grid-template-columns: 1fr;
    }

    .faculty-task-aside {
      grid-template-columns: repeat(3, minmax(0, 1fr));
    }
  }

  @media (max-width: 991.98px) {
    .faculty-task-layout {
      display: block;
    }

    .faculty-task-sidebar {
      position: static;
      width: 100%;
      max-height: none;
      overflow: visible;
      margin-bottom: 1rem;
    }

    .faculty-task-main {
      margin-left: 0;
    }

    .faculty-task-welcome {
      grid-template-columns: 1fr;
    }

    .faculty-task-aside {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 767.98px) {
    .faculty-task-shell {
      padding-top: .5rem;
    }

    .faculty-task-welcome,
    .faculty-task-panel-header,
    .faculty-task-form {
      padding: 1rem;
    }

    .faculty-task-panel-header {
      flex-direction: column;
    }

    .faculty-form-grid {
      grid-template-columns: 1fr;
    }

    .faculty-task-actions {
      justify-content: stretch;
    }

    .faculty-task-btn {
      justify-content: center;
      width: 100%;
    }
  }

/* Signup */
    body.page-signup {
        padding-top: 0;
    }

    body.page-signup .main-content {
        padding-top: 0;
        padding-bottom: 0;
    }

    body.page-signup .content-wrapper {
        margin-top: 0;
        margin-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .signup-bg {
        min-height: 100vh;
        padding: 0 0 3rem;
        background:
            radial-gradient(circle at 20% 30%, #4f46e5 0%, transparent 40%),
            radial-gradient(circle at 80% 70%, #9333ea 0%, transparent 40%),
            linear-gradient(135deg, #0f172a, #1e293b, #020617);
    }

    .signup-shell {
        width: 100%;
    }

    .signup-topbar {
        position: sticky;
        top: 0;
        z-index: 1040;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
        margin: 0 0 1.35rem;
        padding: .75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 0;
        background: rgba(255, 255, 255, 0.07);
        backdrop-filter: blur(16px);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
        color: #fff;
    }

    .signup-brand {
        display: inline-flex;
        align-items: center;
        gap: .75rem;
        min-width: 0;
    }

    .signup-brand-mark {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        background: linear-gradient(135deg, rgba(56, 189, 248, .26), rgba(192, 132, 252, .22));
        border: 1px solid rgba(255, 255, 255, .16);
        color: #dbeafe;
        font-weight: 900;
    }

    .signup-brand-text {
        display: block;
        line-height: 1.15;
        min-width: 0;
    }

    .signup-brand-text strong {
        font-size: 1.02rem;
        letter-spacing: 0;
    }

    .signup-topbar-meta {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: .55rem;
    }

    .signup-meta-pill {
        display: inline-flex;
        align-items: center;
        border-radius: 999px;
        padding: .48rem .7rem;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #e0f2fe;
        font-size: .82rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .signup-stage {
        padding-top: .7rem;
    }

    .signup-card {
        width: min(100%, 920px);
        margin: 0 auto;
        max-width: none;
        background: rgba(255, 255, 255, 0.96);
        border-radius: 20px;
        overflow: hidden;
    }

    .signup-card.card,
    .signup-card .card-body {
        margin-top: 0;
    }

    .signup-card .card-body:hover {
        transform: none;
        box-shadow: none !important;
    }

    .signup-card .title {
        margin-bottom: 0;
    }

    @media (max-width: 767.98px) {
        .signup-bg {
            padding-top: 0;
        }

        .signup-topbar {
            align-items: flex-start;
            flex-direction: column;
        }

        .signup-topbar-meta {
            justify-content: flex-start;
        }

        .signup-stage {
            padding-top: .4rem;
        }
    }

/* Faculty dashboard */
  .faculty-dashboard-shell {
    padding: .35rem 0 2.5rem;
    background:
      radial-gradient(circle at top left, rgba(14, 165, 233, 0.10), transparent 24%),
      radial-gradient(circle at bottom right, rgba(16, 185, 129, 0.10), transparent 26%);
  }

  .faculty-dashboard-grid {
    display: block;
    position: relative;
  }

  .faculty-side-panel {
    position: fixed;
    top: 5.8rem;
    left: 1.25rem;
    width: 300px;
    max-height: calc(100vh - 6.6rem);
    overflow-y: auto;
    z-index: 1020;
  }

  .faculty-main {
    margin-left: calc(300px + 2rem);
    min-width: 0;
  }

  .faculty-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    padding: 2rem;
    background: linear-gradient(135deg, #0f172a, #0f766e 70%, #14b8a6);
    color: #fff;
    box-shadow: 0 24px 50px rgba(15, 23, 42, 0.16);
    margin-bottom: 1.5rem;
  }

  .faculty-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(circle at 82% 18%, rgba(255,255,255,.14), transparent 18%),
      radial-gradient(circle at 14% 85%, rgba(255,255,255,.10), transparent 24%);
    pointer-events: none;
  }

  .faculty-hero-content {
    position: relative;
    z-index: 1;
  }

  .faculty-title {
    font-size: clamp(1.8rem, 2.8vw, 2.65rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: .4rem;
  }

  .faculty-subtitle {
    max-width: 800px;
    color: rgba(255,255,255,.88);
    margin-bottom: 1.2rem;
  }

  .faculty-pill-group {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
  }

  .faculty-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .72rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.14);
    color: #fff;
    font-weight: 700;
    backdrop-filter: blur(10px);
  }

  .faculty-section {
    margin-bottom: 1.5rem;
    scroll-margin-top: 6rem;
  }

  .section-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.5rem;
    background: #fff;
    box-shadow: 0 16px 40px rgba(15,23,42,.08);
    overflow: hidden;
  }

  .section-header {
    padding: 1.2rem 1.35rem;
    border-bottom: 1px solid rgba(148,163,184,.18);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
  }

  .section-title-wrap h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #0f172a;
  }

  .section-title-wrap p {
    margin: .25rem 0 0;
    color: #64748b;
  }

  .section-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    border-radius: 999px;
    padding: .55rem .9rem;
    background: #ecfeff;
    color: #0f766e;
    font-weight: 700;
    border: 1px solid rgba(13,148,136,.16);
    white-space: nowrap;
  }

  .content-grid {
    padding: 1.25rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .content-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 1.2rem;
    background: linear-gradient(180deg, #ffffff, #f8fafc);
    padding: 1rem;
    transition: all .22s ease;
    height: 100%;
  }

  .content-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 26px rgba(15,23,42,.08);
    border-color: rgba(13,148,136,.20);
  }

  .content-icon {
    width: 52px;
    height: 52px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .9rem;
    color: #fff;
    font-size: 1.15rem;
    box-shadow: 0 10px 22px rgba(15,23,42,.10);
  }

  .icon-teal { background: linear-gradient(135deg, #0f766e, #14b8a6); }
  .icon-blue { background: linear-gradient(135deg, #1d4ed8, #3b82f6); }
  .icon-violet { background: linear-gradient(135deg, #7c3aed, #a855f7); }
  .icon-amber { background: linear-gradient(135deg, #d97706, #f59e0b); }

  .content-card h5 {
    font-size: 1rem;
    font-weight: 800;
    color: #0f172a;
    margin-bottom: .45rem;
  }

  .content-card p {
    color: #64748b;
    margin-bottom: .85rem;
    min-height: 66px;
  }

  .feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: .95rem;
  }

  .feature-tag {
    font-size: .78rem;
    font-weight: 700;
    padding: .38rem .68rem;
    border-radius: 999px;
    background: #f1f5f9;
    color: #334155;
  }

  .content-actions {
    display: flex;
    gap: .65rem;
    flex-wrap: wrap;
  }

  .soft-btn {
    border-radius: .9rem;
    font-weight: 700;
    padding: .58rem .9rem;
  }

  .summary-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0,1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .summary-card {
    border-radius: 1.25rem;
    border: 1px solid rgba(15,23,42,.08);
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(10px);
    padding: 1rem;
    box-shadow: 0 12px 28px rgba(15,23,42,.06);
  }

  .summary-card .label {
    color: #64748b;
    font-size: .86rem;
    font-weight: 700;
    margin-bottom: .4rem;
  }

  .summary-card .value {
    font-size: 1.4rem;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: .25rem;
  }

  .summary-card .meta {
    color: #0f766e;
    font-size: .84rem;
    font-weight: 700;
  }

  .demo-status-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
  }

  .demo-status-card {
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 1rem;
    padding: 1rem;
    background: #f8fafc;
  }

  .demo-status-card strong {
    display: block;
    color: #0f172a;
    margin-bottom: .35rem;
  }

  .demo-status-card small {
    color: #64748b;
  }

  @media (max-width: 1199.98px) {
    .content-grid,
    .summary-grid {
      grid-template-columns: repeat(2, minmax(0,1fr));
    }
  }

  @media (max-width: 991.98px) {
    .faculty-side-panel {
      position: static;
      width: 100%;
      max-height: none;
      margin-bottom: 1.25rem;
    }

    .faculty-main {
      margin-left: 0;
    }
  }

  @media (max-width: 767.98px) {
    .content-grid,
    .summary-grid,
    .demo-status-grid {
      grid-template-columns: 1fr;
    }

    .faculty-hero {
      padding: 1.4rem;
    }

    .section-header {
      flex-direction: column;
      align-items: flex-start;
    }
  }

/* Registered user dashboard */
  :root {
    --rud-navy: #0f172a;
    --rud-blue: #2563eb;
    --rud-sky: #0ea5e9;
    --rud-violet: #7c3aed;
    --rud-ink: #172033;
    --rud-muted: #64748b;
    --rud-line: #e2e8f0;
    --rud-surface: #ffffff;
    --rud-soft: #f8fafc;
  }

  body.page-registered_user_dashboard {
    background: #eef3f9;
    color: var(--rud-ink);
    padding-top: 72px;
  }

  body.page-registered_user_dashboard .main-content { padding: 0 0 4rem; }
  body.page-registered_user_dashboard .content-wrapper { margin: 0; padding: 0; }

  .rud-navbar {
    min-height: 72px;
    background: linear-gradient(120deg, #0f172a, #172554 58%, #1d4ed8);
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 12px 30px rgba(15,23,42,.2);
  }

  .rud-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: #fff;
  }

  .rud-brand:hover { color: #fff; text-decoration: none !important; }
  .rud-brand span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
  .rud-brand strong { font-size: 1.02rem; }
  .rud-brand small { margin-top: .2rem; color: #bfdbfe; font-size: .7rem; }

  .rud-brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.15);
  }

  .rud-navbar .nav-link {
    color: #dbeafe;
    margin: 0 .15rem;
    padding: .65rem .85rem !important;
    border-radius: .75rem;
    font-size: .9rem;
  }

  .rud-navbar .nav-link:hover,
  .rud-navbar .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,.1);
    text-decoration: none !important;
  }

  .rud-navbar .nav-link::after { display: none; }

  .rud-account-button {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .35rem .7rem .35rem .4rem;
    color: #fff;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
  }

  .rud-account-button span.text-start { display: flex; flex-direction: column; line-height: 1.1; }
  .rud-account-button strong { font-size: .82rem; }
  .rud-account-button small { color: #bfdbfe; font-size: .68rem; }

  .rud-nav-avatar {
    width: 35px !important;
    height: 35px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.35);
    box-shadow: none;
  }

  .rud-avatar-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    font-weight: 800;
  }

  .rud-dropdown {
    min-width: 230px;
    padding: .5rem;
    border: 1px solid var(--rud-line);
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(15,23,42,.14);
  }

  .rud-dropdown .dropdown-item {
    display: flex;
    gap: .7rem;
    align-items: center;
    padding: .65rem .75rem;
    border-radius: .7rem;
  }

  .rud-page {
    width: min(1560px, 100%);
    margin: 0 auto;
    padding: 2rem clamp(1rem, 3vw, 3rem);
  }

  .rud-layout {
    display: grid;
    grid-template-columns: 255px minmax(0, 1fr);
    gap: 1.5rem;
    align-items: start;
  }

  .rud-sidebar {
    position: sticky;
    top: 94px;
    padding: 1.15rem;
    background: var(--rud-surface);
    border: 1px solid var(--rud-line);
    border-radius: 1.25rem;
    box-shadow: 0 14px 35px rgba(15,23,42,.07);
  }

  .rud-sidebar-heading { display: flex; align-items: center; gap: .75rem; padding: .25rem; }
  .rud-sidebar-heading > div { display: flex; flex-direction: column; }
  .rud-sidebar-heading small { color: var(--rud-muted); font-size: .75rem; }

  .rud-sidebar-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: .85rem;
    color: #fff;
    background: linear-gradient(135deg, var(--rud-blue), var(--rud-sky));
  }

  .rud-sidebar-nav { display: grid; gap: .35rem; margin-top: 1rem; }
  .rud-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .72rem .8rem;
    color: #475569;
    border-radius: .75rem;
    font-size: .88rem;
    font-weight: 650;
  }

  .rud-sidebar-nav a:hover,
  .rud-sidebar-nav a.active {
    color: #1d4ed8;
    background: #eff6ff;
    text-decoration: none !important;
  }

  .rud-sidebar-divider { height: 1px; margin: 1rem 0; background: var(--rud-line); }
  .rud-sidebar-label { margin: 0 .8rem; color: #94a3b8; font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

  .rud-sidebar-note {
    display: flex;
    gap: .65rem;
    margin-top: 1.25rem;
    padding: .85rem;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: .9rem;
  }

  .rud-sidebar-note div { display: flex; flex-direction: column; }
  .rud-sidebar-note strong { font-size: .8rem; }
  .rud-sidebar-note span { margin-top: .2rem; color: #3f7250; font-size: .7rem; line-height: 1.4; }

  .rud-main { min-width: 0; }

  .rud-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.7rem, 4vw, 3.2rem);
    color: #fff;
    background: linear-gradient(125deg, #172554, #1d4ed8 58%, #0ea5e9);
    border-radius: 1.5rem;
    box-shadow: 0 20px 45px rgba(30,64,175,.2);
  }

  .rud-hero::after {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    right: -100px;
    top: -180px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
  }

  .rud-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .38rem .7rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.16);
    font-size: .74rem;
    font-weight: 750;
  }

  .rud-hero h1 { max-width: 850px; margin: 0; font-size: clamp(1.8rem, 4vw, 3.1rem); font-weight: 800; letter-spacing: -.035em; }
  .rud-hero p { max-width: 780px; margin: 1rem 0 0; color: #dbeafe; font-size: 1rem; line-height: 1.75; }

  .rud-hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; position: relative; z-index: 1; }
  .rud-button {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .72rem 1rem;
    border-radius: .8rem;
    font-size: .85rem;
    font-weight: 750;
  }

  .rud-button-primary { color: #1e3a8a; background: #fff; }
  .rud-button-secondary { color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); }
  .rud-button:hover { transform: translateY(-1px); text-decoration: none !important; }

  .rud-status-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin: 1.25rem 0;
  }

  .rud-status-card,
  .rud-panel {
    background: var(--rud-surface);
    border: 1px solid var(--rud-line);
    border-radius: 1.15rem;
    box-shadow: 0 10px 28px rgba(15,23,42,.055);
  }

  .rud-status-card { display: flex; align-items: center; gap: .8rem; padding: 1rem; }
  .rud-status-card i { width: 42px; height: 42px; display: grid; place-items: center; border-radius: .8rem; font-size: 1.05rem; }
  .rud-status-card div { display: flex; flex-direction: column; }
  .rud-status-card strong { font-size: .87rem; }
  .rud-status-card span { color: var(--rud-muted); font-size: .74rem; }
  .rud-status-card:nth-child(1) i { color: #166534; background: #dcfce7; }
  .rud-status-card:nth-child(2) i { color: #1d4ed8; background: #dbeafe; }
  .rud-status-card:nth-child(3) i { color: #7e22ce; background: #f3e8ff; }

  .rud-panel { padding: clamp(1.2rem, 3vw, 2rem); margin-top: 1.25rem; }
  .rud-section-heading { display: flex; justify-content: space-between; gap: 1rem; align-items: end; margin-bottom: 1.25rem; }
  .rud-section-heading h2 { margin: 0; font-size: 1.25rem; font-weight: 800; }
  .rud-section-heading p { margin: .3rem 0 0; color: var(--rud-muted); font-size: .86rem; }

  .rud-path-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .rud-path-card {
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 1.35rem;
    border: 1px solid var(--rud-line);
    border-radius: 1rem;
    background: linear-gradient(145deg, #fff, #f8fafc);
  }

  .rud-path-icon { width: 52px; height: 52px; display: grid; place-items: center; color: #fff; border-radius: 1rem; font-size: 1.2rem; }
  .rud-path-card:first-child .rud-path-icon { background: linear-gradient(135deg, var(--rud-blue), var(--rud-sky)); }
  .rud-path-card:nth-child(2) .rud-path-icon { background: linear-gradient(135deg, var(--rud-violet), #a855f7); }
  .rud-path-card:last-child .rud-path-icon { background: linear-gradient(135deg, #0f766e, #14b8a6); }
  .rud-path-card h3 { margin: 1rem 0 .45rem; font-size: 1.05rem; font-weight: 800; }
  .rud-path-card p { color: var(--rud-muted); font-size: .85rem; line-height: 1.65; }
  .rud-path-list { display: grid; gap: .4rem; margin: .2rem 0 1rem; padding: 0; list-style: none; color: #475569; font-size: .78rem; }
  .rud-path-list i { margin-right: .4rem; color: #22c55e; }
  .rud-path-card .rud-action { margin-top: auto; align-self: flex-start; color: #fff; background: var(--rud-blue); }
  .rud-path-card:last-child .rud-action { background: var(--rud-violet); }
  .rud-path-actions { display: flex; flex-wrap: wrap; gap: .65rem; margin-top: auto; }
  .rud-button-outline { color: #334155; background: #fff; border: 1px solid var(--rud-line); }
  .rud-button-outline:hover { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; }

  .rud-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .8rem; }
  .rud-step { padding: 1rem; border-radius: .9rem; background: var(--rud-soft); border: 1px solid var(--rud-line); }
  .rud-step-number { width: 30px; height: 30px; display: grid; place-items: center; margin-bottom: .7rem; color: #fff; background: var(--rud-navy); border-radius: 50%; font-size: .73rem; font-weight: 800; }
  .rud-step strong { display: block; font-size: .85rem; }
  .rud-step p { margin: .35rem 0 0; color: var(--rud-muted); font-size: .75rem; line-height: 1.5; }

  .rud-resource-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
  .rud-resource {
    display: flex;
    gap: .75rem;
    padding: 1rem;
    color: var(--rud-ink);
    background: var(--rud-soft);
    border: 1px solid var(--rud-line);
    border-radius: .9rem;
  }

  .rud-resource:hover { color: #1d4ed8; border-color: #bfdbfe; background: #eff6ff; text-decoration: none !important; }
  .rud-resource i { color: var(--rud-blue); font-size: 1.1rem; }
  .rud-resource div { display: flex; flex-direction: column; }
  .rud-resource strong { font-size: .82rem; }
  .rud-resource span { margin-top: .2rem; color: var(--rud-muted); font-size: .72rem; line-height: 1.4; }

  body.page-registered_user_dashboard .footer { margin-top: 0; }

  @media (max-width: 991.98px) {
    .rud-navbar .navbar-collapse { padding: 1rem 0; }
    .rud-account-button { width: 100%; border-radius: .8rem; }
    .rud-layout { grid-template-columns: 1fr; }
    .rud-sidebar { position: static; }
    .rud-sidebar-nav { grid-template-columns: repeat(3, minmax(0,1fr)); }
    .rud-sidebar-note, .rud-sidebar-label, .rud-sidebar-divider { display: none; }
  }

  @media (max-width: 767.98px) {
    .rud-page { padding: 1rem; }
    .rud-status-grid, .rud-path-grid, .rud-resource-grid { grid-template-columns: 1fr; }
    .rud-steps { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .rud-sidebar-nav { grid-template-columns: 1fr 1fr; }
    .rud-section-heading { align-items: start; flex-direction: column; }
  }

  @media (max-width: 479.98px) {
    .rud-sidebar { display: none; }
    .rud-steps { grid-template-columns: 1fr; }
  }

/* Prospective faculty status */
  .faculty-status-stats {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1.25rem;
  }

  .faculty-status-stat,
  .faculty-status-application,
  .faculty-status-task,
  .faculty-status-timeline-item {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  }

  .faculty-status-stat {
    padding: 1rem;
  }

  .faculty-status-stat span {
    display: block;
    color: #64748b;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .faculty-status-stat strong {
    display: block;
    margin-top: .35rem;
    color: #0f172a;
    font-size: 1.4rem;
    font-weight: 900;
  }

  .faculty-status-stat small {
    display: block;
    margin-top: .25rem;
    color: #0f766e;
    font-weight: 700;
  }

  .faculty-status-section {
    display: grid;
    gap: 1rem;
  }

  .faculty-status-application,
  .faculty-status-task,
  .faculty-status-timeline-item {
    padding: 1rem;
  }

  .faculty-status-application-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: start;
  }

  .faculty-status-task {
    display: grid;
    grid-template-columns: 1fr;
    gap: .85rem;
  }

  .faculty-status-application h3,
  .faculty-status-task h3 {
    margin: 0 0 .35rem;
    font-size: 1rem;
    font-weight: 900;
    color: #0f172a;
  }

  .faculty-status-application p,
  .faculty-status-task p,
  .faculty-status-timeline-item p {
    margin: 0;
    color: #64748b;
  }

  .faculty-status-pill {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    border-radius: 999px;
    padding: .45rem .7rem;
    background: #ecfeff;
    border: 1px solid rgba(13, 148, 136, 0.16);
    color: #0f766e;
    font-size: .8rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .faculty-status-pill.is-pending {
    background: #fffbeb;
    border-color: rgba(217, 119, 6, 0.18);
    color: #b45309;
  }

  .faculty-status-task-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-bottom: .65rem;
    background: #ecfeff;
    color: #0f766e;
    font-size: 1.1rem;
  }

  .faculty-status-task-link {
    width: 100%;
  }

  .faculty-status-empty {
    border: 1px dashed rgba(15, 23, 42, 0.18);
    border-radius: 8px;
    padding: 1.25rem;
    background: #f8fafc;
    color: #475569;
  }

  .faculty-status-main-tasks {
    margin-top: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: 1rem;
    background: #f8fafc;
  }

  .faculty-status-main-tasks-header {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: flex-start;
    margin-bottom: 1rem;
  }

  .faculty-status-main-tasks-header h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
  }

  .faculty-status-main-tasks-header p {
    margin: .25rem 0 0;
    color: #64748b;
  }

  .faculty-status-main-task-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .85rem;
  }

  @media (max-width: 1199.98px) {
    .faculty-status-stats {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 767.98px) {
    .faculty-status-stats,
    .faculty-status-application-header,
    .faculty-status-task,
    .faculty-status-main-task-grid {
      grid-template-columns: 1fr;
    }

    .faculty-status-main-tasks-header {
      flex-direction: column;
    }
  }

/* Administrative dashboard */
  body.page-administrative_dashboard {
    background: #eef3f9;
    color: #172033;
    padding-top: 74px;
  }

  body.page-administrative_dashboard .main-content { padding: 0 0 4rem; }
  body.page-administrative_dashboard .content-wrapper { margin: 0; padding: 0; max-width: none; }
  body.page-administrative_dashboard .footer { margin-top: 0; }

  .admin-dashboard-shell {
    width: 100%;
    margin: 0 auto;
    padding: 1.15rem clamp(.85rem, 1.6vw, 1.5rem) 0;
  }

  .dashboard-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) minmax(290px, 350px);
    gap: .95rem;
    align-items: start;
  }

  .admin-side-panel {
    position: sticky;
    top: 94px;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    padding: 1.1rem;
    background: rgba(255,255,255,.95);
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    box-shadow: 0 14px 36px rgba(15,23,42,.075);
  }

  .admin-panel-brand {
    display: flex;
    gap: .8rem;
    align-items: center;
  }

  .brand-icon,
  .nav-icon,
  .module-icon {
    display: grid;
    place-items: center;
    color: #fff;
    flex: 0 0 auto;
  }

  .brand-icon {
    width: 48px;
    height: 48px;
    border-radius: .95rem;
    background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  }

  .panel-divider {
    height: 1px;
    margin: 1rem 0;
    background: #e2e8f0;
  }

  .panel-section-title {
    margin-bottom: .75rem;
    color: #64748b;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .admin-nav-list {
    display: grid;
    gap: .35rem;
  }

  .admin-nav-link {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: .7rem;
    align-items: center;
    padding: .65rem;
    color: #334155;
    border-radius: .85rem;
    text-decoration: none;
    transition: .2s ease;
  }

  .admin-nav-link:hover,
  .admin-nav-link.active {
    color: #1d4ed8;
    background: #eff6ff;
    text-decoration: none !important;
  }

  .nav-icon {
    width: 40px;
    height: 40px;
    border-radius: .75rem;
    font-size: 1rem;
  }

  .nav-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.22;
  }

  .nav-title { font-size: .82rem; font-weight: 800; }
  .nav-text small { color: #64748b; font-size: .68rem; }

  .quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
  }

  .quick-link-card {
    display: grid;
    place-items: center;
    min-height: 74px;
    padding: .65rem;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: .9rem;
    font-size: .72rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
  }

  .quick-link-card i {
    color: #2563eb;
    font-size: 1rem;
  }

  .quick-link-card:hover {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #bfdbfe;
    text-decoration: none !important;
  }

  .admissions-icon { background: linear-gradient(135deg, #2563eb, #3b82f6); }
  .academics-icon { background: linear-gradient(135deg, #0f766e, #14b8a6); }
  .hr-icon { background: linear-gradient(135deg, #7c3aed, #a855f7); }
  .registrar-icon { background: linear-gradient(135deg, #ea580c, #f97316); }
  .finance-icon { background: linear-gradient(135deg, #15803d, #22c55e); }
  .career-icon { background: linear-gradient(135deg, #0891b2, #06b6d4); }
  .health-icon { background: linear-gradient(135deg, #dc2626, #fb7185); }
  .activities-icon { background: linear-gradient(135deg, #9333ea, #c084fc); }
  .communications-icon { background: linear-gradient(135deg, #ca8a04, #facc15); }
  .support-icon { background: linear-gradient(135deg, #0369a1, #38bdf8); }
  .docs-icon { background: linear-gradient(135deg, #475569, #94a3b8); }
  .accounts-icon { background: linear-gradient(135deg, #334155, #64748b); }
  .sysadmin-icon { background: linear-gradient(135deg, #be123c, #f43f5e); }

  .dashboard-main { min-width: 0; }

  .admin-insight-rail {
    position: sticky;
    top: 94px;
    display: grid;
    gap: .8rem;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    padding-right: .2rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(37, 99, 235, .45) transparent;
  }

  .admin-insight-card {
    position: relative;
    overflow: hidden;
    background: rgba(255,255,255,.96);
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 14px 34px rgba(15,23,42,.07);
    padding: 1rem;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
  }

  .admin-insight-card:hover {
    transform: translateY(-2px);
    border-color: #bfdbfe;
    box-shadow: 0 18px 42px rgba(15,23,42,.1);
  }

  .admin-insight-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 4px;
    background: linear-gradient(90deg, #2563eb, #0ea5e9, #7c3aed);
  }

  .admin-insight-card.soft {
    background: linear-gradient(180deg, #fff, #eff6ff);
  }

  .admin-insight-card.success {
    background: linear-gradient(180deg, #fff, #f0fdf4);
  }

  .admin-insight-card.warning {
    background: linear-gradient(180deg, #fff, #fffbeb);
  }

  .insight-kicker {
    display: inline-flex;
    align-items: center;
    gap: .42rem;
    margin-bottom: .55rem;
    color: #1d4ed8;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .insight-title {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
  }

  .insight-copy {
    margin: .45rem 0 .85rem;
    color: #64748b;
    font-size: .84rem;
    line-height: 1.55;
  }

  .insight-list {
    display: grid;
    gap: .62rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .insight-list li {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr);
    gap: .55rem;
    align-items: start;
    color: #334155;
    font-size: .83rem;
  }

  .insight-list i {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: .6rem;
    color: #1d4ed8;
    background: #dbeafe;
  }

  .insight-meter {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e2e8f0;
  }

  .insight-meter span {
    display: block;
    height: 100%;
    width: var(--meter-width, 62%);
    border-radius: inherit;
    background: linear-gradient(90deg, #2563eb, #0ea5e9);
  }

  .insight-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    min-height: 38px;
    padding: .48rem .72rem;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: .75rem;
    font-size: .78rem;
    font-weight: 850;
    text-decoration: none !important;
  }

  .insight-action:hover {
    color: #1e40af;
    background: #dbeafe;
  }

  .insight-stat-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .55rem;
  }

  .insight-stat {
    border: 1px solid #e2e8f0;
    border-radius: .85rem;
    background: rgba(255,255,255,.72);
    padding: .65rem;
  }

  .insight-stat strong {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    line-height: 1;
  }

  .insight-stat span {
    display: block;
    margin-top: .32rem;
    color: #64748b;
    font-size: .7rem;
    font-weight: 750;
  }

  .portal-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    color: #fff;
    background: linear-gradient(125deg, #172554, #1d4ed8 58%, #0ea5e9);
    border-radius: 1.35rem;
    box-shadow: 0 20px 45px rgba(30,64,175,.2);
  }

  .portal-hero::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -120px;
    top: -190px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
  }

  .portal-hero-content {
    position: relative;
    z-index: 1;
  }

  .portal-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .38rem .7rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.16);
    font-size: .74rem;
    font-weight: 750;
  }

  .portal-title {
    max-width: 900px;
    margin: 0;
    font-size: clamp(1.8rem, 3.7vw, 3rem);
    font-weight: 850;
    letter-spacing: 0;
  }

  .portal-subtitle {
    max-width: 840px;
    margin: 1rem 0 0;
    color: #dbeafe;
    line-height: 1.7;
  }

  .portal-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
    margin: 1.15rem 0;
  }

  .portal-stat,
  .module-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 10px 28px rgba(15,23,42,.055);
  }

  .portal-stat {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 88px;
    padding: .95rem;
  }

  .portal-stat i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: .8rem;
    color: #1d4ed8;
    background: #dbeafe;
  }

  .portal-stat strong { display: block; font-size: 1.15rem; line-height: 1; }
  .portal-stat span { display: block; margin-top: .3rem; color: #64748b; font-size: .73rem; }

  .module-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
  }

  .module-card {
    display: flex;
    flex-direction: column;
    min-height: 310px;
    padding: 1.05rem;
    scroll-margin-top: 96px;
  }

  .module-card-header {
    display: flex;
    gap: .85rem;
    align-items: flex-start;
  }

  .module-icon {
    width: 50px;
    height: 50px;
    border-radius: .95rem;
    font-size: 1.15rem;
  }

  .module-card h2 {
    margin: .1rem 0 .25rem;
    color: #0f172a;
    font-size: 1.05rem;
    font-weight: 850;
  }

  .module-card p {
    color: #64748b;
    font-size: .82rem;
    line-height: 1.55;
  }

  .module-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin: .85rem 0;
  }

  .module-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .38rem .55rem;
    border-radius: 999px;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    font-size: .68rem;
    font-weight: 800;
  }

  .module-badge.live { color: #166534; background: #dcfce7; border-color: #bbf7d0; }
  .module-badge.locked { color: #991b1b; background: #fee2e2; border-color: #fecaca; }
  .module-badge.available { color: #1d4ed8; background: #dbeafe; border-color: #bfdbfe; }

  .module-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: auto;
  }

  .module-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .42rem;
    padding: .58rem .72rem;
    border-radius: .75rem;
    font-size: .76rem;
    font-weight: 800;
    text-decoration: none !important;
  }

  .module-link.primary {
    position: relative;
    flex: 1 1 100%;
    min-height: 46px;
    padding: .72rem .85rem;
    color: #fff;
    background: linear-gradient(135deg, #1d4ed8, #2563eb);
    box-shadow: 0 10px 22px rgba(37,99,235,.18);
  }

  .module-link.primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(37,99,235,.24);
  }

  .module-link.secondary {
    color: #334155;
    background: #fff;
    border: 1px solid #e2e8f0;
  }

  .module-link.disabled {
    flex: 1 1 100%;
    min-height: 46px;
    color: #94a3b8;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    pointer-events: none;
  }

  .module-note {
    margin-top: .75rem;
    padding: .75rem;
    color: #475569;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: .85rem;
    font-size: .74rem;
    line-height: 1.45;
  }

  @media (max-width: 1199.98px) {
    .dashboard-grid { grid-template-columns: 1fr; }
    .admin-side-panel {
      position: static;
      max-height: none;
    }
    .admin-insight-rail {
      position: static;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      max-height: none;
      overflow: visible;
      padding-right: 0;
    }
    .admin-nav-list {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 767.98px) {
    .admin-dashboard-shell { padding: 1rem; }
    .portal-stat-grid,
    .module-grid,
    .admin-nav-list,
    .admin-insight-rail { grid-template-columns: 1fr; }
  }

/* Account management */
  body.page-account-management {
    background: #eef3f9;
    color: #172033;
    padding-top: 74px;
  }

  body.page-account-management .main-content { padding: 0 0 4rem; }
  body.page-account-management .content-wrapper { margin: 0; padding: 0; max-width: none; }
  body.page-account-management .footer { margin-top: 0; }

.insight-meter-admin-flow span {
  width: 76%;
}

.od-progress-trial span {
  width: 38%;
}

.accounts-email-action {
  display: inline-block;
  padding: 10px 16px;
  color: #fff;
  background: #0d6efd;
  border-radius: 6px;
  text-decoration: none;
}

.account-toggle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: .85rem;
}

.account-toggle {
  display: flex;
  align-items: center;
  gap: .65rem;
  min-height: 48px;
  padding: .8rem .95rem;
  background: #f8fafc;
  border: 1px solid rgba(148, 163, 184, .35);
  border-radius: 14px;
  color: #334155;
  font-weight: 800;
}

.account-toggle .form-check-input {
  margin: 0;
}

.danger-zone {
  border-color: rgba(220, 38, 38, .25);
  background: linear-gradient(135deg, #fff, #fef2f2);
}

  .admin-dashboard-shell {
    width: min(1680px, 100%);
    margin: 0 auto;
    padding: 1.15rem clamp(1rem, 2.5vw, 2rem) 0;
  }

  .dashboard-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }

  .admin-side-panel {
    position: sticky;
    top: 94px;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    padding: 1.1rem;
    background: rgba(255,255,255,.95);
    border: 1px solid #e2e8f0;
    border-radius: 1.15rem;
    box-shadow: 0 14px 36px rgba(15,23,42,.075);
  }

  .admin-panel-brand,
  .admin-nav-link,
  .account-hero,
  .account-card-title,
  .account-action-row,
  .user-row {
    display: flex;
  }

  .admin-panel-brand {
    gap: .8rem;
    align-items: center;
  }

  .brand-icon,
  .nav-icon,
  .account-icon {
    display: grid;
    place-items: center;
    color: #fff;
    flex: 0 0 auto;
  }

  .brand-icon {
    width: 48px;
    height: 48px;
    border-radius: .95rem;
    background: linear-gradient(135deg, #1d4ed8, #7c3aed);
  }

  .panel-divider {
    height: 1px;
    margin: 1rem 0;
    background: #e2e8f0;
  }

  .panel-section-title {
    margin-bottom: .75rem;
    color: #64748b;
    font-size: .7rem;
    font-weight: 850;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .admin-nav-list {
    display: grid;
    gap: .35rem;
  }

  .admin-nav-link {
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr);
    gap: .7rem;
    align-items: center;
    padding: .65rem;
    color: #334155;
    border-radius: .85rem;
    text-decoration: none;
    transition: .2s ease;
  }

  .admin-nav-link:hover,
  .admin-nav-link.active {
    color: #1d4ed8;
    background: #eff6ff;
    text-decoration: none !important;
  }

  .nav-icon {
    width: 40px;
    height: 40px;
    border-radius: .75rem;
    font-size: 1rem;
  }

  .nav-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    line-height: 1.22;
  }

  .nav-title { font-size: .82rem; font-weight: 800; }
  .nav-text small { color: #64748b; font-size: .68rem; }

  .quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .6rem;
  }

  .quick-link-card {
    display: grid;
    place-items: center;
    min-height: 74px;
    padding: .65rem;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: .9rem;
    font-size: .72rem;
    font-weight: 800;
    text-align: center;
    text-decoration: none;
  }

  .quick-link-card i {
    color: #2563eb;
    font-size: 1rem;
  }

  .quick-link-card:hover {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #bfdbfe;
    text-decoration: none !important;
  }

  .admissions-icon { background: linear-gradient(135deg, #2563eb, #3b82f6); }
  .academics-icon { background: linear-gradient(135deg, #0f766e, #14b8a6); }
  .hr-icon { background: linear-gradient(135deg, #7c3aed, #a855f7); }
  .registrar-icon { background: linear-gradient(135deg, #ea580c, #f97316); }
  .finance-icon { background: linear-gradient(135deg, #15803d, #22c55e); }
  .accounts-icon { background: linear-gradient(135deg, #334155, #64748b); }
  .sysadmin-icon { background: linear-gradient(135deg, #be123c, #f43f5e); }

  .dashboard-main { min-width: 0; }

  .account-hero {
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: clamp(1.35rem, 2.5vw, 2.2rem);
    color: #fff;
    background: linear-gradient(125deg, #172554, #1d4ed8 58%, #0ea5e9);
    border-radius: 1.35rem;
    box-shadow: 0 20px 45px rgba(30,64,175,.2);
  }

  .account-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .38rem .7rem;
    margin-bottom: .8rem;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.16);
    font-size: .74rem;
    font-weight: 750;
  }

  .account-hero h1 {
    margin: 0;
    font-size: clamp(1.65rem, 3vw, 2.55rem);
    font-weight: 850;
    letter-spacing: 0;
  }

  .account-hero p {
    max-width: 820px;
    margin: .75rem 0 0;
    color: #dbeafe;
    line-height: 1.65;
  }

  .account-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .62rem .85rem;
    border: 0;
    border-radius: .75rem;
    font-size: .78rem;
    font-weight: 850;
    text-decoration: none !important;
    white-space: nowrap;
  }

  .account-button.primary { color: #fff; background: #2563eb; }
  .account-button.light { color: #1e293b; background: #fff; border: 1px solid #e2e8f0; }
  .account-button.soft { color: #1d4ed8; background: #eff6ff; }
  .account-button.danger { color: #fff; background: #dc2626; }
  .account-button.warning { color: #78350f; background: #fef3c7; border: 1px solid #fde68a; }

  .account-stat-grid,
  .account-card-grid,
  .detail-grid {
    display: grid;
    gap: 1rem;
  }

  .account-stat-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin: 1.15rem 0;
  }

  .account-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .detail-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(340px, .9fr);
    margin-top: 1rem;
  }

  .account-card,
  .account-stat,
  .user-table-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 10px 28px rgba(15,23,42,.055);
  }

  .account-card,
  .user-table-card {
    padding: 1rem;
  }

  .account-stat {
    display: flex;
    align-items: center;
    gap: .75rem;
    min-height: 88px;
    padding: .95rem;
  }

  .account-stat i {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    border-radius: .8rem;
    color: #1d4ed8;
    background: #dbeafe;
  }

  .account-stat strong { display: block; font-size: 1.15rem; line-height: 1; }
  .account-stat span { display: block; margin-top: .3rem; color: #64748b; font-size: .73rem; }

  .account-card-title {
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: .85rem;
  }

  .account-card-title h2,
  .account-card-title h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 850;
  }

  .account-card p,
  .muted-copy {
    color: #64748b;
    font-size: .82rem;
    line-height: 1.55;
  }

  .user-row {
    align-items: center;
    justify-content: space-between;
    gap: .85rem;
    padding: .72rem 0;
    border-top: 1px solid #eef2f7;
  }

  .user-row:first-of-type { border-top: 0; }

  .user-main {
    min-width: 0;
  }

  .user-main strong {
    display: block;
    color: #0f172a;
    font-size: .87rem;
  }

  .user-main span {
    display: block;
    overflow-wrap: anywhere;
    color: #64748b;
    font-size: .76rem;
  }

  .status-pill {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .35rem .55rem;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 850;
    white-space: nowrap;
  }

  .status-pill.live { color: #166534; background: #dcfce7; }
  .status-pill.pending { color: #92400e; background: #fef3c7; }
  .status-pill.locked { color: #991b1b; background: #fee2e2; }
  .status-pill.neutral { color: #475569; background: #f1f5f9; }

  .account-filter {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) 180px minmax(220px, 260px) auto;
    gap: .75rem;
    margin: 1rem 0;
  }

  .account-table {
    width: 100%;
    border-collapse: collapse;
  }

  .account-table th {
    color: #64748b;
    font-size: .7rem;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .account-table th,
  .account-table td {
    padding: .8rem;
    border-bottom: 1px solid #eef2f7;
    vertical-align: middle;
  }

  .account-table td {
    color: #334155;
    font-size: .82rem;
  }

  .account-action-row {
    flex-wrap: wrap;
    gap: .55rem;
  }

  .permission-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .5rem;
  }

  .permission-item {
    padding: .55rem .65rem;
    border-radius: .75rem;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #475569;
    font-size: .75rem;
    font-weight: 750;
  }

  .permission-item.active {
    color: #166534;
    background: #dcfce7;
    border-color: #bbf7d0;
  }

  .message-stack {
    display: grid;
    gap: .65rem;
    margin-bottom: 1rem;
  }

  @media (max-width: 1199.98px) {
    .dashboard-grid,
    .detail-grid { grid-template-columns: 1fr; }
    .admin-side-panel {
      position: static;
      max-height: none;
    }
    .admin-nav-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .account-card-grid,
    .account-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 767.98px) {
    .admin-dashboard-shell { padding: 1rem; }
    .account-hero {
      align-items: flex-start;
      flex-direction: column;
    }
    .account-card-grid,
    .account-stat-grid,
    .admin-nav-list,
    .permission-grid,
    .account-filter { grid-template-columns: 1fr; }
    .account-table { min-width: 760px; }
    .user-table-card { overflow-x: auto; }
  }

/* Keep the administrative portal's three-column layout from being overridden by
   the account-management dashboard rules above. */
  body.page-administrative_dashboard .admin-dashboard-shell {
    width: 100%;
    margin: 0 auto;
    padding: 1.15rem clamp(.85rem, 1.6vw, 1.5rem) 0;
  }

  body.page-administrative_dashboard .dashboard-grid {
    display: grid;
    grid-template-columns: 300px minmax(0, 1fr) minmax(290px, 350px);
    gap: .95rem;
    align-items: start;
  }

  body.page-administrative_dashboard .admin-side-panel {
    grid-column: 1;
    grid-row: 1;
  }

  body.page-administrative_dashboard .dashboard-main {
    grid-column: 2;
    grid-row: 1;
  }

  body.page-administrative_dashboard .admin-insight-rail {
    grid-column: 3;
    grid-row: 1;
    position: sticky;
    top: 94px;
    display: grid;
    grid-template-columns: 1fr;
    max-height: calc(100vh - 112px);
    overflow-y: auto;
    padding-right: .2rem;
  }

  @media (max-width: 1199.98px) {
    body.page-administrative_dashboard .dashboard-grid {
      grid-template-columns: 1fr;
    }

    body.page-administrative_dashboard .admin-side-panel,
    body.page-administrative_dashboard .dashboard-main,
    body.page-administrative_dashboard .admin-insight-rail {
      grid-column: auto;
      grid-row: auto;
    }

    body.page-administrative_dashboard .admin-insight-rail {
      position: static;
      grid-template-columns: repeat(2, minmax(0, 1fr));
      max-height: none;
      overflow: visible;
      padding-right: 0;
    }
  }

  @media (max-width: 767.98px) {
    body.page-administrative_dashboard .admin-insight-rail {
      grid-template-columns: 1fr;
    }
  }

/* Student navbar */
  :root {
    --student-nav-bg-1: #0f172a;
    --student-nav-bg-2: #1d4ed8;
    --student-nav-accent: #38bdf8;
    --student-text: rgba(255,255,255,.9);
    --student-soft: rgba(255,255,255,.68);
    --student-border: rgba(255,255,255,.08);
  }

  #studentNavbar {
    background: linear-gradient(135deg, var(--student-nav-bg-1), var(--student-nav-bg-2) 62%, #0284c7 140%) !important;
    border-bottom: 1px solid var(--student-border);
    backdrop-filter: blur(14px);
    padding-top: .72rem;
    padding-bottom: .72rem;
    transition: all .25s ease;
    z-index: 1030;
  }

  #studentNavbar.navbar-scrolled {
    padding-top: .5rem;
    padding-bottom: .5rem;
    box-shadow: 0 14px 34px rgba(2,6,23,.22) !important;
  }

  .student-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #fff !important;
    text-decoration: none;
  }

  .student-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(56,189,248,.28), rgba(59,130,246,.18));
    border: 1px solid rgba(255,255,255,.10);
    color: #dbeafe;
  }

  .student-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
  }

  .student-brand-title {
    font-weight: 800;
    font-size: 1.08rem;
  }

  .student-brand-subtitle {
    font-size: .72rem;
    color: var(--student-soft);
  }

  .student-nav-link {
    color: var(--student-text) !important;
    font-weight: 600;
    border-radius: 999px;
    padding: .72rem 1rem !important;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    transition: all .22s ease;
  }

  .student-nav-link:hover,
  .student-nav-link:focus {
    background: rgba(255,255,255,.08);
    color: #fff !important;
  }

  .student-nav-link.active-nav {
    background: rgba(59,130,246,.20);
    border: 1px solid rgba(147,197,253,.18);
    color: #fff !important;
  }

  .student-search-wrap {
    position: relative;
    min-width: 250px;
    max-width: 290px;
  }

  .student-search-wrap i {
    position: absolute;
    left: .95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #bfdbfe;
    pointer-events: none;
  }

  .student-search {
    width: 100%;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.08);
    color: #fff;
    border-radius: 999px;
    padding: .68rem .95rem .68rem 2.45rem;
    outline: none;
  }

  .student-search::placeholder {
    color: rgba(255,255,255,.58);
  }

  .student-search:focus {
    border-color: rgba(147,197,253,.45);
    box-shadow: 0 0 0 4px rgba(59,130,246,.14);
    background: rgba(255,255,255,.12);
  }

  .student-profile-trigger {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    border-radius: 999px;
    padding: .42rem .8rem .42rem .5rem !important;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
  }

  .student-profile-avatar,
  .student-avatar-fallback {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #3b82f6, #0ea5e9);
    color: #fff;
    font-weight: 800;
  }

  .dropdown-menu {
    border: 1px solid rgba(15,23,42,.08);
    background: rgba(255,255,255,.98);
    border-radius: 1rem;
    padding: .6rem;
    box-shadow: 0 20px 40px rgba(15,23,42,.12);
    min-width: 250px;
  }

  .dropdown-item {
    border-radius: .8rem;
    padding: .72rem .85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .75rem;
  }

  .dropdown-item:hover,
  .dropdown-item:focus {
    background: #eff6ff;
    color: #1d4ed8;
  }

  .dropdown-header {
    color: #64748b;
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .55rem .8rem .35rem;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.08);
    color: #fff;
    border-radius: 999px;
  }

  .theme-toggle:hover {
    background: rgba(255,255,255,.14);
  }

  @media (max-width: 1199.98px) {
    .student-search-wrap {
      min-width: 100%;
      max-width: 100%;
      margin: .75rem 0;
    }
  }

  @media (max-width: 991.98px) {
    #studentNavbar .navbar-collapse {
      margin-top: 1rem;
      background: rgba(15,23,42,.72);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 1.2rem;
      padding: 1rem;
      backdrop-filter: blur(10px);
    }

    .student-nav-link,
    .student-profile-trigger {
      width: 100%;
      justify-content: space-between;
      border-radius: .95rem;
    }
  }

/* Login */
    body.page-login {
        padding-top: 0;
    }

    body.page-login .main-content {
        padding-top: 0;
        padding-bottom: 0;
    }

    body.page-login .content-wrapper {
        margin-top: 0;
        margin-bottom: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .login-bg {
        align-items: flex-start;
        padding: 0 0 3rem;
    }

    .login-shell {
        width: 100%;
    }

    .login-topbar {
        position: sticky;
        top: 0;
        z-index: 1040;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 1rem;
        width: 100%;
        margin: 0 0 1.35rem;
        padding: .75rem 1rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.13);
        border-radius: 0;
        background: rgba(255, 255, 255, 0.07);
        backdrop-filter: blur(16px);
        box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22);
        color: #fff;
    }

    .login-brand {
        display: inline-flex;
        align-items: center;
        gap: .75rem;
        min-width: 0;
    }

    .login-brand-mark {
        width: 44px;
        height: 44px;
        border-radius: 14px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex: 0 0 auto;
        background: linear-gradient(135deg, rgba(56, 189, 248, .26), rgba(192, 132, 252, .22));
        border: 1px solid rgba(255, 255, 255, .16);
        color: #dbeafe;
        font-weight: 900;
    }

    .login-brand-text {
        display: block;
        line-height: 1.15;
        min-width: 0;
    }

    .login-brand-text strong {
        font-size: 1.02rem;
        letter-spacing: 0;
    }

    .login-topbar-meta {
        display: flex;
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: .55rem;
    }

    .login-meta-pill {
        display: inline-flex;
        align-items: center;
        gap: .35rem;
        border-radius: 999px;
        padding: .48rem .7rem;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        color: #e0f2fe;
        font-size: .82rem;
        font-weight: 700;
        white-space: nowrap;
    }

    .login-stage {
        min-height: auto;
        align-items: flex-start !important;
        padding-top: .7rem;
        max-width: 1320px;
        margin-left: auto;
        margin-right: auto;
    }

    @media (max-width: 767.98px) {
        .login-bg {
            padding-top: 0;
        }

        .login-topbar {
            align-items: flex-start;
            flex-direction: column;
        }

        .login-topbar-meta {
            justify-content: flex-start;
        }

        .login-stage {
            padding-top: .4rem;
        }
    }

/* Confirmation */
  .logout-page {
    min-height: calc(100vh - 220px);
    display: grid;
    place-items: center;
    padding: 1rem 0 3rem;
    color: #0f172a;
  }

  .logout-panel {
    width: min(100%, 760px);
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.12);
    overflow: hidden;
  }

  .logout-panel-header {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 1rem;
    align-items: center;
    padding: 1.4rem 1.5rem;
    background:
      linear-gradient(135deg, rgba(15, 118, 110, 0.97), rgba(14, 165, 233, 0.88)),
      #0f766e;
    color: #fff;
  }

  .logout-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-size: 1.75rem;
  }

  .logout-panel-header h1 {
    margin: 0 0 .35rem;
    font-size: 1.6rem;
    font-weight: 900;
    letter-spacing: 0;
  }

  .logout-panel-header p {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
  }

  .logout-panel-body {
    padding: 1.35rem 1.5rem 1.5rem;
  }

  .logout-account-card {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    gap: .9rem;
    align-items: center;
    padding: 1rem;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #f8fafc;
  }

  .logout-avatar {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
    font-weight: 900;
    border: 3px solid #ccfbf1;
  }

  .logout-account-card strong {
    display: block;
    color: #0f172a;
    font-size: 1rem;
    overflow-wrap: anywhere;
  }

  .logout-account-card span {
    color: #64748b;
    overflow-wrap: anywhere;
  }

  .logout-note-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .85rem;
    margin-top: 1rem;
  }

  .logout-note {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: .85rem;
    background: #ffffff;
  }

  .logout-note i {
    display: inline-flex;
    width: 34px;
    height: 34px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    background: #ecfeff;
    color: #0f766e;
    margin-bottom: .6rem;
  }

  .logout-note strong {
    display: block;
    color: #0f172a;
    margin-bottom: .25rem;
  }

  .logout-note p {
    margin: 0;
    color: #64748b;
    font-size: .9rem;
  }

  .logout-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: flex-end;
    margin-top: 1.25rem;
    padding-top: 1.15rem;
    border-top: 1px solid rgba(148, 163, 184, 0.2);
  }

  .logout-button,
  .logout-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 44px;
    border-radius: 8px;
    padding: .72rem 1rem;
    font-weight: 800;
    text-decoration: none;
  }

  .logout-button {
    border: 1px solid #b91c1c;
    background: #b91c1c;
    color: #fff;
  }

  .logout-button:hover,
  .logout-button:focus {
    background: #991b1b;
    border-color: #991b1b;
    color: #fff;
  }

  .logout-link {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
  }

  .logout-link:hover,
  .logout-link:focus {
    border-color: #94a3b8;
    color: #0f172a;
    text-decoration: none !important;
  }

  @media (max-width: 767.98px) {
    .logout-page {
      place-items: start center;
    }

    .logout-panel-header,
    .logout-account-card,
    .logout-note-grid {
      grid-template-columns: 1fr;
    }

    .logout-actions {
      justify-content: stretch;
    }

    .logout-button,
    .logout-link {
      width: 100%;
    }
  }

/* Faculty left panel */
  .faculty-panel {
    background: rgba(255,255,255,.94);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(15,23,42,.08);
    border-radius: 1.5rem;
    padding: 1.2rem;
    box-shadow: 0 18px 38px rgba(15,23,42,.08);
  }

  .faculty-panel .faculty-panel-brand {
    display: flex;
    align-items: center;
    gap: .85rem;
  }

  .faculty-panel .faculty-panel-icon {
    width: 58px;
    height: 58px;
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
    font-size: 1.35rem;
    box-shadow: 0 14px 28px rgba(20,184,166,.22);
  }

  .faculty-panel .faculty-divider {
    height: 1px;
    background: linear-gradient(to right, rgba(148,163,184,.45), rgba(148,163,184,0));
    margin: 1rem 0 1.1rem;
  }

  .faculty-panel .faculty-panel-title {
    font-size: .9rem;
    font-weight: 800;
    letter-spacing: .04em;
    color: #475569;
    text-transform: uppercase;
    margin-bottom: .85rem;
  }

  .faculty-panel .faculty-nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }

  .faculty-panel .faculty-nav-list li + li {
    margin-top: .55rem;
  }

  .faculty-panel .faculty-nav-link {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: .9rem .95rem;
    border-radius: 1rem;
    text-decoration: none;
    color: #0f172a;
    border: 1px solid transparent;
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    transition: all .22s ease;
  }

  .faculty-panel .faculty-nav-link:hover,
  .faculty-panel .faculty-nav-link.active {
    transform: translateX(4px);
    background: linear-gradient(135deg, #ecfeff, #ffffff);
    border-color: rgba(13,148,136,.16);
    box-shadow: 0 10px 22px rgba(20,184,166,.10);
  }

  .faculty-panel .faculty-nav-icon {
    width: 46px;
    height: 46px;
    border-radius: .95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
    font-size: 1.05rem;
  }

  .faculty-panel .nav-teal { background: linear-gradient(135deg, #0f766e, #14b8a6); }
  .faculty-panel .nav-blue { background: linear-gradient(135deg, #2563eb, #3b82f6); }
  .faculty-panel .nav-violet { background: linear-gradient(135deg, #7c3aed, #a855f7); }

  .faculty-panel .faculty-nav-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
  }

  .faculty-panel .faculty-nav-text strong {
    color: #0f172a;
  }

  .faculty-panel .faculty-nav-text small {
    color: #64748b;
    margin-top: .15rem;
  }

  .faculty-panel .faculty-quick-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: .7rem;
  }

  .faculty-panel .faculty-quick-card {
    min-height: 82px;
    border-radius: 1rem;
    border: 1px solid rgba(15,23,42,.08);
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    text-decoration: none;
    color: #0f172a;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    font-weight: 700;
    transition: all .22s ease;
  }

  .faculty-panel .faculty-quick-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15,23,42,.08);
    color: #0f766e;
  }

  .faculty-panel .faculty-note {
    border-radius: 1rem;
    padding: .9rem 1rem;
    background: #f0fdfa;
    border: 1px solid rgba(13,148,136,.12);
    color: #0f172a;
  }

  .faculty-panel .faculty-note small {
    color: #475569;
  }

/* Shared faculty workspace styles */
  .faculty-workspace-shell {
    color: #0f172a;
    padding: .35rem 0 2.5rem;
  }

  .faculty-workspace-layout {
    display: block;
    position: relative;
  }

  .faculty-workspace-sidebar {
    position: fixed;
    top: 5.8rem;
    left: 1.25rem;
    width: 300px;
    max-height: calc(100vh - 6.6rem);
    overflow-y: auto;
    z-index: 1010;
  }

  .faculty-workspace-main {
    margin-left: calc(300px + 2rem);
    min-width: 0;
  }

  .faculty-workspace-welcome {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1rem;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: 1.6rem;
    background:
      linear-gradient(135deg, rgba(15, 118, 110, 0.96), rgba(14, 165, 233, 0.90)),
      #0f766e;
    box-shadow: 0 20px 44px rgba(15, 23, 42, 0.16);
    color: #fff;
  }

  .faculty-workspace-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .75rem;
    padding: .42rem .68rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .faculty-workspace-welcome h1 {
    margin: 0 0 .45rem;
    font-size: 1.85rem;
    font-weight: 900;
    letter-spacing: 0;
  }

  .faculty-workspace-welcome p {
    max-width: 820px;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
  }

  .faculty-workspace-status {
    min-width: 190px;
    border-radius: 8px;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.13);
    border: 1px solid rgba(255, 255, 255, 0.2);
  }

  .faculty-workspace-status span {
    display: block;
    font-size: .76rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, 0.76);
  }

  .faculty-workspace-status strong {
    display: block;
    margin-top: .3rem;
    font-size: 1.15rem;
  }

  .faculty-workspace-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 1.25rem;
    margin-top: 1.25rem;
  }

  .faculty-workspace-panel,
  .faculty-workspace-side-card {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    background: #fff;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
  }

  .faculty-workspace-panel {
    overflow: hidden;
  }

  .faculty-workspace-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 1.35rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.2);
    background: linear-gradient(180deg, #ffffff, #f8fafc);
  }

  .faculty-workspace-panel-header h2 {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 900;
  }

  .faculty-workspace-panel-header p {
    margin: .3rem 0 0;
    color: #64748b;
  }

  .faculty-workspace-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .55rem .76rem;
    border-radius: 999px;
    background: #ecfeff;
    border: 1px solid rgba(13, 148, 136, 0.16);
    color: #0f766e;
    font-size: .82rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .faculty-workspace-body {
    padding: 1.35rem;
  }

  .faculty-workspace-form .form-control,
  .faculty-workspace-form .form-select {
    border-radius: 8px;
    border: 1px solid #cbd5e1;
    padding: .72rem .78rem;
    background-color: #ffffff;
    color: #0f172a;
    box-shadow: none;
  }

  .faculty-workspace-form .form-control:focus,
  .faculty-workspace-form .form-select:focus {
    border-color: #0f766e;
    box-shadow: 0 0 0 .2rem rgba(15, 118, 110, 0.13);
  }

  .faculty-workspace-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    justify-content: flex-end;
    padding-top: 1.15rem;
    margin-top: 1.15rem;
    border-top: 1px solid rgba(148, 163, 184, 0.18);
  }

  .faculty-workspace-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    border-radius: 8px;
    padding: .72rem 1rem;
    font-weight: 800;
    text-decoration: none;
  }

  .faculty-workspace-btn-primary {
    border: 1px solid #0f766e;
    background: #0f766e;
    color: #fff;
  }

  .faculty-workspace-btn-primary:hover {
    background: #115e59;
    border-color: #115e59;
    color: #fff;
  }

  .faculty-workspace-btn-secondary {
    border: 1px solid #cbd5e1;
    background: #fff;
    color: #334155;
  }

  .faculty-workspace-btn-secondary:hover {
    border-color: #94a3b8;
    color: #0f172a;
  }

  .faculty-workspace-side {
    display: grid;
    gap: 1rem;
  }

  .faculty-workspace-side-card {
    padding: 1rem;
  }

  .faculty-workspace-side-card h3 {
    margin: 0 0 .65rem;
    font-size: .94rem;
    font-weight: 900;
    color: #0f172a;
  }

  .faculty-workspace-list {
    display: grid;
    gap: .65rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .faculty-workspace-list li {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr);
    gap: .65rem;
    align-items: start;
    color: #475569;
    font-size: .92rem;
  }

  .faculty-workspace-list i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: #ecfeff;
    color: #0f766e;
  }

  .faculty-profile-summary {
    display: grid;
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 1.25rem;
    align-items: start;
  }

  .faculty-profile-photo,
  .faculty-profile-fallback {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ccfbf1;
    background: linear-gradient(135deg, #0f766e, #14b8a6);
    color: #fff;
    font-size: 3rem;
    font-weight: 900;
  }

  .faculty-profile-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: .8rem;
  }

  .faculty-profile-fact {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 8px;
    padding: .85rem;
    background: #f8fafc;
  }

  .faculty-profile-fact span {
    display: block;
    color: #64748b;
    font-size: .78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
  }

  .faculty-profile-fact strong {
    display: block;
    margin-top: .3rem;
    color: #0f172a;
    overflow-wrap: anywhere;
  }

  @media (max-width: 1199.98px) {
    .faculty-workspace-grid {
      grid-template-columns: 1fr;
    }

    .faculty-workspace-side {
      grid-template-columns: repeat(2, minmax(0, 1fr));
    }
  }

  @media (max-width: 991.98px) {
    .faculty-workspace-sidebar {
      position: static;
      width: 100%;
      max-height: none;
      overflow: visible;
      margin-bottom: 1rem;
    }

    .faculty-workspace-main {
      margin-left: 0;
    }

    .faculty-workspace-welcome {
      grid-template-columns: 1fr;
    }

    .faculty-workspace-side {
      grid-template-columns: 1fr;
    }
  }

  @media (max-width: 767.98px) {
    .faculty-workspace-welcome,
    .faculty-workspace-panel-header,
    .faculty-workspace-body {
      padding: 1rem;
    }

    .faculty-workspace-panel-header {
      flex-direction: column;
    }

    .faculty-profile-summary,
    .faculty-profile-facts {
      grid-template-columns: 1fr;
    }

    .faculty-workspace-actions {
      justify-content: stretch;
    }

    .faculty-workspace-btn {
      width: 100%;
    }
  }

/* Organization dashboard */
  :root {
    --od-ink: #111827;
    --od-muted: #64748b;
    --od-line: #dbe4f0;
    --od-soft: #f7fafc;
    --od-blue: #2563eb;
    --od-teal: #0f766e;
    --od-amber: #b45309;
    --od-rose: #be123c;
    --od-violet: #6d28d9;
  }

  body.page-organization_dashboard {
    background: #eef3f9;
    color: var(--od-ink);
    padding-top: 72px;
    overflow-x: hidden;
  }

  body.page-organization_dashboard .main-content { padding-bottom: 0; }
  body.page-organization_dashboard .content-wrapper { margin: 0; padding: 0; max-width: none; }
  body.page-organization_dashboard .footer { display: none; }

  .od-page {
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .od-shell {
    display: grid;
    grid-template-columns: 280px minmax(0, 1fr) 340px;
    gap: 0;
    align-items: stretch;
    min-height: calc(100vh - 72px);
  }

  .od-main {
    min-width: 0;
    padding: 1.35rem clamp(.9rem, 2.4vw, 2rem) 3rem;
  }

  .od-sidebar,
  .od-rail {
    position: sticky;
    top: 72px;
    height: calc(100vh - 72px);
    display: grid;
    align-content: start;
    gap: .75rem;
    overflow-y: auto;
    padding: 1rem .85rem;
    background: #e7edf6;
    border-right: 1px solid var(--od-line);
  }

  .od-rail {
    border-right: 0;
    border-left: 1px solid var(--od-line);
  }

  .od-sidebar-card {
    padding: .95rem;
    background: #fff;
    border: 1px solid var(--od-line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15,23,42,.06);
  }

  .od-sidebar-brand {
    display: flex;
    gap: .7rem;
    align-items: center;
    margin-bottom: .85rem;
  }

  .od-sidebar-icon {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    background: linear-gradient(135deg, #12315f, #2563eb);
    border-radius: 8px;
  }

  .od-sidebar-brand strong {
    display: block;
    color: #0f172a;
    line-height: 1.1;
  }

  .od-sidebar-brand span {
    display: block;
    margin-top: .18rem;
    color: var(--od-muted);
    font-size: .74rem;
    font-weight: 700;
  }

  .od-sidebar-title {
    margin: .8rem 0 .45rem;
    color: #64748b;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
  }

  .od-side-nav,
  .od-side-list {
    display: grid;
    gap: .35rem;
  }

  .od-side-link {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) auto;
    gap: .55rem;
    align-items: center;
    min-height: 46px;
    padding: .45rem .5rem;
    color: #334155;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 8px;
    font-size: .82rem;
    font-weight: 850;
    text-decoration: none !important;
  }

  .od-side-link:hover,
  .od-side-link.active {
    color: #1d4ed8;
    background: #eff6ff;
    border-color: #bfdbfe;
  }

  .od-side-link i:first-child {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    color: #1d4ed8;
    background: #dbeafe;
    border-radius: 8px;
  }

  .od-side-link strong,
  .od-side-link span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .od-side-count {
    min-width: 24px;
    padding: .12rem .35rem;
    color: #475569;
    background: #f1f5f9;
    border-radius: 999px;
    font-size: .68rem;
    font-weight: 900;
    text-align: center;
  }

  .od-sidebar-note {
    display: flex;
    gap: .55rem;
    padding: .75rem;
    color: #334155;
    background: var(--od-soft);
    border: 1px solid var(--od-line);
    border-radius: 8px;
    font-size: .76rem;
    line-height: 1.45;
  }

  .od-sidebar-note i {
    color: #0f766e;
    margin-top: .1rem;
  }

  .od-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 1.2rem;
    align-items: end;
    padding: clamp(1.35rem, 3vw, 2.2rem);
    color: #fff;
    background: linear-gradient(125deg, #12315f, #2563eb 54%, #0f766e);
    border-radius: 8px;
    box-shadow: 0 18px 42px rgba(15, 23, 42, .16);
  }

  .od-kicker {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: .65rem;
    font-size: .72rem;
    font-weight: 850;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .od-hero h1 {
    margin: 0;
    max-width: 780px;
    font-size: clamp(1.8rem, 3.2vw, 2.85rem);
    font-weight: 900;
    letter-spacing: 0;
    line-height: 1.05;
  }

  .od-hero p {
    max-width: 760px;
    margin: .75rem 0 0;
    color: #dbeafe;
    line-height: 1.6;
  }

  .od-hero-actions,
  .od-action-row {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
  }

  .od-hero-actions { justify-content: flex-end; }

  .od-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    min-height: 40px;
    padding: .62rem .85rem;
    border-radius: 8px;
    border: 1px solid transparent;
    font-size: .82rem;
    font-weight: 850;
    text-decoration: none !important;
    white-space: nowrap;
  }

  .od-btn-primary { color: #12315f; background: #fff; }
  .od-btn-soft { color: #fff; background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
  .od-btn-blue { color: #fff; background: var(--od-blue); }
  .od-btn-teal { color: #fff; background: var(--od-teal); }
  .od-btn-outline { color: #334155; background: #fff; border-color: var(--od-line); }
  .od-btn-warning { color: #78350f; background: #fef3c7; border-color: #fde68a; }

  .od-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 22px rgba(15,23,42,.12);
  }

  .od-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
    margin: .85rem 0;
  }

  .od-stat,
  .od-panel,
  .od-workspace-card,
  .od-rail-card {
    background: #fff;
    border: 1px solid var(--od-line);
    border-radius: 8px;
    box-shadow: 0 12px 30px rgba(15,23,42,.06);
  }

  .od-stat {
    display: flex;
    gap: .8rem;
    align-items: center;
    min-height: 88px;
    padding: .9rem;
  }

  .od-stat i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 8px;
    color: #fff;
  }

  .od-stat:nth-child(1) i { background: var(--od-blue); }
  .od-stat:nth-child(2) i { background: var(--od-teal); }
  .od-stat:nth-child(3) i { background: var(--od-amber); }
  .od-stat:nth-child(4) i { background: var(--od-violet); }
  .od-stat strong { display: block; font-size: 1.35rem; line-height: 1; }
  .od-stat span { display: block; margin-top: .25rem; color: var(--od-muted); font-size: .74rem; font-weight: 700; }

  .od-toolbar {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto;
    gap: .75rem;
    align-items: center;
    margin: .85rem 0;
    padding: .8rem;
    background: #fff;
    border: 1px solid var(--od-line);
    border-radius: 8px;
  }

  .od-search {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 42px;
    padding: 0 .75rem;
    background: var(--od-soft);
    border: 1px solid var(--od-line);
    border-radius: 8px;
  }

  .od-search input {
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--od-ink);
  }

  .od-segment {
    display: inline-flex;
    gap: .25rem;
    padding: .25rem;
    background: #f1f5f9;
    border: 1px solid var(--od-line);
    border-radius: 8px;
  }

  .od-segment button,
  .od-segment a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-height: 34px;
    border: 0;
    border-radius: 6px;
    padding: .35rem .65rem;
    color: #475569;
    background: transparent;
    font-size: .78rem;
    font-weight: 850;
  }

  .od-segment button.active,
  .od-segment a.active {
    color: #fff;
    background: var(--od-blue);
  }

  .od-panel {
    padding: 1rem;
    margin-top: .85rem;
  }

  .od-panel-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
    margin-bottom: .85rem;
  }

  .od-panel-heading h2,
  .od-rail-card h2 {
    margin: 0;
    font-size: 1.02rem;
    font-weight: 900;
  }

  .od-panel-heading p,
  .od-muted {
    margin: .2rem 0 0;
    color: var(--od-muted);
    font-size: .82rem;
    line-height: 1.45;
  }

  .od-workspace-list,
  .od-list {
    display: grid;
    gap: .75rem;
  }

  .od-workspace-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
    gap: 1rem;
    padding: 1rem;
  }

  .od-card-top {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: start;
  }

  .od-org-title {
    display: flex;
    gap: .8rem;
    align-items: start;
  }

  .od-org-mark {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    color: #fff;
    background: #12315f;
    border-radius: 8px;
    font-weight: 900;
  }

  .od-title {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 900;
  }

  .od-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    margin-top: .45rem;
  }

  .od-pill {
    display: inline-flex;
    align-items: center;
    gap: .32rem;
    min-height: 28px;
    padding: .26rem .5rem;
    border-radius: 999px;
    font-size: .7rem;
    font-weight: 850;
    background: #e0ecff;
    color: #1d4ed8;
  }

  .od-pill.admin,
  .od-pill.approved,
  .od-pill.active,
  .od-pill.paid { color: #166534; background: #dcfce7; }
  .od-pill.pending,
  .od-pill.new,
  .od-pill.reviewing,
  .od-pill.checkout_pending { color: #92400e; background: #fef3c7; }
  .od-pill.rejected,
  .od-pill.declined,
  .od-pill.expired,
  .od-pill.failed { color: #991b1b; background: #fee2e2; }
  .od-pill.trial,
  .od-pill.trial_started { color: #5b21b6; background: #ede9fe; }

  .od-service-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-top: .85rem;
  }

  .od-service {
    display: inline-flex;
    align-items: center;
    gap: .38rem;
    padding: .38rem .55rem;
    color: #334155;
    background: var(--od-soft);
    border: 1px solid var(--od-line);
    border-radius: 8px;
    font-size: .74rem;
    font-weight: 750;
  }

  .od-card-side {
    display: grid;
    gap: .55rem;
    align-content: start;
    padding: .8rem;
    background: var(--od-soft);
    border: 1px solid var(--od-line);
    border-radius: 8px;
  }

  .od-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .45rem;
  }

  .od-mini-stat {
    padding: .55rem;
    background: #fff;
    border: 1px solid var(--od-line);
    border-radius: 8px;
  }

  .od-mini-stat strong { display: block; font-size: .95rem; line-height: 1; }
  .od-mini-stat span { display: block; margin-top: .24rem; color: var(--od-muted); font-size: .66rem; font-weight: 750; }

  .od-subscription-list {
    display: grid;
    gap: .45rem;
  }

  .od-subscription {
    display: grid;
    gap: .35rem;
    padding: .65rem;
    background: #fff;
    border: 1px solid var(--od-line);
    border-radius: 8px;
  }

  .od-subscription-title {
    display: flex;
    justify-content: space-between;
    gap: .5rem;
    align-items: center;
    font-size: .8rem;
    font-weight: 850;
  }

  .od-rail-card {
    padding: 1rem;
  }

  .od-rail-card.highlight {
    color: #fff;
    background: linear-gradient(135deg, #0f766e, #2563eb);
    border-color: transparent;
  }

  .od-rail-card.highlight .od-muted { color: #dbeafe; }

  .od-item {
    display: grid;
    gap: .45rem;
    padding: .8rem;
    background: var(--od-soft);
    border: 1px solid var(--od-line);
    border-radius: 8px;
  }

  .od-item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
  }

  .od-owner-list {
    display: grid;
    gap: .85rem;
  }

  .od-owner-card,
  .od-review-card,
  .od-service-card {
    display: grid;
    gap: .85rem;
    padding: 1rem;
    background: #fff;
    border: 1px solid rgba(148, 163, 184, .22);
    border-radius: 8px;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .06);
  }

  .od-owner-card {
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
  }

  .od-owner-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: .85rem;
  }

  .od-service-card h3 {
    margin: 0;
    color: #0f172a;
    font-size: 1rem;
    font-weight: 950;
  }

  .od-service-card p {
    margin: 0;
    color: #64748b;
    font-size: .84rem;
    line-height: 1.45;
    font-weight: 720;
  }

  .od-review-actions {
    display: grid;
    gap: .7rem;
    padding-top: .75rem;
    border-top: 1px solid rgba(148, 163, 184, .2);
  }

  .od-review-actions textarea {
    border-color: rgba(148, 163, 184, .36);
    border-radius: 8px;
  }

  .od-link {
    color: #1d4ed8;
    font-weight: 850;
    text-decoration: none !important;
  }

  .od-empty {
    padding: 1rem;
    color: var(--od-muted);
    background: var(--od-soft);
    border: 1px dashed #cbd5e1;
    border-radius: 8px;
  }

  .od-empty strong {
    display: block;
    color: #334155;
    margin-bottom: .25rem;
  }

  .od-progress {
    height: 8px;
    overflow: hidden;
    background: #e2e8f0;
    border-radius: 999px;
  }

  .od-progress span {
    display: block;
    height: 100%;
    width: var(--progress, 50%);
    background: linear-gradient(90deg, #0f766e, #2563eb);
    border-radius: inherit;
  }

  @media (max-width: 1199.98px) {
    .od-shell,
    .od-workspace-card,
    .od-owner-card { grid-template-columns: 1fr; }
    .od-sidebar,
    .od-rail {
      position: static;
      height: auto;
      overflow: visible;
      border: 0;
      padding: 1rem;
    }
    .od-main { padding: 0 1rem 2rem; }
    .od-sidebar-card { overflow-x: auto; }
    .od-side-nav { grid-template-columns: repeat(4, minmax(170px, 1fr)); }
    .od-side-list { grid-template-columns: repeat(2, minmax(210px, 1fr)); }
  }

  @media (max-width: 767.98px) {
    .od-page { padding: 0; }
    .od-sidebar,
    .od-rail,
    .od-main { padding: 1rem; }
    .od-hero,
    .od-toolbar,
    .od-stat-grid { grid-template-columns: 1fr; }
    .od-hero-actions { justify-content: flex-start; }
    .od-segment { overflow-x: auto; }
    .od-mini-stats { grid-template-columns: 1fr; }
    .od-side-nav,
    .od-side-list { grid-template-columns: 1fr; }
  }

/* Organization service pricing console */
.app-pricing-page .od-shell {
  align-items: start;
}

.app-pricing-hero {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  min-height: 230px;
  padding: 1.35rem;
  color: #fff;
  background: linear-gradient(135deg, rgba(15, 23, 42, .92), rgba(14, 116, 144, .86));
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(15, 23, 42, .22);
}

.app-pricing-hero h1 {
  max-width: 860px;
  margin: .45rem 0 .35rem;
  font-size: clamp(2rem, 4vw, 4.4rem);
  line-height: .98;
  font-weight: 950;
}

.app-pricing-hero p {
  max-width: 780px;
  margin: 0;
  color: #dbeafe;
  font-size: 1rem;
  font-weight: 720;
}

.app-pricing-hero-actions,
.app-pricing-savebar,
.app-pricing-bulk-grid {
  display: flex;
  align-items: center;
  gap: .7rem;
  flex-wrap: wrap;
}

.app-pricing-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: .85rem;
  margin: 1rem 0;
}

.app-pricing-metrics article,
.app-pricing-tools,
.app-pricing-panel {
  background: rgba(255, 255, 255, .96);
  border: 1px solid rgba(148, 163, 184, .24);
  border-radius: 8px;
  box-shadow: 0 18px 48px rgba(15, 23, 42, .07);
}

.app-pricing-metrics article {
  display: flex;
  align-items: center;
  gap: .8rem;
  min-height: 96px;
  padding: .95rem;
}

.app-pricing-metrics article > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: #2563eb;
  border-radius: 8px;
}

.app-pricing-metrics article:nth-child(2) > span { background: #0f766e; }
.app-pricing-metrics article:nth-child(3) > span { background: #7c3aed; }
.app-pricing-metrics article:nth-child(4) > span { background: #d97706; }

.app-pricing-metrics strong {
  display: block;
  color: #0f172a;
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 950;
}

.app-pricing-metrics small {
  color: #64748b;
  font-size: .76rem;
  font-weight: 820;
  text-transform: uppercase;
}

.app-pricing-tools {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 1rem;
  padding: 1rem;
}

.app-pricing-tools h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 950;
}

.app-pricing-tools p {
  margin: .25rem 0 0;
  color: #64748b;
  font-size: .86rem;
  font-weight: 720;
}

.app-pricing-bulk-grid label,
.app-pricing-row label {
  display: grid;
  gap: .32rem;
}

.app-pricing-bulk-grid label {
  min-width: 140px;
}

.app-pricing-bulk-grid span,
.app-pricing-row label span {
  color: #475569;
  font-size: .72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.app-pricing-form {
  display: grid;
  gap: 1rem;
}

.app-pricing-panel {
  overflow: hidden;
}

.app-pricing-table-head,
.app-pricing-row {
  display: grid;
  grid-template-columns: minmax(280px, 1.7fr) repeat(4, minmax(112px, .72fr)) minmax(140px, .8fr);
  gap: .8rem;
  align-items: center;
}

.app-pricing-table-head {
  padding: .85rem 1rem;
  color: #475569;
  background: #f8fafc;
  border-bottom: 1px solid rgba(148, 163, 184, .24);
  font-size: .72rem;
  font-weight: 950;
  text-transform: uppercase;
}

.app-pricing-list {
  display: grid;
}

.app-pricing-row {
  padding: 1rem;
  border-bottom: 1px solid rgba(148, 163, 184, .18);
}

.app-pricing-row:last-child {
  border-bottom: 0;
}

.app-pricing-row:hover {
  background: #f8fafc;
}

.app-pricing-service {
  display: flex;
  align-items: flex-start;
  gap: .8rem;
  min-width: 0;
}

.app-pricing-icon {
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #0f766e;
  background: #ccfbf1;
  border-radius: 8px;
}

.app-pricing-service strong {
  display: block;
  color: #0f172a;
  font-weight: 950;
}

.app-pricing-service small,
.app-pricing-service p {
  color: #64748b;
  font-weight: 730;
}

.app-pricing-service p {
  margin: .2rem 0 0;
  font-size: .78rem;
  line-height: 1.35;
}

.app-pricing-row .form-control {
  min-height: 42px;
  border-color: rgba(148, 163, 184, .38);
  border-radius: 8px;
  font-weight: 760;
}

.app-pricing-row .errorlist {
  margin: .25rem 0 0;
  padding-left: 1rem;
  color: #b91c1c;
  font-size: .76rem;
  font-weight: 760;
}

.app-pricing-preview {
  display: grid;
  gap: .18rem;
  padding: .75rem;
  background: #ecfeff;
  border: 1px solid rgba(14, 116, 144, .2);
  border-radius: 8px;
}

.app-pricing-preview small {
  color: #0f766e;
  font-size: .7rem;
  font-weight: 900;
  text-transform: uppercase;
}

.app-pricing-preview strong {
  color: #0f172a;
  font-size: 1.05rem;
  font-weight: 950;
}

.app-pricing-preview span {
  color: #64748b;
  font-size: .76rem;
  font-weight: 760;
}

.app-pricing-savebar {
  position: sticky;
  bottom: 1rem;
  justify-content: space-between;
  padding: .9rem 1rem;
  background: rgba(15, 23, 42, .94);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(15, 23, 42, .26);
  z-index: 3;
}

.app-pricing-savebar strong,
.app-pricing-savebar span {
  display: block;
}

.app-pricing-savebar strong {
  color: #fff;
  font-weight: 950;
}

.app-pricing-savebar span {
  color: #cbd5e1;
  font-size: .82rem;
  font-weight: 720;
}

@media (max-width: 1399.98px) {
  .app-pricing-table-head {
    display: none;
  }

  .app-pricing-row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .app-pricing-service,
  .app-pricing-preview {
    grid-column: 1 / -1;
  }
}

@media (max-width: 991.98px) {
  .app-pricing-hero,
  .app-pricing-tools,
  .app-pricing-savebar {
    align-items: stretch;
    flex-direction: column;
  }

  .app-pricing-metrics,
  .app-pricing-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 575.98px) {
  .app-pricing-metrics,
  .app-pricing-row,
  .app-pricing-bulk-grid {
    grid-template-columns: 1fr;
  }
}

.od-inline-search {
  min-width: min(420px, 100%);
  display: flex;
  align-items: center;
  gap: .65rem;
  border: 1px solid var(--od-line);
  border-radius: 999px;
  background: #fff;
  padding: .62rem .9rem;
  color: #64748b;
}

.od-inline-search.wide {
  width: min(720px, 100%);
}

.od-inline-search input {
  width: 100%;
  border: 0;
  outline: 0;
  background: transparent;
  color: #0f172a;
  font-weight: 650;
}

.account-owner-card {
  align-items: center;
}

.org-directory-list {
  display: grid;
  gap: 1rem;
}

.org-directory-card {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--od-line);
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 14px 32px rgba(15, 23, 42, .06);
}

.org-directory-profile {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: .9rem;
}

.org-directory-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: linear-gradient(135deg, #2563eb, #0f766e);
  color: #fff;
  font-weight: 850;
}

.org-directory-profile h3 {
  margin: 0;
  color: #0f172a;
  font-size: 1rem;
  font-weight: 850;
}

.org-directory-profile p {
  margin: .15rem 0 0;
  color: #64748b;
  font-size: .86rem;
}

.org-directory-columns {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.org-directory-columns strong {
  display: block;
  margin-bottom: .55rem;
  color: #334155;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.org-owner-form {
  display: grid;
  gap: 1rem;
}

.org-owner-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.org-owner-form.compact .org-owner-form-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.org-owner-form label {
  display: grid;
  gap: .42rem;
  color: #334155;
  font-weight: 750;
}

.org-owner-form label > span {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.org-owner-form small {
  color: #64748b;
  font-weight: 600;
}

.org-owner-form .errorlist {
  margin: 0;
  padding-left: 1rem;
  color: #b91c1c;
  font-size: .82rem;
}

.org-subscription-editor {
  display: grid;
  gap: 1rem;
}

.account-subscription-grant {
  border-color: rgba(37, 99, 235, .2);
  background: linear-gradient(180deg, #fff, #f8fbff);
}

@media (max-width: 991.98px) {
  .org-directory-profile,
  .org-directory-columns,
  .org-owner-form-grid,
  .org-owner-form.compact .org-owner-form-grid {
    grid-template-columns: 1fr;
  }

  .od-inline-search {
    width: 100%;
  }
}

/* Job application dashboard */
  :root {
    --jad-navy: #0f172a;
    --jad-blue: #2563eb;
    --jad-sky: #0ea5e9;
    --jad-green: #16a34a;
    --jad-amber: #d97706;
    --jad-ink: #172033;
    --jad-muted: #64748b;
    --jad-line: #e2e8f0;
    --jad-surface: #ffffff;
    --jad-soft: #f8fafc;
  }

  body.page-job_application_dashboard {
    background: #eef3f9;
    color: var(--jad-ink);
    padding-top: 72px;
  }

  body.page-job_application_dashboard .main-content { padding: 0 0 4rem; }
  body.page-job_application_dashboard .content-wrapper { margin: 0; padding: 0; max-width: none; }

  .rud-navbar {
    min-height: 72px;
    background: linear-gradient(120deg, #0f172a, #172554 58%, #1d4ed8);
    border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 12px 30px rgba(15,23,42,.2);
  }

  .rud-brand {
    display: flex;
    align-items: center;
    gap: .7rem;
    color: #fff;
  }

  .rud-brand:hover { color: #fff; text-decoration: none !important; }
  .rud-brand span:last-child { display: flex; flex-direction: column; line-height: 1.05; }
  .rud-brand strong { font-size: 1.02rem; }
  .rud-brand small { margin-top: .2rem; color: #bfdbfe; font-size: .7rem; }

  .rud-brand-mark {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 13px;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.15);
  }

  .rud-navbar .nav-link {
    color: #dbeafe;
    margin: 0 .15rem;
    padding: .65rem .85rem !important;
    border-radius: .75rem;
    font-size: .9rem;
    white-space: nowrap;
  }

  .rud-navbar .nav-link:hover,
  .rud-navbar .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,.1);
    text-decoration: none !important;
  }

  .rud-navbar .nav-link::after { display: none; }

  .rud-account-button {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .35rem .7rem .35rem .4rem;
    color: #fff;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
  }

  .rud-account-button span.text-start { display: flex; flex-direction: column; line-height: 1.1; }
  .rud-account-button strong { font-size: .82rem; }
  .rud-account-button small { color: #bfdbfe; font-size: .68rem; }

  .rud-nav-avatar {
    width: 35px !important;
    height: 35px !important;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,.35);
    box-shadow: none;
  }

  .rud-avatar-fallback {
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    font-weight: 800;
  }

  .rud-dropdown {
    min-width: 230px;
    padding: .5rem;
    border: 1px solid var(--jad-line);
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(15,23,42,.14);
  }

  .rud-dropdown .dropdown-item {
    display: flex;
    gap: .7rem;
    align-items: center;
    padding: .65rem .75rem;
    border-radius: .7rem;
  }

  .jad-page {
    width: min(1680px, 100%);
    margin: 0 auto;
    padding: 1.15rem clamp(1rem, 2.6vw, 3rem) 0;
  }

  .jad-layout {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr) 300px;
    gap: 1.25rem;
    align-items: start;
  }

  .jad-sidebar,
  .jad-sidecard,
  .jad-panel,
  .jad-stat,
  .jad-application {
    background: var(--jad-surface);
    border: 1px solid var(--jad-line);
    border-radius: 1.15rem;
    box-shadow: 0 10px 28px rgba(15,23,42,.055);
  }

  .jad-sidebar,
  .jad-right-rail {
    position: sticky;
    top: 94px;
  }

  .jad-sidebar {
    padding: 1.15rem;
  }

  .jad-sidebar-heading {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .2rem;
  }

  .jad-sidebar-heading strong { display: block; font-size: .95rem; }
  .jad-sidebar-heading small { color: var(--jad-muted); font-size: .75rem; }

  .jad-sidebar-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: .85rem;
    color: #fff;
    background: linear-gradient(135deg, var(--jad-blue), var(--jad-sky));
  }

  .jad-nav {
    display: grid;
    gap: .35rem;
    margin-top: 1rem;
  }

  .jad-nav a {
    display: flex;
    gap: .75rem;
    align-items: center;
    padding: .72rem .8rem;
    color: #475569;
    border-radius: .75rem;
    font-size: .88rem;
    font-weight: 650;
  }

  .jad-nav a:hover,
  .jad-nav a.active {
    color: #1d4ed8;
    background: #eff6ff;
    text-decoration: none !important;
  }

  .jad-sidebar-divider {
    height: 1px;
    margin: 1rem 0;
    background: var(--jad-line);
  }

  .jad-sidebar-note {
    display: flex;
    gap: .65rem;
    margin-top: 1.1rem;
    padding: .85rem;
    color: #166534;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: .9rem;
  }

  .jad-sidebar-note strong { display: block; font-size: .8rem; }
  .jad-sidebar-note span { display: block; margin-top: .2rem; color: #3f7250; font-size: .7rem; line-height: 1.4; }

  .jad-main { min-width: 0; }

  .jad-hero {
    position: relative;
    overflow: hidden;
    padding: clamp(1.5rem, 3vw, 2.5rem);
    color: #fff;
    background: linear-gradient(125deg, #172554, #1d4ed8 58%, #0ea5e9);
    border-radius: 1.5rem;
    box-shadow: 0 20px 45px rgba(30,64,175,.2);
  }

  .jad-hero::after {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    right: -120px;
    top: -190px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
  }

  .jad-eyebrow {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .38rem .7rem;
    margin-bottom: 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.16);
    font-size: .74rem;
    font-weight: 750;
  }

  .jad-hero h1 {
    position: relative;
    z-index: 1;
    max-width: 850px;
    margin: 0;
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: 0;
  }

  .jad-hero p {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 1rem 0 0;
    color: #dbeafe;
    font-size: 1rem;
    line-height: 1.75;
  }

  .jad-hero-meta {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 1.4rem;
  }

  .jad-meta-pill {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .62rem .8rem;
    color: #eff6ff;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: .85rem;
    font-size: .82rem;
    font-weight: 700;
  }

  .jad-stat-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .9rem;
    margin: 1.25rem 0;
  }

  .jad-stat {
    display: flex;
    gap: .8rem;
    align-items: center;
    min-height: 96px;
    padding: 1rem;
  }

  .jad-stat i {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    border-radius: .8rem;
    font-size: 1.05rem;
  }

  .jad-stat strong { display: block; font-size: 1.35rem; line-height: 1; }
  .jad-stat span { display: block; margin-top: .35rem; color: var(--jad-muted); font-size: .74rem; line-height: 1.35; }
  .jad-stat:nth-child(1) i { color: #166534; background: #dcfce7; }
  .jad-stat:nth-child(2) i { color: #1d4ed8; background: #dbeafe; }
  .jad-stat:nth-child(3) i { color: #92400e; background: #fef3c7; }
  .jad-stat:nth-child(4) i { color: #7e22ce; background: #f3e8ff; }

  .jad-panel {
    padding: clamp(1.15rem, 2.4vw, 1.7rem);
    margin-top: 1.25rem;
  }

  .jad-section-heading {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    align-items: end;
    margin-bottom: 1.1rem;
  }

  .jad-section-heading h2 { margin: 0; font-size: 1.25rem; font-weight: 800; }
  .jad-section-heading p { margin: .3rem 0 0; color: var(--jad-muted); font-size: .86rem; line-height: 1.55; }

  .jad-application-list {
    display: grid;
    gap: .85rem;
  }

  .jad-application {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto auto;
    gap: 1rem;
    align-items: center;
    padding: 1rem;
    box-shadow: none;
  }

  .jad-application h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
  }

  .jad-application-meta {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem .8rem;
    margin-top: .55rem;
    color: var(--jad-muted);
    font-size: .78rem;
  }

  .jad-application-meta span {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
  }

  .jad-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 118px;
    padding: .5rem .65rem;
    border-radius: 999px;
    font-size: .73rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .jad-status-submitted { color: #1d4ed8; background: #dbeafe; }
  .jad-status-review { color: #92400e; background: #fef3c7; }
  .jad-status-success { color: #166534; background: #dcfce7; }
  .jad-status-closed { color: #991b1b; background: #fee2e2; }
  .jad-status-default { color: #475569; background: #f1f5f9; }

  .jad-application-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    padding: .55rem .75rem;
    color: #1d4ed8;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: .75rem;
    font-size: .76rem;
    font-weight: 800;
    white-space: nowrap;
  }

  .jad-application-action:hover {
    color: #fff;
    background: #2563eb;
    text-decoration: none !important;
  }

  .jad-empty {
    display: grid;
    place-items: center;
    min-height: 260px;
    padding: 2rem;
    text-align: center;
    background: linear-gradient(145deg, #fff, #f8fafc);
    border: 1px dashed #cbd5e1;
    border-radius: 1rem;
  }

  .jad-empty i { color: var(--jad-blue); font-size: 2.2rem; }
  .jad-empty h3 { margin: .9rem 0 .35rem; font-size: 1.1rem; font-weight: 800; }
  .jad-empty p { max-width: 520px; margin: 0 auto 1rem; color: var(--jad-muted); line-height: 1.6; }

  .jad-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    padding: .72rem 1rem;
    border-radius: .8rem;
    font-size: .85rem;
    font-weight: 750;
    text-decoration: none !important;
  }

  .jad-button-primary { color: #fff; background: var(--jad-blue); }
  .jad-button-outline { color: #334155; background: #fff; border: 1px solid var(--jad-line); }
  .jad-button:hover { transform: translateY(-1px); }

  .jad-timeline {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: .75rem;
  }

  .jad-step {
    padding: 1rem;
    border-radius: .9rem;
    background: var(--jad-soft);
    border: 1px solid var(--jad-line);
  }

  .jad-step i {
    width: 32px;
    height: 32px;
    display: grid;
    place-items: center;
    margin-bottom: .7rem;
    color: #fff;
    background: var(--jad-navy);
    border-radius: 50%;
    font-size: .83rem;
  }

  .jad-step strong { display: block; font-size: .84rem; }
  .jad-step p { margin: .35rem 0 0; color: var(--jad-muted); font-size: .74rem; line-height: 1.5; }

  .jad-right-rail {
    display: grid;
    gap: 1rem;
  }

  .jad-sidecard {
    padding: 1rem;
  }

  .jad-sidecard h2 {
    margin: 0 0 .75rem;
    font-size: .95rem;
    font-weight: 800;
  }

  .jad-sidecard p,
  .jad-sidecard li,
  .jad-sidecard span {
    color: var(--jad-muted);
    font-size: .78rem;
    line-height: 1.55;
  }

  .jad-sidecard ul {
    display: grid;
    gap: .55rem;
    margin: 0;
    padding: 0;
    list-style: none;
  }

  .jad-sidecard li {
    display: flex;
    gap: .5rem;
    align-items: flex-start;
  }

  .jad-sidecard li i {
    margin-top: .12rem;
    color: var(--jad-green);
  }

  .jad-latest {
    padding: .9rem;
    border-radius: .9rem;
    background: #f8fafc;
    border: 1px solid var(--jad-line);
  }

  .jad-latest strong {
    display: block;
    color: var(--jad-ink);
    font-size: .88rem;
    line-height: 1.35;
  }

  body.page-job_application_dashboard .footer { margin-top: 0; }

  @media (max-width: 1199.98px) {
    .jad-layout { grid-template-columns: 230px minmax(0, 1fr); }
    .jad-right-rail { grid-column: 2; position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .jad-stat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 991.98px) {
    .rud-navbar .navbar-collapse { padding: 1rem 0; }
    .rud-account-button { width: 100%; border-radius: .8rem; }
    .jad-layout { grid-template-columns: 1fr; }
    .jad-sidebar { position: static; }
    .jad-nav { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .jad-right-rail { grid-column: auto; grid-template-columns: 1fr 1fr; }
    .jad-timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  }

  @media (max-width: 767.98px) {
    .jad-page { padding: 1rem; }
    .jad-nav,
    .jad-stat-grid,
    .jad-right-rail,
    .jad-timeline { grid-template-columns: 1fr; }
    .jad-section-heading { align-items: start; flex-direction: column; }
    .jad-application { grid-template-columns: 1fr; align-items: start; }
    .jad-status { width: fit-content; min-width: 0; }
  }

  @media (max-width: 479.98px) {
    .jad-sidebar { display: none; }
  }

/* Faculty navbar */
  :root {
    --faculty-nav-bg-1: #0f172a;
    --faculty-nav-bg-2: #134e4a;
    --faculty-nav-accent: #14b8a6;
    --faculty-nav-accent-2: #2dd4bf;
    --faculty-text: rgba(255,255,255,.9);
    --faculty-soft: rgba(255,255,255,.68);
    --faculty-border: rgba(255,255,255,.08);
  }

  #facultyNavbar {
    background: linear-gradient(135deg, var(--faculty-nav-bg-1), var(--faculty-nav-bg-2) 60%, #0f766e 135%) !important;
    border-bottom: 1px solid var(--faculty-border);
    backdrop-filter: blur(14px);
    padding-top: .72rem;
    padding-bottom: .72rem;
    transition: all .25s ease;
    z-index: 1030;
  }

  #facultyNavbar.navbar-scrolled {
    padding-top: .5rem;
    padding-bottom: .5rem;
    box-shadow: 0 14px 34px rgba(2,6,23,.22) !important;
  }

  .faculty-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #fff !important;
    text-decoration: none;
  }

  .faculty-brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(45,212,191,.28), rgba(20,184,166,.18));
    border: 1px solid rgba(255,255,255,.10);
    color: #ccfbf1;
  }

  .faculty-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.05;
  }

  .faculty-brand-title {
    font-weight: 800;
    font-size: 1.08rem;
  }

  .faculty-brand-subtitle {
    font-size: .72rem;
    color: var(--faculty-soft);
  }

  .faculty-nav-link {
    color: var(--faculty-text) !important;
    font-weight: 600;
    border-radius: 999px;
    padding: .64rem .82rem !important;
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    background: transparent !important;
    border: 1px solid transparent;
    transition: all .22s ease;
  }

  .faculty-nav-link:hover,
  .faculty-nav-link:focus {
    background: rgba(255,255,255,.08) !important;
    color: #fff !important;
    border-color: rgba(255,255,255,.12);
  }

  .faculty-nav-link.active-nav {
    background: rgba(20,184,166,.18) !important;
    border: 1px solid rgba(45,212,191,.22);
    color: #fff !important;
  }

  .faculty-nav-action {
    background: rgba(255,255,255,.11) !important;
    border-color: rgba(45,212,191,.24);
    color: #fff !important;
  }

  .faculty-nav-action:hover,
  .faculty-nav-action:focus {
    background: #ccfbf1 !important;
    border-color: #ccfbf1;
    color: #0f172a !important;
  }

  .faculty-nav-action.active-nav {
    background: rgba(20,184,166,.28) !important;
    border-color: rgba(45,212,191,.34);
    color: #fff !important;
  }

  body.dashboard-prospective_faculty {
    padding-top: 76px;
    background: #f8fafc;
    color: #0f172a;
  }

  body.dashboard-prospective_faculty .main-content {
    padding-top: .75rem;
    padding-bottom: 2rem;
  }

  body.dashboard-prospective_faculty .content-wrapper {
    margin-top: 0;
    margin-bottom: 2rem;
  }

  .faculty-search-wrap {
    position: relative;
    min-width: 190px;
    max-width: 230px;
  }

  @media (max-width: 1399.98px) {
    .faculty-search-wrap {
      display: none !important;
    }
  }

  .faculty-search-wrap i {
    position: absolute;
    left: .95rem;
    top: 50%;
    transform: translateY(-50%);
    color: #99f6e4;
    pointer-events: none;
  }

  .faculty-search {
    width: 100%;
    border: 1px solid rgba(255,255,255,.08);
    background: rgba(255,255,255,.08);
    color: #fff;
    border-radius: 999px;
    padding: .68rem .95rem .68rem 2.45rem;
    outline: none;
  }

  .faculty-search::placeholder {
    color: rgba(255,255,255,.58);
  }

  .faculty-search:focus {
    border-color: rgba(45,212,191,.45);
    box-shadow: 0 0 0 4px rgba(20,184,166,.14);
    background: rgba(255,255,255,.12);
  }

  .faculty-profile-trigger {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    border-radius: 999px;
    padding: .42rem .8rem .42rem .5rem !important;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
  }

  .faculty-profile-avatar,
  .faculty-avatar-fallback {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    object-fit: cover;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #14b8a6, #0f766e);
    color: #fff;
    font-weight: 800;
  }

  .dropdown-menu {
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(255,255,255,.98);
    border-radius: 1rem;
    padding: .6rem;
    box-shadow: 0 20px 40px rgba(15,23,42,.12);
    min-width: 250px;
  }

  .dropdown-item {
    border-radius: .8rem;
    padding: .72rem .85rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: .75rem;
  }

  .dropdown-item:hover,
  .dropdown-item:focus {
    background: #f0fdfa;
    color: #0f766e;
  }

  .dropdown-header {
    color: #64748b;
    font-size: .74rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .55rem .8rem .35rem;
  }

  .theme-toggle {
    width: 44px;
    height: 44px;
    border: 1px solid rgba(255,255,255,.1);
    background: rgba(255,255,255,.08);
    color: #fff;
    border-radius: 999px;
  }

  .theme-toggle:hover {
    background: rgba(255,255,255,.14);
  }

  @media (max-width: 1199.98px) {
    .faculty-search-wrap {
      min-width: 100%;
      max-width: 100%;
      margin: .75rem 0;
    }
  }

  @media (max-width: 991.98px) {
    #facultyNavbar .navbar-collapse {
      margin-top: 1rem;
      background: rgba(15,23,42,.72);
      border: 1px solid rgba(255,255,255,.08);
      border-radius: 1.2rem;
      padding: 1rem;
      backdrop-filter: blur(10px);
    }

    .faculty-nav-link,
    .faculty-profile-trigger {
      width: 100%;
      justify-content: space-between;
      border-radius: .95rem;
    }
  }

/* Admin navbar */
  :root {
    --admin-nav-ink: #0f172a;
    --admin-nav-blue: #2563eb;
    --admin-nav-line: rgba(255,255,255,.12);
  }

  #mainNavbar.admin-topbar {
    min-height: 74px;
    padding: .65rem 1rem;
    background: linear-gradient(120deg, #0f172a, #172554 58%, #1d4ed8);
    border-bottom: 1px solid var(--admin-nav-line);
    box-shadow: 0 14px 34px rgba(15,23,42,.22);
    z-index: 1040;
  }

  .admin-brand {
    display: inline-flex;
    align-items: center;
    gap: .75rem;
    color: #fff !important;
    text-decoration: none;
  }

  .admin-brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: #fff;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.16);
  }

  .admin-brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.08;
  }

  .admin-brand-text strong { font-size: 1.03rem; }
  .admin-brand-text small { color: #bfdbfe; font-size: .7rem; }

  .admin-navbar-links {
    gap: .15rem;
  }

  .admin-navbar-links .nav-link {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    padding: .64rem .78rem !important;
    color: #dbeafe !important;
    border-radius: .8rem;
    font-size: .86rem;
    font-weight: 750;
    white-space: nowrap;
  }

  .admin-navbar-links .nav-link:hover,
  .admin-navbar-links .nav-link.active {
    color: #fff !important;
    background: rgba(255,255,255,.11);
    text-decoration: none !important;
  }

  .admin-account-button {
    display: inline-flex;
    align-items: center;
    gap: .65rem;
    padding: .35rem .72rem .35rem .4rem;
    color: #fff;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
  }

  .admin-account-avatar {
    width: 36px !important;
    height: 36px !important;
    display: grid;
    place-items: center;
    border-radius: 50%;
    object-fit: cover;
    background: linear-gradient(135deg, #38bdf8, #6366f1);
    color: #fff;
    font-weight: 800;
    border: 2px solid rgba(255,255,255,.35);
  }

  .admin-account-copy {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
    text-align: left;
  }

  .admin-account-copy strong { font-size: .82rem; }
  .admin-account-copy small { color: #bfdbfe; font-size: .68rem; }

  .admin-dropdown {
    min-width: 245px;
    padding: .5rem;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    box-shadow: 0 18px 40px rgba(15,23,42,.14);
  }

  .admin-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: .65rem;
    padding: .65rem .75rem;
    border-radius: .75rem;
    color: var(--admin-nav-ink);
    font-weight: 650;
  }

  .admin-dropdown .dropdown-item:hover {
    color: var(--admin-nav-blue);
    background: #eff6ff;
  }

  @media (max-width: 991.98px) {
    #navbarSupportedContent {
      margin-top: .9rem;
      padding: .9rem;
      border-radius: 1rem;
      background: rgba(15,23,42,.72);
      border: 1px solid rgba(255,255,255,.1);
    }

    .admin-navbar-links .nav-link,
    .admin-account-button {
      width: 100%;
      justify-content: flex-start;
      border-radius: .85rem;
    }
  }

