.auth-wrap {
    width: min(780px, 100%);
    margin: 22px auto 0;
}

.auth-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 14px;
}

.wizard-topbar {
    height: 4px;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.70);
    margin: 14px 0 14px;
}

.stepper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
}

.stepper::before {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    top: 17px;
    height: 2px;
    background: rgba(15, 23, 42, 0.10);
    border-radius: 999px;
}

.stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    min-width: 0;
}

.stepper-circle {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.18);
    background: rgba(255, 255, 255, 0.98);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    font-size: 14px;
    color: rgba(15, 23, 42, 0.55);
    z-index: 1;
}

.stepper-text {
    font-size: 12px;
    font-weight: 800;
    color: rgba(15, 23, 42, 0.55);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stepper-item.is-active .stepper-circle {
    border-color: rgba(15, 118, 110, 0.55);
    background: rgba(15, 118, 110, 0.10);
    color: rgba(15, 118, 110, 0.95);
}

.stepper-item.is-active .stepper-text {
    color: rgba(15, 23, 42, 0.85);
}

.stepper-item.is-complete .stepper-circle {
    border-color: rgba(34, 197, 94, 0.55);
    background: rgba(34, 197, 94, 0.12);
    color: rgba(21, 128, 61, 0.95);
}

.stepper-item.is-complete .stepper-text {
    color: rgba(21, 128, 61, 0.90);
}

.wizard-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.form-step { display: none; }
.form-step.is-active { display: block; }

.password-meter {
    margin-top: 10px;
    padding: 12px;
    border-radius: 14px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.75);
}

.meter-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.meter-track {
    flex: 1;
    height: 10px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.10);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.10);
}

.meter-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: rgba(239, 68, 68, 0.65);
    transition: width 160ms ease, background 160ms ease;
}

.meter-label {
    min-width: 92px;
    text-align: right;
    font-weight: 800;
    font-size: 14px;
    color: rgba(15, 23, 42, 0.75);
}

.password-meter[data-strength="1"] .meter-fill { width: 25%; background: rgba(239, 68, 68, 0.70); }
.password-meter[data-strength="2"] .meter-fill { width: 50%; background: rgba(245, 158, 11, 0.75); }
.password-meter[data-strength="3"] .meter-fill { width: 75%; background: rgba(34, 197, 94, 0.70); }
.password-meter[data-strength="4"] .meter-fill { width: 100%; background: rgba(15, 118, 110, 0.70); }

.meter-checklist {
    margin: 10px 0 0;
    padding-left: 18px;
    color: rgba(15, 23, 42, 0.70);
    font-size: 14px;
}

.meter-checklist li {
    margin: 6px 0;
}

.meter-checklist li.met {
    color: rgba(15, 23, 42, 0.85);
    font-weight: 700;
}

@media (max-width: 720px) {
    .stepper-text { display: none; }
}

/* Signup page redesign (system theme aligned) */
.auth-signup-page {
    --signup-text: #134e4a;
    --signup-muted: #115e59;
    --signup-accent: #14b8a6;
    --signup-accent-deep: #0d9488;
    --signup-border: rgba(153, 246, 228, 0.58);
    padding-top: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 52%, #ccfbf1 100%);
    color: var(--signup-text);
}

.auth-signup-page .site-header,
.auth-signup-page .site-footer,
.auth-signup-page .back-to-top {
    display: none;
}

.auth-signup-page .auth-signup-main {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 16px 28px;
    overflow: hidden;
}

.auth-signup-page .auth-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.auth-signup-page .signup-blob {
    position: absolute;
    border-radius: 999px;
    filter: blur(90px);
}

.auth-signup-page .signup-blob-a {
    top: 10%;
    left: 5%;
    width: 560px;
    height: 560px;
    background: radial-gradient(circle, rgba(204, 251, 241, 0.42) 0%, rgba(153, 246, 228, 0.26) 50%, transparent 100%);
    animation: loginBlobFloat 25s ease-in-out infinite;
}

.auth-signup-page .signup-blob-b {
    bottom: 10%;
    right: 8%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(153, 246, 228, 0.35) 0%, rgba(94, 234, 212, 0.22) 50%, transparent 100%);
    animation: loginBlobSpinB 30s linear infinite;
}

.auth-signup-page .signup-blob-c {
    top: 50%;
    left: 50%;
    width: 580px;
    height: 580px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.12) 0%, transparent 70%);
    animation: loginBlobSpinA 24s linear infinite;
}

.auth-signup-page .auth-back-home {
    position: fixed;
    top: 24px;
    left: 24px;
    z-index: 55;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(153, 246, 228, 0.55);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #134e4a;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 10px 16px rgba(15, 23, 42, 0.12);
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease;
}

.auth-signup-page .auth-back-home:hover {
    transform: translateX(-4px);
    background: rgba(255, 255, 255, 0.92);
    text-decoration: none;
}

.auth-signup-page .auth-signup-shell {
    width: min(980px, 100%);
    position: relative;
    z-index: 12;
}

.auth-signup-page .auth-signup-form {
    overflow: hidden;
    border-radius: 26px;
    border: 1px solid rgba(255, 255, 255, 0.52);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 26px 56px -14px rgba(15, 23, 42, 0.3);
}

.auth-signup-page .auth-signup-header {
    position: relative;
    overflow: hidden;
    padding: 28px 32px;
    background: linear-gradient(90deg, #14b8a6, #0d9488);
    color: #ffffff;
}

.auth-signup-page .auth-signup-header::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 220px;
    height: 220px;
    border-radius: 999px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.28), transparent 65%);
}

.auth-signup-page .auth-signup-brand {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-signup-page .auth-signup-logo {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.24);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 48px;
}

.auth-signup-page .auth-signup-brand h1 {
    margin: 0;
    font-size: clamp(27px, 4vw, 34px);
    line-height: 1.15;
    font-weight: 800;
}

.auth-signup-page .auth-signup-brand p {
    margin: 4px 0 0;
    color: rgba(240, 253, 250, 0.92);
    font-size: 14px;
}

.auth-signup-page .stepper {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    list-style: none;
    margin: 22px 0 0;
    padding: 0;
}

.auth-signup-page .stepper::before {
    content: '';
    position: absolute;
    left: 24px;
    right: 24px;
    top: 18px;
    height: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.4);
}

.auth-signup-page .stepper-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    text-align: center;
    min-width: 0;
}

.auth-signup-page .stepper-circle {
    width: 36px;
    height: 36px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.86);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    z-index: 1;
    transition: transform 160ms ease, background 160ms ease, color 160ms ease, border-color 160ms ease;
}

.auth-signup-page .stepper-text {
    color: rgba(255, 255, 255, 0.88);
    font-size: 12px;
    font-weight: 700;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.auth-signup-page .stepper-item.is-active .stepper-circle,
.auth-signup-page .stepper-item.is-complete .stepper-circle {
    background: #ffffff;
    border-color: #ffffff;
    color: #0d9488;
    transform: scale(1.04);
}

.auth-signup-page .stepper-item.is-active .stepper-text,
.auth-signup-page .stepper-item.is-complete .stepper-text {
    color: #ffffff;
}

.auth-signup-page .auth-signup-body {
    padding: 28px 32px 34px;
}

.auth-signup-page .auth-alert {
    border-radius: 12px;
    border: 1px solid transparent;
    padding: 12px 14px;
    margin-bottom: 16px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 600;
}

.auth-signup-page .auth-alert-error {
    background: rgba(254, 242, 242, 0.95);
    border-color: rgba(248, 113, 113, 0.36);
    color: #b91c1c;
}

.auth-signup-page .auth-alert-success {
    background: rgba(236, 253, 245, 0.95);
    border-color: rgba(74, 222, 128, 0.36);
    color: #166534;
}

.auth-signup-page .auth-alert-success a {
    margin-left: 6px;
    color: #0f766e;
    font-weight: 800;
    text-decoration: underline;
}

.auth-signup-page .field {
    display: grid;
    gap: 8px;
    margin-top: 16px;
}

.auth-signup-page .field label {
    color: #0f172a;
    font-weight: 700;
    font-size: 14px;
}

.auth-signup-page .field input,
.auth-signup-page .field select,
.auth-signup-page .field textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--signup-border);
    background: rgba(255, 255, 255, 0.78);
    color: #0f172a;
    outline: none;
    font-size: 15px;
    transition: box-shadow 160ms ease, border-color 160ms ease, background 160ms ease;
}

.auth-signup-page .field textarea {
    min-height: 96px;
    resize: vertical;
}

.auth-signup-page .field input::placeholder,
.auth-signup-page .field textarea::placeholder {
    color: #64748b;
}

.auth-signup-page .field input:focus,
.auth-signup-page .field select:focus,
.auth-signup-page .field textarea:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.95);
    background: #ffffff;
}

.auth-signup-page .auth-input-wrap {
    position: relative;
}

.auth-signup-page .auth-input-wrap .auth-input-icon {
    position: absolute;
    top: 50%;
    left: 14px;
    transform: translateY(-50%);
    color: #0d9488;
    pointer-events: none;
}

.auth-signup-page .auth-input-wrap input {
    padding-left: 44px;
    padding-right: 44px;
}

.auth-signup-page .auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 14px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 0;
    padding: 0;
    background: transparent;
    color: #0d9488;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.auth-signup-page .auth-password-toggle [data-eye-off] {
    display: none;
}

.auth-signup-page .auth-password-toggle.is-visible [data-eye-open] {
    display: none;
}

.auth-signup-page .auth-password-toggle.is-visible [data-eye-off] {
    display: block;
}

.auth-signup-page .password-meter {
    margin-top: 8px;
    border-radius: 12px;
    border: 1px solid rgba(153, 246, 228, 0.6);
    background: rgba(240, 253, 250, 0.72);
    padding: 12px;
}

.auth-signup-page .meter-track {
    border-color: rgba(153, 246, 228, 0.58);
    background: rgba(255, 255, 255, 0.88);
}

.auth-signup-page .meter-label {
    color: #0f766e;
    font-size: 13px;
}

.auth-signup-page .meter-checklist {
    margin-top: 10px;
    padding-left: 18px;
    color: #334155;
    font-size: 13px;
}

.auth-signup-page .field-help {
    margin: 2px 0 0;
    font-size: 12px;
    color: #64748b;
}

.auth-signup-page .field-help.error {
    color: #dc2626;
    font-weight: 700;
}

.auth-signup-page .field-help.success {
    color: #15803d;
    font-weight: 700;
}

.auth-signup-page .input-invalid {
    border-color: rgba(248, 113, 113, 0.7) !important;
    box-shadow: 0 0 0 2px rgba(248, 113, 113, 0.2) !important;
}

.auth-signup-page .input-valid {
    border-color: rgba(34, 197, 94, 0.65) !important;
}

.auth-signup-page .auth-step-note {
    margin: 0;
    color: #475569;
    font-size: 14px;
}

.auth-signup-page .auth-ready-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
    color: #0f172a;
}

.auth-signup-page .wizard-actions {
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.auth-signup-page .button {
    min-height: 46px;
    padding: 0 18px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
}

.auth-signup-page .button:not(.primary) {
    border-color: rgba(153, 246, 228, 0.8);
    background: rgba(255, 255, 255, 0.88);
    color: #134e4a;
}

.auth-signup-page .button.primary {
    border-color: transparent;
    background: linear-gradient(90deg, #14b8a6, #0d9488);
    color: #ffffff;
    box-shadow: 0 10px 18px rgba(13, 148, 136, 0.3);
}

.auth-signup-page .button:hover {
    text-decoration: none;
    filter: none;
}

.auth-signup-page .button.primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.03);
}

.auth-signup-page .auth-signup-link {
    margin: 0;
    font-size: 14px;
    color: #475569;
}

.auth-signup-page .auth-signup-link a {
    color: #0d9488;
    font-weight: 700;
    text-decoration: none;
}

.auth-signup-page .auth-signup-link a:hover {
    text-decoration: underline;
}

@media (max-width: 920px) {
    .auth-signup-page .auth-signup-header {
        padding: 24px 22px;
    }

    .auth-signup-page .auth-signup-body {
        padding: 24px 22px 28px;
    }
}

@media (max-width: 640px) {
    .auth-signup-page .auth-signup-main {
        padding-top: 72px;
    }

    .auth-signup-page .auth-back-home {
        top: 14px;
        left: 12px;
    }

    .auth-signup-page .auth-signup-brand {
        align-items: flex-start;
    }

    .auth-signup-page .auth-signup-logo {
        width: 42px;
        height: 42px;
        flex-basis: 42px;
    }

    .auth-signup-page .auth-signup-brand p {
        font-size: 13px;
    }

    .auth-signup-page .wizard-actions {
        flex-direction: column-reverse;
        align-items: stretch;
    }

    .auth-signup-page .button {
        width: 100%;
    }

    .auth-signup-page .auth-signup-link {
        text-align: center;
    }
}

/* Login page redesign (Figma/Tailwind parity) */
.auth-login-page {
    --login-text: #134e4a;
    --login-muted: #115e59;
    --login-accent: #14b8a6;
    --login-accent-deep: #0f766e;
    --login-border: rgba(153, 246, 228, 0.5);
    padding-top: 0;
    min-height: 100vh;
    overflow-x: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdfa 50%, #ccfbf1 100%);
    color: var(--login-text);
}

.auth-login-page .site-header,
.auth-login-page .site-footer,
.auth-login-page .back-to-top {
    display: none;
}

.auth-login-page .auth-login-main {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    overflow: hidden;
}

.auth-login-page .auth-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.auth-login-page .auth-blob {
    position: absolute;
    width: 384px;
    height: 384px;
    border-radius: 999px;
    filter: blur(48px);
}

.auth-login-page .auth-blob-a {
    top: 0;
    left: -160px;
    background: radial-gradient(circle, rgba(153, 246, 228, 0.4) 0%, rgba(204, 251, 241, 0.2) 50%, transparent 100%);
    animation: loginBlobSpinA 20s linear infinite;
}

.auth-login-page .auth-blob-b {
    bottom: 0;
    right: -160px;
    background: radial-gradient(circle, rgba(94, 234, 212, 0.3) 0%, rgba(153, 246, 228, 0.2) 50%, transparent 100%);
    animation: loginBlobSpinB 25s linear infinite;
}

.auth-login-page .auth-blob-c {
    top: 50%;
    left: 50%;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.25) 0%, rgba(153, 246, 228, 0.15) 50%, transparent 100%);
    animation: loginBlobFloat 15s ease-in-out infinite;
}

.auth-login-page .auth-back-home {
    position: absolute;
    top: 24px;
    left: 24px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(153, 246, 228, 0.5);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: #374151;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 10px 16px rgba(15, 23, 42, 0.12);
    text-decoration: none;
    transition: transform 160ms ease, background 160ms ease;
}

.auth-login-page .auth-back-home:hover {
    transform: translateX(-4px) scale(1.02);
    text-decoration: none;
    background: rgba(255, 255, 255, 0.9);
}

.auth-login-page .auth-login-shell {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 448px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.auth-login-page .auth-login-card {
    width: 100%;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.25);
    padding: 32px;
    animation: loginCardFadeIn 500ms ease;
}

.auth-login-page .auth-login-header {
    text-align: center;
    margin-bottom: 32px;
}

.auth-login-page .auth-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--login-accent), var(--login-accent-deep));
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 25px -5px rgba(15, 118, 110, 0.35);
}

.auth-login-page .auth-login-header h1 {
    margin: 0 0 8px;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--login-text);
}

.auth-login-page .auth-login-header p {
    margin: 0;
    font-size: 14px;
    color: var(--login-muted);
}

.auth-login-page .auth-login-error {
    margin-bottom: 16px;
    border: 1px solid rgba(248, 113, 113, 0.35);
    border-radius: 12px;
    background: rgba(254, 242, 242, 0.95);
    color: #b91c1c;
    padding: 10px 12px;
    font-size: 14px;
    font-weight: 600;
}

.auth-login-page .auth-login-form {
    display: grid;
    gap: 20px;
}

.auth-login-page .auth-login-field label {
    display: block;
    margin-bottom: 8px;
    color: var(--login-text);
    font-size: 14px;
    font-weight: 500;
}

.auth-login-page .auth-login-input-wrap {
    position: relative;
}

.auth-login-page .auth-input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    transform: translateY(-50%);
    color: #0d9488;
    opacity: 0.9;
    pointer-events: none;
}

.auth-login-page .auth-login-input-wrap input {
    width: 100%;
    min-height: 56px;
    padding: 14px 16px 14px 48px;
    border-radius: 12px;
    border: 1px solid var(--login-border);
    background: rgba(255, 255, 255, 0.6);
    color: var(--login-text);
    font-size: 16px;
    outline: none;
    transition: box-shadow 180ms ease, border-color 180ms ease;
}

.auth-login-page .auth-login-input-wrap input::placeholder {
    color: #9ca3af;
}

.auth-login-page .auth-login-input-wrap input:focus {
    border-color: transparent;
    box-shadow: 0 0 0 2px rgba(13, 148, 136, 0.95);
}

.auth-login-page .auth-login-password-wrap input {
    padding-right: 48px;
}

.auth-login-page .auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    border: 0;
    background: transparent;
    color: #0d9488;
    width: 22px;
    height: 22px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.auth-login-page .auth-password-toggle [data-eye-off] {
    display: none;
}

.auth-login-page .auth-password-toggle.is-visible [data-eye-open] {
    display: none;
}

.auth-login-page .auth-password-toggle.is-visible [data-eye-off] {
    display: block;
}

.auth-login-page .auth-login-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.auth-login-page .auth-remember-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--login-muted);
    font-weight: 500;
}

.auth-login-page .auth-remember-row input[type="checkbox"] {
    width: 16px;
    height: 16px;
    accent-color: #0d9488;
}

.auth-login-page .auth-forgot-link {
    color: #0d9488;
    text-decoration: none;
    font-weight: 500;
}

.auth-login-page .auth-forgot-link:hover {
    color: #0f766e;
    text-decoration: none;
}

.auth-login-page .auth-login-submit {
    width: 100%;
    min-height: 56px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, #14b8a6, #0f766e);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    box-shadow: 0 10px 15px -3px rgba(15, 118, 110, 0.3);
    transition: filter 160ms ease, transform 160ms ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.auth-login-page .auth-login-submit:hover {
    transform: translateY(-2px) scale(1.02);
    filter: brightness(0.98);
}

.auth-login-page .auth-login-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.auth-login-page .auth-submit-loading {
    display: none;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-top-color: transparent;
    animation: loginSpin 1s linear infinite;
}

.auth-login-page .auth-login-submit.is-loading .auth-submit-loading {
    display: inline-block;
}

.auth-login-page .auth-login-signup {
    margin: 4px 0 0;
    text-align: center;
    font-size: 14px;
    color: var(--login-muted);
}

.auth-login-page .auth-login-signup a {
    color: #0d9488;
    font-weight: 600;
    text-decoration: none;
}

.auth-login-page .auth-login-signup a:hover {
    color: #0f766e;
}

.auth-login-page .auth-campus-pill {
    position: fixed;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    width: fit-content;
    padding: 12px 24px;
    border-radius: 16px;
    border: 1px solid var(--login-border);
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 10px 15px -3px rgba(15, 23, 42, 0.15);
    color: var(--login-muted);
    font-size: 14px;
    text-align: center;
    z-index: 6;
}

.auth-login-page .auth-campus-pill span {
    color: #0d9488;
    font-weight: 700;
}

@keyframes loginBlobSpinA {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(180deg); }
    100% { transform: scale(1) rotate(360deg); }
}

@keyframes loginBlobSpinB {
    0% { transform: scale(1.2) rotate(360deg); }
    50% { transform: scale(1) rotate(180deg); }
    100% { transform: scale(1.2) rotate(0deg); }
}

@keyframes loginBlobFloat {
    0% { transform: translate(0, 0); }
    50% { transform: translate(50px, 100px); }
    100% { transform: translate(0, 0); }
}

@keyframes loginCardFadeIn {
    from { opacity: 0; transform: translateY(20px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes loginSpin {
    to { transform: rotate(360deg); }
}

@media (min-width: 768px) {
    .auth-login-page .auth-login-card {
        padding: 40px;
    }
}

@media (max-width: 640px) {
    .auth-login-page .auth-back-home {
        top: 12px;
        left: 12px;
    }

    .auth-login-page .auth-login-card {
        padding: 28px 20px;
    }

    .auth-login-page .auth-login-meta {
        flex-wrap: wrap;
    }

    .auth-login-page .auth-campus-pill {
        position: static;
        transform: none;
        margin: 16px auto 0;
        width: 100%;
        max-width: 340px;
    }
}
