/* ==========================================================
   FOXCHECK
   Layout Principal
   Desenvolvido por FoxScale
========================================================== */

:root{

    --primary:#FF6A00;
    --primary-hover:#E55F00;

    --background:#F5F7FA;

    --sidebar:#111111;

    --card:#FFFFFF;

    --text:#222222;

    --text-light:#6B7280;

    --border:#E5E7EB;

    --radius:18px;

    --shadow:
        0 15px 40px rgba(0,0,0,.08);

}

/* ===================================================== */

body{

    font-family:'Inter',sans-serif;

    background:var(--background);

    color:var(--text);

    overflow:hidden;

}

/* ===================================================== */

#app{

    display:flex;

    width:100vw;

    height:100vh;

}

/* =====================================================
SIDEBAR
===================================================== */

.sidebar{

    width:360px;

    background:#111;

    color:white;

    display:flex;

    flex-direction:column;

    justify-content:space-between;

    padding:50px;

}

/* ===================================================== */

.logo{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.logo h1{

    font-size:36px;

    font-weight:800;

}

.logo span{

    opacity:.7;

}

/* ===================================================== */

.progress-wrapper{

    margin-top:60px;

}

.progress-text{

    margin-bottom:12px;

    font-size:14px;

}

.progress-bar{

    height:12px;

    background:#2E2E2E;

    border-radius:30px;

    overflow:hidden;

}

.progress-fill{

    width:0;

    height:100%;

    background:var(--primary);

    transition:.4s;

}

/* ===================================================== */

.sidebar-footer{

    font-size:15px;

    opacity:.75;

    line-height:1.7;

}

/* =====================================================
CONTENT
===================================================== */

.content{

    flex:1;

    display:flex;

    justify-content:center;

    align-items:center;

    padding:70px;

}

/* ===================================================== */

.question-card{

    width:100%;

    max-width:720px;

    background:white;

    border-radius:var(--radius);

    padding:60px;

    box-shadow:var(--shadow);

}

/* ===================================================== */

.question-card h2{

    font-size:38px;

    margin-bottom:18px;

    font-weight:700;

}

/* ===================================================== */

.subtitle{

    color:var(--text-light);

    line-height:1.8;

    margin-bottom:35px;

}

/* =====================================================
INPUTS
===================================================== */

input{

    width:100%;

    height:58px;

    border-radius:12px;

    border:1px solid var(--border);

    padding:0 18px;

    font-size:17px;

    outline:none;

    transition:.25s;

}

/* ===================================================== */

textarea{

    width:100%;

    min-height:160px;

    resize:none;

    border-radius:12px;

    border:1px solid var(--border);

    padding:20px;

    font-size:17px;

    outline:none;

}

/* ===================================================== */

input:focus,

textarea:focus{

    border-color:var(--primary);

    box-shadow:0 0 0 4px rgba(255,106,0,.12);

}

/* =====================================================
BOTÃO
===================================================== */

.primary-btn{

    margin-top:35px;

    background:var(--primary);

    color:white;

    border:none;

    border-radius:12px;

    padding:16px 30px;

    cursor:pointer;

    font-size:17px;

    font-weight:600;

    transition:.25s;

}

/* ===================================================== */

.primary-btn:hover{

    background:var(--primary-hover);

    transform:translateY(-2px);

}

/* =====================================================
RADIOS
===================================================== */

.options{

    display:flex;

    flex-direction:column;

    gap:16px;

}

/* ===================================================== */

.option{

    display:flex;

    align-items:center;

    gap:16px;

    background:#FAFAFA;

    border:1px solid var(--border);

    border-radius:14px;

    padding:18px;

    cursor:pointer;

    transition:.25s;

}

/* ===================================================== */

.option:hover{

    border-color:var(--primary);

    background:#FFF5EF;

}

/* ===================================================== */

.option input{

    width:auto;

    height:auto;

}

/* =====================================================
LOADING
===================================================== */

.loading-overlay{

    position:fixed;

    inset:0;

    background:white;

    display:flex;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    gap:20px;

    z-index:9999;

}

/* ===================================================== */

.hidden{

    display:none;

}

/* ===================================================== */

.loader{

    width:70px;

    height:70px;

    border-radius:50%;

    border:6px solid #EFEFEF;

    border-top-color:var(--primary);

    animation:spin .8s linear infinite;

}

/* ===================================================== */

@keyframes spin{

    to{

        transform:rotate(360deg);

    }

}

/* =====================================================
RESPONSIVO
===================================================== */

@media(max-width:980px){

    #app{

        flex-direction:column;

    }

    .sidebar{

        width:100%;

        height:auto;

        padding:30px;

    }

    .content{

        padding:20px;

    }

    .question-card{

        padding:35px;

    }

    .question-card h2{

        font-size:28px;

    }

}