/*============================================================

                    DASHBOARD LAYOUT
                    technical.html

=============================================================*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

/* Dashboard Page */

.technical-page{

    background:#EEF3FB;

    min-height:100vh;

}

.brand{

    display:flex;

    align-items:center;

    gap:15px;

    min-width:260px;

}

.logo{

    width:52px;

    height:52px;

    object-fit:contain;

}

.brand h1{

    margin:0;

    font-size:34px;

    font-weight:700;

    color:#1F2937;

    white-space:nowrap;

}



/*============================================================

                    NAVBAR
=============================================================*/

.dashboard-navbar{

    height:70px;

    display:grid;

    grid-template-columns:280px 1fr auto;

    align-items:center;

    padding:0 30px;

    background:white;

    box-shadow:0 3px 12px rgba(0,0,0,.08);

}



.page-title{

    text-align:center;

}

.page-title span{

    font-size:30px;

    font-weight:700;

    color:#4361EE;

}

.dashboard-navbar nav ul{

    display:flex;

    list-style:none;

    gap:30px;

    margin:0;

    padding:0;

}

.dashboard-navbar nav a{

    text-decoration:none;

    color:#444;

    font-weight:500;

    transition:.3s;

}

.dashboard-navbar nav a:hover{

    color:#4361EE;

}

.dashboard-navbar nav .active{

    color:#4361EE;

    border-bottom:3px solid #4361EE;

    padding-bottom:6px;

}

/*============================================================

                    MAIN GRID
=============================================================*/

.technical-dashboard{

    display:grid;

    grid-template-columns:260px 1fr 330px;

    gap:20px;

    padding:20px;

    height:calc(100vh - 90px);

    overflow:hidden;
}



/*============================================================

                HISTORY PANEL
=============================================================*/

#historyPanel{

    background:white;

    border-radius:18px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    overflow:hidden;

    display:flex;

    flex-direction:column;

}


#historyContainer{

    flex:1;

    overflow-y:auto;

    padding:20px;

}
/*============================================================

               SESSION HISTORY CARDS

=============================================================*/

/*============================================================

                SESSION HISTORY SIDEBAR

=============================================================*/

#historyPanel{

    background:#ffffff;

    border-radius:18px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    display:flex;

    flex-direction:column;

    height:100%;

    overflow:hidden;

}


.panel-heading{

    padding:20px;

    border-bottom:1px solid #E5E7EB;

}

.panel-heading h2{

    color:#4361EE;

    font-size:24px;

    font-weight:600;

}


#historyContainer{

    flex:1;

    overflow-y:auto;

    padding:18px;

}



/*============================================================

                HISTORY CARD

=============================================================*/

.history-card{

    background:#F8FAFF;

    border:1px solid #E5E7EB;

    border-radius:14px;

    padding:15px;

    margin-bottom:18px;

    transition:.3s;

}


.history-card:hover{

    transform:translateY(-2px);

    box-shadow:0 8px 15px rgba(0,0,0,.08);

}


.history-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:10px;

}


.history-top h3{

    font-size:16px;

    color:#4361EE;

}


.history-date{

    color:#6B7280;

    font-size:13px;

    margin-bottom:6px;

}


.history-score{

    color:#1F2937;

    font-size:14px;

    margin-bottom:12px;

}


.history-btn{

    width:100%;

    padding:10px;

    border:none;

    border-radius:10px;

    background:#4361EE;

    color:white;

    cursor:pointer;

    transition:.3s;

}


.history-btn:hover{

    background:#3451DA;

}


.bookmark-btn{

    border:none;

    background:none;

    font-size:20px;

    cursor:pointer;

}



/* Scrollbar */

#historyContainer::-webkit-scrollbar{

    width:7px;

}

#historyContainer::-webkit-scrollbar-thumb{

    background:#4361EE;

    border-radius:20px;

}

/*============================================================

                    CENTER PANEL
=============================================================*/

#chatWorkspace{

    background:white;

    border-radius:18px;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    display:flex;

    flex-direction:column;

    overflow:hidden;

    height:100%;

}
/*============================================================

                PANEL HEADINGS

=============================================================*/

.panel-heading{

    padding:20px;

    border-bottom:1px solid #ECECEC;

}

.panel-heading h2{

    color:#4361EE;

    font-size:22px;

}



/*============================================================

                CHAT HEADER

=============================================================*/

.workspace-header{

    padding:25px;

    border-bottom:1px solid #ECECEC;

}

.workspace-header h2{

    font-size:28px;

    color:#4361EE;

    margin-bottom:8px;

}

.workspace-header p{

    color:#6B7280;

}



/*============================================================

                UPLOAD CARD

=============================================================*/

.upload-actions{

    display:flex;

    flex-direction:column;

    gap:12px;
}

#uploadCard{

    margin-bottom:25px;

    padding:20px;

    background:#ffffff;

    border-radius:16px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);
}

#uploadCard:hover{

    background:#EEF4FF;

}

#uploadCard h3{

    color:#4361EE;

    font-size:20px;

    margin-bottom:5px;

}

#uploadCard p{

    color:#6B7280;

    font-size:14px;

    margin-bottom:10px;

}

#resumeUpload{

    width:100%;

    padding:12px;

    border-radius:10px;

    border:1px solid #D1D5DB;

    background:white;
    flex:1;

}

#uploadButton{

    width:100%;

    padding:12px;

    border-radius:10px;

    font-size:15px;
}

#uploadButton:hover{

    background:#3451DA;

}



/*============================================================

                CHAT AREA

=============================================================*/

#chatContainer{

    flex:1;

    overflow-y:auto;

    padding:20px;

    padding-right:8px;

    display:flex;

    flex-direction:column;

    gap:18px;

}



/*============================================================

                MESSAGE

=============================================================*/

.message{

    display:flex;

    gap:15px;

    align-items:flex-start;

}



/*============================================================

                AVATAR

=============================================================*/

.avatar{

    width:45px;

    height:45px;

    border-radius:50%;

    background:#4361EE;

    color:white;

    display:flex;

    justify-content:center;

    align-items:center;

    font-weight:600;

    flex-shrink:0;

}



/*============================================================

                MESSAGE BOX

=============================================================*/

.message-content{

    background:#F4F7FC;

    padding:18px;

    border-radius:15px;

    max-width:75%;

}

.message-content h4{

    color:#4361EE;

    margin-bottom:8px;

}

.message-content p{

    line-height:1.7;

    white-space: pre-wrap;

}



/*============================================================

                USER MESSAGE

=============================================================*/

.user-message{

    justify-content:flex-end;

}

.user-message .message-content{

    background:#4361EE;

    color:white;

}

.user-message .message-content h4{

    color:white;

}



/*============================================================

                INPUT SECTION

=============================================================*/

#inputSection{

    border-top:1px solid #ECECEC;

    padding:18px;

    display:flex;

    gap:15px;

    align-items:flex-end;

}



/*============================================================

                TEXTAREA

=============================================================*/

#messageInput{

    flex:1;

    resize:none;

    border:1px solid #D1D5DB;

    border-radius:15px;

    padding:15px;

    font-family:'Poppins',sans-serif;

    font-size:15px;

    outline:none;

    min-height:60px;

}

#messageInput:focus{

    border-color:#4361EE;

}



/*============================================================

                SEND BUTTON

=============================================================*/

#sendButton{

    background:#4361EE;

    color:white;

    border:none;

    padding:15px 28px;

    border-radius:12px;

    cursor:pointer;

    font-weight:600;

    transition:.3s;

    display:none;

}

#sendButton:hover{

    background:#3451DA;

}



/*============================================================

                TYPING INDICATOR

=============================================================*/

#typingIndicator{

    display:flex;

    gap:6px;

    padding:0 25px 15px;

}

#typingIndicator.hidden{

    display:none;

}

#typingIndicator span{

    width:8px;

    height:8px;

    background:#4361EE;

    border-radius:50%;

    animation:typing 1s infinite;

}

#typingIndicator span:nth-child(2){

    animation-delay:.2s;

}

#typingIndicator span:nth-child(3){

    animation-delay:.4s;

}

@keyframes typing{

    0%,100%{

        transform:translateY(0);

    }

    50%{

        transform:translateY(-6px);

    }

}



/*============================================================

                EVALUATION PANEL

=============================================================*/

#evaluationPanel{

    background:#fff;

    border-radius:18px;

    padding:20px;

    overflow-y:auto;

    max-height:calc(100vh - 130px);

    box-shadow:0 10px 30px rgba(0,0,0,.08);
}

.evaluation-card{

    padding:20px;

    border-bottom:1px solid #ECECEC;

}

.evaluation-card h3{

    color:#4361EE;

    margin-bottom:12px;

}

#overallScore{

    font-size:42px;

    font-weight:700;

    color:#4361EE;

}

.evaluation-card ul{

    padding-left:18px;

    line-height:1.8;

}

.evaluation-card p{

    line-height:1.8;

    color:#4B5563;

}



/*============================================================

                SCROLLBAR

=============================================================*/

#chatContainer::-webkit-scrollbar,
#historyContainer::-webkit-scrollbar{

    width:8px;

}

#chatContainer::-webkit-scrollbar-thumb,
#historyContainer::-webkit-scrollbar-thumb{

    background:#4361EE;

    border-radius:20px;

}