/* ==========================================
   MODAL SURVEI
========================================== */

body.modal-open{

    overflow:hidden !important;

    padding-right:0 !important;

}

.modal{

    z-index:20000 !important;

    overflow:hidden;

}

.modal-backdrop{

    z-index:19990 !important;

    background:rgba(0,0,0,.65);

}

.modal-dialog{
    max-width:800px;
    width:70%;
    margin:30px auto;
}

.modal-content{
    background:#253047;
    border:none;
    border-radius:18px;
    display:flex;
    flex-direction:column;
    max-height:85vh;
    overflow:hidden;
    pointer-events:auto;
    position:relative;
}

.modal-header{
    border-bottom:1px solid rgba(255,255,255,.12);
    padding:20px 28px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:relative;
}

.modal-title{

    color:#fff;

    font-size:28px;

    font-weight:700;

}

.btn-close{
    background-color:#fff;
    opacity:1;
    border-radius:10px;
    padding:10px;
    margin:0;
    flex-shrink:0;
    position:relative;
    top:0;
    right:0;
}

/* ==========================================
   BODY
========================================== */

.modal-body{
    flex:1;
    padding:25px 28px;
    overflow-y:auto;
    overflow-x:hidden;
    max-height:calc(85vh - 180px);
}

/* ==========================================
   FOOTER
========================================== */

.modal-footer{
    border-top:1px solid rgba(255,255,255,.12);
    padding:20px 30px 25px;
    display:flex;
    justify-content:flex-end;
    align-items:center;
    gap:25px;
    flex-wrap:wrap;
}

/* ==========================================
   SCROLLBAR
========================================== */

.modal-body::-webkit-scrollbar{

    width:8px;

}

.modal-body::-webkit-scrollbar-track{

    background:transparent;

}

.modal-body::-webkit-scrollbar-thumb{

    background:#696CFF;

    border-radius:20px;

}

.modal-body{

    scrollbar-width:thin;

    scrollbar-color:#696CFF transparent;

}

/* ==========================================
   INPUT
========================================== */

.modal .form-control{

    background:#111827;

    color:#fff;

    border:1px solid #3b4865;

    border-radius:12px;

}

.modal .form-control:focus{

    background:#111827;

    color:#fff;

    border-color:#696CFF;

    box-shadow:0 0 0 .25rem rgba(105,108,255,.25);

}

.modal textarea{

    resize:vertical;

    min-height:120px;

}

/* ==========================================
   LABEL
========================================== */

.modal label{

    color:#fff;

    font-weight:600;

}

/* ==========================================
   EMOJI
========================================== */

.emoji-item{

    cursor:pointer;

    padding:15px;

    border-radius:16px;

    transition:.25s;

    user-select:none;

    border:2px solid transparent;

}

.emoji-item img{

    width:72px;

    transition:.25s;

}

.emoji-item small{

    display:block;

    margin-top:10px;

    color:#fff;

    font-size:15px;

}

.emoji-item:hover{

    background:rgba(255,255,255,.08);

}

.emoji-item:hover img{

    transform:scale(1.08);

}

.emoji-item.active{

    background:#dbeafe;

    border:2px solid #386af6;

}

.emoji-item.active img{

    transform:scale(1.1);

}

.emoji-item.active small{

    color:#111827;

    font-weight:700;

}

/* ==========================================
   CHECKBOX
========================================== */

.form-check{

    margin-bottom:12px;

}

.form-check-label{

    color:#fff;

}

.form-check-input{

    width:22px;

    height:22px;

    cursor:pointer;

}

.form-check-input:checked{

    background:#696CFF;

    border-color:#696CFF;

}

/* ==========================================
   BUTTON
========================================== */

#btnSubmitSurvey{

    min-width:220px;

    height:48px;

    font-weight:600;

    border-radius:12px;

    transition:.3s;

}

#btnSubmitSurvey:disabled{

    opacity:.55;

    cursor:not-allowed;

}

/* ==========================================
   TURNSTILE
========================================== */

.cf-turnstile{

    min-height:70px;

}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:768px){

    .modal-dialog{

        width:98%;

        height:calc(100vh - 20px);

        margin:10px auto;

    }

    .modal-title{

        font-size:22px;

    }

    .emoji-item img{

        width:58px;

    }

    .modal-footer{

        flex-direction:column;

        align-items:center;

    }

    #btnSubmitSurvey{

        width:100%;

    }

}

/* ==========================
   FLOATING SURVEY
========================== */

#surveyButton{

    position:fixed;

    left:25px;

    bottom:25px;

    padding:14px 24px;

    display:inline-flex;

    align-items:center;

    gap:12px;

    width:auto;

    height:auto;

    border-radius:999px;

    background:linear-gradient(90deg,#f6d365,#386af6);

    color:#083344;

    font-size:18px;

    font-weight:700;

    cursor:pointer;

    box-shadow:0 10px 25px rgba(0,0,0,.25);

    transition:.25s;

    z-index:9999;

}

#surveyButton:hover{

    transform:translateY(-2px);

}

#surveyButton i{

    font-size:28px;

}