*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    min-height:100vh;
    font-family:'Segoe UI',sans-serif;
    background:linear-gradient(
        135deg,
        #0f172a,
        #1e3a8a,
        #2563eb
    );
    display:flex;
    flex-direction:column;
}

/* HEADER */
header{
    background:#fff;
    padding:12px 20px;
    box-shadow:0 2px 10px rgba(0,0,0,.15);
}

header img{
    height:50px;
}

/* LOGIN PAGE */
.login-container{
    flex:1;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:30px;
}

.form-container{
    width:100%;
    max-width:450px;
    background:#fff;
    border-radius:20px;
    padding:35px;
    box-shadow:0 20px 50px rgba(0,0,0,.25);
}

.form-container h2{
    text-align:center;
    color:#1e3a8a;
    margin-bottom:25px;
}

label{
    display:block;
    margin-bottom:8px;
    font-weight:600;
    color:#334155;
}
.suggestion-box{
    width:100%;
    padding:15px;
    border:1px solid #d1d5db;
    border-radius:10px;
    font-size:15px;
    resize:vertical;
    min-height:120px;
    margin-top:10px;
    font-family:'Segoe UI',sans-serif;
}

.suggestion-box:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,.15);
}
input[type=text],
input[type=date]{
    width:100%;
    padding:14px;
    border:1px solid #d1d5db;
    border-radius:10px;
    margin-bottom:20px;
    font-size:15px;
}

.btn-next{
    width:100%;
    padding:15px;
    border:none;
    border-radius:12px;
    cursor:pointer;
    color:#fff;
    font-size:16px;
    font-weight:600;
    background:linear-gradient(
        135deg,
        #2563eb,
        #1e40af
    );
}

.btn-next:hover{
    opacity:.95;
}

/* SURVEY PAGE */
.survey-wrapper{
    padding:30px;
}

.survey-card{
    max-width:1200px;
    margin:auto;
    background:#fff;
    border-radius:20px;
    padding:30px;
    box-shadow:0 20px 50px rgba(0,0,0,.25);
}

.survey-title{
    text-align:center;
    color:#1e3a8a;
    margin-bottom:25px;
}

.student-box{
    background:#f8fafc;
    border-radius:15px;
    padding:20px;
    margin-bottom:25px;
}

.student-box table{
    width:100%;
}

.student-box td{
    padding:8px;
}

.question-box{
    background:#f8fafc;
    border-radius:15px;
    padding:20px;
    margin-bottom:20px;
}

.question-box h4{
    margin-bottom:15px;
    color:#0f172a;
}

.option-row{
    display:flex;
    gap:20px;
    flex-wrap:wrap;
}

.option-row label{
    font-weight:500;
}

.submit-btn{
    width:100%;
    padding:16px;
    border:none;
    border-radius:12px;
    color:white;
    font-size:17px;
    cursor:pointer;
    background:linear-gradient(
        135deg,
        #16a34a,
        #15803d
    );
}

.submit-btn:hover{
    opacity:.95;
}

.thankyou-card{
    max-width:700px;
    margin:100px auto;
    background:#fff;
    padding:50px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 20px 50px rgba(0,0,0,.25);
}

.thankyou-card h1{
    color:#16a34a;
    margin-bottom:15px;
}

footer{
    text-align:center;
    color:#fff;
    padding:5px;
}
.option-list{
    display:flex;
    flex-direction:column;
    gap:5px;
    margin-top:5px;
}

.option-item{
    display:flex;
    align-items:flex-start;
    gap:5px;
    font-size:15px;
    line-height:1.6;
    cursor:pointer;
    padding:3px 5px;
    border-radius:5px;
}

.option-item:hover{
    background:#f1f5f9;
}

.option-item input{
    margin-top:4px;
}
.top-header{
    background:#fff;
    padding:10px 20px;
    box-shadow:0 2px 10px rgba(0,0,0,.15);

    display:flex;
    align-items:center;
    justify-content:space-between;

    width:100%;
}

.header-left{
    display:flex;
    align-items:center;
}

.header-left img{
    height:55px;
}

.header-right{
    margin-left:auto;
}

.logout-btn{
    display:inline-block;
    background:#dc2626;
    color:#fff;
    text-decoration:none;
    padding:10px 22px;
    border-radius:8px;
    font-weight:600;
    transition:.3s;
}

.logout-btn:hover{
    background:#b91c1c;
}
.student-table{
    width:100%;
    border-collapse:collapse;
}

.student-table td{
    padding:10px;
    border-bottom:1px solid #e5e7eb;
}
@media (max-width: 992px){

    .survey-wrapper{
        padding:15px;
    }

    .survey-card{
        padding:20px;
    }

    .student-box{
        padding:15px;
    }

}
/* ===================================
   MOBILE
=================================== */
@media (max-width:768px){

    body{
        overflow-x:hidden;
    }

    .survey-wrapper{
        padding:10px;
    }

    .survey-card{
        padding:15px;
        border-radius:15px;
    }

    .survey-title{
        font-size:22px;
        margin-bottom:20px;
    }

    /* Header */

    .top-header{
        padding:10px;
    }

    .header-left img{
        height:40px;
        max-width:180px;
        width:auto;
    }

    .logout-btn{
        padding:8px 14px;
        font-size:13px;
    }

    /* Student Table */

    .student-box{
        padding:12px;
    }

    .student-box table,
    .student-box tbody,
    .student-box tr,
    .student-box td{
        display:block;
        width:100%;
    }

    .student-box tr{
        margin-bottom:10px;
        border-bottom:1px solid #e5e7eb;
        padding-bottom:10px;
    }

    .student-box td{
        padding:4px 0;
        text-align:left;
    }

    /* Questions */

    .question-box{
        padding:15px;
        margin-bottom:15px;
    }

    .question-box h4{
        font-size:15px;
        line-height:1.6;
    }

    .option-list{
        gap:8px;
    }

    .option-item{
        padding:10px;
        background:#fff;
        border:1px solid #e5e7eb;
        border-radius:10px;
        font-size:14px;
        line-height:1.5;
    }

    .option-item input[type="radio"]{
        width:18px;
        height:18px;
        margin-top:2px;
    }

    .submit-btn{
        font-size:16px;
        padding:14px;
    }

    footer{
        font-size:12px;
        line-height:1.6;
        padding:10px;
    }

}

/* ===================================
   SMALL MOBILE
=================================== */
@media (max-width:480px){

    .survey-wrapper{
        padding:8px;
    }

    .survey-card{
        padding:12px;
        border-radius:12px;
    }

    .survey-title{
        font-size:18px;
    }

    .header-left img{
        height:32px;
        max-width:140px;
    }

    .logout-btn{
        padding:6px 10px;
        font-size:11px;
    }

    .question-box{
        padding:12px;
    }

    .question-box h4{
        font-size:14px;
    }

    .option-item{
        font-size:13px;
        padding:8px;
    }

    .submit-btn{
        font-size:15px;
        padding:12px;
    }

    footer{
        font-size:11px;
    }

}