/* CONTAINER & BOX STYLES */
.os-wrapper-pro { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; }
.os-flex-col { display: flex; flex-direction: column; gap: 0 !important; }
.os-rounded-box { border-radius: 12px !important; overflow: hidden; box-shadow: 0 4px 10px rgba(0,0,0,0.05); border:1px solid #eee; margin: 0 !important; width: 100%; }

/* --- ADS VISIBILITY & PLACES --- */
.os-ad-slot-container.os-ad-gapless { 
    background: transparent; 
    margin: 4px 0 !important; 
    padding: 0; 
    text-align: center; 
    width: 100% !important; 
    display: flex; 
    justify-content: center;
    align-items: center;
    min-height: 50px; 
    box-sizing: border-box; 
    overflow: hidden;
}
.os-ad-slot-container img, 
.os-ad-slot-container iframe, 
.os-ad-slot-container ins { 
    max-width: 100%; 
    display: inline-block; 
}
.os-ad-placeholder { display: block; } /* For Injector */

.os-oneline-inst { text-align: center; font-weight: bold; margin: 0 !important; padding: 5px 0; line-height: 1.4; width: 100%; background: #fff; }

/* BUTTONS - INSTANT CLICK OPTIMIZED */
.os-btn-wrapper { margin: 0 !important; padding: 5px 0; text-align: center; width: 100%; position: relative; z-index: 2147483640; }
.os-grad-btn { 
    color: #fff !important; border: none; padding: 10px 25px; 
    font-size: 14px; font-weight: bold; border-radius: 50px; 
    cursor: pointer; width: auto !important; min-width: 200px; 
    max-width: 100% !important; text-transform: uppercase; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.2); 
    display: inline-block; margin: 0; text-decoration: none; 
    text-align: center; line-height: 1.4; 
    -webkit-tap-highlight-color: transparent; 
    touch-action: manipulation; /* Removes Mobile Delay */
    position: relative; pointer-events: auto !important; 
}
.os-grad-btn:active { transform: scale(0.98); } /* Instant Feedback */
.os-btn-compact { font-size: 13px; padding: 8px 20px; }

/* LOGIC WRAPPERS */
.os-logic-wrapper { margin: 0 !important; padding: 5px 0; width: 100%; background: #fff; }
.os-custom-inst-box { width: 100%; background: #fff;}
.os-custom-inst-title { font-weight: 800; text-transform: uppercase; text-align: center; padding: 8px 10px; line-height: 1.2; }
.os-custom-inst-body { padding: 8px 10px; text-align: center; font-weight: 600; line-height: 1.3; }
#os-sticky-step-bar { position: fixed !important; top: 0 !important; left: 0 !important; width: 100% !important; background: #fff !important; color: #000 !important; font-weight: bold; text-align: center; padding: 5px 0 !important; font-size: 13px; z-index: 2147483647 !important; box-shadow: 0 1px 5px rgba(0,0,0,0.1); border-bottom: 1px solid #ccc; }

/* CAPTCHA */
#os-captcha-box { background: #f9f9f9; border: 1px solid #d3d3d3; width: 280px; padding: 12px; border-radius: 8px; display: flex; align-items: center; box-shadow: 0 1px 3px rgba(0,0,0,0.1); margin: 0 auto; cursor: pointer; user-select: none; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
.os-captcha-check { width: 24px; height: 24px; background: #fff; border: 2px solid #c1c1c1; border-radius: 2px; margin-right: 12px; position:relative; }
.os-captcha-check.checked { border-color:transparent; background:transparent; }
.os-captcha-check.checked::after { content: ''; position: absolute; left: 7px; top: -3px; width: 8px; height: 16px; border: solid #0f9d58; border-width: 0 3px 3px 0; transform: rotate(45deg); }
.os-captcha-spinner { border: 3px solid #f3f3f3; border-top: 3px solid #3498db; border-radius: 50%; width: 18px; height: 18px; animation: spin 1s linear infinite; margin-right: 12px; display: none; }
@keyframes spin {0% {transform: rotate(0deg);} 100% {transform: rotate(360deg);}}
.os-captcha-text { font-family: Roboto, Arial; font-weight: 500; color: #000; font-size: 14px; flex-grow: 1; }
.os-blink { animation: blinker 1s linear infinite; }
@keyframes blinker { 50% { opacity: 0; } }
.os-loader { border: 5px solid #f3f3f3; border-top: 5px solid #2575fc; border-radius: 50%; width: 45px; height: 45px; animation: spin 1s linear infinite; }

/* TOAST */
#os-toast { visibility:hidden; min-width: 250px; background-color: #333; color: #fff; text-align: center; border-radius: 50px; padding: 12px; position: fixed; z-index: 2147483650; left: 50%; bottom: 30px; transform: translateX(-50%); font-size: 14px; box-shadow: 0 4px 15px rgba(0,0,0,0.3); }
#os-toast.show { visibility: visible; -webkit-animation: fadein 0.5s, fadeout 0.5s 2.5s; animation: fadein 0.5s, fadeout 0.5s 2.5s; }
@keyframes fadein { from {bottom: 0; opacity: 0;} to {bottom: 30px; opacity: 1;} }
@keyframes fadeout { from {bottom: 30px; opacity: 1;} to {bottom: 0; opacity: 0;} }

/* =================================================================
   FORCE AD - IFRAME CLICK & FOCUS FIXES
================================================================= */
.os-force-backdrop {
    position: fixed !important; top: 0; left: 0; width: 100%; height: 100%; z-index: 2147483647;
    display: flex !important; justify-content: center; align-items: center;
    background: rgba(0, 0, 0, 0.7); 
    backdrop-filter: blur(5px); 
    -webkit-backdrop-filter: blur(5px);
}
.os-force-modal {
    background: #fff;
    width: 95% !important; 
    max-width: 600px !important;
    margin: 0 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    position: relative;
    display: flex; flex-direction: column;
    overflow: visible !important; 
    border-radius: 8px;
}
.os-force-header { background: #fff; padding: 12px 10px 5px 10px; text-align: center; border-bottom: 2px solid #eee; border-radius: 8px 8px 0 0; }
.os-force-head-title { font-size: 15px; font-weight: 900; color: #159392; margin-bottom: 4px; text-transform: uppercase; }
.os-force-head-sub { font-size: 13px; font-weight: 700; color: #ff0000; line-height: 1.2; margin-bottom: 4px; }
.os-force-head-hin { font-size: 12px; color: #333; font-weight: 600; }

.os-force-body { 
    padding: 10px 0; 
    background: #fff; 
    min-height: 250px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center; 
    align-items: center; 
    width: 100%; 
    overflow: hidden; 
    border-bottom: 5px solid #4CAF50; 
    border-radius: 0 0 8px 8px;
    position: relative; /* Important for click catching */
}

/* Ensure Iframe/Images receive clicks */
.os-force-body iframe, 
.os-force-body img, 
.os-force-body a {
    pointer-events: auto !important;
    position: relative;
    z-index: 10;
}

.os-force-img-el { width: 100%; height: auto; display: block; cursor: pointer; }
.os-force-custom-code { width:100%; text-align:center; display:flex; justify-content:center; } 
.os-force-custom-code img, .os-force-custom-code iframe { max-width:100%; }

#os-force-close {
    position: absolute;
    top: -15px; 
    right: -10px; 
    background: #ff0000; color: #fff;
    border: 2px solid #fff;
    padding: 10px 20px; /* Large Touch Area */
    font-size: 14px; font-weight: 800;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.4);
    display: none; 
    z-index: 2147483655 !important; 
    pointer-events: auto !important;
    touch-action: manipulation;
}

/* ADBLOCK WARNING */
#os-adblock-modal {
    display: none;
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 2147483650;
    flex-direction: column; justify-content: center; align-items: center;
    text-align: center; color: #fff;
}

/* MANUAL REDIRECT UI */
#os-manual-ui {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: #fff; 
    z-index: 2147483649; text-align: center; flex-direction: column; justify-content: center; align-items: center;
}
#os-manual-ui h2 { color: #000; font-size: 32px; font-weight: bold; margin-bottom: 25px; font-family: serif; }
#os-manual-ui a { font-size: 24px; font-weight: bold; color: #303f9f; text-decoration: underline; cursor: pointer; }