.excel-login {
    background: linear-gradient(135deg, #0b1020 0%, #1e1b4b 50%, #0f172a 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 96px 24px 24px;
    position: relative;
    overflow: hidden;
}

.excel-login::before,
.excel-login::after {
    content: "";
    position: fixed;
    border-radius: 50%;
    filter: blur(80px);
    opacity: .45;
    pointer-events: none;
    z-index: 0;
}

.excel-login::before {
    width: 420px;
    height: 420px;
    background: #6366f1;
    top: -120px;
    left: -120px;
    animation: orbFloat1 14s ease-in-out infinite alternate;
}

.excel-login::after {
    width: 360px;
    height: 360px;
    background: #22c55e;
    bottom: -100px;
    right: -100px;
    animation: orbFloat2 17s ease-in-out infinite alternate;
}

@keyframes orbFloat1 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(60px, 40px) scale(1.15); }
}

@keyframes orbFloat2 {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(-50px, -30px) scale(1.1); }
}

.auth-container {
    margin: auto 0;
    width: 100%;
    max-width: 1000px;
    min-height: 480px;
    max-height: 70vh;
    flex: 0 1 auto;
    align-self: center;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(2, 6, 23, .25);
    display: flex;
    overflow: hidden;
    position: relative;
    z-index: 1;
}

/* Nav styling on auth page */
.excel-login .navbar {
    background-color: rgba(11, 16, 32, 0.85) !important;
    backdrop-filter: saturate(180%) blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.excel-login .navbar-brand,
.excel-login .nav-link,
.excel-login .navbar-toggler {
    color: #fff !important;
}

.excel-login .nav-link:hover,
.excel-login .nav-link:focus {
    color: rgba(255, 255, 255, 0.8) !important;
}

.excel-login .navbar-toggler-icon {
    filter: invert(1);
}

.excel-login .navbar .nav-link.active {
    color: #fff !important;
}

/* Footer on auth page */
.excel-login footer {
    position: relative;
    z-index: 1;
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, .08);
    margin-top: 0;
}

.excel-login footer .text-white,
.excel-login footer .text-light {
    color: #e5e7eb !important;
}

.excel-login footer .small.text-secondary {
    color: #94a3b8 !important;
}

.excel-login footer a.link-light {
    color: #60a5fa !important;
}

.excel-login footer a.link-light:hover {
    color: #93c5fd !important;
}

.auth-left {
    flex: 0 0 380px;
    background: linear-gradient(180deg, #4fff40 0%, #15008e 100%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-left::before {
    content: "";
    position: absolute;
    inset: -40%;
    background:
      radial-gradient(600px 300px at 20% 30%, rgba(99, 102, 241, .35), transparent 60%),
      radial-gradient(500px 250px at 80% 70%, rgba(34, 197, 94, .25), transparent 60%);
    pointer-events: none;
    animation: authGlow 10s ease-in-out infinite alternate;
}

@keyframes authGlow {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-20px, 10px) scale(1.05); }
}

.auth-left > * {
    position: relative;
    z-index: 1;
}

.auth-left .login-logo {
    height: 56px;
    width: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,.4));
}

.auth-left h1 {
    font-size: 26px;
    font-weight: 800;
    margin-bottom: 10px;
    letter-spacing: -0.01em;
}

.auth-left p {
    color: rgba(255,255,255,.75);
    font-size: 15px;
    line-height: 1.5;
    max-width: 280px;
    margin: 0 auto;
}

.auth-right {
    flex: 1;
    padding: 40px 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    background: #ffffff;
}

.auth-right .tab-group {
    margin-bottom: 24px;
}

.auth-right .alert {
    margin-bottom: 16px;
}

.auth-right .form-group {
    margin-bottom: 16px;
}

.auth-right .btn-primary {
    margin-top: 4px;
}

.auth-right .logo-area,
.auth-right .auth-card > .logo-area {
    display: none;
}

@media (max-width: 860px) {
    .auth-container {
        flex-direction: column;
        max-width: 480px;
    }
    .auth-left {
        flex: none;
        padding: 32px 24px;
    }
    .auth-right {
        padding: 28px 24px;
    }
}

.tab-group {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    background: #f1f5f9;
    border-radius: 10px;
    padding: 4px;
}

.tab-btn {
    flex: 1;
    padding: 10px;
    border: none;
    background: transparent;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.2s;
}

.tab-btn.active {
    background: #ffffff;
    color: #0d6efd;
    box-shadow: 0 1px 3px rgba(2, 6, 23, .08);
    font-weight: 700;
}

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 6px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 14px;
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    color: #0f172a;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, .1);
}

.btn-primary {
    width: 100%;
    padding: 12px;
    background: #0d6efd;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.btn-primary:hover {
    background: #0b5ed7;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, .3);
}

.alert {
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

.alert-error {
    background: rgba(239, 68, 68, .08);
    border: 1px solid rgba(239, 68, 68, .2);
    color: #dc2626;
}

.alert-success {
    background: rgba(34, 197, 94, .08);
    border: 1px solid rgba(34, 197, 94, .2);
    color: #16a34a;
}

.hidden {
    display: none;
}

.password-strength-meter {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
  transition: max-height .35s cubic-bezier(.4,0,.2,1), opacity .3s ease, transform .3s ease;
  pointer-events: none;
}
.password-strength-meter.visible {
  max-height: 180px;
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.strength-bar-bg {
  height: 6px;
  background: rgba(0,0,0,.06);
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 8px;
}
.strength-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 999px;
  background: #ef4444;
  transition: width .4s cubic-bezier(.4,0,.2,1), background .4s ease;
}
.strength-bar-fill.weak { background: #ef4444; width: 20%; }
.strength-bar-fill.fair { background: #f59e0b; width: 40%; }
.strength-bar-fill.good { background: #84cc16; width: 60%; }
.strength-bar-fill.strong { background: #22c55e; width: 80%; }
.strength-bar-fill.very-strong { background: #10b981; width: 100%; }
.strength-label {
  font-size: 12px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 10px;
  transition: color .3s ease;
}
.strength-reqs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px 10px;
}
.req-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: #64748b;
  transition: color .3s ease;
}
.req-item.met {
  color: #16a34a;
}
.req-item.met .req-icon i::before {
  content: "\F26A";
  font-weight: 400;
}
.req-icon {
  display: inline-flex;
  font-size: 12px;
  transition: transform .3s cubic-bezier(.34,1.56,.64,1);
}
.req-item.met .req-icon {
  transform: scale(1.15);
}
@media (max-width: 576px) {
  .strength-reqs {
    grid-template-columns: 1fr 1fr;
  }
}


