/* =============================================
   PLANESTI - AUTH PAGES
   =============================================
   
   TABLE OF CONTENTS:
   ------------------
   1.  BASE STYLES
   2.  HEIGHT CLASSES
   3.  WIDTH CLASSES
   4.  PADDING CLASSES
   5.  LAYOUT STYLES
       5.1  Centered Layout
       5.2  Split Left Layout
       5.3  Split Right Layout
   6.  TEXT ALIGNMENT
   7.  TITLE SIZES
   8.  LOGO SIZES
   9.  FORM CARD STYLING
       9.1  Shadow
       9.2  Border Radius
       9.3  Border
   10. BUTTON STYLES
       10.1  Sizes
       10.2  Solid Style
       10.3  Outline Style
       10.4  Gradient Style
   11. SOCIAL LOGIN STYLES
   12. FORM ELEMENTS
   13. MEDIA PANEL
       13.1  Base Media
       13.2  Media Content Position
       13.3  Gradient
       13.4  Video
   14. DIVIDER
   15. ALTERNATE LINK
   16. TERMS TEXT
   17. RESPONSIVE
   
   ============================================= */

/* ==============================================
   0. RESET
   ============================================== */
html, body {
    margin: 0;
    padding: 0;
}

/* ==============================================
   1. BASE STYLES
   ============================================== */
.auth-page {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    display: flex;
    flex-direction: column;
    position: relative;
    margin: 0;
    padding: 0;
    /* min-height is controlled by .auth-height-* classes */
}

.auth-page * {
    box-sizing: border-box;
}

/* ==============================================
   2. HEIGHT CLASSES
   ============================================== */
.auth-height-small { 
    min-height: auto; 
}
.auth-height-medium { 
    min-height: 80vh; 
}
.auth-height-large { 
    min-height: 90vh; 
}

.auth-container {
    flex: 1;
    display: flex;
    width: 100%;
}

.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.auth-card {
    width: 100%;
    max-width: 400px;
}

.auth-logo {
    margin-bottom: 24px;
}

.auth-logo img {
    height: auto;
    display: block;
}

.auth-header {
    margin-bottom: 32px;
}

.auth-title {
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 8px 0;
}

.auth-subtitle {
    margin: 0;
    line-height: 1.5;
}


/* ==============================================
   2. HEIGHT CLASSES
   ============================================== */

.auth-height-small .auth-container {
    min-height: 500px;
}

.auth-height-medium .auth-container {
    min-height: 600px;
}

.auth-height-large .auth-container {
    min-height: 700px;
}

.auth-height-fullscreen .auth-container {
    min-height: 100vh;
}


/* ==============================================
   3. WIDTH CLASSES (Form Card Max Width)
   ============================================== */

.auth-width-narrow .auth-card {
    max-width: 400px;
}

.auth-width-medium .auth-card {
    max-width: 480px;
}

.auth-width-wide .auth-card {
    max-width: 560px;
}

.auth-width-full .auth-card {
    max-width: 640px;
}


/* ==============================================
   4. PADDING CLASSES
   ============================================== */

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

.auth-padding-small .auth-card-inner {
    padding: 24px;
}

.auth-padding-medium .auth-form-panel {
    padding: 40px;
}

.auth-padding-medium .auth-card-inner {
    padding: 40px;
}

.auth-padding-large .auth-form-panel {
    padding: 60px;
}

.auth-padding-large .auth-card-inner {
    padding: 48px;
}


/* ==============================================
   5. LAYOUT STYLES
   ============================================== */

/* ---------------------------------------------
   5.1 Centered Layout
   --------------------------------------------- */
.auth-layout-centered .auth-container {
    justify-content: center;
    align-items: center;
}

.auth-layout-centered .auth-form-panel {
    max-width: 100%;
    width: 100%;
}

.auth-layout-centered .auth-card {
    margin: 0 auto;
}

.auth-layout-centered .auth-media-panel {
    display: none;
}


/* ---------------------------------------------
   5.2 Split Left Layout (Form Left, Media Right)
   --------------------------------------------- */
.auth-layout-split_left .auth-container {
    flex-direction: row;
    align-items: stretch;
    min-height: 100vh;
}

.auth-layout-split_left .auth-form-panel {
    width: 50%;
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-layout-split_left .auth-media-panel {
    width: 50%;
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: 100vh;
    position: relative;
}


/* ---------------------------------------------
   5.3 Split Right Layout (Media Left, Form Right)
   --------------------------------------------- */
.auth-layout-split_right .auth-container {
    flex-direction: row;
    align-items: stretch;
    min-height: 100vh;
}

.auth-layout-split_right .auth-form-panel {
    width: 50%;
    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-layout-split_right .auth-media-panel {
    width: 50%;
    order: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    height: 100vh;
    position: relative;
}


/* ==============================================
   6. TEXT ALIGNMENT
   ============================================== */

.auth-align-left .auth-header,
.auth-align-left .auth-logo {
    text-align: left;
}

.auth-align-left .auth-logo img {
    margin: 0;
}

.auth-align-center .auth-header,
.auth-align-center .auth-logo {
    text-align: center;
}

.auth-align-center .auth-logo img {
    margin: 0 auto;
}

.auth-align-right .auth-header,
.auth-align-right .auth-logo {
    text-align: right;
}

.auth-align-right .auth-logo img {
    margin: 0 0 0 auto;
}


/* ==============================================
   7. TITLE SIZES
   ============================================== */

.auth-title-small .auth-title {
    font-size: 24px;
}

.auth-title-small .auth-subtitle {
    font-size: 14px;
}

.auth-title-medium .auth-title {
    font-size: 28px;
}

.auth-title-medium .auth-subtitle {
    font-size: 15px;
}

.auth-title-large .auth-title {
    font-size: 32px;
}

.auth-title-large .auth-subtitle {
    font-size: 16px;
}

.auth-title-xlarge .auth-title {
    font-size: 40px;
}

.auth-title-xlarge .auth-subtitle {
    font-size: 18px;
}


/* ==============================================
   8. LOGO SIZES
   ============================================== */

.auth-logo-small .auth-logo img {
    max-width: 70px;
}

.auth-logo-medium .auth-logo img {
    max-width: 100px;
}

.auth-logo-large .auth-logo img {
    max-width: 120px;
}


/* ==============================================
   9. FORM CARD STYLING
   ============================================== */

.auth-card-inner {
    padding: 40px;
    transition: all 0.3s ease;
}

/* ---------------------------------------------
   9.1 Shadow
   --------------------------------------------- */
.auth-shadow-none .auth-card-inner {
    box-shadow: none;
}

.auth-shadow-small .auth-card-inner {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), 0 1px 2px rgba(0, 0, 0, 0.06);
}

.auth-shadow-medium .auth-card-inner {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.06);
}

.auth-shadow-large .auth-card-inner {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
}


/* ---------------------------------------------
   9.2 Border Radius
   --------------------------------------------- */
.auth-radius-none .auth-card-inner {
    border-radius: 0;
}

.auth-radius-small .auth-card-inner {
    border-radius: 8px;
}

.auth-radius-medium .auth-card-inner {
    border-radius: 12px;
}

.auth-radius-large .auth-card-inner {
    border-radius: 16px;
}


/* ---------------------------------------------
   9.3 Border
   --------------------------------------------- */
.auth-border-none .auth-card-inner {
    border: none;
}

.auth-border-light .auth-card-inner {
    border: 1px solid var(--auth-border-color, #e5e7eb);
}

.auth-border-medium .auth-card-inner {
    border: 2px solid var(--auth-border-color, #e5e7eb);
}


/* ==============================================
   10. BUTTON STYLES
   ============================================== */

.auth-btn {
    display: block;
    width: 100%;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-align: center;
    text-decoration: none;
}

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


/* ---------------------------------------------
   10.1 Button Sizes
   --------------------------------------------- */
.auth-btn-small .auth-btn {
    padding: 10px 20px;
    font-size: 14px;
    border-radius: 6px;
}

.auth-btn-medium .auth-btn {
    padding: 12px 24px;
    font-size: 15px;
    border-radius: 8px;
}

.auth-btn-large .auth-btn {
    padding: 16px 28px;
    font-size: 16px;
    border-radius: 8px;
}


/* ---------------------------------------------
   10.2 Solid Style
   --------------------------------------------- */
.auth-btn-solid .auth-btn {
    background-color: var(--auth-button-bg, #016db7);
    color: var(--auth-button-text, #ffffff);
}

.auth-btn-solid .auth-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}


/* ---------------------------------------------
   10.3 Outline Style
   --------------------------------------------- */
.auth-btn-outline .auth-btn {
    background-color: transparent;
    color: var(--auth-button-bg, #016db7);
    border: 2px solid var(--auth-button-bg, #016db7);
}

.auth-btn-outline .auth-btn:hover {
    background-color: var(--auth-button-bg, #016db7);
    color: var(--auth-button-text, #ffffff);
}


/* ---------------------------------------------
   10.4 Gradient Style
   --------------------------------------------- */
.auth-btn-gradient .auth-btn {
    background: linear-gradient(135deg, var(--auth-button-bg, #016db7), var(--auth-button-bg-end, #0284c7));
    color: var(--auth-button-text, #ffffff);
    border: none;
}

.auth-btn-gradient .auth-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 109, 183, 0.35);
}


/* ==============================================
   11. SOCIAL LOGIN STYLES
   ============================================== */

.auth-social {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.auth-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    border: 1px solid var(--auth-border-color, #e5e7eb);
    background: #ffffff;
    color: #374151;
}

.auth-social-btn:hover {
    border-color: #d1d5db;
    background: #f9fafb;
}

.auth-social-btn svg,
.auth-social-btn i {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}


/* Social Style: Full */
.auth-social-full .auth-social-btn {
    width: 100%;
}


/* Social Style: Icon Only */
.auth-social-icon_only .auth-social {
    flex-direction: row;
    justify-content: center;
}

.auth-social-icon_only .auth-social-btn {
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
}

.auth-social-icon_only .auth-social-btn span {
    display: none;
}


/* Social Style: Outline */
.auth-social-outline .auth-social-btn {
    background: transparent;
    border: 2px solid var(--auth-border-color, #e5e7eb);
}

.auth-social-outline .auth-social-btn:hover {
    border-color: var(--auth-link-color, #016db7);
    color: var(--auth-link-color, #016db7);
}


/* ==============================================
   12. FORM ELEMENTS
   ============================================== */

.auth-form {
    margin-bottom: 24px;
}

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

.auth-form-group:last-child {
    margin-bottom: 0;
}

.auth-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--auth-text-color, #374151);
}

.auth-input {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--auth-border-color, #e5e7eb);
    border-radius: 8px;
    background: #ffffff;
    color: var(--auth-text-color, #374151);
    transition: all 0.2s ease;
}

.auth-input:focus {
    outline: none;
    border-color: var(--auth-link-color, #016db7);
    box-shadow: 0 0 0 3px rgba(1, 109, 183, 0.1);
}

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

.auth-input.error {
    border-color: #ef4444;
}

.auth-error {
    display: block;
    font-size: 13px;
    color: #ef4444;
    margin-top: 4px;
}

/* ---------------------------------------------
   12.1 Alert Messages
   --------------------------------------------- */
.auth-alert {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.auth-alert i {
    font-size: 18px;
    flex-shrink: 0;
}

.auth-alert span {
    flex: 1;
}

/* Success Alert - Magic Link Sent */
.auth-alert-success {
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
    border: 1px solid #a7f3d0;
    color: #065f46;
}

.auth-alert-success i {
    color: #10b981;
}

/* Error Alert */
.auth-alert-error {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border: 1px solid #fecaca;
    color: #991b1b;
}

.auth-alert-error i {
    color: #ef4444;
}

/* Info Alert */
.auth-alert-info {
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

.auth-alert-info i {
    color: #3b82f6;
}

/* Warning Alert */
.auth-alert-warning {
    background: linear-gradient(135deg, #fffbeb 0%, #fef3c7 100%);
    border: 1px solid #fcd34d;
    color: #92400e;
}

.auth-alert-warning i {
    color: #f59e0b;
}


/* ==============================================
   13. MEDIA PANEL
   ============================================== */

/* ---------------------------------------------
   13.1 Base Media
   --------------------------------------------- */
.auth-media-panel {
    position: relative;
    display: none;
    overflow: hidden;
}

.auth-media-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.auth-media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.auth-media-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    padding: 60px;
    color: #ffffff;
    display: flex;
    flex-direction: column;
}

.auth-media-headline {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 16px 0;
}

.auth-media-subheadline {
    font-size: 18px;
    line-height: 1.6;
    margin: 0;
    opacity: 0.9;
}

/* Dark text for light backgrounds */
.auth-media-text-dark .auth-media-content {
    color: #1e293b;
}

.auth-media-text-dark .auth-media-subheadline {
    color: #475569;
}


/* ---------------------------------------------
   13.2 Media Content Position
   --------------------------------------------- */
.auth-media-position-top .auth-media-content {
    justify-content: flex-start;
}

.auth-media-position-center .auth-media-content {
    justify-content: center;
}

.auth-media-position-bottom .auth-media-content {
    justify-content: flex-end;
}


/* ---------------------------------------------
   13.3 Gradient Background
   --------------------------------------------- */
.auth-media-gradient .auth-media-background {
    background: var(--auth-media-gradient);
}


/* Full Bleed Video Container - Direct child of panel only */
.auth-media-panel > .auth-media-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

/* Full Bleed Video Iframe - Direct child of .auth-media-video only */
.auth-media-panel > .auth-media-video > iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw; /* 16:9 aspect ratio */
    min-height: 100%;
    min-width: 177.78vh; /* 100 * 16/9 */
    transform: translate(-50%, -50%);
    pointer-events: none;
    border: none;
}

/* Ensure overlay appears above video */
.auth-media-panel.auth-media-video .auth-media-overlay {
    z-index: 1;
}

/* Ensure content appears above overlay */
.auth-media-panel.auth-media-video .auth-media-content {
    z-index: 2;
}

/* ==============================================
   14. DIVIDER
   ============================================== */

.auth-divider {
    display: flex;
    align-items: center;
    margin: 24px 0;
    gap: 16px;
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--auth-border-color, #e5e7eb);
}

.auth-divider span {
    font-size: 13px;
    color: #9ca3af;
    text-transform: lowercase;
}


/* ==============================================
   15. ALTERNATE LINK
   ============================================== */

.auth-alternate {
    text-align: center;
    margin-top: 24px;
    font-size: 14px;
    color: var(--auth-text-color, #374151);
}

.auth-alternate a {
    color: var(--auth-link-color, #016db7);
    text-decoration: none;
    font-weight: 500;
}

.auth-alternate a:hover {
    text-decoration: underline;
}


/* ==============================================
   16. TERMS TEXT
   ============================================== */

.auth-terms {
    text-align: center;
    font-size: 13px;
    color: #6b7280;
    margin-top: 24px;
    line-height: 1.5;
}

.auth-terms a {
    color: var(--auth-link-color, #016db7);
    text-decoration: none;
}

.auth-terms a:hover {
    text-decoration: underline;
}


/* ==============================================
   17. RESPONSIVE
   ============================================== */

/* Tablet */
@media (max-width: 1024px) {
    .auth-media-content {
        padding: 40px;
    }
    
    .auth-media-headline {
        font-size: 30px;
    }
    
    .auth-media-subheadline {
        font-size: 16px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    /* Stack layouts on mobile */
    .auth-layout-split_left .auth-container,
    .auth-layout-split_right .auth-container {
        flex-direction: column;
    }
    
    .auth-layout-split_left .auth-form-panel,
    .auth-layout-split_right .auth-form-panel {
        width: 100%;
        order: 1;
    }
    
    .auth-layout-split_left .auth-media-panel,
    .auth-layout-split_right .auth-media-panel {
        width: 100%;
        min-height: 250px;
        order: 2;
    }
    
    /* Hide media on mobile for cleaner UX */
    .auth-layout-split_left .auth-media-panel,
    .auth-layout-split_right .auth-media-panel {
        display: none;
    }
    
    /* Adjust padding */
    .auth-form-panel {
        padding: 24px;
    }
    
    .auth-padding-large .auth-form-panel {
        padding: 32px;
    }
    
    .auth-card-inner {
        padding: 24px;
    }
    
    .auth-padding-large .auth-card-inner {
        padding: 32px;
    }
    
    /* Title sizes */
    .auth-title-small .auth-title { font-size: 22px; }
    .auth-title-medium .auth-title { font-size: 24px; }
    .auth-title-large .auth-title { font-size: 26px; }
    .auth-title-xlarge .auth-title { font-size: 30px; }
    
    /* Height - reduce minimum */
    .auth-height-small .auth-container { min-height: auto; }
    .auth-height-medium .auth-container { min-height: auto; }
    .auth-height-large .auth-container { min-height: auto; }
    .auth-height-fullscreen .auth-container { min-height: 100vh; }
}

/* Small Mobile */
@media (max-width: 480px) {
    .auth-form-panel {
        padding: 16px;
    }
    
    .auth-card-inner {
        padding: 20px;
    }
    
    .auth-title-small .auth-title { font-size: 20px; }
    .auth-title-medium .auth-title { font-size: 22px; }
    .auth-title-large .auth-title { font-size: 24px; }
    .auth-title-xlarge .auth-title { font-size: 26px; }
    
    .auth-social-icon_only .auth-social-btn {
        width: 44px;
        height: 44px;
    }
}

/* ==============================================
   18. DISABLED PAGE (Standalone)
   ============================================== */

.disabled-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.disabled-container {
    width: 100%;
    max-width: 900px;
}

.disabled-card {
    max-width: 480px;
    margin: 0 auto;
}

.disabled-card {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    padding: 48px 40px;
    text-align: center;
}

.disabled-logo {
    margin-bottom: 28px;
}

.disabled-logo img {
    max-width: 100px;
    height: auto;
}

.disabled-logo-fallback {
    display: inline-flex;
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #016db7, #0284c7);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.disabled-icon {
    width: 65px;
    height: 65px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.disabled-icon i {
    font-size: 32px;
    color: #0284c7;
}

.disabled-title {
    font-size: 26px;
    font-weight: 700;
    margin: 0 0 12px;
    line-height: 1.3;
}

.disabled-message {
    font-size: 15px;
    line-height: 1.6;
    margin: 0 0 28px;
    opacity: 0.85;
}

.disabled-form-wrapper {
    margin-bottom: 24px;
}

.disabled-form {
    width: 100%;
}

.disabled-input-group {
    display: flex;
    gap: 10px;
}

.disabled-input {
    flex: 1;
    min-width: 0;
    padding: 14px 16px;
    font-size: 15px;
    font-family: inherit;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.disabled-input:focus {
    border-color: #016db7;
    box-shadow: 0 0 0 3px rgba(1, 109, 183, 0.1);
}

.disabled-input::placeholder {
    color: #9ca3af;
}

.disabled-btn {
    flex-shrink: 0;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    transition: transform 0.2s, box-shadow 0.2s;
}

.disabled-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(1, 109, 183, 0.25);
}

.disabled-success {
    padding: 16px 20px;
    background: #ecfdf5;
    color: #059669;
    font-size: 15px;
    font-weight: 500;
    border-radius: 10px;
    margin-bottom: 24px;
}

.disabled-success i {
    margin-right: 8px;
}

.disabled-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: opacity 0.2s;
}

.disabled-back:hover {
    opacity: 0.8;
}

/* Blog Suggestions */
.disabled-blogs {
    margin-top: 32px;
}

.disabled-blogs h3 {
    font-size: 17px;
    font-weight: 600;
    margin: 0 0 16px;
    text-align: center;
}

.disabled-blogs h3 i {
    margin-right: 8px;
    color: #016db7;
}

.disabled-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 14px;
}

.disabled-blog-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.2s, box-shadow 0.2s;
}

.disabled-blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.disabled-blog-img {
    height: 90px;
    overflow: hidden;
    background: #f3f4f6;
}

.disabled-blog-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.disabled-blog-text {
    padding: 14px;
}

.disabled-blog-text h4 {
    font-size: 13px;
    font-weight: 600;
    color: #111827;
    margin: 0 0 6px;
    line-height: 1.4;
}

.disabled-blog-text p {
    font-size: 12px;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Disabled Page Responsive */
@media (max-width: 480px) {
    .disabled-card {
        padding: 36px 24px;
    }
    
    .disabled-title {
        font-size: 22px;
    }
    
    .disabled-input-group {
        flex-direction: column;
    }
    
    .disabled-btn {
        width: 100%;
    }
    
    .disabled-blog-grid {
        grid-template-columns: 1fr;
    }
}


/* ==============================================
   19. HEADER & FOOTER INTEGRATION
   ============================================== */

/* When header is present - push content below fixed header */
.auth-page.has-header {
    padding-top: var(--public-navbar-height, 72px);
}

/* Container takes remaining viewport height */
.auth-page.has-header .auth-container {
    min-height: calc(100vh - var(--public-navbar-height, 72px));
}

/* When footer is present */
.auth-page.has-footer {
    padding-bottom: 0;
}

/* Adjust for both header and footer */
.auth-page.has-header.has-footer .auth-container {
    min-height: auto;
}

/* Split layout adjustments with header */
.auth-page.has-header.auth-layout-split_left .auth-container,
.auth-page.has-header.auth-layout-split_right .auth-container {
    margin-top: 0;
}

/* Form panel - center content in remaining space */
.auth-page.has-header .auth-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: calc(100vh - var(--public-navbar-height, 72px));
}

/* Media panel - adjust for header */
.auth-page.has-header .auth-media-panel {
    min-height: calc(100vh - var(--public-navbar-height, 72px));
    max-height: calc(100vh - var(--public-navbar-height, 72px));
    height: calc(100vh - var(--public-navbar-height, 72px));
}

/* Split layouts with header */
.auth-page.has-header.auth-layout-split_left .auth-media-panel,
.auth-page.has-header.auth-layout-split_right .auth-media-panel {
    min-height: calc(100vh - var(--public-navbar-height, 72px));
    max-height: calc(100vh - var(--public-navbar-height, 72px));
    height: calc(100vh - var(--public-navbar-height, 72px));
}

/* Container adjustment with header */
.auth-page.has-header .auth-container {
    min-height: calc(100vh - var(--public-navbar-height, 72px));
    max-height: calc(100vh - var(--public-navbar-height, 72px));
}

/* Split layout containers */
.auth-page.has-header.auth-layout-split_left .auth-container,
.auth-page.has-header.auth-layout-split_right .auth-container {
    min-height: calc(100vh - var(--public-navbar-height, 72px));
}

.auth-page.has-footer .auth-form-panel {
    padding-bottom: 40px;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .auth-page.has-header {
        padding-top: 64px;
    }
    .auth-page.has-header .auth-container,
    .auth-page.has-header .auth-form-panel,
    .auth-page.has-header .auth-media-panel {
        min-height: calc(100vh - 64px);
    }
}


/* =============================================
   SECTION 20: Copyright Only Footer (Full Width)
   ============================================= */
.auth-copyright-footer {
    width: 100%;
    padding: 14px 0;
}

.auth-copyright-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.auth-copyright-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

/* Left: Copyright + Links */
.auth-copyright-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.auth-copyright-left p {
    margin: 0;
}

.auth-copyright-left a {
    text-decoration: none;
    transition: opacity 0.2s;
}

.auth-copyright-left a:hover {
    opacity: 0.7;
}

.auth-copyright-divider {
    opacity: 0.5;
}

/* Center: Trust Badges */
.auth-copyright-center {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.auth-trust-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    opacity: 0.8;
}

.auth-trust-badge i {
    font-size: 14px;
}

/* Right: Payment Badges */
.auth-copyright-right {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
}

.auth-payment-badge {
    font-size: 26px;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.auth-payment-badge:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 992px) {
    .auth-copyright-row {
        justify-content: center;
        text-align: center;
    }
    
    .auth-copyright-left,
    .auth-copyright-center,
    .auth-copyright-right {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 576px) {
    .auth-copyright-left {
        flex-direction: column;
        gap: 8px;
    }
    
    .auth-copyright-divider {
        display: none;
    }
    
    .auth-copyright-left a {
        display: inline;
    }
    
    .auth-copyright-left p + .auth-copyright-divider + a::before {
        content: none;
    }
    
    .auth-trust-badge span {
        display: none;
    }
    
    .auth-payment-badge {
        font-size: 22px;
    }
}

/* =============================================
   SECTION 21: Media Card & Embed Styles
   ============================================= */

/* --- Panel Background (gradient fills entire panel) --- */
.auth-media-panel.auth-media-card,
.auth-media-panel.auth-media-embed {
    background: var(--auth-media-gradient, linear-gradient(135deg, #0f172a 0%, #1e293b 100%));
}

/* --- Wrapper: Transparent, Centers Content --- */
.auth-media-card-wrapper,
.auth-media-embed {
    background: transparent !important;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: 40px;
    box-sizing: border-box;
}

/* --- The Actual Card (inner content) --- */
.auth-media-card-wrapper .auth-media-card {
    background-color: var(--media-content-bg, #ffffff);
    width: 100%;
}

.auth-media-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.auth-media-card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #016db7, #0ea5e9);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    color: white;
    flex-shrink: 0;
}

.auth-media-card-icon i {
    font-size: 24px;
}

.auth-media-card-title {
    color: var(--media-card-title-color, #1e293b);
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}

.auth-media-card-content {
    color: var(--media-card-text-color, #475569);
    font-size: 14px;
    line-height: 1.6;
}

.auth-media-card-content p {
    margin: 0 0 10px;
}

.auth-media-card-content p:last-child {
    margin-bottom: 0;
}

/* =============================================
   SECTION 21.5: Dynamic Media Content Styling
   ============================================= */

/* --- Display Mode --- */
.auth-media-content-full_bleed {
    position: absolute !important;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    padding: 0 !important;
}

.auth-media-content-contained {
    position: relative;
}

/* --- Max Width (applies to wrapper) --- */
.auth-media-width-small .auth-media-card { max-width: 400px; }
.auth-media-width-medium .auth-media-card { max-width: 500px; }
.auth-media-width-large .auth-media-card { max-width: 600px; }
.auth-media-width-full .auth-media-card { max-width: 100%; }

/* --- Border Radius (applies to inner card) --- */
.auth-media-radius-none .auth-media-card { border-radius: 0; }
.auth-media-radius-small .auth-media-card { border-radius: 8px; }
.auth-media-radius-medium .auth-media-card { border-radius: 12px; }
.auth-media-radius-large .auth-media-card { border-radius: 20px; }
.auth-media-radius-rounded .auth-media-card { border-radius: 30px; }

/* --- Shadow (applies to inner card) --- */
.auth-media-shadow-none .auth-media-card { box-shadow: none; }
.auth-media-shadow-small .auth-media-card { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.auth-media-shadow-medium .auth-media-card { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); }
.auth-media-shadow-large .auth-media-card { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); }

/* --- Border (applies to inner card) --- */
.auth-media-border-none .auth-media-card { border: none; }
.auth-media-border-light .auth-media-card { border: 1px solid var(--media-content-border-color, #e5e7eb); }
.auth-media-border-medium .auth-media-card { border: 2px solid var(--media-content-border-color, #e5e7eb); }
.auth-media-border-strong .auth-media-card { border: 3px solid var(--media-content-border-color, #e5e7eb); }

/* --- Padding (applies to inner card) --- */
.auth-media-padding-none .auth-media-card { padding: 0; }
.auth-media-padding-small .auth-media-card { padding: 16px; }
.auth-media-padding-medium .auth-media-card { padding: 24px; }
.auth-media-padding-large .auth-media-card { padding: 32px; }

/* --- Embed Specific Styling --- */
.auth-media-embed.auth-media-width-small > * { max-width: 400px; }
.auth-media-embed.auth-media-width-medium > * { max-width: 500px; }
.auth-media-embed.auth-media-width-large > * { max-width: 600px; }
.auth-media-embed.auth-media-width-full > * { max-width: 100%; }

.auth-media-embed.auth-media-radius-none > * { border-radius: 0; }
.auth-media-embed.auth-media-radius-small > * { border-radius: 8px; }
.auth-media-embed.auth-media-radius-medium > * { border-radius: 12px; }
.auth-media-embed.auth-media-radius-large > * { border-radius: 20px; }
.auth-media-embed.auth-media-radius-rounded > * { border-radius: 30px; }

.auth-media-embed.auth-media-shadow-small > * { box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); }
.auth-media-embed.auth-media-shadow-medium > * { box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15); }
.auth-media-embed.auth-media-shadow-large > * { box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2); }

/* --- Responsive --- */
@media (max-width: 992px) {
    .auth-media-card-wrapper,
    .auth-media-embed {
        padding: 30px;
    }
}

@media (max-width: 768px) {
    .auth-media-card-wrapper,
    .auth-media-embed {
        padding: 24px;
    }
    
    .auth-media-card-wrapper .auth-media-card {
        max-width: 100%;
    }
    
    .auth-media-card-icon {
        width: 44px;
        height: 44px;
        font-size: 22px;
    }
    
    .auth-media-card-title {
        font-size: 1.15rem;
    }
}

@media (max-width: 576px) {
    .auth-media-card-wrapper,
    .auth-media-embed {
        padding: 20px;
    }
}


/* === PANEL BACKGROUND (Gradient fills entire panel) === */
.auth-media-panel.auth-media-image,
.auth-media-panel.auth-media-video {
    background: var(--auth-media-gradient, linear-gradient(135deg, #0f172a 0%, #1e293b 100%));
}

/* === BASE WRAPPER STYLES === */
.auth-media-image-wrapper,
.auth-media-video-wrapper {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 40px;
    box-sizing: border-box !important;
    z-index: 2 !important;
    background: transparent !important;
}

/* =============================================
   IMAGE STYLES
   ============================================= */

/* === CONTAINED IMAGE === */
.auth-media-image-contained {
    display: block;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* === IMAGE WIDTH === */
.auth-media-image-wrapper.auth-media-width-auto .auth-media-image-contained {
    max-width: 100%;
    width: auto;
}
.auth-media-image-wrapper.auth-media-width-small .auth-media-image-contained {
    max-width: 400px;
}
.auth-media-image-wrapper.auth-media-width-medium .auth-media-image-contained {
    max-width: 500px;
}
.auth-media-image-wrapper.auth-media-width-large .auth-media-image-contained {
    max-width: 600px;
}
.auth-media-image-wrapper.auth-media-width-full .auth-media-image-contained {
    max-width: 100%;
    width: 100%;
}

/* === IMAGE RADIUS === */
.auth-media-image-wrapper.auth-media-radius-none .auth-media-image-contained { border-radius: 0; }
.auth-media-image-wrapper.auth-media-radius-small .auth-media-image-contained { border-radius: 8px; }
.auth-media-image-wrapper.auth-media-radius-medium .auth-media-image-contained { border-radius: 12px; }
.auth-media-image-wrapper.auth-media-radius-large .auth-media-image-contained { border-radius: 20px; }
.auth-media-image-wrapper.auth-media-radius-rounded .auth-media-image-contained { border-radius: 30px; }

/* === IMAGE SHADOW === */
.auth-media-image-wrapper.auth-media-shadow-none .auth-media-image-contained { box-shadow: none; }
.auth-media-image-wrapper.auth-media-shadow-small .auth-media-image-contained { box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
.auth-media-image-wrapper.auth-media-shadow-medium .auth-media-image-contained { box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.auth-media-image-wrapper.auth-media-shadow-large .auth-media-image-contained { box-shadow: 0 12px 40px rgba(0,0,0,0.25); }

/* === IMAGE BORDER === */
.auth-media-image-wrapper.auth-media-border-none .auth-media-image-contained { border: none; }
.auth-media-image-wrapper.auth-media-border-light .auth-media-image-contained { border: 1px solid var(--media-content-border-color, #e5e7eb); }
.auth-media-image-wrapper.auth-media-border-medium .auth-media-image-contained { border: 2px solid var(--media-content-border-color, #e5e7eb); }
.auth-media-image-wrapper.auth-media-border-strong .auth-media-image-contained { border: 3px solid var(--media-content-border-color, #e5e7eb); }

/* === IMAGE PADDING (wrapper padding) === */
.auth-media-image-wrapper.auth-media-padding-none { padding: 0 !important; }
.auth-media-image-wrapper.auth-media-padding-small { padding: 16px !important; }
.auth-media-image-wrapper.auth-media-padding-medium { padding: 24px !important; }
.auth-media-image-wrapper.auth-media-padding-large { padding: 32px !important; }


/* =============================================
   VIDEO STYLES - CONTAINED MODE
   ============================================= */

/* === VIDEO CONTAINER BASE === */
.auth-media-video-contained {
    position: relative !important;
    overflow: hidden !important;
    background: var(--auth-media-gradient, linear-gradient(135deg, #0f172a 0%, #1e293b 100%)) !important;
    aspect-ratio: 16 / 9 !important;
    flex-shrink: 0 !important;
    flex-grow: 0 !important;
}

/* === VIDEO IFRAME - Override YouTube inline styles === */
.auth-media-video-contained iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-width: 100% !important;
    min-height: 100% !important;
    max-width: 100% !important;
    max-height: 100% !important;
    transform: none !important;
    border: none !important;
    pointer-events: auto !important;
}

/* === VIDEO WIDTH === */
.auth-media-video-wrapper.auth-media-width-auto .auth-media-video-contained {
    width: 90% !important;
    max-width: 600px !important;
}
.auth-media-video-wrapper.auth-media-width-small .auth-media-video-contained {
    width: 400px !important;
    max-width: 90% !important;
}
.auth-media-video-wrapper.auth-media-width-medium .auth-media-video-contained {
    width: 500px !important;
    max-width: 90% !important;
}
.auth-media-video-wrapper.auth-media-width-large .auth-media-video-contained {
    width: 600px !important;
    max-width: 90% !important;
}
.auth-media-video-wrapper.auth-media-width-full .auth-media-video-contained {
    width: 90% !important;
    max-width: 100% !important;
}

/* === VIDEO RADIUS === */
.auth-media-video-wrapper.auth-media-radius-none .auth-media-video-contained { border-radius: 0 !important; }
.auth-media-video-wrapper.auth-media-radius-small .auth-media-video-contained { border-radius: 8px !important; }
.auth-media-video-wrapper.auth-media-radius-medium .auth-media-video-contained { border-radius: 12px !important; }
.auth-media-video-wrapper.auth-media-radius-large .auth-media-video-contained { border-radius: 20px !important; }
.auth-media-video-wrapper.auth-media-radius-rounded .auth-media-video-contained { border-radius: 30px !important; }

/* === VIDEO SHADOW === */
.auth-media-video-wrapper.auth-media-shadow-none .auth-media-video-contained { box-shadow: none !important; }
.auth-media-video-wrapper.auth-media-shadow-small .auth-media-video-contained { box-shadow: 0 4px 12px rgba(0,0,0,0.15) !important; }
.auth-media-video-wrapper.auth-media-shadow-medium .auth-media-video-contained { box-shadow: 0 8px 24px rgba(0,0,0,0.2) !important; }
.auth-media-video-wrapper.auth-media-shadow-large .auth-media-video-contained { box-shadow: 0 12px 40px rgba(0,0,0,0.25) !important; }

/* === VIDEO BORDER === */
.auth-media-video-wrapper.auth-media-border-none .auth-media-video-contained { border: none !important; }
.auth-media-video-wrapper.auth-media-border-light .auth-media-video-contained { border: 1px solid var(--media-content-border-color, #e5e7eb) !important; }
.auth-media-video-wrapper.auth-media-border-medium .auth-media-video-contained { border: 2px solid var(--media-content-border-color, #e5e7eb) !important; }
.auth-media-video-wrapper.auth-media-border-strong .auth-media-video-contained { border: 3px solid var(--media-content-border-color, #e5e7eb) !important; }

/* === VIDEO PADDING (wrapper padding) === */
.auth-media-video-wrapper.auth-media-padding-none { padding: 0 !important; }
.auth-media-video-wrapper.auth-media-padding-small { padding: 16px !important; }
.auth-media-video-wrapper.auth-media-padding-medium { padding: 24px !important; }
.auth-media-video-wrapper.auth-media-padding-large { padding: 32px !important; }


/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 992px) {
    .auth-media-image-wrapper,
    .auth-media-video-wrapper {
        padding: 30px;
    }
    
    .auth-media-video-wrapper.auth-media-width-small .auth-media-video-contained,
    .auth-media-video-wrapper.auth-media-width-medium .auth-media-video-contained,
    .auth-media-video-wrapper.auth-media-width-large .auth-media-video-contained {
        width: 85% !important;
    }
}

@media (max-width: 768px) {
    .auth-media-image-wrapper,
    .auth-media-video-wrapper {
        padding: 24px;
    }
    
    .auth-media-video-wrapper.auth-media-width-small .auth-media-video-contained,
    .auth-media-video-wrapper.auth-media-width-medium .auth-media-video-contained,
    .auth-media-video-wrapper.auth-media-width-large .auth-media-video-contained,
    .auth-media-video-wrapper.auth-media-width-full .auth-media-video-contained {
        width: 100% !important;
        max-width: 100% !important;
    }
}



/* =============================================
   FIX: Zoom/Overflow Behavior
   ============================================= */

/* Allow form panel to scroll when content overflows */
.auth-page.has-header .auth-form-panel {
    overflow-y: auto;
    max-height: calc(100vh - var(--public-navbar-height, 72px));
}

/* Ensure header stays on top */
.auth-page.has-header {
    position: relative;
}

/* Form container scrolls, not the whole page */
.auth-page .auth-card {
    position: relative;
    z-index: 1;
}

/* When both header and footer present */
.auth-page.has-header.has-footer .auth-form-panel {
    max-height: none;
    overflow-y: visible;
}

.auth-page.has-header.has-footer .auth-container {
    min-height: auto;
    max-height: none;
    overflow: visible;
}

/* Ensure proper stacking */
.auth-page.has-header.has-footer {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.auth-page.has-header.has-footer .auth-container {
    flex: 1;
}

/* Footer always at bottom */
.auth-page.has-footer .auth-copyright-footer,
.auth-page.has-footer footer {
    position: relative;
    z-index: 10;
    margin-top: auto;
}