/* ==========================================================================
   Teleconnex Modern Authentication & Portal UI System
   ========================================================================== */

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

:root {
    --tc-primary: #4F37E9;
    --tc-primary-dark: #3725C2;
    --tc-primary-light: #EEF2FF;
    --tc-primary-subtle: #F5F3FF;
    --tc-primary-glow: rgba(79, 55, 233, 0.25);
    
    --tc-accent-indigo: #6366F1;
    --tc-accent-purple: #8B5CF6;
    --tc-accent-emerald: #10B981;
    --tc-accent-amber: #F59E0B;
    --tc-accent-rose: #EF4444;

    --tc-dark-900: #0A081D;
    --tc-dark-800: #0F0E26;
    --tc-dark-700: #181538;
    --tc-dark-600: #23204E;

    --tc-slate-900: #0F172A;
    --tc-slate-800: #1E293B;
    --tc-slate-700: #334155;
    --tc-slate-600: #475569;
    --tc-slate-500: #64748B;
    --tc-slate-400: #94A3B8;
    --tc-slate-300: #CBD5E1;
    --tc-slate-200: #E2E8F0;
    --tc-slate-100: #F1F5F9;
    --tc-slate-50:  #F8FAFC;

    --tc-radius-sm: 8px;
    --tc-radius-md: 12px;
    --tc-radius-lg: 18px;
    --tc-radius-xl: 24px;
    --tc-radius-full: 9999px;

    --tc-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --tc-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
    --tc-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
    --tc-shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.08), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
    --tc-shadow-primary: 0 10px 25px -5px rgba(79, 55, 233, 0.4);
    
    --tc-font-main: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body.auth-body {
    font-family: var(--tc-font-main);
    background-color: var(--tc-slate-50);
    color: var(--tc-slate-900);
    min-height: 100vh;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Split Layout Architecture
   ========================================================================== */

.auth-split-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* --- Left Side: Form Panel --- */
.auth-form-panel {
    flex: 0 0 540px;
    max-width: 540px;
    width: 100%;
    background-color: #FFFFFF;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px 48px;
    position: relative;
    z-index: 10;
    box-shadow: 4px 0 24px rgba(15, 23, 42, 0.03);
}

@media (min-width: 1440px) {
    .auth-form-panel {
        flex: 0 0 580px;
        max-width: 580px;
        padding: 48px 56px;
    }
}

.auth-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 24px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.auth-brand img {
    height: 38px;
    width: auto;
    object-fit: contain;
    transition: transform 0.2s ease;
}

.auth-brand:hover img {
    transform: scale(1.02);
}

.auth-badge-environment {
    font-size: 11.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--tc-primary);
    background: var(--tc-primary-light);
    padding: 4px 10px;
    border-radius: var(--tc-radius-full);
    border: 1px solid rgba(79, 55, 233, 0.15);
}

/* --- Form Body --- */
.auth-form-content {
    margin: auto 0;
    width: 100%;
}

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

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--tc-primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.auth-eyebrow .pulse-dot {
    width: 7px;
    height: 7px;
    background-color: var(--tc-accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    animation: tc-pulse 2s infinite ease-in-out;
}

@keyframes tc-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.auth-main-title {
    font-size: 26px;
    font-weight: 800;
    color: var(--tc-slate-900);
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 8px;
}

.auth-subtitle {
    font-size: 14px;
    color: var(--tc-slate-500);
    line-height: 1.5;
}

/* --- Interactive Site Selection Grid --- */
.site-selection-container {
    margin-bottom: 20px;
}

.site-selection-label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--tc-slate-700);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.site-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.site-card {
    position: relative;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border: 1.5px solid var(--tc-slate-200);
    border-radius: var(--tc-radius-md);
    background: #FFFFFF;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    user-select: none;
}

.site-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.site-card-indicator {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
    margin-right: 10px;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.indicator-au {
    background: #EFF6FF;
    color: #1D4ED8;
    border: 1px solid #BFDBFE;
}

.indicator-nz {
    background: #ECFDF5;
    color: #047857;
    border: 1px solid #A7F3D0;
}

.site-card-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    min-width: 0;
}

.site-card-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--tc-slate-800);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.site-card-badge {
    font-size: 10.5px;
    font-weight: 600;
    color: var(--tc-slate-400);
    margin-top: 2px;
}

.site-card-check {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 1.5px solid var(--tc-slate-300);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 6px;
    transition: all 0.2s ease;
}

.site-card-check svg {
    display: none;
    width: 10px;
    height: 10px;
    stroke: #FFFFFF;
    stroke-width: 3;
}

.site-card:hover {
    border-color: #C7D2FE;
    background: #FAF5FF;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(79, 55, 233, 0.06);
}

.site-card.is-active,
.site-card:has(input[type="radio"]:checked) {
    border-color: var(--tc-primary);
    background: var(--tc-primary-subtle);
    box-shadow: 0 0 0 3px rgba(79, 55, 233, 0.14);
}

.site-card.is-active .site-card-name,
.site-card:has(input[type="radio"]:checked) .site-card-name {
    color: var(--tc-primary-dark);
}

.site-card.is-active .site-card-check,
.site-card:has(input[type="radio"]:checked) .site-card-check {
    background: var(--tc-primary);
    border-color: var(--tc-primary);
}

.site-card.is-active .site-card-check svg,
.site-card:has(input[type="radio"]:checked) .site-card-check svg {
    display: block;
}

/* --- Input Fields & Form Controls --- */
.form-group-custom {
    margin-bottom: 18px;
    text-align: left;
}

.form-label-custom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    color: var(--tc-slate-700);
    margin-bottom: 6px;
}

.form-label-custom .required-star {
    color: var(--tc-accent-rose);
    margin-left: 3px;
}

.input-control-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    width: 100%;
}

.input-leading-icon {
    position: absolute;
    left: 14px;
    color: var(--tc-slate-400);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    transition: color 0.2s ease;
    z-index: 2;
}

.input-leading-icon svg {
    width: 18px;
    height: 18px;
}

.custom-input {
    width: 100%;
    height: 48px;
    padding: 10px 14px 10px 42px;
    font-family: var(--tc-font-main);
    font-size: 14.5px;
    color: var(--tc-slate-900);
    background-color: var(--tc-slate-50);
    border: 1.5px solid var(--tc-slate-200);
    border-radius: var(--tc-radius-md);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.custom-input.has-trailing-btn {
    padding-right: 44px;
}

.custom-input:hover {
    border-color: var(--tc-slate-300);
    background-color: #FFFFFF;
}

.custom-input:focus {
    outline: none;
    border-color: var(--tc-primary);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px var(--tc-primary-glow);
}

.input-control-wrapper:focus-within .input-leading-icon {
    color: var(--tc-primary);
}

.input-trailing-toggle {
    position: absolute;
    right: 12px;
    background: transparent;
    border: none;
    padding: 6px;
    color: var(--tc-slate-400);
    cursor: pointer;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 2;
}

.input-trailing-toggle:hover {
    color: var(--tc-slate-700);
    background: var(--tc-slate-100);
}

.input-trailing-toggle svg {
    width: 18px;
    height: 18px;
}

/* --- Validation Error Messages --- */
.validation-error-msg,
.field-validation-error {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--tc-accent-rose);
    margin-top: 5px;
}

.input-validation-error {
    border-color: var(--tc-accent-rose) !important;
    background-color: #FFF5F5 !important;
}

.input-validation-error:focus {
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.18) !important;
}

/* --- Options Row: Remember Me & Forgot Password --- */
.auth-options-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 16px 0 24px;
}

.custom-checkbox-container {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 13.5px;
    font-weight: 500;
    color: var(--tc-slate-600);
    user-select: none;
}

.custom-checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.custom-checkbox-checkmark {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--tc-slate-300);
    border-radius: 5px;
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #FFFFFF;
    transition: all 0.2s ease;
}

.custom-checkbox-checkmark svg {
    display: none;
    width: 11px;
    height: 11px;
    stroke: #FFFFFF;
    stroke-width: 3;
}

.custom-checkbox-container:hover input ~ .custom-checkbox-checkmark {
    border-color: var(--tc-primary);
}

.custom-checkbox-container input:checked ~ .custom-checkbox-checkmark {
    background-color: var(--tc-primary);
    border-color: var(--tc-primary);
}

.custom-checkbox-container input:checked ~ .custom-checkbox-checkmark svg {
    display: block;
}

.auth-forgot-link {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--tc-primary);
    text-decoration: none;
    transition: all 0.2s ease;
}

.auth-forgot-link:hover {
    color: var(--tc-primary-dark);
    text-decoration: underline;
}

/* --- Alert Messages --- */
.auth-alert {
    padding: 12px 16px;
    border-radius: var(--tc-radius-md);
    font-size: 13.5px;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.4;
    animation: tc-slideDown 0.3s ease;
}

@keyframes tc-slideDown {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.auth-alert-danger {
    background-color: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FCA5A5;
}

.auth-alert-success {
    background-color: #ECFDF5;
    color: #065F46;
    border: 1px solid #6EE7B7;
}

.auth-alert svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 1px;
}

/* --- Primary Submit CTA Button --- */
.btn-auth-submit {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, var(--tc-primary) 0%, var(--tc-accent-indigo) 100%);
    color: #FFFFFF;
    font-family: var(--tc-font-main);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.4px;
    border: none;
    border-radius: var(--tc-radius-md);
    box-shadow: var(--tc-shadow-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-auth-submit svg {
    width: 18px;
    height: 18px;
    transition: transform 0.2s ease;
}

.btn-auth-submit:hover {
    background: linear-gradient(135deg, var(--tc-primary-dark) 0%, var(--tc-primary) 100%);
    box-shadow: 0 14px 28px -5px rgba(79, 55, 233, 0.5);
    transform: translateY(-1px);
}

.btn-auth-submit:hover svg {
    transform: translateX(3px);
}

.btn-auth-submit:active {
    transform: translateY(0);
    box-shadow: 0 6px 14px -3px rgba(79, 55, 233, 0.4);
}

.btn-auth-secondary {
    width: 100%;
    height: 48px;
    background-color: #FFFFFF;
    color: var(--tc-slate-700);
    font-family: var(--tc-font-main);
    font-size: 14.5px;
    font-weight: 600;
    border: 1.5px solid var(--tc-slate-200);
    border-radius: var(--tc-radius-md);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-auth-secondary:hover {
    background-color: var(--tc-slate-50);
    border-color: var(--tc-slate-300);
    color: var(--tc-slate-900);
}

/* --- Form Footer --- */
.auth-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--tc-slate-100);
}

.auth-footer img {
    height: 16px;
    width: auto;
    opacity: 0.75;
}

.auth-footer-text {
    font-size: 11.5px;
    color: var(--tc-slate-400);
}

/* ==========================================================================
   Right Side: Hero Showcase Area
   ========================================================================== */

.auth-hero-panel {
    flex: 1;
    background: radial-gradient(circle at 80% 20%, #2A256B 0%, var(--tc-dark-800) 60%, var(--tc-dark-900) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 48px;
    overflow: hidden;
}

/* Ambient glow orbs */
.hero-glow-1 {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, rgba(99, 102, 241, 0) 70%);
    filter: blur(40px);
    pointer-events: none;
}

.hero-glow-2 {
    position: absolute;
    bottom: -80px;
    left: 20%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, rgba(139, 92, 246, 0) 70%);
    filter: blur(50px);
    pointer-events: none;
}

.hero-content-wrapper {
    max-width: 580px;
    width: 100%;
    position: relative;
    z-index: 5;
    color: #FFFFFF;
    text-align: center;
}

.hero-chip-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 6px 14px;
    border-radius: var(--tc-radius-full);
    font-size: 12.5px;
    font-weight: 600;
    color: #E2E8F0;
    margin-bottom: 24px;
}

.hero-heading {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -0.8px;
    line-height: 1.25;
    margin-bottom: 16px;
    color: #FFFFFF;
}

.hero-heading span {
    background: linear-gradient(135deg, #A5B4FC 0%, #E0E7FF 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 15px;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.hero-visual-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--tc-radius-xl);
    padding: 32px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    margin-bottom: 28px;
    position: relative;
}

.hero-illustration {
    display: block;
    max-width: 320px;
    width: 100%;
    height: auto;
    margin: 0 auto;
    filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.3));
    animation: tc-float 6s ease-in-out infinite;
}

@keyframes tc-float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.hero-feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--tc-radius-md);
    padding: 12px 10px;
    text-align: center;
    transition: all 0.2s ease;
}

.hero-feature-item:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(255, 255, 255, 0.18);
    transform: translateY(-2px);
}

.hero-feature-icon {
    font-size: 16px;
    margin-bottom: 4px;
}

.hero-feature-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #F1F5F9;
}

/* ==========================================================================
   Error Page Styling - Cohesive Portal Brand Theming
   ========================================================================== */

.error-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background-color: var(--tc-slate-50);
    background-image: 
        radial-gradient(at 10% 10%, rgba(79, 55, 233, 0.06) 0px, transparent 50%),
        radial-gradient(at 90% 90%, rgba(239, 68, 68, 0.05) 0px, transparent 50%),
        radial-gradient(at 50% 50%, rgba(99, 102, 241, 0.04) 0px, transparent 60%);
    padding: 32px 20px;
    position: relative;
    overflow: hidden;
}

.error-ambient-light {
    position: absolute;
    top: -120px;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 350px;
    background: radial-gradient(ellipse, rgba(79, 55, 233, 0.1) 0%, rgba(79, 55, 233, 0) 70%);
    filter: blur(50px);
    pointer-events: none;
}

.error-card-container {
    max-width: 580px;
    width: 100%;
    background-color: #FFFFFF;
    border: 1.5px solid var(--tc-slate-200);
    border-radius: var(--tc-radius-xl);
    padding: 44px 38px;
    text-align: center;
    box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.08), 0 0 1px 1px rgba(0, 0, 0, 0.02);
    position: relative;
    z-index: 10;
    animation: tc-slideDown 0.35s ease-out;
}

.error-header-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 28px;
    text-decoration: none;
}

.error-header-brand img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.error-badge-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #FEF2F2;
    border: 1.5px solid #FEE2E2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.2);
    animation: tc-pulse-error 2.5s infinite ease-in-out;
}

@keyframes tc-pulse-error {
    0%, 100% { transform: scale(1); box-shadow: 0 8px 20px -4px rgba(239, 68, 68, 0.2); }
    50% { transform: scale(1.04); box-shadow: 0 12px 28px -4px rgba(239, 68, 68, 0.35); }
}

.error-badge-icon svg {
    width: 34px;
    height: 34px;
    color: var(--tc-accent-rose);
}

.error-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: #FEF2F2;
    border: 1px solid #FECACA;
    border-radius: var(--tc-radius-full);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #DC2626;
    margin-bottom: 12px;
}

.error-status-pill .pulse-dot-red {
    width: 6px;
    height: 6px;
    background-color: #DC2626;
    border-radius: 50%;
    animation: tc-pulse 2s infinite;
}

.error-main-title {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.5px;
    line-height: 1.25;
    margin-bottom: 10px;
    color: var(--tc-slate-900);
}

.error-description-lead {
    font-size: 14px;
    color: var(--tc-slate-500);
    line-height: 1.5;
    margin-bottom: 20px;
}

.error-message-box {
    background-color: var(--tc-slate-50);
    border: 1.5px solid var(--tc-slate-200);
    border-radius: var(--tc-radius-md);
    padding: 14px 18px;
    margin-bottom: 28px;
    color: var(--tc-slate-700);
    font-size: 13.5px;
    line-height: 1.55;
    text-align: left;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    word-break: break-word;
}

.error-message-box svg {
    width: 18px;
    height: 18px;
    color: var(--tc-accent-rose);
    flex-shrink: 0;
    margin-top: 2px;
}

.error-actions-group {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.btn-error-primary {
    flex: 1;
    min-width: 170px;
    height: 48px;
    background: linear-gradient(135deg, var(--tc-primary) 0%, var(--tc-accent-indigo) 100%);
    color: #FFFFFF;
    font-family: var(--tc-font-main);
    font-size: 14px;
    font-weight: 700;
    border-radius: var(--tc-radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    box-shadow: var(--tc-shadow-primary);
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-error-primary:hover {
    background: linear-gradient(135deg, var(--tc-primary-dark) 0%, var(--tc-primary) 100%);
    box-shadow: 0 14px 28px -5px rgba(79, 55, 233, 0.5);
    transform: translateY(-1px);
    color: #FFFFFF;
}

.btn-error-primary:active {
    transform: translateY(0);
}

.btn-error-secondary {
    height: 48px;
    padding: 0 18px;
    background-color: #FFFFFF;
    border: 1.5px solid var(--tc-slate-200);
    color: var(--tc-slate-700);
    font-family: var(--tc-font-main);
    font-size: 14px;
    font-weight: 600;
    border-radius: var(--tc-radius-md);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-error-secondary:hover {
    background-color: var(--tc-slate-50);
    border-color: var(--tc-slate-300);
    color: var(--tc-slate-900);
}

.error-footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding-top: 20px;
    border-top: 1px solid var(--tc-slate-100);
}

.error-footer-brand img {
    height: 16px;
    width: auto;
    opacity: 0.75;
}

.error-footer-brand span {
    font-size: 11.5px;
    color: var(--tc-slate-400);
}

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

@media (max-width: 1024px) {
    .auth-split-wrapper {
        flex-direction: column;
    }

    .auth-form-panel {
        flex: 1;
        max-width: 100%;
        min-height: 100vh;
        padding: 36px 28px;
        box-shadow: none;
    }

    .auth-form-content {
        max-width: 480px;
        margin: 0 auto;
    }

    .auth-hero-panel {
        display: none;
    }
}

@media (max-width: 480px) {
    .site-cards-grid {
        grid-template-columns: 1fr;
    }

    .auth-form-panel {
        padding: 24px 18px;
    }

    .auth-main-title {
        font-size: 22px;
    }

    .error-card-container {
        padding: 32px 20px;
    }

    .error-actions-group {
        flex-direction: column;
    }

    .btn-error-primary,
    .btn-error-secondary {
        width: 100%;
    }
}
