/* ==========================================================================
   Authentication Module - Shared Styles
   Orvixa - Franchise Management Software
   Design system generated from assets/img/logo-nav.png
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
    /* Brand colors sampled directly from the Orvixa logo mark */
    --navy-950: #001a3d;
    --navy-900: #03164e;
    --navy-800: #0a2a5c;
    --navy-700: #123a78;
    --blue-600: #0080fe;
    --blue-700: #0066d6;
    --blue-100: #e6f2ff;
    --amber-500: #f5a800;
    --amber-600: #dd8f00;
    --amber-50: #fff7e6;

    /* Neutrals */
    --gray-900: #0f172a;
    --gray-600: #64748b;
    --gray-400: #94a3b8;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;

    /* Semantic */
    --auth-page-bg: linear-gradient(150deg, #f5f8ff 0%, #ffffff 45%, #fffaf0 100%);
    --auth-panel-bg: #ffffff;
    --auth-text: var(--gray-900);
    --auth-text-muted: var(--gray-600);
    --auth-border: var(--gray-200);
    --auth-input-bg: #ffffff;
    --auth-input-border: #dbe2ee;
    --auth-input-focus: var(--blue-600);
    --auth-error: #dc2626;
    --auth-error-bg: #fef2f2;
    --auth-success: #16a34a;
    --auth-success-bg: #f0fdf4;
    --auth-shadow: 0 30px 60px -12px rgba(3, 22, 78, 0.18), 0 10px 20px -8px rgba(3, 22, 78, 0.08);
    --auth-card-shadow: 0 12px 28px rgba(3, 22, 78, 0.14);
    --auth-radius-lg: 24px;
    --auth-radius-md: 14px;
    --auth-radius-sm: 10px;
}

* {
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
}

body.auth-body {
    margin: 0;
    min-height: 100vh;
    max-width: 100vw;
    overflow-x: hidden;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    background: var(--auth-page-bg);
    color: var(--auth-text);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 28px;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Wrapper / two-column shell
   ========================================================================== */

.auth-wrapper {
    width: 100%;
    max-width: 1120px;
    min-width: 0;
    background: var(--auth-panel-bg);
    border-radius: var(--auth-radius-lg);
    box-shadow: var(--auth-shadow);
    display: flex;
    overflow: hidden;
    min-height: 640px;
    animation: authFadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

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

/* ==========================================================================
   Left / brand panel
   ========================================================================== */

.auth-brand {
    flex: 1 1 56%;
    min-width: 0;
    background: linear-gradient(160deg, var(--navy-950) 0%, var(--navy-800) 48%, var(--blue-600) 130%);
    color: #fff;
    padding: 44px 48px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 26px;
    position: relative;
    overflow: hidden;
}

.brand-shapes {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.brand-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(50px);
    opacity: 0.35;
    animation: authDrift 14s ease-in-out infinite alternate;
}

.brand-shape.shape-1 {
    width: 280px;
    height: 280px;
    top: -80px;
    right: -60px;
    background: var(--blue-600);
}

.brand-shape.shape-2 {
    width: 220px;
    height: 220px;
    bottom: -60px;
    left: -60px;
    background: var(--amber-500);
    opacity: 0.18;
    animation-delay: 3s;
}

@keyframes authDrift {
    from {
        transform: translate(0, 0) scale(1);
    }
    to {
        transform: translate(18px, -14px) scale(1.08);
    }
}

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

.brand-logo-lockup {
    display: flex;
    align-items: center;
}

.brand-logo-lockup img {
    height: 40px;
    width: auto;
    display: block;
}

.brand-headline {
    max-width: 460px;
}

.brand-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #bcd7ff;
    margin-bottom: 14px;
}

.brand-eyebrow::before {
    content: '';
    width: 18px;
    height: 2px;
    background: var(--amber-500);
    display: inline-block;
}

.brand-headline h1 {
    font-size: 30px;
    line-height: 1.28;
    margin: 0 0 12px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.brand-headline h1 .accent {
    background: linear-gradient(90deg, #ffd88a, var(--amber-500));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-headline p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.6;
    margin: 0;
}

.brand-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(6px);
}

.brand-badge .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--amber-500);
    flex-shrink: 0;
}

/* ---- Dashboard mockup (pure HTML/CSS, no images) ---- */

.dash-mock-stage {
    position: relative;
    margin-top: 4px;
    flex: 1;
    min-height: 260px;
}

.dash-mock {
    background: rgba(255, 255, 255, 0.98);
    border-radius: var(--auth-radius-md);
    box-shadow: var(--auth-card-shadow);
    padding: 18px 20px 34px;
    width: 100%;
    max-width: 420px;
    color: var(--auth-text);
    animation: authCardIn 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.15s;
}

.dash-mock-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.dash-mock-title {
    font-size: 13.5px;
    font-weight: 700;
    color: var(--navy-900);
}

.dash-live {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 10.5px;
    font-weight: 700;
    color: var(--auth-success);
    background: var(--auth-success-bg);
    padding: 3px 8px;
    border-radius: 999px;
}

.dash-live .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--auth-success);
    animation: authPulse 1.8s ease-in-out infinite;
}

@keyframes authPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.35;
    }
}

.dash-stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 14px;
}

.dash-stat {
    background: var(--gray-50);
    border-radius: var(--auth-radius-sm);
    padding: 9px 10px;
}

.dash-stat-label {
    display: block;
    font-size: 10px;
    color: var(--auth-text-muted);
    font-weight: 600;
    margin-bottom: 3px;
}

.dash-stat-value {
    font-size: 15px;
    font-weight: 800;
    color: var(--navy-900);
}

.dash-stat-value small {
    display: block;
    font-size: 10px;
    font-weight: 700;
    color: var(--auth-success);
}

.dash-chart {
    display: flex;
    align-items: flex-end;
    gap: 5px;
    height: 46px;
    margin-bottom: 14px;
    padding: 0 2px;
}

.dash-bar {
    flex: 1;
    border-radius: 4px 4px 0 0;
    background: linear-gradient(180deg, var(--blue-600), var(--navy-800));
    animation: authBarIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.dash-bar:nth-child(1) { height: 45%; animation-delay: 0.05s; }
.dash-bar:nth-child(2) { height: 60%; animation-delay: 0.1s; }
.dash-bar:nth-child(3) { height: 50%; animation-delay: 0.15s; }
.dash-bar:nth-child(4) { height: 78%; animation-delay: 0.2s; }
.dash-bar:nth-child(5) { height: 68%; animation-delay: 0.25s; }
.dash-bar:nth-child(6) { height: 92%; animation-delay: 0.3s; background: linear-gradient(180deg, var(--amber-500), var(--blue-600)); }
.dash-bar:nth-child(7) { height: 84%; animation-delay: 0.35s; }

@keyframes authBarIn {
    from {
        transform: scaleY(0);
        transform-origin: bottom;
    }
    to {
        transform: scaleY(1);
        transform-origin: bottom;
    }
}

.dash-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 12px;
}

.dash-widget {
    background: var(--gray-50);
    border-radius: var(--auth-radius-sm);
    padding: 10px 12px;
}

.dash-widget-title {
    font-size: 10.5px;
    font-weight: 700;
    color: var(--auth-text-muted);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.pipeline-row {
    display: flex;
    gap: 6px;
}

.pipeline-pill {
    flex: 1;
    text-align: center;
    font-size: 10.5px;
    font-weight: 700;
    padding: 5px 0;
    border-radius: 999px;
}

.pipeline-pill.new {
    background: var(--blue-100);
    color: var(--blue-700);
}

.pipeline-pill.contacted {
    background: var(--amber-50);
    color: var(--amber-600);
}

.pipeline-pill.won {
    background: var(--auth-success-bg);
    color: var(--auth-success);
}

.progress-track {
    height: 6px;
    border-radius: 999px;
    background: var(--gray-200);
    overflow: hidden;
    margin-bottom: 6px;
}

.progress-fill {
    height: 100%;
    width: 64%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue-600), var(--amber-500));
    animation: authGrow 1s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.3s;
}

@keyframes authGrow {
    from {
        width: 0;
    }
}

.dash-widget-sub {
    font-size: 10.5px;
    color: var(--auth-text-muted);
}

.activity-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.activity-list li {
    display: flex;
    align-items: center;
    gap: 7px;
    font-size: 11.5px;
    color: var(--gray-900);
}

.activity-list .dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

.activity-list .dot.blue { background: var(--blue-600); }
.activity-list .dot.green { background: var(--auth-success); }
.activity-list .dot.orange { background: var(--amber-500); }

/* Floating KPI callouts around the mockup */

.kpi-float {
    position: absolute;
    background: #fff;
    border-radius: var(--auth-radius-sm);
    box-shadow: var(--auth-card-shadow);
    padding: 9px 13px;
    display: flex;
    align-items: center;
    gap: 9px;
    animation: authCardIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) both, authFloat 5s ease-in-out infinite;
    animation-delay: var(--kpi-delay, 0s), var(--kpi-delay, 0s);
}

.kpi-float .kpi-icon {
    width: 26px;
    height: 26px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    flex-shrink: 0;
}

.kpi-float .kpi-text {
    font-size: 10px;
    color: var(--auth-text-muted);
    font-weight: 600;
    white-space: nowrap;
}

.kpi-float .kpi-value {
    font-size: 13px;
    font-weight: 800;
    color: var(--navy-900);
    white-space: nowrap;
}

.kpi-1 {
    top: -14px;
    right: 6%;
    --kpi-delay: 0.35s;
}

.kpi-1 .kpi-icon {
    background: var(--auth-success-bg);
    color: var(--auth-success);
}

.kpi-2 {
    bottom: -20px;
    left: -6%;
    --kpi-delay: 0.5s;
}

.kpi-2 .kpi-icon {
    background: var(--blue-100);
    color: var(--blue-700);
}

@keyframes authCardIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.96);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes authFloat {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-7px);
    }
}

/* Legacy support classes (still used by forgot-password.php / reset-password.php) */

.auth-brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-mark {
    position: relative;
    width: 38px;
    height: 38px;
    border-radius: 11px;
    background: linear-gradient(135deg, #ffffff 0%, var(--blue-100) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.logo-mark svg {
    width: 20px;
    height: 20px;
}

.logo-mark .dot {
    position: absolute;
    bottom: -3px;
    right: -3px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--amber-500);
    border: 2px solid var(--navy-800);
}

.logo-word {
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 0.5px;
    color: #fff;
}

.auth-brand-eyebrow {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #bcd7ff;
    margin: 28px 0 14px;
}

.auth-brand-eyebrow::before {
    content: '';
    width: 18px;
    height: 2px;
    background: var(--amber-500);
    display: inline-block;
}

.auth-brand-copy h1 {
    font-size: 27px;
    line-height: 1.32;
    margin: 0 0 12px;
    font-weight: 800;
}

.auth-brand-copy h1 .accent {
    color: #ffd28a;
}

.auth-brand-copy p {
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.82);
    line-height: 1.65;
    margin: 0;
}

.trust-pills {
    list-style: none;
    margin: 26px 0 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.trust-pills li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
}

.trust-pills li::before {
    content: '\2713';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.16);
    color: #ffd28a;
    font-size: 10px;
    flex-shrink: 0;
}

.floating-cards {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    box-shadow: var(--auth-card-shadow);
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    animation-fill-mode: forwards, forwards;
    animation-name: authCardIn, authFloat;
    animation-duration: 0.6s, 5s;
    animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1), ease-in-out;
    animation-iteration-count: 1, infinite;
    animation-delay: var(--card-delay, 0s), var(--card-delay, 0s);
}

.floating-card .fc-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    flex-shrink: 0;
}

.floating-card .fc-label {
    font-size: 10.5px;
    color: #64748b;
    font-weight: 600;
    white-space: nowrap;
}

.floating-card .fc-value {
    font-size: 14px;
    color: var(--navy-900);
    font-weight: 800;
    white-space: nowrap;
}

.fc-1 {
    top: 6%;
    right: 4%;
    --card-delay: 0.15s;
}

.fc-1 .fc-icon {
    background: var(--blue-100);
    color: var(--blue-600);
}

.fc-3 {
    bottom: 8%;
    right: 4%;
    --card-delay: 0.3s;
}

.fc-3 .fc-icon {
    background: #dcfce7;
    color: #16a34a;
}

.auth-brand-footer {
    font-size: 12.5px;
    color: rgba(255, 255, 255, 0.55);
    margin-top: 28px;
}

/* ==========================================================================
   Centered login layout (single column, big logo)
   ========================================================================== */

.page-shapes {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.page-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(70px);
    opacity: 0.28;
    animation: authDrift 16s ease-in-out infinite alternate;
}

.page-shape.shape-a {
    width: 360px;
    height: 360px;
    top: -100px;
    left: -80px;
    background: var(--blue-600);
}

.page-shape.shape-b {
    width: 300px;
    height: 300px;
    bottom: -100px;
    right: -80px;
    background: var(--amber-500);
    opacity: 0.18;
    animation-delay: 4s;
}

.auth-center-wrapper {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 460px;
    background: var(--auth-panel-bg);
    border-radius: var(--auth-radius-lg);
    box-shadow: var(--auth-shadow);
    padding: 48px 44px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: authFadeInUp 0.7s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.center-logo {
    position: relative;
    margin-bottom: 22px;
}

.center-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 220px;
    height: 140px;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(0, 128, 254, 0.16), transparent 70%);
    filter: blur(6px);
    z-index: -1;
}

.center-logo img {
    height: 68px;
    width: auto;
    display: block;
}

.center-badge {
    align-self: center;
}

.center-heading {
    align-self: stretch;
}

.auth-center-wrapper .auth-form,
.auth-center-wrapper .auth-alert {
    align-self: stretch;
    width: 100%;
    text-align: left;
}

.auth-center-wrapper .panel-footer {
    width: 100%;
}

/* ==========================================================================
   Right / form panel
   ========================================================================== */

.auth-panel {
    flex: 1 1 44%;
    min-width: 0;
    padding: 48px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.panel-logo {
    margin-bottom: 22px;
}

.panel-logo img {
    height: 34px;
    width: auto;
    display: block;
}

.auth-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--amber-50);
    border: 1px solid rgba(245, 168, 0, 0.35);
    color: var(--amber-600);
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 18px;
    animation: authFadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.05s;
}

.auth-heading {
    margin-bottom: 26px;
    animation: authFadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.1s;
}

.auth-heading h2 {
    margin: 0 0 6px;
    font-size: 27px;
    font-weight: 800;
    color: var(--auth-text);
    letter-spacing: -0.02em;
}

.auth-heading p {
    margin: 0;
    color: var(--auth-text-muted);
    font-size: 14.5px;
}

.auth-alert {
    display: none;
    padding: 12px 14px;
    border-radius: var(--auth-radius-sm);
    font-size: 13.5px;
    margin-bottom: 18px;
    line-height: 1.5;
}

.auth-alert.error {
    background: var(--auth-error-bg);
    color: var(--auth-error);
}

.auth-alert.success {
    background: var(--auth-success-bg);
    color: var(--auth-success);
}

.auth-form {
    animation: authFadeInUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    animation-delay: 0.15s;
}

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

.form-group label {
    display: block;
    font-size: 13.5px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--auth-text);
}

.input-control {
    position: relative;
}

.input-control input {
    width: 100%;
    padding: 13px 14px;
    border-radius: var(--auth-radius-sm);
    border: 1.5px solid var(--auth-input-border);
    background: var(--auth-input-bg);
    color: var(--auth-text);
    font-family: inherit;
    font-size: 14.5px;
    outline: none;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.input-control input:focus {
    border-color: var(--auth-input-focus);
    box-shadow: 0 0 0 4px rgba(0, 128, 254, 0.14);
}

.input-control input.has-error {
    border-color: var(--auth-error);
}

.input-control .toggle-visibility {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: var(--blue-700);
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    padding: 4px;
}

.field-error {
    display: none;
    color: var(--auth-error);
    font-size: 12.5px;
    margin-top: 6px;
}

.form-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
    font-size: 13.5px;
}

.remember-me {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--auth-text-muted);
    cursor: pointer;
}

.remember-me input {
    width: 16px;
    height: 16px;
    accent-color: var(--blue-600);
    cursor: pointer;
}

.auth-link {
    color: var(--blue-700);
    text-decoration: none;
    font-weight: 700;
    transition: color 0.15s ease;
}

.auth-link:hover {
    color: var(--amber-600);
    text-decoration: underline;
}

.btn-auth {
    width: 100%;
    padding: 14px 16px;
    border: none;
    border-radius: var(--auth-radius-sm);
    background: linear-gradient(135deg, var(--blue-600), var(--navy-800));
    color: #fff;
    font-family: inherit;
    font-size: 15.5px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 10px 22px -8px rgba(0, 128, 254, 0.5);
    transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-auth:hover:not(:disabled) {
    transform: translateY(-1px);
    filter: brightness(1.06);
    box-shadow: 0 14px 26px -8px rgba(0, 128, 254, 0.55);
}

.btn-auth:active:not(:disabled) {
    transform: translateY(0);
}

.btn-auth:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.btn-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: auth-spin 0.7s linear infinite;
}

@keyframes auth-spin {
    to {
        transform: rotate(360deg);
    }
}

.auth-footer-note {
    margin-top: 24px;
    text-align: center;
    font-size: 13.5px;
    color: var(--auth-text-muted);
}

.back-to-login {
    margin-top: 18px;
    text-align: center;
    font-size: 13.5px;
}

.panel-footer {
    margin-top: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 12px;
    color: var(--gray-400);
}

/* Visible focus states for keyboard navigation */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--blue-600);
    outline-offset: 2px;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .auth-wrapper {
        max-width: 900px;
    }

    .brand-headline h1 {
        font-size: 26px;
    }
}

@media (max-width: 860px) {
    .auth-wrapper {
        flex-direction: column;
        min-height: auto;
    }

    .auth-brand {
        padding: 32px 28px;
    }

    .brand-headline h1 {
        font-size: 23px;
    }

    .auth-panel {
        padding: 36px 28px;
    }

    .floating-cards,
    .dash-mock-stage,
    .kpi-float,
    .brand-shapes {
        display: none;
    }
}

@media (max-width: 480px) {
    body.auth-body {
        padding: 14px;
    }

    .auth-wrapper {
        border-radius: 18px;
    }

    .auth-center-wrapper {
        padding: 34px 22px;
        border-radius: 18px;
    }

    .center-logo img {
        height: 54px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .auth-wrapper,
    .auth-badge,
    .auth-heading,
    .auth-form,
    .floating-card,
    .kpi-float,
    .dash-mock,
    .dash-bar,
    .progress-fill,
    .brand-shape,
    .page-shape,
    .auth-center-wrapper,
    .dash-live .dot {
        animation: none;
    }

    .btn-auth:hover:not(:disabled) {
        transform: none;
    }
}
