/*==================================================
SSJU ADMISSION CHATBOT
PART 3A
ROOT + WIDGET + HEADER + WELCOME
==================================================*/

/*==============================
ROOT VARIABLES
==============================*/

:root{

    --primary:#123E6F;
    --primary-dark:#0A2E56;
    --primary-light:#214F86;

    --secondary:#F4F7FB;

    --white:#ffffff;

    --text:#222;

    --text-light:#666;

    --border:#dce4ee;

    --success:#28a745;

    --danger:#dc3545;

    --radius:22px;

    --shadow:0 25px 60px rgba(0,0,0,.18);

    --transition:.35s ease;

}


/*==============================
RESET
==============================*/

*{

    margin:0;

    padding:0;

    box-sizing:border-box;

}

.ssju-chat-widget *{

    box-sizing:border-box;

    font-family:'Inter',sans-serif;

}


/*==============================
CHAT WIDGET
==============================*/

.ssju-chat-widget{
    position:fixed !important;
    right:20px !important;
    bottom:20px !important;
    left:auto !important;
    top:auto !important;

    z-index:999999999;
}

/*==============================
WHATSAPP BUTTON
==============================*/

.ssju-chat-toggle{

    width:68px;

    height:68px;

    border:none;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    font-size:34px;

    cursor:pointer;

    display:flex;

    justify-content:center;

    align-items:center;

    box-shadow:0 18px 45px rgba(0,0,0,.25);

    transition:var(--transition);

    animation:ssjuPulse 3s infinite;

}

.ssju-chat-toggle:hover{

    transform:scale(1.08);

}


/*==============================
CHAT WINDOW
==============================*/

.ssju-chat-window{
    width:430px;
    max-width:calc(100vw - 40px);

    height:760px;
    max-height:90vh;

    background:#fff;
    border-radius:26px;
    overflow:hidden;

    display:none;
    flex-direction:column;

    box-shadow:var(--shadow);
}

.ssju-chat-window.active{

    display:flex;

}

.ssju-close{

    width:46px;

    height:46px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.15);

    color:#ffffff;

    display:flex;

    align-items:center;

    justify-content:center;

    cursor:pointer;

    transition:.3s;

    flex-shrink:0;

}

.ssju-close i{

    font-size:22px;

    color:#ffffff;

    line-height:1;

}

.ssju-close:hover{

    background:#ffffff;

    color:#123E6F;

}

.ssju-close:hover i{

    color:#123E6F;

}

.ssju-category-list{

    display:flex;

    flex-direction:column;

    gap:12px;

}



/*==============================
HEADER
==============================*/

.ssju-chat-header{

    background:linear-gradient(180deg,#123E6F,#0A2E56);

    color:#fff;

    padding:22px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.ssju-header-left{

    display:flex;

    align-items:center;

    gap:14px;

}

.ssju-header-left img{

    width:56px;

    height:56px;

    background:#fff;

    border-radius:50%;

    object-fit:contain;

    padding:5px;

}

.ssju-header-left h4{

    margin:0;

    font-size:20px;

    font-weight:700;

}

.ssju-header-left span{

    display:block;

    margin-top:3px;

    font-size:14px;

    opacity:.85;

}


/*==============================
CLOSE BUTTON
==============================*/

.ssju-close{

    width:42px;

    height:42px;

    border:none;

    border-radius:50%;

    background:rgba(255,255,255,.12);

    color:#fff;

    cursor:pointer;

    transition:var(--transition);

}

.ssju-close:hover{

    background:#fff;

    color:var(--primary);

}


/*==============================
SCREEN
==============================*/

.ssju-screen{
    display:none;
    flex-direction:column;
    flex:1;
    min-height:0;
}

.ssju-screen.active{

    display:flex;

}


/*==============================
BODY
==============================*/

.ssju-body{
    flex:1;
    min-height:0;

    overflow-y:auto;

    padding:30px;
    padding-bottom:60px;
}

.ssju-body::-webkit-scrollbar{

    width:6px;

}

.ssju-body::-webkit-scrollbar-thumb{

    background:#c5d2e2;

    border-radius:20px;

}

.ssju-body h2{

    color:var(--primary);

    font-size:34px;

    margin-bottom:15px;

    font-weight:700;

}

.ssju-body p{

    color:var(--text-light);

    font-size:16px;

    line-height:1.8;

}


/*==============================
WELCOME ICON
==============================*/

.ssju-welcome-icon{

    width:85px;

    height:85px;

    border-radius:50%;

    background:#EDF4FC;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:40px;

    color:var(--primary);

    margin-bottom:20px;

}


/*==============================
INFO BOX
==============================*/

.ssju-info{

    margin-top:30px;

    padding:18px;

    border-left:5px solid var(--primary);

    background:#EEF4FB;

    border-radius:14px;

    color:#444;

    font-size:15px;

    line-height:1.7;

}


/*==============================
FOOTER
==============================*/

.ssju-footer{

    padding:22px;

    border-top:1px solid #edf0f5;

    background:#fff;

}


/*==============================
PRIMARY BUTTON
==============================*/

.ssju-primary-btn{

    width:100%;

    height:56px;

    border:none;

    border-radius:14px;

    background:var(--primary);

    color:#fff;

    font-size:17px;

    font-weight:600;

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    cursor:pointer;

    transition:var(--transition);

}

.ssju-primary-btn:hover{

    background:var(--primary-dark);

}


/*==============================
ANIMATIONS
==============================*/

@keyframes ssjuFade{

    from{

        opacity:0;

        transform:translateY(30px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

@keyframes ssjuScreen{

    from{

        opacity:0;

        transform:translateX(20px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

@keyframes ssjuPulse{

    0%{

        box-shadow:0 0 0 0 rgba(37,211,102,.45);

    }

    70%{

        box-shadow:0 0 0 18px rgba(37,211,102,0);

    }

    100%{

        box-shadow:0 0 0 0 rgba(37,211,102,0);

    }

}

/*==================================================
SSJU ADMISSION CHATBOT
PART 3B
CATEGORY + FORM HEADER + PROGRESS + FORM CONTAINER
==================================================*/


/*==============================
CATEGORY LIST
==============================*/

.ssju-category-list{
    display:flex;
    flex-direction:column;
    gap:18px;

    /* padding-bottom:40px; */
}


/*==============================
CATEGORY CARD
==============================*/

.ssju-category-card{

    display:flex;

    justify-content:space-between;

    align-items:center;

    background:#fff;

    border:1px solid var(--border);

    border-radius:18px;

    padding:18px 20px;

    transition:all .35s ease;

    box-shadow:0 6px 18px rgba(0,0,0,.04);

}

.ssju-category-card:hover{

    border-color:var(--primary);

    transform:translateY(-4px);

    box-shadow:0 15px 35px rgba(18,62,111,.12);

}


/*==============================
CATEGORY CONTENT
==============================*/

.ssju-category-content{

    display:flex;

    align-items:center;

    gap:15px;

}

.ssju-category-icon{

    width:58px;

    height:58px;

    border-radius:50%;

    background:#EDF4FC;

    color:var(--primary);

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:24px;

}

.ssju-category-text h5{

    margin:0;

    color:var(--primary);

    font-size:18px;

    font-weight:700;

}

.ssju-category-text p{

    margin-top:4px;

    color:#666;

    font-size:14px;

    line-height:1.5;

}


/*==============================
ENQUIRE BUTTON
==============================*/

.openForm{

    border:none;

    border-radius:50px;

    padding:12px 22px;

    background:var(--primary);

    color:#fff;

    font-size:15px;

    font-weight:600;

    cursor:pointer;

    transition:all .3s ease;

    white-space:nowrap;

}

.openForm:hover{

    background:var(--primary-dark);

    transform:translateY(-2px);

}


/*==============================
FORM CONTAINER
==============================*/

.ssju-form-container{

    display:flex;

    flex-direction:column;

    height:100%;

    background:#fff;

}


/*==============================
FORM HEADER
==============================*/

.ssju-form-header{

    display:flex;

    align-items:center;

    gap:15px;

    padding:20px;

    border-bottom:1px solid var(--border);

    background:#fff;

}

.ssju-form-header h3{

    margin:0;

    color:var(--primary);

    font-size:24px;

    font-weight:700;

}

.ssju-form-header small{

    display:block;

    margin-top:4px;

    color:#777;

}


/*==============================
BACK BUTTON
==============================*/

.ssju-back-btn{

    width:46px;

    height:46px;

    border:none;

    border-radius:50%;

    background:#F4F7FB;

    color:var(--primary);

    cursor:pointer;

    transition:.3s;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:18px;

}

.ssju-back-btn:hover{

    background:var(--primary);

    color:#fff;

}


/*==============================
PROGRESS BAR
==============================*/

.ssju-progress{

    display:flex;

    justify-content:center;

    align-items:center;

    gap:10px;

    padding:18px;

    background:#fff;

}

.ssju-progress span{

    width:12px;

    height:12px;

    border-radius:50%;

    background:#d6dce5;

    transition:.3s;

}

.ssju-progress span.active{

    width:34px;

    border-radius:30px;

    background:var(--primary);

}


/*==============================
FORM BODY
==============================*/

.ssju-form-body{

    flex:1;

    overflow-y:auto;

    padding:25px;

}

.ssju-form-body::-webkit-scrollbar{

    width:6px;

}

.ssju-form-body::-webkit-scrollbar-thumb{

    background:#c7d2df;

    border-radius:20px;

}


/*==============================
FORM WRAPPER
==============================*/

.ssju-form-wrapper{

    width:100%;

}

.ssju-form{

    display:none;

    animation:ssjuFormAnimation .35s ease;

}

.ssju-form.active{

    display:block;

}


/*==============================
SECTION TITLE
==============================*/

.ssju-form-section{

    margin-bottom:30px;

}

.ssju-form-section h4{

    color:var(--primary);

    font-size:18px;

    font-weight:700;

    margin-bottom:15px;

    padding-bottom:10px;

    border-bottom:2px solid #edf2f8;

}


/*==============================
FORM ANIMATION
==============================*/

@keyframes ssjuFormAnimation{

    from{

        opacity:0;

        transform:translateX(20px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}

/*==================================================
SSJU ADMISSION CHATBOT
PART 3C
FORM FIELDS + GRID + CHECKBOX + SUBMIT + VALIDATION
==================================================*/


/*==============================
FORM GROUP
==============================*/

.ssju-field{

    margin-bottom:20px;

}


/*==============================
LABEL
==============================*/

.ssju-field label{

    display:block;

    margin-bottom:8px;

    font-size:15px;

    font-weight:600;

    color:var(--text);

}

.ssju-field label span{

    color:var(--danger);

    margin-left:2px;

}


/*==============================
INPUT
==============================*/

.ssju-field input,

.ssju-field select,

.ssju-field textarea{

    width:100%;

    border:1px solid var(--border);

    border-radius:12px;

    background:#fff;

    color:var(--text);

    outline:none;

    transition:all .3s ease;

    font-size:15px;

}


/*==============================
INPUT
==============================*/

.ssju-field input,

.ssju-field select{

    height:54px;

    padding:0 16px;

}


/*==============================
TEXTAREA
==============================*/

.ssju-field textarea{

    min-height:140px;

    resize:vertical;

    padding:15px 16px;

    line-height:1.7;

}


/*==============================
PLACEHOLDER
==============================*/

.ssju-field input::placeholder,

.ssju-field textarea::placeholder{

    color:#9aa7b7;

}


/*==============================
FOCUS
==============================*/

.ssju-field input:focus,

.ssju-field select:focus,

.ssju-field textarea:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(18,62,111,.10);

}


/*==============================
READONLY
==============================*/

.ssju-field input[readonly]{

    background:#f8fafc;

    cursor:not-allowed;

}


/*==============================
SELECT
==============================*/

.ssju-field select{

    appearance:none;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' fill='%23666' viewBox='0 0 16 16'%3E%3Cpath d='M1.5 5l6.5 6 6.5-6'/%3E%3C/svg%3E");

    background-repeat:no-repeat;

    background-position:right 15px center;

    background-size:16px;

}


/*==============================
GRID
==============================*/

.ssju-grid{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    /* gap:18px; */

}


/*==============================
FULL WIDTH
==============================*/

.ssju-full{

    grid-column:1/-1;

}


/*==============================
CHECKBOX
==============================*/

.ssju-check{

    display:flex;

    align-items:flex-start;

    gap:12px;

    margin:25px 0;

}

.ssju-check input{

    width:18px;

    height:18px;

    margin-top:3px;

    accent-color:var(--primary);

}

.ssju-check label{

    font-size:14px;

    color:#555;

    line-height:1.7;

}


/*==============================
SUBMIT AREA
==============================*/

.ssju-submit-area{

    padding:22px;

    border-top:1px solid #edf2f8;

    background:#fff;

}


/*==============================
SUBMIT BUTTON
==============================*/

.ssju-submit-btn{

    width:100%;

    height:56px;

    border:none;

    border-radius:14px;

    background:linear-gradient(135deg,var(--primary),var(--primary-dark));

    color:#fff;

    font-size:17px;

    font-weight:600;

    cursor:pointer;

    transition:all .35s ease;

}

.ssju-submit-btn:hover{

    transform:translateY(-2px);

    box-shadow:0 12px 25px rgba(18,62,111,.20);

}

.ssju-submit-btn:disabled{

    opacity:.7;

    cursor:not-allowed;

}


/*==============================
SPINNER
==============================*/

.spinner-border{

    vertical-align:middle;

}


/*==============================
ERROR MESSAGE
==============================*/

.ssju-error{

    display:block;

    margin-top:6px;

    color:var(--danger);

    font-size:13px;

    font-weight:500;

}


/*==============================
INVALID FIELD
==============================*/

.is-invalid{

    border-color:var(--danger) !important;

    box-shadow:0 0 0 4px rgba(220,53,69,.08) !important;

}


/*==============================
VALID FIELD
==============================*/

.is-valid{

    border-color:#28a745 !important;

    box-shadow:0 0 0 4px rgba(40,167,69,.08);

}


/*==============================
FIELD NOTE
==============================*/

.ssju-note{

    margin-top:6px;

    font-size:13px;

    color:#777;

}


/*==============================
REQUIRED STAR
==============================*/

.required{

    color:var(--danger);

    font-weight:700;

}


/*==============================
DIVIDER
==============================*/

.ssju-divider{

    height:1px;

    background:#edf2f8;

    margin:30px 0;

}

/*==================================================
SSJU ADMISSION CHATBOT
PART 3D
SUCCESS SCREEN + ALERTS + LOADER + ANIMATIONS
==================================================*/


/*==============================
SUCCESS SCREEN
==============================*/

.ssju-success{

    display:flex;

    flex-direction:column;

    align-items:center;

    justify-content:center;

    text-align:center;

    padding:50px 30px;

    min-height:100%;

    animation:ssjuSuccess .5s ease;

}


/*==============================
SUCCESS ICON
==============================*/

.success-icon{

    width:90px;

    height:90px;

    border-radius:50%;

    background:#e9f9ef;

    color:#28a745;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:48px;

    margin-bottom:25px;

    animation:successPop .6s ease;

}


/*==============================
SUCCESS TITLE
==============================*/

.ssju-success h3{

    font-size:30px;

    font-weight:700;

    color:var(--primary);

    margin-bottom:12px;

}


/*==============================
SUCCESS TEXT
==============================*/

.ssju-success p{

    color:#666;

    font-size:16px;

    line-height:1.8;

    max-width:340px;

    margin-bottom:30px;

}


/*==============================
SUCCESS BUTTONS
==============================*/

.ssju-success .btn{

    width:100%;

    max-width:320px;

    height:52px;

    border-radius:12px;

    font-weight:600;

    margin-bottom:12px;

}


/*==============================
SUCCESS ANIMATION
==============================*/

@keyframes successPop{

    0%{

        transform:scale(0);

        opacity:0;

    }

    70%{

        transform:scale(1.15);

    }

    100%{

        transform:scale(1);

        opacity:1;

    }

}

@keyframes ssjuSuccess{

    from{

        opacity:0;

        transform:translateY(20px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*==============================
ALERT
==============================*/

.ssju-alert{

    padding:16px 18px;

    border-radius:12px;

    display:flex;

    align-items:center;

    gap:12px;

    margin-bottom:20px;

    font-size:15px;

}

.ssju-alert i{

    font-size:18px;

}

.ssju-alert-success{

    background:#e9f9ef;

    color:#1b7c3c;

    border:1px solid #bfe8cb;

}

.ssju-alert-danger{

    background:#fff3f3;

    color:#b42318;

    border:1px solid #f4c7c7;

}

.ssju-alert-warning{

    background:#fff8e6;

    color:#8a6d1f;

    border:1px solid #ffe39b;

}


/*==============================
LOADING OVERLAY
==============================*/

.ssju-loading{

    position:absolute;

    inset:0;

    background:rgba(255,255,255,.75);

    display:flex;

    align-items:center;

    justify-content:center;

    z-index:99;

    backdrop-filter:blur(2px);

}


/*==============================
CUSTOM SPINNER
==============================*/

.ssju-loader{

    width:48px;

    height:48px;

    border:4px solid #dfe8f2;

    border-top-color:var(--primary);

    border-radius:50%;

    animation:ssjuRotate .8s linear infinite;

}

@keyframes ssjuRotate{

    to{

        transform:rotate(360deg);

    }

}


/*==============================
BUTTON LOADING
==============================*/

.ssju-submit-btn.loading{

    pointer-events:none;

    opacity:.8;

}


/*==============================
FADE ANIMATION
==============================*/

.ssju-fade{

    animation:ssjuFadeIn .35s ease;

}

@keyframes ssjuFadeIn{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}


/*==============================
SLIDE UP
==============================*/

.ssju-slide-up{

    animation:ssjuSlideUp .4s ease;

}

@keyframes ssjuSlideUp{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}


/*==============================
SHAKE
==============================*/

.ssju-shake{

    animation:ssjuShake .4s;

}

@keyframes ssjuShake{

    0%,100%{

        transform:translateX(0);

    }

    20%{

        transform:translateX(-6px);

    }

    40%{

        transform:translateX(6px);

    }

    60%{

        transform:translateX(-4px);

    }

    80%{

        transform:translateX(4px);

    }

}


/*==============================
HOVER EFFECT
==============================*/

.ssju-hover{

    transition:.3s;

}

.ssju-hover:hover{

    transform:translateY(-3px);

}


/*==============================
UTILITY CLASSES
==============================*/

.ssju-hidden{

    display:none !important;

}

.ssju-flex{

    display:flex;

}

.ssju-center{

    display:flex;

    align-items:center;

    justify-content:center;

}

.ssju-text-center{

    text-align:center;

}

.ssju-mt-10{

    margin-top:10px;

}

.ssju-mt-20{

    margin-top:20px;

}

.ssju-mb-20{

    margin-bottom:20px;

}

.ssju-w-100{

    width:100%;

}

.ssju-chat-body{
    flex:1;
    overflow-y:auto;

    padding:20px;
    padding-top:110px;

    scrollbar-width:thin;
}

/*==================================================
SSJU ADMISSION CHATBOT
PART 3E
RESPONSIVE + MOBILE + FINAL OPTIMIZATION
==================================================*/


/*====================================
LARGE DESKTOP
====================================*/

@media (min-width:1600px){

    .ssju-chat-window{

        width:460px;

        height:780px;

    }

}


/*====================================
LAPTOP
====================================*/

@media (max-width:1200px){

    .ssju-chat-window{

        width:410px;

        height:730px;

    }

}


/*====================================
TABLET
====================================*/

@media (max-width:991px){

    .ssju-chat-window{

        width:390px;

        height:700px;

    }

    .ssju-grid{

        grid-template-columns:repeat(2,1fr);

    }

    .ssju-category-card{

        padding:16px;

    }

    .ssju-body{

        padding:24px;

    }

}


/*====================================
TABLET PORTRAIT
====================================*/

/* ============================
   Mobile Responsive Chatbot
============================ */
@media (max-width: 767px){

    .ssju-chat-widget{
        right: 0;
        left: 0;
        bottom: 0;
        z-index: 999999;
    }

    .ssju-chat-window{
        position: fixed;
        inset: 0;
        width: 100%;
        height: 100vh;
        max-width: 100%;
        max-height: 80vh;
        border-radius: 0;
        margin: 0;
    }

    .ssju-chat-header{
        padding: 15px;
    }

    .ssju-header-left img{
        width: 46px;
        height: 46px;
    }

    .ssju-header-left h4{
        font-size: 18px;
        line-height: 1.3;
    }

    .ssju-header-left span{
        font-size: 13px;
    }

    .ssju-body{
        padding: 20px;
    }

    .ssju-body h2{
        font-size: 32px;
    }

    .ssju-body p{
        font-size: 15px;
        line-height: 1.7;
    }

    .ssju-footer{
        padding: 16px;
    }

    .ssju-primary-btn{
        height: 54px;
        font-size: 16px;
    }

    .ssju-grid{
        grid-template-columns:1fr;
        gap:15px;
    }

    .ssju-category-card{
        flex-direction:column;
        align-items:flex-start;
        gap:15px;
    }

    .openForm{
        width:100%;
    }

    .ssju-form-body{
        padding:20px;
    }

    .ssju-form-header{
        padding:15px;
    }

    .ssju-form-header h3{
        font-size:20px;
    }

    .ssju-submit-area{
        padding:15px;
    }
}

@media (max-width:480px){

    .ssju-chat-window{
        width:100%;
        height:100dvh;
    }

    .ssju-header-left{
        gap:10px;
    }

    .ssju-header-left h4{
        font-size:16px;
    }

    .ssju-header-left span{
        font-size:12px;
    }

    .ssju-close{
        width:38px;
        height:38px;
    }

    .ssju-body h2{
        font-size:28px;
    }

    .ssju-welcome-icon{
        width:70px;
        height:70px;
        font-size:34px;
    }
}


/*====================================
MOBILE
====================================*/

@media (max-width:576px){

    .ssju-chat-toggle{

        width:60px;

        height:60px;

        font-size:30px;

    }

    .ssju-chat-header{

        padding:16px;

    }

    .ssju-header-left{

        gap:10px;

    }

    .ssju-header-left img{

        width:46px;

        height:46px;

    }

    .ssju-close{

        width:40px;

        height:40px;

    }

    .ssju-body{

        padding:18px;

    }

    .ssju-body h2{

        font-size:24px;

    }

    .ssju-body p{

        font-size:15px;

    }

    .ssju-form-header{

        padding:16px;

    }

    .ssju-form-header h3{

        font-size:20px;

    }

    .ssju-form-body{

        padding:18px;

    }

    .ssju-field label{

        font-size:14px;

    }

    .ssju-field input,

    .ssju-field select{

        height:50px;

        font-size:14px;

    }

    .ssju-field textarea{

        min-height:120px;

        font-size:14px;

    }

    .ssju-submit-btn{

        height:52px;

        font-size:16px;

    }

    .success-icon{

        width:75px;

        height:75px;

        font-size:40px;

    }

    .ssju-success h3{

        font-size:24px;

    }

}


/*====================================
SMALL MOBILE
====================================*/

@media (max-width:400px){

    .ssju-chat-toggle{

        width:56px;

        height:56px;

        font-size:28px;

    }

    .ssju-header-left h4{

        font-size:16px;

    }

    .ssju-body{

        padding:16px;

    }

    .ssju-body h2{

        font-size:22px;

    }

    .ssju-form-body{

        padding:15px;

    }

    .ssju-category-card{

        padding:14px;

    }

    .ssju-progress{

        gap:6px;

    }

    .ssju-progress span{

        width:10px;

        height:10px;

    }

    .ssju-progress span.active{

        width:28px;

    }

}


/*====================================
LANDSCAPE MOBILE
====================================*/

@media (max-height:600px) and (orientation:landscape){

    .ssju-chat-window{

        height:100%;

    }

    .ssju-body{

        padding:16px;

    }

    .ssju-form-body{

        padding:16px;

    }

}


/*====================================
SCROLLBAR
====================================*/

.ssju-body::-webkit-scrollbar,

.ssju-form-body::-webkit-scrollbar{

    width:6px;

}

.ssju-body::-webkit-scrollbar-thumb,

.ssju-form-body::-webkit-scrollbar-thumb{

    background:#c6d4e4;

    border-radius:20px;

}

.ssju-body::-webkit-scrollbar-track,

.ssju-form-body::-webkit-scrollbar-track{

    background:#f5f7fb;

}


/*====================================
SELECTION
====================================*/

::selection{

    background:var(--primary);

    color:#fff;

}


/*====================================
SMOOTH SCROLL
====================================*/

html{

    scroll-behavior:smooth;

}


/*====================================
PERFORMANCE
====================================*/

.ssju-chat-window,

.ssju-category-card,

.ssju-submit-btn,

.openForm{

    will-change:transform;

}


/*====================================
MOBILE OPEN ANIMATION
====================================*/

@keyframes ssjuMobile{

    from{

        transform:translateY(100%);

    }

    to{

        transform:translateY(0);

    }

}


/*====================================
FINAL FIXES
====================================*/

img{

    max-width:100%;

    height:auto;

}

button{

    outline:none;

}

button:focus{

    outline:none;

}

input,

select,

textarea{

    font-family:inherit;

}

textarea{

    resize:vertical;

}

.ssju-hidden{

    display:none !important;

}

.ssju-visible{

    display:block !important;

}


body.ssju-chat-open{
    overflow:hidden !important;
    height:100vh;
    touch-action:none;
}



/* One field per row */
.ssju-grid{
    display:grid;
    grid-template-columns:1fr;
    /* gap:18px; */
}

/* Full width fields */
.ssju-field{
    width:100%;
}

.ssju-field input,
.ssju-field select,
.ssju-field textarea{
    width:100%;
    height:52px;
    padding:12px 16px;
    font-size:16px;
    border-radius:12px;
    box-sizing:border-box;
}

.ssju-field textarea{
    height:120px;
    resize:vertical;
}

/* Error message */
.ssju-error{
    display:block;
    margin-top:6px;
    font-size:13px;
    color:#dc3545;
}

/* Form wrapper */
.ssju-form-wrapper{
    width:100%;
    padding:16px;
    box-sizing:border-box;
}

/* Section */
.ssju-form-section{
    padding:0px 16px;
}

/* One field per row */
.ssju-grid{
    display:grid;
    grid-template-columns:1fr;
    /* gap:18px; */
}

/* Fields */
.ssju-field{
    width:100%;
    margin-bottom:18px;
}

.ssju-field label{
    display:block;
    margin-bottom:8px;
    font-size:16px;
    font-weight:600;
}

/* Inputs */
.ssju-field input,
.ssju-field select,
.ssju-field textarea{
    width:100%;
    min-height:52px;
    padding:14px 16px;
    border:1px solid #d9dee8;
    border-radius:14px;
    font-size:16px;
    box-sizing:border-box;
}

.ssju-field textarea{
    min-height:120px;
}

/* Error message */
.ssju-error{
    display:block;
    margin-top:6px;
    font-size:13px;
    color:#dc3545;
}

@media (max-width:768px){

    .ssju-chat-window{
        width:100%;
        height:100dvh;
        top:0;
        right:0;
        left:0;
        bottom:0;
        border-radius:0;
        max-height:100dvh;
    }

    .ssju-form-header{
        padding:18px 16px;
    }

    .ssju-form-heading h3{
        font-size:24px;
    }

    .ssju-form-heading small{
        font-size:14px;
    }

    .ssju-form-section h4{
        font-size:20px;
    }
}

.ssju-submit-btn{
    width:100%;
    height:52px;
    border-radius:12px;
    font-size:16px;
    font-weight:600;
}

.ssju-form-wrapper{
    flex:1;
    overflow-y:auto;
    overflow-x:hidden;
    padding:20px;
    -webkit-overflow-scrolling:touch;
    min-height:0;
}