/* Copyright (c) Haykal M. Zaidi 2024-2026. All rights reserved. PROPRIETARY AND CONFIDENTIAL. */
/* Arabic Modal Styles */

/* 1. Base Overlay - STABILIZED */
#_cy {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    /* Industrial: Deep matte black instead of muddy gradients */
    background: rgba(8, 8, 8, 0.95);
    /* Performance: Light blur only, relying on opacity for focus */
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
    transition: opacity 0.3s ease;
}

/* 2. The Card - FLAT & SOLID */
._aj {
    position: relative;
    /* Industrial: Solid dark grey. No weird linear angles. */
    background: #1a1a1a;
    /* Crisp 1px border for definition */
    border: 1px solid rgba(255, 255, 255, 0.1);
    /* Clean, deep shadow. No "glowing" shadows. */
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8);
    padding: 48px;
    /* Reduced radius: Looks more like a UI element, less like a toy */
    border-radius: 24px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* 3. Typography - HIERARCHY */
._aj h2 {
    margin: 0 0 12px 0;
    font-size: 1.8rem;
    color: #F5F5F7; /* UPDATED: Apple White */
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2), 0px 10px 20px rgba(0, 0, 0, 0.1); /* INJECTED: Dynamic Shadow */
    letter-spacing: -0.01em;
    line-height: 1.2;
}

/* Target the <b> tag to ensure it doesn't look weird */
._aj h2 b {
    font-weight: 600;
}

._aj h3 {
    margin: 0 0 40px 0;
    font-size: 1.1rem;
    /* Standardized secondary text color */
    color: #a1a1aa;
    font-weight: 400;
    line-height: 1.5;
}

/* 4. Button Layout */
._ay {
    display: flex;
    gap: 16px;
    justify-content: center;
    width: 100%;
}

/* 5. Buttons - DE-SAKAIED */
._d9 {
    flex: 1; /* Make them equal width */
    padding: 16px 24px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    /* Industrial: Standard radius, not a pill */
    border-radius: 12px;
    transition: transform 0.2s ease, background 0.2s, box-shadow 0.2s;
    outline: none;
}

/* Primary Action (Yes) - Pure White */
#_bw {
    background: #F5F5F7; /* UPDATED: Apple White */
    color: #000000;
    border: none;
}

#_bw:hover,
#_bw:focus {
    transform: translateY(-2px);
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

/* Secondary Action (No) - Dark/Ghost */
#_b3 {
    background: transparent;
    color: #a1a1aa;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#_b3:hover,
#_b3:focus {
    transform: translateY(-2px);
    border-color: #ffffff;
    color: #ffffff;
}

/* --- INJECTED: APPLE TV DYNAMIC STYLES --- */
._d2 {
    color: #F5F5F7;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-weight: 600;
    text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2), 0px 10px 20px rgba(0, 0, 0, 0.1);
    -webkit-font-smoothing: antialiased;
}

._dc {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}