/* ==========================================================================
   2026 UNIFIED SCOPED TYPING APPLICATION ARCHITECTURE (800PX MODERN RESPONSIVE)
   ========================================================================== */

/* Main Isolation Wrapper Module Context - Joomla Conflict Prevention */
.typing-wrapper-2026 {
    box-sizing: border-box;
    width: 100%;
    max-width: 900px; /* Outer frame margin spacing guard */
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    padding: 10px;
}

.typing-wrapper-2026 * {
    box-sizing: border-box;
}

.typing-wrapper-2026 .setup-form-row {
    display: flex;
    align-items: center;
    margin-bottom: 18px;
    width: 100%;
    max-width: 480px;
    text-align: left;
}

/* Horizontal alignment guard tracking label constraints */
.typing-wrapper-2026 .setup-form-row label,
.typing-wrapper-2026 #forlabel {
    width: 120px;
    font-weight: bold;
    color: black;
    font-size: 17px;
    margin-bottom: 0;
    display: inline-block;
}

.typing-wrapper-2026 .form-field-container {
    flex: 1;
}

.typing-wrapper-2026 .custom-input:focus {
    border-color: #80bdff;
    box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}

/* Separator OR Divider Logic Components */
.typing-wrapper-2026 .or-separator {
    font-weight: bold;
    font-size: 17px;
    color: black;
    margin: 10px 0;
    text-align: center;
    width: 100%;
    max-width: 480px;
}

/* ==========================================================================
   2026 INTERFACE CONTROLS, LABELS, COUNTERS & SUBMIT STYLING 
   ========================================================================== */

/* Modern Stable Flex Counters Grid System (Bootstrap Replacement) */
.typing-wrapper-2026 .stats-counter-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin: 15px auto;
    list-style: none;
    padding: 0;
    width: 100%;
    max-width: 800px;
}


.typing-wrapper-2026 .label1 { background-color: #20B2AA; }
.typing-wrapper-2026 .label3 { background-color: #CB8C1D; }
.typing-wrapper-2026 .label2 { background-color: #CD5C5C; }
.typing-wrapper-2026 .label4 { background-color: CadetBlue; }

/* FIX: Scoped Options Box Configuration Layout (Silver Contrast Balance) */
.typing-wrapper-2026 #display .container {
    color: #000000 !important;
    font-size: 14px;
    line-height: 1.8;
    margin: 10px auto;
    padding: 10px;
    background: #f5f5f5; 
    border-radius: 6px;
    width: 100%;
    max-width: 800px;
    border: 1px solid #dcdcdc;
}

.typing-wrapper-2026 #display p {
    text-align: left;
    margin: 10px 0;
    color: #333333;
}

.typing-wrapper-2026 #display input[type="Radio"] {
    margin-left: 8px;
    margin-right: 4px;
    vertical-align: middle;
    cursor: pointer;
}

/* Pure CSS Custom Start Test Button Controller styling block */

.typing-wrapper-2026 .btn-start-test:hover {
    background-color: #005587;
}

.typing-wrapper-2026 .btn-submit-container {
    margin-top: 15px;
    text-align: center;
    width: 100%;
}

/* Pure CSS Native Fallback Result Button Area */

.typing-wrapper-2026 .btn-primary:hover {
    background-color: #005587;
}

.typing-wrapper-2026 h3 {
    color: #222222 !important;
    margin-top: 15px;
    margin-bottom: 10px;
}

/* ==========================================================================
   2026 MOBILE & RESPONSIVE ENGINE (ZERO INLINE COMPRESSION COLLAPSE)
   ========================================================================== */
@media screen and (max-width: 768px) {
    .typing-wrapper-2026 .stats-counter-grid {
        display: grid;
        grid-template-columns: 1fr 1fr; /* 2 Columns view on small tablets */
        gap: 10px;
    }
    
    .typing-wrapper-2026 .setup-form-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .typing-wrapper-2026 .setup-form-row label,
    .typing-wrapper-2026 #forlabel {
        width: 100%;
        margin-bottom: 5px;
    }
    
    .typing-wrapper-2026 .custom-input,
    .typing-wrapper-2026 #fortext,
    .typing-wrapper-2026 textarea {
        max-width: 100% !important;
    }
}

@media screen and (max-width: 480px) {
    .typing-wrapper-2026 .stats-counter-grid {
        grid-template-columns: 1fr; /* 1 Column full view on compact smartphones */
    }
    
    .typing-wrapper-2026 .lesson {
        font-size: 18px; /* Slightly scaled text footprint for mobile readability */
        padding: 10px;
    }
    
    .typing-wrapper-2026 .label1,
    .typing-wrapper-2026 .label2,
    .typing-wrapper-2026 .label3,
    .typing-wrapper-2026 .label4 {
        padding: 10px;
    }
}

/* Legacy & Auxiliary selectors tracking sync */
.typing-wrapper-2026 #the-count { float: none; padding: 0.1rem 0 0 0; font-size: 0.90em; }
.typing-wrapper-2026 .worddiv { font-family: Arial, sans-serif; margin: 5px auto; padding: 10px; border: 1px solid #677077; background-color: #FFF; min-height: 70px; height: auto; text-align: left; width: 90%; max-width: 600px; border-radius: 4px; }
.typing-wrapper-2026 .lb { color: white; }
.typing-wrapper-2026 .data { color: black; }
.typing-wrapper-2026 .skip { color: #000000; }
.typing-wrapper-2026 .msg { color: black; padding-left: 20px; }
.typing-wrapper-2026 .txt { background-color: pink; }
.typing-wrapper-2026 .result { display: inline-block; }
.typing-wrapper-2026 .fnt { font-size: 14px; }	
.typing-wrapper-2026 .admin { color: red; border-radius: 25px; padding: 10px; }
.typing-wrapper-2026 .user { color: black; border-radius: 25px; padding: 10px; }
.typing-wrapper-2026 .second-div { width: 96.4%; height: 74%; background-color: #fafafa; overflow-y: scroll; text-align: left; padding: 10px; margin-top: 5px; font-size: 3vw; }


.typing-wrapper-2026 .header-controls-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 6px auto 12px auto;
}

/* Typography polish for the Welcome block */
.typing-wrapper-2026 .header-controls-row h3 {
    margin: 0 !important;
    font-size: 19px;
    font-weight: 600;
    color: #1e293b !important;
    letter-spacing: -0.3px;
}

/* Active exercise dynamic badge display */
/* ==========================================================================
   👑 CHIP-LEVEL TEXT BOUNDARY LOCK: FIXING LONG PASSAGE OVERFLOWS PERMANENTLY
   ========================================================================== */
.typing-wrapper-2026 .passage-badge {
    background: #71a6db;
    color: #ffffff !important;
    padding: 3px 12px;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
    
    /* MASTER FIX: बटन की बाउंड्री लॉक करना ताकि टेक्स्ट बाहर न फटे */
    max-width: 250px !important;       /* बटन की अधिकतम चौड़ाई तय की */
    display: inline-block !important;
    overflow: hidden !important;        /* बाहर भागने वाले अक्षरों को काटेगा */
    white-space: nowrap !important;     /* टेक्स्ट को जबरदस्ती 1 लाइन में रखेगा */
    text-overflow: ellipsis !important;  /* नाम लंबा होने पर अंत में सुंदर '...' जोड़ देगा */
    vertical-align: middle !important;
}


.typing-wrapper-2026 .header-links-group {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap; /* Elements ko kabhi ek dusre ke upar ya niche tootne nahi dega */
}

/* ==========================================================================
   MOBILE BREAKPOINT FIX: SPACE-SAVER SPLIT BUTTONS (MAX-WIDTH: 600px)
   ========================================================================== */
@media screen and (max-width: 600px) {
    /* मुख्य डिब्बे को सिकोड़ो और पैडिंग कम करो ताकि स्पेस बचे */
    .typing-wrapper-2026 .header-controls-row {
        flex-direction: column !important;
        align-items: stretch !important;
        text-align: center !important;
        gap: 12px !important;
        padding: 12px !important; /* पैडिंग कम की */
    }

    .typing-wrapper-2026 .header-controls-row h3 {
        text-align: center !important;
        width: 100% !important;
        font-size: 17px !important; /* फॉन्ट थोड़ा स्लिम किया */
    }

    /* बटन्स के ग्रुप को मोबाइल पर अगल-बगल (Side-by-Side) रो में सेट करो */
    .typing-wrapper-2026 .header-links-group {
        display: flex !important;
        flex-direction: row !important; /* कड़क रो लेआउट */
        flex-wrap: wrap !important;
        width: 100% !important;
        gap: 10px !important;
        justify-content: center !important;
    }

    /* 1. पैसेज डिस्प्ले अकेला ऊपर पूरी चौड़ाई में शान से रहेगा */
    .typing-wrapper-2026 .passage-badge,
    .typing-wrapper-2026 .header-links-group span:not(.icon-btn-2026) {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
        height: 36px !important;
    }

    /* 2. MASTER FIX: हाइड और डाउनलोड कंटेनर को एक लाइन में 50-50% विड्थ में लॉक करना */
    .typing-wrapper-2026 .header-links-group .icon-btn-2026,
    .typing-wrapper-2026 .header-links-group #downloadBtnContainer {
        flex: 1 1 calc(50% - 5px) !important; /* 50% स्पेस कवर करेगा */
        width: calc(50% - 5px) !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
        margin: 0 !important;
    }

    /* डाउनलोड के अंदर का एक्चुअल बटन/एंकर भी पूरी चौड़ाई लेगा */
    .typing-wrapper-2026 .header-links-group #downloadBtnContainer a,
    .typing-wrapper-2026 .header-links-group #downloadBtnContainer button {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        height: 36px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    /* बटन्स की अंदरूनी पैडिंग और हाइट सेट */
    .typing-wrapper-2026 .header-links-group .icon-btn-2026 {
        height: 36px !important;
        padding: 0 !important;
    }
}


/* ==========================================================================
   ASSISTANT'S ULTRA-LOCK TOOLTIP ENGINE (NO MORE STRAY BLACK SPOTS)
   ========================================================================== */

/* 1. बटन की पोजीशन को रिलेटिव लॉक करो */
.typing-wrapper-2026 .icon-btn-2026 {
    position: relative !important; /* Force structure lock */
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 6px 12px;
    height: 36px;
    min-width: max-content;
    background: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    color: #475569 !important;
    cursor: pointer;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
	font-family: 'Roboto Slab';
}

.typing-wrapper-2026 .icon-btn-2026:hover {
    background: #e2e8f0;
    color: #0f172a !important;
    border-color: #94a3b8;
    transform: translateY(-1px);
}

/* 2. टूलटिप को सिर्फ इस स्पेसिफिक बटन क्लास के अंदर ही पैदा होने की इजाजत दो */
.typing-wrapper-2026 .header-links-group .icon-btn-2026::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -42px; /* बटन के नीचे एकदम परफेक्ट दूरी */
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: #1e293b !important; /* गहरा स्लेट रंग */
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0 !important; /* डिफ़ॉल्ट रूप से पूरी तरह गायब */
    visibility: hidden !important; /* पूरी तरह अदृश्य */
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
    z-index: 99999 !important; /* सबसे ऊपर रहेगा */
}

/* 3. सिर्फ होवर करने पर ही टूलटिप जिंदा होगा */
.typing-wrapper-2026 .header-links-group .icon-btn-2026:hover::after {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0);
}

/* 4. सुरक्षा कवच: पूरे पेज पर किसी भी दूसरे एलीमेंट के फालतू आफ्टर-इफेक्ट्स को ब्लॉक करो */
.typing-wrapper-2026 .stats-counter-grid *::after,
.typing-wrapper-2026 .stats-counter-grid *::before,
.typing-wrapper-2026 #display *::after {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}

/* ==========================================================================
   DOWNLOAD BUTTON TOOLTIP FIX (COMPLETE ACCENT CLEANUP BY ASSISTANT)
   ========================================================================== */

/* ==========================================================================
   👑 UPDATED: PREMIUM STANDARD DOWNLOAD SYMBOL & TOOLTIP CORE MATRIX
   ========================================================================== */

.typing-wrapper-2026 #downloadBtnContainer .icon-btn-2026 {
    position: relative !important;
    
    /* MASTER FIX: सिंबल और टेक्स्ट को बटन के बिल्कुल बीच में अलाइन रखने के लिए */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important; /* डाउन-एरो सिंबल और टेक्स्ट के बीच का परफेक्ट कड़क गैप */
    cursor: pointer !important;
}

.typing-wrapper-2026 #downloadBtnContainer .icon-btn-2026::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -42px; /* बटन के नीचे एकदम परफेक्ट दूरी */
    left: 50%;
    transform: translateX(-50%) translateY(-5px);
    background: #1e293b !important;
    color: #ffffff !important;
    font-size: 11px;
    font-weight: 500;
    padding: 6px 10px;
    border-radius: 4px;
    white-space: nowrap;
    opacity: 0 !important; /* डिफ़ॉल्ट रूप से पूरी तरह गायब */
    visibility: hidden !important; /* पूरी तरह अदृश्य */
    pointer-events: none;
    transition: opacity 0.15s ease, transform 0.15s ease;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.15);
    z-index: 99999 !important;
}

.typing-wrapper-2026 #downloadBtnContainer .icon-btn-2026:hover::after {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   2026 ULTRA-SLIM SLIDING TOGGLE SWITCH SYSTEM (BOOTSTRAP-FREE)
   ========================================================================== */

/* मुख्य स्लिम कंटेनर - एकदम ग्लास लुक */
.typing-wrapper-2026 #display .container {
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px;
    padding: 8px 20px 8px 20px !important;
    margin: 12px auto !important;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.typing-wrapper-2026 .control-group-block {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    justify-content: center;
}

.typing-wrapper-2026 .slim-divider {
    width: 1px;
    height: 28px;
    background-color: #e2e8f0;
}

.typing-wrapper-2026 .control-title {
    font-size: 14px;
    font-weight: 700;
    color: #334155;
    white-space: nowrap;
}

.typing-wrapper-2026 .switch-toggle-label {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
    cursor: pointer;
    user-select: none;
}

.typing-wrapper-2026 .switch-toggle-label input {
    opacity: 0;
    width: 0;
    height: 0;
}

.typing-wrapper-2026 .slider-round {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: #cbd5e1; 
    transition: all 0.3s ease;
    border-radius: 34px;
}

.typing-wrapper-2026 .slider-round:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: all 0.3s ease;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

/* जब इनपुट एक्टिव/चेक हो तो ट्रैक का रंग बदलकर ब्रांडेड ब्लू हो जाए */
.typing-wrapper-2026 .switch-toggle-label input:checked + .slider-round {
    background-color: #0284c7; /* प्रीमियम एक्टिव स्काई ब्लू */
}

/* जब इनपुट एक्टिव हो तो गोल नोब स्मूथली राइट साइड स्लाइड हो जाए */
.typing-wrapper-2026 .switch-toggle-label input:checked + .slider-round:before {
    transform: translateX(24px);
}

/* बैकस्पेस के लिए 3-स्टेट लेआउट की कस्टम सेटिंग (क्योंकि इसमें 3 ऑप्शन्स हैं) */
.typing-wrapper-2026 .backspace-options-group {
    display: flex;
    gap: 6px;
}


/* ==========================================================================
   ASSISTANT'S SOFT PILL TOGGLE ENGINE FOR BACKSPACE COMPONENT
   ========================================================================== */

/* पुराने रेडियो इनपुट्स को पूरी तरह छुपाओ */
.typing-wrapper-2026 .backspace-options-group input[type="Radio"] {
    display: none !important;
}

/* सॉफ्ट पिल का डिज़ाइन - एकदम स्टाइलिश, स्लिम और कर्व्ड */
.typing-wrapper-2026 .backspace-options-group .pill-label {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b; /* डिफ़ॉल्ट ऑफ स्टेट का रंग */
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 20px; /* एकदम सॉफ्ट गोल किनारे */
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    user-select: none;
    white-space: nowrap;
}

/* होवर करने पर सॉफ्ट इफ़ेक्ट */
.typing-wrapper-2026 .backspace-options-group .pill-label:hover {
    background: #f1f5f9;
    color: #334155;
    border-color: #cbd5e1;
}

/* जादुई कनेक्शन: जब कोई ऑप्शन सिलेक्टेड हो, तो उसका टेक्स्ट वाइट हो जाए */
.typing-wrapper-2026 .backspace-options-group .pill-label input[type="Radio"]:checked + span {
    color: #ffffff !important;
}

/* सिलेक्टेड बटन एकदम चमकीला स्काई ब्लू हो जाए, जैसा स्लाइडर है */
.typing-wrapper-2026 .backspace-options-group .pill-label:has(input[type="Radio"]:checked) {
    background: #0284c7 !important; /* स्लाइडर से मैच करता हुआ प्रीमियम ब्लू */
    border-color: #0284c7 !important;
    box-shadow: 0 2px 4px rgba(2, 132, 199, 0.2);
}


/* ==========================================================================
   2026 ELITE CONSISTENT DESIGN SYSTEM BY ASSISTANT (STRICTLY SCOPED)
   ========================================================================== */

/* 1. लाइव काउंटर्स ग्रिड का कायाकल्प - ओल्ड कलर्स हटाकर रॉयल ब्लू थीम */
.typing-wrapper-2026 .stats-counter-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 12px;
    margin: 15px auto;
    list-style: none;
    padding: 0;
    width: 100%;
    max-width: 800px;
}

.typing-wrapper-2026 .label1,
.typing-wrapper-2026 .label2,
.typing-wrapper-2026 .label3,
.typing-wrapper-2026 .label4 {
    border: 1px solid #e2e8f0 !important;
    border-radius: 8px !important;
    padding: 8px 14px;
    min-height: 46px;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1e293b !important; /* डार्क फॉन्ट */
    flex: 1;
    min-width: 160px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02) !important;
    float: none !important; /* पुराना फ्लोट रिमूव */
}

/* काउंटर्स के अंदर नंबर्स को हाइलाइट करने के लिए सुंदर ब्लू एक्सेंट */
.typing-wrapper-2026 .label1 b, 
.typing-wrapper-2026 .label2 b, 
.typing-wrapper-2026 .label3 b, 
.typing-wrapper-2026 .label4 b {
    color: #FFFFFF !important;
    font-weight: 600;
    font-size: 16px;
    margin-left: 5px;
}

/* 2. मुख्य इनपुट बॉक्स का मॉडर्नाइजेशन - एकदम सॉफ्ट और स्लिम */
.typing-wrapper-2026 .usertext {
    border: 2px solid #cbd5e1 !important; /* सॉफ्ट न्यूट्रल बॉर्डर */
    border-radius: 8px !important;
    padding: 10px 56px 10px 36px !important;
    width: 100%;
    max-width: 800px;
    height: 48px !important;
    outline: none !important;
    background: #ffffff !important;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.05) !important;
    margin: 0px auto 5px auto !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
	text-align: left !important;
    direction: ltr !important;
	
	overflow-x: auto !important;
    text-overflow: clip !important;
    contain: layout paint !important; 
}

/* टाइप करते समय इनपुट बॉक्स का सेक्सी ग्लो इफ़ेक्ट */
.typing-wrapper-2026 .usertext:focus {
    border-color: #0284c7 !important;
}

/* 3. रिजल्ट बटन का हॉट लग्जरी लुक */
.typing-wrapper-2026 .btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important; /* ग्रेडिएंट फिनिश */
    border: none !important;
    color: #ffffff !important;
    font-family: -apple-system, system-ui, sans-serif !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    letter-spacing: 0.3px !important;
    padding: 8px 45px !important;
    border-radius: 30px !important; /* परफेक्ट कैप्सूल शेप */
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
	margin-top:6px;
}

.typing-wrapper-2026 .btn-primary:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 14px rgba(2, 132, 199, 0.35) !important;
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
}

.typing-wrapper-2026 .btn-primary:active {
    transform: translateY(1px) !important;
}


/* ==========================================================================
   ASSISTANT'S LUXURY PASSAGE UI RE-DESIGN (TEXT UNTOUCHED)
   ========================================================================== */

/* 1. पैसेज का बाहरी मुख्य फ्रेम - मटमैला रंग हटाकर क्लीन वाइट ग्लास फिनिश */
.typing-wrapper-2026 .lesson1
{
width:100%;
max-width:780px;
height:250px;
border:1px solid #686666;
border-radius: 5px;
background-color:#E6E6E6;
}
.typing-wrapper-2026 .lesson
{
overflow: -moz-scrollbars-horizantal;
overflow-y: scroll;
text-align: left;
width:98%;
max-width:740px;
height:200px;
color:black;
font-family:Times New Roman;
padding:10px 20px 20px 20px;
font-size:24px;
margin:24px 10px 10px 10px;
background-color:#E6E6E6;
line-height:1.5;
}

.typing-wrapper-2026 .totype
		        {
				   background-color:#FFFF2E;
				   color:blue;
					padding-top:2px;
					padding-bottom:2px;
                }
				.typedRight
				{
				   color:green;
                }
				.typedWrong
				{
				   color:red;
                }	
.typing-wrapper-2026 .totype2
{
  color:black;
}



/* ==========================================================================
   ASSISTANT'S UNIFIED LUXURY BACKGROUND CABINET (SPA BOX CONSOLIDATION)
   ========================================================================== */

/* इसके बैकग्राउंड चेंज होने पर अब सारे वाइट डिब्स (जैसे काउंटर्स, हेडर, कंट्रोल्स) और भी ज्यादा चमकेंगे */
.typing-wrapper-2026 .header-controls-row,
.typing-wrapper-2026 .label1,
.typing-wrapper-2026 .label2,
.typing-wrapper-2026 .label3,
.typing-wrapper-2026 .label4,
.typing-wrapper-2026 #display .container
{
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02) !important;
}

/* ==========================================================================
   ASSISTANT'S PREMIUM SETUP SCREEN DESIGN (CONTAINER 1 VISUAL MATCH)
   ========================================================================== */


.typing-wrapper-2026 #setupSection .maindiv {
    border: 1px solid #e2e8f0 !important;
    padding: 30px 25px !important;
    width: 100%;
    max-width: 500px;
    height: auto;
    background-color: #ffffff !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03) !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px auto !important;
}

/* ==========================================================================
   STRICT MAINDIV RESPONSIVE ONLY - LOCKED FOR SMALL MOBILE SCREENS (<= 395PX)
   ========================================================================== */
@media screen and (max-width: 395px) {
    /* सिर्फ इसी बक्से की पैडिंग और विड्थ को छोटे स्क्रीन्स के लिए री-लॉक किया */
    .typing-wrapper-2026 #setupSection .maindiv {
        padding: 15px 12px !important; /* पैडिंग एकदम स्लिम ताकि 395px में एलिमेंट्स दबे नहीं */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important; /* बॉर्डर और पैडिंग को विड्थ के अंदर रखेगा */
    }
}


.typing-wrapper-2026 #setupSection center > span {
    color: #1e293b !important; 
    font-weight: 700 !important;
    letter-spacing: -0.3px;
    display: inline-block;
    margin-top: 10px;
}


.typing-wrapper-2026 #setupSection .setup-form-row label,
.typing-wrapper-2026 #setupSection #forlabel {
    color: #334155 !important; 
    font-weight: 600 !important;
    font-size: 17px !important;
}


.typing-wrapper-2026 #setupSection .custom-input,
.typing-wrapper-2026 #setupSection #fortext,
.typing-wrapper-2026 #setupSection textarea {
    border: 2px solid #cbd5e1 !important;
    border-radius: 6px !important;
    min-height: fit-content;
	width:100%;
    font-size: 16px !important;
	font-weight: 500;
    padding: 6px 12px !important;
    background-color: #ffffff !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}


.typing-wrapper-2026 #setupSection .custom-input:focus,
.typing-wrapper-2026 #setupSection #fortext:focus,
.typing-wrapper-2026 #setupSection textarea:focus {
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}


.typing-wrapper-2026 #setupSection textarea.custom-input,
.typing-wrapper-2026 #setupSection textarea {
    height: auto !important;
    border: 2px solid #cbd5e1 !important;
}


.typing-wrapper-2026 #setupSection .or-separator {
    color: #64748b !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    margin: 12px 0 !important;
}


.typing-wrapper-2026 #setupSection .btn-start-test,
.typing-wrapper-2026 #setupSection #forbutton {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important;
    border: none !important;
    font-family: -apple-system, system-ui, sans-serif !important;
    font-weight: 600 !important;
    font-size: 18px !important;
    color: #ffffff !important; 
    border-radius: 4px !important; /* परफेक्ट कैप्सूल शेप */
    padding: 7px 30px !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.25) !important;
    transition: all 0.2s ease-in-out !important;
}

.typing-wrapper-2026 #setupSection .btn-start-test:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 14px rgba(2, 132, 199, 0.35) !important;
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
}



/* ==========================================================================
   ASSISTANT'S LUXURY RESULTS BOARD DESIGN (COMPAIRE.PHP EXCLUSIVE)
   ========================================================================== */

/* रिजल्ट की मुख्य टेबल्स - पुराना भद्दा border="1" हटाकर एकदम मॉडERN लुक */
.typing-wrapper-2026 .table {
    width: 100% !important;
    max-width: 800px !important; /* पूरी थीम से मैच करता हुआ 800px */
    margin: 0 auto 20px auto !important;
    border-collapse: separate !important;
    border-spacing: 0 !important;
    background: #ffffff !important; /* क्लीन वाइट कार्ड बेस */
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important; /* आलीशान राउंडेड किनारे */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    overflow: hidden !important;
}

/* टेबल के हेडर/टाइटल रोज़ (Complete Result & Formulas) का वीआईपी डिज़ाइन */
.typing-wrapper-2026 .table tr:first-child td {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important; /* रॉयल ब्लू ग्रेडिएंट */
    color: #ffffff !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    padding: 12px 15px !important;
    border: none !important;
}

.typing-wrapper-2026 .table tr:first-child td a {
    color: #ffffff !important;
    text-decoration: underline !important;
}

/* टेबल के सामान्य सेल्स (Cells) की मखमली पैडिंग और बॉर्डर्स */
.typing-wrapper-2026 .table td {
    padding: 12px 16px !important;
    font-size: 14px !important;
    color: #475569 !important; /* सॉफ्ट डार्क ग्रे फॉन्ट */
    border-bottom: 1px solid #f1f5f9 !important;
    border-right: 1px solid #f1f5f9 !important;
    vertical-align: middle !important;
	font-weight:600;
}

/* आखिरी सेल के राइट बॉर्डर को हटाओ ताकि कॉर्नर्स खराब न हों */
.typing-wrapper-2026 .table td:last-child {
    border-right: none !important;
}

.typing-wrapper-2026 .table tr:last-child td {
    border-bottom: none !important;
}

/* डेटा वेरिएबल्स (Values) को थोड़ा बोल्ड और हाइलाइटेड लुक दो */
.typing-wrapper-2026 .table td.data {
    color: #0284c7 !important; /* थीम का सिग्नेचर ब्लू */
    font-weight: 700 !important;
    font-size: 15px !important;
}

/* फॉर्मूला टेबल्स (Net WPM और Accuracy) के स्पेशल रिजल्ट ब्लॉक्स */
.typing-wrapper-2026 .table #nwpm,
.typing-wrapper-2026 .table #accur,
.typing-wrapper-2026 .table b {
    font-size: 16px !important;
}

/* ==========================================================================
   FINAL OVERRIDE FOR COMPAIRE.PHP TEXT AND BORDERS VISIBILITY
   ========================================================================== */

/* 'Take Test Again' बटन का आधुनिक लुक */
.typing-wrapper-2026 a.btn-primary, 
.typing-wrapper-2026 button.btn-primary {
    display: inline-block;
    text-decoration: none !important;
    text-align: center;
}

/* ==========================================================================
   ASSISTANT'S PREMIUM ACTION BUTTONS & DETAILED ERROR LOG CARD DESIGN
   ========================================================================== */

/* 1. बटन्स वाले टेबल कंटेनर को फ्लेक्सबॉक्स रो में बदलो (No More Legacy Tables) */
.typing-wrapper-2026 .action-buttons-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px; /* दोनों बटन्स के बीच का गैप */
    margin: 15px auto 20px auto !important;
    width: 100%;
    max-width: 800px;
}

/* 2. 'Take Test' और 'Generate Certificate' दोनों बटन्स का यूनिफाइड मॉडर्न लुक */
.typing-wrapper-2026 .action-buttons-row .btn-primary,
.typing-wrapper-2026 .action-buttons-row input[type="submit"] {
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important; /* प्रीमियम ब्लू ग्रेडिएंट */
    border: none !important;
    color: #ffffff !important;
    font-family: -apple-system, system-ui, sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0.3px !important;
    padding: 10px 24px !important;
    border-radius: 30px !important; /* मखमली कैप्सूल शेप */
    cursor: pointer !important;
    box-shadow: 0 4px 10px rgba(2, 132, 199, 0.2) !important;
    transition: all 0.2s ease-in-out !important;
    outline: none !important;
    height: auto !important;
    width: auto !important;
    display: inline-block;
}

.typing-wrapper-2026 .action-buttons-row .btn-primary:hover,
.typing-wrapper-2026 .action-buttons-row input[type="submit"]:hover {
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 14px rgba(2, 132, 199, 0.3) !important;
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%) !important;
}

/* 3. नीचे वाले एरर वर्ड लिस्ट बॉक्स (.worddiv) का आलीशान कायाकल्प */
.typing-wrapper-2026 .worddiv {
    font-family: -apple-system, system-ui, sans-serif !important;
    margin: 15px auto !important;
    padding: 18px 22px !important;
    border: 1px solid #e2e8f0 !important; /* पुराना डार्क बॉर्डर हटाया */
    background-color: #ffffff !important; /* प्रीमियम वाइट बेस शीट */
    min-height: auto !important;
    height: auto !important;
    text-align: left !important;
    width: 100% !important;
    max-width: 800px !important; /* 800px पर लॉक */
    border-radius: 12px !important; /* राउंडेड कॉर्नर्स */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
    line-height: 2 !important; /* पढ़ने में एकदम आसान */
    color: #334155 !important; /* सॉफ्ट डार्क चारकोल टेक्स्ट */
    font-size: 14px !important;
}

/* एरर लिस्ट के अंदर बोल्ड टाइटल्स को सुरुचिपूर्ण ब्लू शेड दो */
.typing-wrapper-2026 .worddiv b {
    color: #475569 !important;
    font-weight: 700 !important;
    font-size: 14px !important;
}



/* ==========================================================================
   FINAL MASTERPIECE: FULLY WIDE TABLE & SIDE-BY-SIDE INTEGRATED GRAPH
   ========================================================================== */

.typing-wrapper-2026 .progress-dashboard-card {
    position: relative !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 12px !important;
    padding: 24px !important;
    margin: 25px auto !important;
    width: 100%;
    max-width: 800px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02) !important;
}

.typing-wrapper-2026 .dashboard-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 22px;
    text-align: left;
    border-left: 4px solid #0284c7;
    padding-left: 10px;
}

/* मुख्य पैरेंट स्टैक्ड लेआउट - टेबल ऊपर, ग्राफ नीचे */
.typing-wrapper-2026 .dashboard-stacked-layout {
    display: flex;
    flex-direction: column;
    gap: 24px; /* टेबल और ग्राफ रो के बीच का लग्जरी गैप */
    width: 100%;
}

/* 1. ऊपर की पूरी चौड़ाई वाली इतिहास तालिका */
.typing-wrapper-2026 .history-column-wide {
    width: 100% !important;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.typing-wrapper-2026 .history-compact-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.typing-wrapper-2026 .history-compact-table th {
    background: #f8fafc !important;
    color: #64748b !important;
    font-size: 12px;
    font-weight: 700;
    padding: 12px 16px;
    border-bottom: 2px solid #e2e8f0;
    text-transform: uppercase;
}

.typing-wrapper-2026 .history-compact-table td {
    padding: 12px 16px;
    font-size: 13px;
    color: #334155;
    border-bottom: 1px solid #f1f5f9;
	font-weight: 600;
}

.typing-wrapper-2026 .history-compact-table tr:last-child td {
    border-bottom: none;
}

/* 2. नीचे की साइड-बाय-साइड ग्राफ रो (Flex Row) */
.typing-wrapper-2026 .graphs-row-side-by-side {
    display: flex;
    gap: 20px; /* दोनों ग्राफ के बीच का सेक्सी गैप */
    width: 100%;
	text-align:center;
}

/* दोनों ग्राफ को 50-50% विड्थ में अगल-बगल फिक्स करना */
.typing-wrapper-2026 .graph-block-sub-fixed {
    flex: 1; /* Equal 50% split */
    min-width: 0;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ग्राफ कैनवास की 140px की कड़क फिक्स्ड हाइट */
.typing-wrapper-2026 .graph-holder {
    width: 100%;
    height: 180px !important;
    position: relative;
    margin-top: 5px;
}

.typing-wrapper-2026 .grid-line {
    stroke: #e2e8f0;
    stroke-width: 1;
    stroke-dasharray: 4,4;
}

/* --- PROGRESS VECTOR LINES --- */
.typing-wrapper-2026 .progress-line-f1 { stroke: #0284c7; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }
.typing-wrapper-2026 .progress-line-f2 { stroke: #10b981; stroke-width: 3; fill: none; stroke-linecap: round; stroke-linejoin: round; }

.typing-wrapper-2026 svg .graph-dot-f1,
.typing-wrapper-2026 svg .graph-dot-f2 {
    fill: #0284c7;
    stroke: #ffffff;
    stroke-width: 2 !important;
    r: 6.5 !important;
    cursor: pointer;
}
.typing-wrapper-2026 svg .graph-dot-f2 { fill: #10b981; }

.typing-wrapper-2026 .accuracy-line-f1,
.typing-wrapper-2026 .accuracy-line-f2,
.typing-wrapper-2026 svg path[id^="accuracyLine"] {
    stroke: #ec4899 !important;
    stroke-width: 3.5 !important;
    fill: none !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}

.typing-wrapper-2026 .graph-dot-accur,
.typing-wrapper-2026 svg .graph-dot-accur {
    fill: #ec4899 !important;
    stroke: #ffffff !important;
    stroke-width: 2 !important;
    r: 6.5 !important;
    cursor: pointer;
}

/* --- ANTI-COLLISION BALCONY LAYOUT --- */
.typing-wrapper-2026 svg text,
.typing-wrapper-2026 svg .canvas-text {
    display: inline !important;
    opacity: 1 !important;
    visibility: visible !important;
    font-size: 11px !important;
    font-weight: 700 !important;
}

.typing-wrapper-2026 svg text {
    paint-order: stroke;
    stroke: #f8fafc;
    stroke-width: 3px;
    stroke-linejoin: round;
}

/* --- COLOR LEGENDS (INDICATORS) --- */
.typing-wrapper-2026 .graph-legend-row {
    display: flex;
    gap: 12px;
    font-size: 11px;
    font-weight: 700;
    margin-top: 10px;
    justify-content: flex-end;
    width: 100%;
    color: #475569;
    text-transform: uppercase;
}

.typing-wrapper-2026 .legend-item { display: flex; align-items: center; gap: 4px; }
.typing-wrapper-2026 .legend-color-blue { display: inline-block; width: 10px; height: 10px; background: #0284c7; border-radius: 2px; }
.typing-wrapper-2026 .legend-color-green { display: inline-block; width: 10px; height: 10px; background: #10b981; border-radius: 2px; }
.typing-wrapper-2026 .legend-color-pink { display: inline-block; width: 10px; height: 10px; background: #ec4899; border-radius: 2px; }

/* मोबाइल के लिए फुली रिस्पॉन्सिव - नीचे ग्राफ एक के नीचे एक हो जाएंगे */
@media screen and (max-width: 768px) {
    .typing-wrapper-2026 .graphs-row-side-by-side {
        flex-direction: column;
    }
}



/* ==========================================================================
   ASSISTANT'S LIGHT THEME TOP-ALIGNED LOADING OVERLAY SYSTEM
   ========================================================================== */

/* मुख्य पैरेंट कंटेनर की पोजीशन लॉक रखो */
.typing-wrapper-2026 {
    position: relative !important;
    background-color: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 16px !important;
    padding: 15px 30px 25px 30px !important;
    margin: 0px auto 20px auto !important;
    max-width: 840px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.05) !important;
    min-height: 400px;
}

/* FIXED: डार्क से बदलकर एकदम लाइट प्रीमियम ग्लास फिनिश बैकग्राउंड */
.typing-wrapper-2026 #typingLoaderOverlay {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background-color: rgba(248, 250, 252, 0.98) !important; /* सॉफ्ट लाइट स्लेट-वाइट बैकग्राउंड */
    border-radius: 16px !important;
    z-index: 99999 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important; /* FIXED: सेंटर से बदलकर टॉप (Top) पर अलाइन किया */
    padding-top: 50px !important; /* टॉप से 50px की सुंदर दूरी ताकि तुरंत दिखे */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

/* स्पिनर का डिज़ाइन - लाइट बैकग्राउंड के हिसाब से कस्टमाइज़ */
.typing-wrapper-2026 .loader-spinner-circle {
    width: 48px;
    height: 48px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #0284c7; /* थीम का रॉयल ब्लू */
    border-radius: 50%;
    animation: spinLoader2026 1s linear infinite;
    margin-bottom: 15px;
}

/* सस्पेंस टेक्स्ट डिज़ाइन - डार्क और विज़िबल */
.typing-wrapper-2026 .loader-suspense-text {
    color: #1e293b !important; /* वाइट से बदलकर डार्क स्लेट किया */
    font-size: 18px;
    font-weight: 700;
    letter-spacing: -0.3px;
    margin: 5px 0;
    text-align: center;
}

.typing-wrapper-2026 .loader-sub-text {
    color: #64748b !important; /* सॉफ्ट डार्क ग्रे */
    font-size: 13px;
    text-align: center;
}

@keyframes spinLoader2026 {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.action-buttons-flex-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 15px !important;
    width: 100% !important;
    max-width: 800px !important;
    margin: 25px auto 30px auto !important;
    float: none !important;
    clear: both !important;
}

.action-buttons-flex-row .btn-wrap-isolated,
.action-buttons-flex-row #certificate {
    display: inline-block !important;
    margin: 0 !important;
    float: none !important;
}

/* 🔵 टेक टेस्ट अगेन बटन कस्टमाइजेशन */
.action-buttons-flex-row .btn-custom-luxury-blue {
    background-color: #0284c7 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 10px 24px !important;
    border: 1px solid #0369a1 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

/* 🟢 सर्टिफिकेट बटन कस्टमाइजेशन */
.action-buttons-flex-row .btn-custom-luxury-green {
    background-color: #10b981 !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    padding: 10px 24px !important;
    border: 1px solid #059669 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
}

/* ==========================================================================
   OFFICIAL STYLE RULES: STRICT CENTER AND VERTICAL LINE BLOCK
   ========================================================================== */

.action-buttons-flex-row {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important; /* दोनों बटन्स के बीच का परफेक्ट स्पेस */
    width: 100% !important;
    max-width: 800px !important;
    margin: 30px auto !important;
    float: none !important;
    clear: both !important;
}

.action-buttons-flex-row .btn-wrap-isolated,
.action-buttons-flex-row #certificate {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
    float: none !important;
}

/* दोनों बटनों की चौड़ाई, पैडिंग और वर्टिकल एलाइनमेंट को एक समान बराबर करना */
.action-buttons-flex-row .btn-custom-luxury-blue,
.action-buttons-flex-row .btn-custom-luxury-green {
    height: 42px !important; /* दोनों बटन्स की हाइट एकदम समान लॉक */
    padding: 0 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    float: none !important;
}

/* ==========================================================================
   OFFICIAL STYLE RULES: CLEAN CUSTOM BUTTONS CENTER ENGINE (NO OVERRIDES)
   ========================================================================== */

/* पैरेंट फ्लेक्स रो जो बटन को हमेशा केंद्र में रखेगी */
.custom-action-row-2026 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 800px !important;
    margin: 30px auto !important;
    float: none !important;
    clear: both !important;
}

.custom-action-row-2026 .custom-btn-box {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
    float: none !important;
}

/* दोनों बटनों की चौड़ाई, पैडिंग और वर्टिकल एलाइनमेंट को एक समान बराबर करना */
.custom-action-row-2026 .btn-custom-luxury-blue,
.custom-action-row-2026 .btn-custom-luxury-green {
    height: 42px !important;
    padding: 0 24px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    color: #ffffff !important;
    float: none !important;
}

.custom-action-row-2026 .btn-custom-luxury-blue {
    background-color: #0284c7 !important;
    border: 1px solid #0369a1 !important;
}

.custom-action-row-2026 .btn-custom-luxury-green {
    background-color: #10b981 !important;
    border: 1px solid #059669 !important;
}

/* ==========================================================================
   THE LATEST NO-CLASH CENTER LOCK BUTTON CSS ENGINE 
   ========================================================================== */

/* Main flex container that forces horizontal centering */
.final-center-row-2026 {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 800px !important;
    margin: 25px auto !important;
    float: none !important;
    clear: both !important;
    text-align: center !important;
    box-sizing: border-box !important;
}

/* Structural wrapping elements box limits */
.final-center-row-2026 .luxury-btn-space,
.final-center-row-2026 #certificate,
.final-center-row-2026 form,
.final-center-row-2026 a {
    display: inline-block !important;
    vertical-align: middle !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
}

/* Leveling button heights, text properties, and crisp padding */
.final-center-row-2026 .btn-luxury-blue,
.final-center-row-2026 .btn-luxury-green {
    height: 42px !important;
    padding: 0 26px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border-radius: 6px !important;
    cursor: pointer !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    line-height: 1 !important;
    color: #ffffff !important;
    text-shadow: none !important;
    float: none !important;
    transition: background-color 0.2s ease !important;
}

/* Custom premium color configurations */
.final-center-row-2026 .btn-luxury-blue {
    background-color: #0284c7 !important;
    border: 1px solid #0369a1 !important;
}
.final-center-row-2026 .btn-luxury-blue:hover {
    background-color: #0369a1 !important;
}

.final-center-row-2026 .btn-luxury-green {
    background-color: #10b981 !important;
    border: 1px solid #059669 !important;
}
.final-center-row-2026 .btn-luxury-green:hover {
    background-color: #059669 !important;
}

/* ==========================================================================
   PROGRESS DASHBOARD MOBILE FULL-WIDTH SYNC ENGINE (<= 768PX)
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* 1. मुख्य फ्लेक्स रो को ब्लॉक में बदलकर टेबल ऊपर और ग्राफ नीचे सेट करना */
    .typing-wrapper-2026 .dashboard-flex-row,
    [class*="dashboard-flex-row"] {
        flex-direction: column !important;
        gap: 16px !important;
    }

    /* 2. नीचे की साइड-बाय-साइड ग्राफ रो को वर्टिकल स्टैक में बदलना */
    .typing-wrapper-2026 .graphs-row-side-by-side,
    [class*="graphs-row-side-by-side"] {
        flex-direction: column !important; /* अगल-बगल से हटाकर एक के नीचे एक पटका */
        gap: 16px !important;
        width: 100% !important;
    }

    /* 3. दोनों ग्राफ ब्लॉक्स को मोबाइल पर 100% पूरी चौड़ाई में फैलाना */
    .typing-wrapper-2026 .graph-block-sub-fixed,
    [class*="graph-block-sub-fixed"] {
        width: 100% !important;
        flex: none !important; /* 50-50% का लॉक तोड़ा */
        box-sizing: border-box !important;
    }

    /* 4. इतिहास तालिका की कॉलम विड्थ को मोबाइल स्क्रीन पर सिंक करना */
    .typing-wrapper-2026 .history-column-wide {
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* ==========================================================================
   👑 ANTI-CRASH PREMIUM TOOLTIP ENGINE - 0% LAYOUT DISTORTION LOCK
   ========================================================================== */

/* मूल पंक्ति का आकार एकदम अछूता और साफ रखना */
.premium-control-row {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 15px !important;
}

/* टूलटिप कंटेनर बेस एंकर */
.pure-css-tooltip {
    position: relative !important;
}

/* अंदर छुपा हुआ प्रीमियम स्लेटी-काला डिब्बा */
.pure-css-tooltip .tooltip-bubble-box {
    position: absolute !important;
    z-index: 99999 !important;
    bottom: 45px !important; /* बटन के ठीक ऊपर परफेक्ट पोजीशन */
    left: 50% !important;
    transform: translateX(-50%) !important;
    
    /* ओब्सीडियन डार्क यूआई लुक */
    background-color: #1e293b !important;
    color: #f8fafc !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif !important;
    font-size: 12px !important;
    font-weight: 500 !important;
    white-space: nowrap !important;
    padding: 6px 12px !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    
    /* डिफ़ॉल्ट रूप से पूरी तरह अदृश्य */
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity 0.15s ease-in-out !important;
}

/* माउस ऊपर लाते ही बिना किसी लेआउट डिस्टॉर्शन के तुरंत चमकाना */
.pure-css-tooltip:hover .tooltip-bubble-box {
    opacity: 1 !important;
    visibility: visible !important;
}


/* ==========================================================================
   👑 PREMIUM RESPONSIVE CONTROL GRID - 100% CLEAN NOMENCLATURE
   ========================================================================== */
@media screen and (max-width: 768px) {
    /* FIXED: पुरी तरह से क्लीन क्लास मैपिंग ताकि एसईओ (SEO) हमेशा सेफ़ रहे */
    .typing-wrapper-2026 .premium-control-row {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 15px !important;
        width: 100% !important;
    }
    
    .typing-wrapper-2026 .slim-divider {
        display: none !important;
    }
    
    .typing-wrapper-2026 .control-group-block {
        width: 100% !important;
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    /* MOBILE EXTRA FIX: मोबाइल पर टच करने पर टूलटिप्स लेआउट से बाहर न भागें */
    .modern-tooltip::after,
    .modern-tooltip.tooltip-top::after,
    .modern-tooltip.tooltip-left::after {
        display: none !important; /* मोबाइल स्क्रीन पर विज़ुअल क्लैश रोकने के लिए टूलटिप्स को शांत किया */
    }
}


/* ==========================================================================
   👑 INTUITIVE DROP DOWN & INPUT FOCUS RE-ENGINEERING: ELIMINATING BLACK BORDERS
   ========================================================================== */

/* 1. जब यूज़र टाइम या पैसेज ड्रॉपडाउन पर क्लिक (Focus) करे */
.typing-wrapper-2026 .custom-input:focus,
.typing-wrapper-2026 #setupSection select:focus,
select#excersiceSelect:focus,
.form-control:focus {
    /* MASTER FIX: ब्राउज़र की उस भद्दी काली आउटलाइन को पूरी तरह दफ़न करना */
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    
    /* आपका पसंदीदा कड़क प्रीमियम ब्लू शैडो इफ़ेक्ट */
    border-color: #0284c7 !important;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15) !important;
}

/* 2. इनपुट बॉक्स एक्टिव रहने पर भी आउटलाइन को 0% ब्लॉक रखना */
.typing-wrapper-2026 input:focus,
.typing-wrapper-2026 textarea:focus {
    outline: none !important;
}
