
/* =========================
   OVERLAY
========================= */
#abtin-popup-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.65);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:99999;
    padding:20px;
}

/* =========================
   POPUP BOX
========================= */
#abtin-popup{
    width:100%;
    max-width:520px;
    background:#fff;
    border-radius:18px;
    padding:22px;
    position:relative;
    box-shadow:0 25px 60px rgba(0,0,0,.25);
    animation:fadeIn .2s ease;
}

@keyframes fadeIn{
    from{transform:scale(.96); opacity:0;}
    to{transform:scale(1); opacity:1;}
}

/* =========================
   TITLE
========================= */
.abtin-popup-header{
    text-align:right;
    margin-bottom:20px;

}
.abtin-phone{
    direction:ltr;
    unicode-bidi:isolate;
    display:inline-block;
    font-weight:700;
    color:#ff7a00;
    text-decoration:none;
}

.abtin-phone:hover{
    text-decoration:underline;
}
.abtin-title{
    margin:0;
    font-size:24px;
    font-weight:700;
    color:#111;
    line-height:1.5;
}

.abtin-page-title{
    margin-top:4px;
    font-size:14px;
    color:#666;
    font-weight:500;
}

.abtin-desc{
    margin-top:12px;
    margin-bottom:12px;
    color:#555;
    font-size:12px;
    line-height:1.9;
    text-align:center;
}
.abtin-call-box{
    background:#fff8eb;
    border:1px solid #ffd8a8;
    border-radius:10px;
    padding:10px 8px;
    margin:0 auto 18px;
    width:fit-content;
    max-width:100%;
    text-align:center;
    font-size:13px;
    line-height:1.8;
}
.abtin-call-box a{
    color:#ff7a00;
    font-weight:700;
    text-decoration:none;
}
/* =========================
   FORM GRID (IMPORTANT FIX)
========================= */
#abtin-form{
    display:grid;
    grid-template-columns:repeat(2, minmax(0, 1fr));
    gap:12px;
}
#abtin-mobile{
    direction:rtl;
    text-align:right;
}
#abtin-form input::placeholder{
    color:#444;
    opacity:1;
}
/* =========================
   INPUT / SELECT FIX
   (THIS FIXES YOUR ISSUE 100%)
========================= */
#abtin-form input,
#abtin-form select{
    width:100%;
    min-width:0;
    box-sizing:border-box;
    height:46px;
    border:1px solid #e5e5e5;
    border-radius:10px;
    padding:0 10px;
    font-size:14px;
    outline:none;
    background:#fff;
}

/* focus */
#abtin-form input:focus,
#abtin-form select:focus{
    border-color:#ff7a00;
    box-shadow:0 0 0 3px rgba(255,122,0,.12);
}

/* =========================
   FULL WIDTH FIELDS
========================= */

#abtin-form button{
    grid-column:1 / -1;
}

/* =========================
   SUBMIT BUTTON
========================= */
#abtin-form button{
    height:50px;
    border:none;
    border-radius:12px;
    background:#ff7a00;
    color:#fff;
    font-size:15px;
    cursor:pointer;
    transition:.2s;
}

#abtin-form button:hover{
    opacity:.9;
    transform:translateY(-1px);
}

/* =========================
   CLOSE BUTTON
========================= */
.abtin-close{
    position:absolute;
    top:12px;
    left:12px;
    width:30px;
    height:30px;
    border:none;
    background:none;
    color:#000;
    font-size:30px;
    font-weight:700;
    line-height:1;
    cursor:pointer;
    padding:0;
    z-index:20;
}

.abtin-close:hover{
    opacity:.7;
}
/* =========================
   SUCCESS MESSAGE
========================= */
#abtin-success{
    display:none;
    text-align:center;
    padding:20px 10px;
    color:#16a34a;
    font-weight:600;
    line-height:1.8;
}

/* =========================
   MOBILE RESPONSIVE
========================= */
@media (max-width:768px){

    #abtin-popup{
        max-width:95%;
        padding:18px;
        border-radius:14px;
    }

    #abtin-form{
        grid-template-columns:repeat(2, minmax(0,1fr));
        gap:10px;
    }

    #abtin-form button{
        grid-column:1 / -1;
    }
}