*{
margin:0;
padding:0;
box-sizing:border-box;
font-family:Poppins,sans-serif;
}

body{
background:#f5f7fb;
}

.student-login-wrapper{

display:flex;

min-height:100vh;

}

.student-login-left{

width:50%;

background:linear-gradient(135deg,#1E3A8A,#2563EB);

color:#fff;

padding:70px;

display:flex;

flex-direction:column;

justify-content:center;

}

.brand{

margin-bottom:40px;

}

.brand i{

font-size:65px;

margin-bottom:15px;

}

.brand h1{

font-size:42px;

}

.student-login-left h2{

font-size:34px;

margin-bottom:20px;

}

.student-login-left p{

font-size:18px;

line-height:32px;

margin-bottom:35px;

}

.features div{

margin-bottom:18px;

font-size:18px;

}

.features i{

margin-right:10px;

}

.student-login-right{

width:50%;

display:flex;

justify-content:center;

align-items:center;

padding:30px;

background:#fff;

}

.login-card{

width:100%;

max-width:450px;

padding:40px;

border-radius:15px;

box-shadow:0 10px 30px rgba(0,0,0,.10);

}

.login-card h2{

text-align:center;

color:#1E3A8A;

font-size:32px;

margin-bottom:10px;

}

.login-card p{

text-align:center;

margin-bottom:30px;

color:#777;

}

.form-group{

margin-bottom:20px;

}

.form-group label{

display:block;

margin-bottom:8px;

font-weight:600;

}

.form-control{

width:100%;

padding:14px;

border:1px solid #ddd;

border-radius:8px;

font-size:15px;

outline:none;

}

.form-control:focus{

border-color:#2563EB;

}

.login-btn{

width:100%;

padding:14px;

background:#2563EB;

border:none;

border-radius:8px;

color:#fff;

font-size:16px;

cursor:pointer;

font-weight:600;

}

.login-btn:hover{

background:#1D4ED8;

}

.login-footer{

margin-top:25px;

text-align:center;

}

.login-footer a{

text-decoration:none;

color:#2563EB;

font-weight:600;

}

@media(max-width:768px){

.student-login-wrapper{

    flex-direction:column;

}

.student-login-left,
.student-login-right{

    width:100%;

}

.student-login-left{

    padding:40px 20px;
    text-align:center;

}

.brand{

    margin-bottom:25px;

}

.brand i{

    font-size:50px;
    margin-bottom:10px;

}

.brand h1{

    font-size:28px;

}

.student-login-left h2{

    font-size:24px;
    line-height:1.4;
    margin-bottom:15px;

}

.student-login-left p{

    font-size:13px;
    line-height:1.6;
    margin-bottom:20px;

}

.features div{

    font-size:13px;
    margin-bottom:12px;

}

.student-login-right{

    padding:20px 15px;

}

.login-card{

    max-width:100%;
    padding:25px 20px;
    border-radius:15px;

}

.login-card h2{

    font-size:24px;
    margin-bottom:8px;

}

.login-card p{

    font-size:13px;
    margin-bottom:20px;

}

.form-group{

    margin-bottom:15px;

}

.form-group label{

    font-size:13px;

}

.form-control{

    padding:12px;
    font-size:13px;

}

.login-btn{

    width:100%;
    padding:12px;
    font-size:13px;

}

.login-footer{

    margin-top:20px;
    font-size:13px;

}

}

@media(max-width:320px){

.student-login-left{

    padding:30px 15px;

}

.brand i{

    font-size:42px;

}

.brand h1{

    font-size:24px;

}

.student-login-left h2{

    font-size:20px;

}

.student-login-left p{

    font-size:12px;

}

.features div{

    font-size:12px;

}

.login-card{

    padding:20px 15px;

}

.login-card h2{

    font-size:20px;

}

.login-card p{

    font-size:12px;

}

.form-group label{

    font-size:12px;

}

.form-control{

    padding:10px;
    font-size:12px;

}

.login-btn{

    font-size:12px;
    padding:10px;

}

.login-footer{

    font-size:12px;

}

}
/*==================================================
STUDENT DASHBOARD
==================================================*/

.wrapper{
    display:flex;
}

.sidebar{

    width:260px;

    min-height:100vh;

    background:linear-gradient(180deg,#2563EB,#1E3A8A);

    color:#fff;

    position:fixed;

    left:0;

    top:0;

}

.logo{

    padding:30px 20px;

    text-align:center;

}

.logo i{

    font-size:55px;

    margin-bottom:15px;

}

.logo h2{

    font-size:34px;

}

.sidebar ul{

    list-style:none;

    margin-top:20px;

}

.sidebar ul li{

    margin:10px 15px;

}

.sidebar ul li a{

    display:flex;

    align-items:center;

    gap:12px;

    padding:14px;

    color:#fff;

    text-decoration:none;

    border-radius:10px;

    transition:.3s;

}

.sidebar ul li a:hover{

    background:rgba(255,255,255,.15);

}

.main-content{

    margin-left:260px;

    width:calc(100% - 260px);

    min-height:100vh;

}



@media(max-width:320px){

.logo{

    padding:15px;

}

.logo i{

    font-size:36px;

}

.logo h2{

    font-size:20px;

}

.sidebar ul li a{

    padding:10px;
    font-size:12px;

}

}
/*==========================
TOPBAR
==========================*/

.topbar{

    height:70px;

    background:#fff;

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 25px;

    box-shadow:0 2px 12px rgba(0,0,0,.08);

}

.topbar-left{

    display:flex;

    align-items:center;

    gap:15px;

}

.topbar-left h2{

    color:#1E3A8A;

    font-size:28px;

}

.topbar-right{

    display:flex;

    align-items:center;

    gap:20px;

}

.admin-name{

    font-weight:600;

    color:#444;

}

.logout-btn{

    background:#EF4444;

    color:#fff;

    padding:10px 18px;

    border-radius:8px;

    text-decoration:none;

    font-weight:600;

}

.logout-btn:hover{

    background:#DC2626;

}

.content{

    padding:30px;

}

.menu-toggle{

    border:none;

    background:none;

    font-size:24px;

    cursor:pointer;

}
/*==========================
PAGE HEADER
==========================*/

.page-header{

    margin-bottom:30px;

}

.page-header h2{

    color:#1E3A8A;

    font-size:34px;

}

/*==========================
DASHBOARD CARDS
==========================*/

.dashboard-cards{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    margin-bottom:35px;

}

.card{

    background:#fff;

    border-radius:15px;

    padding:30px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    text-align:center;

    transition:.3s;

}

.card:hover{

    transform:translateY(-5px);

}

.card i{

    font-size:38px;

    color:#2563EB;

    margin-bottom:15px;

}

.card h3{

    color:#555;

    font-size:18px;

    margin-bottom:15px;

}

.card h1{

    color:#1E3A8A;

    font-size:38px;

}

/*==========================
WELCOME BOX
==========================*/

.table-card{

    background:#fff;

    padding:30px;

    border-radius:15px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.table-card h3{

    color:#1E3A8A;

    margin-bottom:15px;

}
@media(max-width:992px){

.sidebar{

    left:-260px;

}

.main-content{

    margin-left:0;

    width:100%;

}

.dashboard-cards{

    grid-template-columns:repeat(2,1fr);

}

}

@media(max-width:576px){

.dashboard-cards{

    grid-template-columns:repeat(2,minmax(0,1fr));
     gap:12px;

}

.card{

    padding:20px 15px;

}

.card i{

    font-size:26px;
    margin-bottom:10px;

}

.card h3{

    font-size:14px;
    line-height:1.4;
    margin-bottom:10px;

}

.card h1{

    font-size:28px;

}

.topbar{

    padding:15px;

}

.topbar-left h2{

    font-size:24px;

}

.admin-name{

    display:none;

}

}
.sidebar{
    transition:.3s;
}

@media (max-width:992px){

    .sidebar{
        left:-260px;
    }

    .sidebar.show{
        left:0;
    }

    .main-content{
        margin-left:0;
        width:100%;
    }

}

.btn{

    display:inline-block;

    padding:10px 18px;

    border-radius:8px;

    text-decoration:none;

    font-weight:600;

}

.btn-primary{

    background:#2563EB;

    color:#fff;

}

.btn-primary:hover{

    background:#1D4ED8;

}
.exam-container{

display:flex;

gap:20px;

padding:20px;

}

.exam-left{

flex:3;

}

.exam-right{

width:260px;

background:#fff;

border-radius:12px;

padding:20px;

box-shadow:0 5px 20px rgba(0,0,0,.08);

height:fit-content;

position:sticky;

top:20px;

}

.question-box{

background:#fff;

padding:30px;

border-radius:12px;

box-shadow:0 5px 20px rgba(0,0,0,.08);

}

.question-header{

display:flex;

justify-content:space-between;

align-items:center;

margin-bottom:20px;

}

.timer{

font-size:24px;

font-weight:bold;

color:#E53935;

}

.option{
    display:flex;
    align-items:flex-start;
    gap:10px;
    width:100%;
    box-sizing:border-box;

    border:1px solid #ddd;
    padding:14px 15px;
    margin-bottom:12px;

    border-radius:8px;
    cursor:pointer;

    background:#fff;

    white-space:normal;
    overflow-wrap:anywhere;
    word-break:break-word;

    line-height:1.6;
    font-size:15px;
}

.option:hover{
    background:#F5F7FB;
}

.option input[type="radio"]{
    margin-top:5px;
    flex:0 0 auto;
}

.option b{
    flex:0 0 auto;
    margin-right:3px;
}

.option{
    min-width:0;
}

.option:hover{

background:#F5F7FB;

}

.exam-buttons{

display:flex;

gap:15px;

margin-top:30px;

}

.question-palette{

display:grid;

grid-template-columns:repeat(5,1fr);

gap:10px;

margin-top:20px;

}

.palette-btn{

    position:relative;

    width:40px;
    height:40px;

    border:none;

    background:#E5E7EB;

    color:#111827;

    border-radius:6px;

    cursor:pointer;

    font-weight:bold;

}

.palette-btn:hover{

    opacity:.9;

}

.palette-btn.active{

    background:#2563EB;

    color:#fff;

}

.palette-btn.answered{

    background:#22C55E !important;

    color:#fff !important;

}

/* Current + Answered */

.palette-btn.active.answered{

    background:#16A34A !important;

    color:#fff !important;

    box-shadow:
        0 0 0 3px rgba(37,99,235,.25);

}

.candidate-card{

background:#fff;

padding:35px;

margin-top:35px;

border-radius:15px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.candidate-header{

display:flex;

align-items:center;

gap:15px;

margin-bottom:30px;

}

.candidate-header i{

font-size:28px;

color:#2563EB;

}

.candidate-header h2{

margin:0;

font-size:28px;

}

/*=========================================
EXAM INSTRUCTIONS PAGE
=========================================*/

.exam-instructions-page{

    max-width:1200px;

    margin:40px auto;

    padding:0 20px;

}

.instruction-header{

    background:linear-gradient(135deg,#2563EB,#1D4ED8);

    color:#fff;

    text-align:center;

    padding:50px;

    border-radius:15px;

    margin-bottom:35px;

    box-shadow:0 15px 35px rgba(37,99,235,.25);

}

.instruction-header h1{

    font-size:40px;

    margin-bottom:15px;

    font-weight:700;

}

.instruction-header p{

    font-size:18px;

    opacity:.95;

    line-height:30px;

}

.summary-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

    margin-bottom:40px;

}

.summary-card{

    background:#fff;

    border-radius:15px;

    padding:30px;

    text-align:center;

    box-shadow:0 10px 25px rgba(0,0,0,.08);

    transition:.3s;

}

.summary-card:hover{

    transform:translateY(-6px);

}

.summary-card i{

    font-size:38px;

    color:#2563EB;

    margin-bottom:18px;

}

.summary-card h4{

    font-size:17px;

    margin-bottom:10px;

    color:#64748B;

    font-weight:600;

}

.summary-card span{

    display:block;

    font-size:24px;

    font-weight:700;

    color:#0F172A;

}

.candidate-grid{

display:grid;

grid-template-columns:repeat(2,1fr);

gap:20px;

}

.candidate-item{

background:#F8FAFC;

padding:18px;

border-radius:10px;

}

.candidate-item label{

display:block;

font-size:14px;

font-weight:600;

color:#64748B;

margin-bottom:8px;

}

.candidate-item span{

font-size:17px;

font-weight:700;

color:#0F172A;

}

.instruction-card{

margin-top:35px;

background:#fff;

border-radius:15px;

padding:35px;

box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.instruction-title{

display:flex;

align-items:center;

gap:15px;

margin-bottom:25px;

}

.instruction-title i{

font-size:28px;

color:#2563EB;

}

.instruction-title h2{

margin:0;

font-size:28px;

}

.instruction-body{

font-size:17px;

line-height:32px;

color:#475569;

}

.warning-card{

margin-top:35px;

background:#FEF2F2;

border-left:6px solid #DC2626;

padding:35px;

border-radius:12px;

}

.warning-title{

display:flex;

align-items:center;

gap:15px;

margin-bottom:20px;

}

.warning-title i{

font-size:28px;

color:#DC2626;

}

.warning-title h2{

margin:0;

color:#B91C1C;

}

.warning-card ul{

margin-left:20px;

line-height:34px;

font-size:16px;

color:#7F1D1D;

}

.agree-box{

margin:35px 0;

font-size:17px;

font-weight:600;

}

.agree-box input{

margin-right:12px;

transform:scale(1.3);

}

.start-btn{

width:100%;

height:60px;

background:#2563EB;

border:none;

border-radius:10px;

color:#fff;

font-size:20px;

font-weight:700;

cursor:pointer;

transition:.3s;

}

.start-btn:disabled{

background:#94A3B8;

cursor:not-allowed;

}

.start-btn:not(:disabled):hover{

background:#1D4ED8;

}
/*==========================
MY PACKAGES
==========================*/

.package-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:25px;

}

.package-card{

    background:#fff;

    border-radius:15px;

    padding:20px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

    text-align:center;

}

.package-image{

    width:100%;

    height:180px;

    object-fit:cover;

    border-radius:10px;

}

@media(max-width:768px){

.package-grid{

    grid-template-columns:repeat(2,minmax(0,1fr));

    gap:12px;

}

.package-card{

    padding:15px;

}

.package-image{

    height:140px;

}

.package-card h3{

    font-size:14px;

    line-height:1.4;

}

.package-card p{

    font-size:12px;

}

.package-card .btn{

    width:100%;

    font-size:13px;

}

}

@media(max-width:320px){

.package-grid{

    grid-template-columns:1fr;

}

}

/*==========================
TABLE RESPONSIVE
==========================*/

.table-responsive{

    width:100%;

    overflow-x:auto;

    -webkit-overflow-scrolling:touch;

}

.table{

    width:100%;

    min-width:750px;

    border-collapse:collapse;

}

.table th,
.table td{

    padding:14px;

    white-space:nowrap;

    text-align:left;

}

@media(max-width:768px){

.table-card{

    padding:15px;

}

.table th,
.table td{

    font-size:13px;
    padding:10px;

}

.btn{

    padding:8px 12px;
    font-size:12px;

}

}

/*==========================
STUDENT PROFILE
==========================*/

.form-card{

    background:#fff;

    padding:30px;

    border-radius:15px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

.form-row{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:20px;

    margin-bottom:20px;

}

.form-actions{

    display:flex;

    gap:15px;

    margin-top:30px;

}

@media(max-width:768px){

.form-card{

    padding:20px 15px;

}

.form-row{

    grid-template-columns:1fr;

    gap:15px;

}

.form-group label{

    font-size:13px;

}

.form-control{

    padding:12px;

    font-size:13px;

}

.form-actions{

    flex-direction:column;

}

.form-actions .btn{

    width:100%;

    justify-content:center;

    font-size:13px;

    padding:12px;

}

.form-card h3{

    font-size:20px;

}

.form-card p{

    font-size:13px;

}

}

@media(max-width:320px){

.form-card{

    padding:15px;

}

.form-card h3{

    font-size:18px;

}

.form-card p{

    font-size:12px;

}

.form-group label{

    font-size:12px;

}

.form-control{

    font-size:12px;

    padding:10px;

}

.form-actions .btn{

    font-size:12px;

    padding:10px;

}

}

/*=========================================
EXAM INSTRUCTIONS RESPONSIVE
=========================================*/

@media(max-width:768px){

.exam-instructions-page{

    padding:0 15px;
    margin:20px auto;

}

.instruction-header{

    padding:25px 20px;

}

.instruction-header h1{

    font-size:24px;
    line-height:1.4;

}

.instruction-header p{

    font-size:13px;
    line-height:1.6;

}

.summary-grid{

    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:12px;

}

.summary-card{

    padding:20px 15px;

}

.summary-card i{

    font-size:28px;

}

.summary-card h4{

    font-size:14px;

}

.summary-card span{

    font-size:18px;

}

.candidate-card,
.instruction-card,
.warning-card{

    padding:20px 15px;

}

.candidate-grid{

    grid-template-columns:1fr;
    gap:12px;

}

.candidate-header h2,
.instruction-title h2,
.warning-title h2{

    font-size:20px;

}

.instruction-body{

    font-size:13px;
    line-height:1.7;

}

.warning-card ul{

    font-size:13px;
    line-height:1.7;
    margin-left:18px;

}

.agree-box{

    font-size:13px;

}

.start-btn{

    height:50px;
    font-size:16px;

}

}

@media(max-width:320px){

.summary-grid{

    grid-template-columns:1fr;

}

.instruction-header h1{

    font-size:20px;

}

.instruction-header p{

    font-size:12px;

}

.summary-card{

    padding:18px 15px;

}

.summary-card h4{

    font-size:13px;

}

.summary-card span{

    font-size:16px;

}

.candidate-header h2,
.instruction-title h2,
.warning-title h2{

    font-size:18px;

}

.instruction-body,
.warning-card ul,
.agree-box{

    font-size:12px;

}

.start-btn{

    height:45px;
    font-size:14px;

}

}

/*=========================================
ONLINE EXAM RESPONSIVE
=========================================*/

@media(max-width:768px){

.exam-container{

    flex-direction:column;

    gap:15px;

    padding:15px;

}

.exam-left,
.exam-right{

    width:100%;

}

.exam-right{

    position:static;

    order:-1;

}

.question-box{

    padding:20px 15px;

}

.question-header{

    flex-direction:column;

    align-items:flex-start;

    gap:15px;

}

.question-header h2{

    font-size:20px;

}

.timer{

    font-size:18px;

}

#questionText{

    font-size:18px;

    line-height:1.6;

}

.option{

    padding:12px;

    font-size:13px;

}

.exam-buttons{

    flex-direction:column;

    gap:12px;

}

.exam-buttons .btn{

    width:100%;

    font-size:13px;

    padding:12px;

}

.question-palette{

    grid-template-columns:repeat(5,1fr);

}

.palette-btn{

    width:42px;

    height:42px;

    font-size:13px;

}

}

@media(max-width:320px){

.question-header h2{

    font-size:18px;

}

.timer{

    font-size:16px;

}

#questionText{

    font-size:16px;

}

.question-palette{

    grid-template-columns:repeat(4,1fr);

}

.palette-btn{

    width:38px;

    height:38px;

    font-size:12px;

}

.exam-buttons .btn{

    font-size:12px;

    padding:10px;

}

}
@media(max-width:768px){

    #optionsArea{
        display:flex;
        flex-direction:column;
        gap:12px;
        width:100%;
    }

    .option{
        display:flex;
        align-items:flex-start;
        gap:10px;

        width:100%;
        max-width:100%;
        box-sizing:border-box;

        padding:13px 14px;
        margin:0;

        white-space:normal;
        overflow-wrap:anywhere;
        word-break:break-word;

        line-height:1.5;
        font-size:14px;

        border:1px solid #ddd;
        border-radius:8px;
        background:#fff;
    }

    .option input[type="radio"]{
        margin-top:4px;
        flex:0 0 auto;
    }

    .option b{
        flex:0 0 auto;
        margin-right:3px;
    }

}

.result-wrapper{

    display:flex;

    justify-content:center;

    margin-top:20px;

}

.result-card{

    width:100%;

    max-width:900px;

    background:#fff;

    padding:30px;

    border-radius:15px;

    box-shadow:0 8px 20px rgba(0,0,0,.08);

}

/*=========================================
RESULT PAGE
=========================================*/

.result-card-list{

    display:grid;

    grid-template-columns:repeat(2,1fr);

    gap:18px;

    margin:30px 0;

}

.result-item{

    background:#F8FAFC;
    border:1px solid #E2E8F0;
    border-radius:12px;
    padding:16px 18px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;

}

.result-item span{

    color:#64748B;

    font-weight:600;

}

.result-item strong{

    color:#0F172A;

    font-size:17px;

}

.result-actions{

    display:flex;

    gap:15px;

    margin-top:30px;

}

@media(max-width:768px){

.result-card-list{

    grid-template-columns:1fr;

}

.result-item{

    padding:15px;

}

.result-item span{

    font-size:13px;

}

.result-item strong{

    font-size:14px;

}

.result-actions{

    flex-direction:column;

}

.result-actions .btn{

    width:100%;

    text-align:center;

}

}

/* =========================================================
   STUDENT SUPPORT CHAT
========================================================= */

.support-chat-button {
    position: fixed;
    right: 25px;
    bottom: 25px;

    height: 52px;
    padding: 0 20px;

    background: #2563eb;
    color: #ffffff;

    border-radius: 30px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.20);

    z-index: 99999;

    transition: all 0.25s ease;
}

.support-chat-button:hover {
    transform: translateY(-3px);

    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.support-chat-button i {
    font-size: 20px;
}


/* =========================================================
   CHAT BOX
========================================================= */

.support-chat-box {
    position: fixed;

    right: 25px;
    bottom: 90px;

    width: 360px;
    height: 500px;

    max-width: calc(100vw - 30px);

    background: #ffffff;

    border: 1px solid #e5e7eb;

    border-radius: 16px;

    overflow: hidden;

    display: none;
    flex-direction: column;

    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.22);

    z-index: 100000;
}


/* =========================================================
   CHAT HEADER
========================================================= */

.support-chat-header {
    min-height: 70px;

    padding: 14px 16px;

    background: #2563eb;

    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.support-chat-header strong {
    display: block;

    font-size: 16px;
    font-weight: 600;
}

.support-chat-header strong i {
    margin-right: 6px;
}

.support-chat-header small {
    display: block;

    margin-top: 4px;

    font-size: 12px;

    opacity: 0.85;
}

.support-chat-header button {
    width: 34px;
    height: 34px;

    border: none;

    background: transparent;

    color: #ffffff;

    border-radius: 50%;

    cursor: pointer;

    font-size: 18px;

    display: flex;
    align-items: center;
    justify-content: center;
}

.support-chat-header button:hover {
    background: rgba(255,255,255,0.15);
}


/* =========================================================
   CHAT MESSAGES AREA
========================================================= */

.support-chat-messages {
    flex: 1;

    padding: 18px;

    overflow-y: auto;

    background: #f8fafc;
}


/* =========================================================
   WELCOME MESSAGE
========================================================= */

.support-welcome {
    text-align: center;

    padding: 8px 5px 18px;
}

.support-welcome-icon {
    width: 52px;
    height: 52px;

    margin: 0 auto 10px;

    border-radius: 50%;

    background: #dbeafe;

    color: #2563eb;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 21px;
}

.support-welcome h4 {
    margin: 0 0 5px;

    font-size: 16px;

    color: #111827;
}

.support-welcome p {
    margin: 0;

    font-size: 13px;

    color: #64748b;
}


/* =========================================================
   SUPPORT CATEGORIES
========================================================= */

.support-categories {
    display: flex;

    flex-direction: column;

    gap: 8px;
}

.support-categories button {
    width: 100%;

    padding: 11px 12px;

    border: 1px solid #dbe3ef;

    border-radius: 9px;

    background: #ffffff;

    color: #1e3a8a;

    text-align: left;

    font-size: 13px;

    cursor: pointer;

    transition: all 0.2s ease;
}

.support-categories button:hover {
    background: #eff6ff;

    border-color: #93c5fd;

    transform: translateX(2px);
}


/* =========================================================
   CHAT INPUT
========================================================= */

.support-chat-input {
    padding: 12px;

    background: #ffffff;

    border-top: 1px solid #e5e7eb;

    display: flex;
    align-items: center;

    gap: 8px;
}

.support-chat-input input {
    flex: 1;

    min-width: 0;

    height: 42px;

    padding: 0 15px;

    border: 1px solid #d1d5db;

    border-radius: 22px;

    outline: none;

    background: #ffffff;

    color: #111827;

    font-size: 13px;
}

.support-chat-input input:focus {
    border-color: #2563eb;

    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.08);
}

.support-chat-input button {
    width: 42px;
    height: 42px;

    flex-shrink: 0;

    border: none;

    border-radius: 50%;

    background: #2563eb;

    color: #ffffff;

    cursor: pointer;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 15px;

    transition: all 0.2s ease;
}

.support-chat-input button:hover {
    transform: scale(1.05);

    background: #1d4ed8;
}


/* =========================================================
   SCROLLBAR
========================================================= */

.support-chat-messages::-webkit-scrollbar {
    width: 5px;
}

.support-chat-messages::-webkit-scrollbar-track {
    background: transparent;
}

.support-chat-messages::-webkit-scrollbar-thumb {
    background: #cbd5e1;

    border-radius: 10px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .support-chat-button {
        right: 15px;
        bottom: 15px;

        width: 52px;
        height: 52px;

        padding: 0;

        border-radius: 50%;
    }

    .support-chat-button span {
        display: none;
    }

    .support-chat-box {
        right: 15px;
        bottom: 80px;

        width: calc(100vw - 30px);

        height: 470px;

        border-radius: 14px;
    }

}

/* =========================================================
   SUPPORT TICKET HEADER
========================================================= */

.support-ticket-heading
{
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 8px 10px;
    margin-bottom: 8px;

    border-bottom: 1px solid #e5e7eb;
}

.support-ticket-subject
{
    display: flex;
    align-items: center;
    gap: 6px;

    min-width: 0;
}

.support-ticket-subject i
{
    color: #2563eb;
    font-size: 13px;
}

.support-ticket-subject strong
{
    color: #111827;
    font-size: 13px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.support-ticket-status
{
    flex-shrink: 0;

    padding: 4px 8px;

    border-radius: 20px;

    font-size: 10px;
    font-weight: 700;
}

.status-open
{
    background: #fef3c7;
    color: #92400e;
}

.status-replied
{
    background: #dcfce7;
    color: #166534;
}

.status-closed
{
    background: #e5e7eb;
    color: #374151;
}

/* =========================================================
   SUPPORT CHAT MESSAGE BUBBLES
========================================================= */

.support-chat-message
{
    display: flex;
    flex-direction: column;

    margin-bottom: 12px;

    max-width: 88%;
}

.support-student-message
{
    margin-left: auto;

    align-items: flex-end;
}

.support-admin-message
{
    margin-right: auto;

    align-items: flex-start;
}


.support-chat-message-name
{
    font-size: 11px;

    font-weight: 700;

    margin-bottom: 4px;

    color: #475569;
}


.support-chat-message-text
{
    padding: 9px 11px;

    border-radius: 12px;

    font-size: 12px;

    line-height: 1.5;

    word-break: break-word;

    box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}


/* Student */




/* Admin */

.support-admin-message
.support-chat-message-text
{
    background: #ffffff;

    color: #1f2937;

    border: 1px solid #e2e8f0;

    border-bottom-left-radius: 3px;
}


.support-chat-message-time
{
    font-size: 9px;

    color: #94a3b8;

    margin-top: 3px;
}

.support-student-message .support-chat-message-text
{
    background: #2563eb;
    color: #ffffff;
    border-bottom-right-radius: 3px;
}

.support-admin-message .support-chat-message-text
{
    background: #ffffff;
    color: #1f2937;
    border: 1px solid #e2e8f0;
    border-bottom-left-radius: 3px;
}