/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins',sans-serif;
}

/* BACKGROUND */
body{
    min-height:100vh;
    background:url('../Image/study.jpg') no-repeat center/cover;
    color:#fff;
}

/* OVERLAY */
body::before{
    content:"";
    position:fixed;
    inset:0;
    background:rgba(0,0,0,0.6);
    z-index:-1;
}

/* BACK BUTTON */
.btn-back{
    display:inline-block;
    margin:20px;
    padding:10px 18px;
    background:linear-gradient(135deg,#ff4d4d,#b30000);
    color:#fff;
    text-decoration:none;
    border-radius:8px;
}

/* LAYOUT */
.content-wrapper{
    display:flex;
    justify-content:center;
    align-items:stretch;
    gap:40px;
    padding:40px;
    flex-wrap:wrap;
}

/* FORM */
.form-section{
    flex:1;
    max-width:400px;
}

.main-title{
    margin-bottom:15px;
}

form{
    background:rgba(255,255,255,0.15);
    padding:25px;
    border-radius:15px;
    backdrop-filter:blur(10px);
}

form label{
    display:block;
    margin-bottom:6px;
}

form input,
form textarea{
    width:100%;
    padding:10px;
    margin-bottom:15px;
    border-radius:8px;
    border:none;
}

form button{
    display:block;
    margin:auto;
    padding:12px 30px;
    background:#fff;
    border:none;
    border-radius:10px;
    font-weight:bold;
}

/* DIVIDER */
.divider-vertical{
    width:2px;
    background:#fff;
    align-self:stretch;
}

/* TABLE */
.table-section{
    flex:2;
    min-width:500px;
    background:rgba(255,255,255,0.1);
    padding:20px;
    border-radius:15px;
}

table{
    width:100%;
    border-collapse:collapse;
    background:#fff;
    color:#000;
    border-radius:10px;
    overflow:hidden;
}

th{
    background:#b30000;
    color:#fff;
    padding:10px;
}

td{
    padding:8px;
    text-align:center;
}

tr:nth-child(even){
    background:#f2f2f2;
}

/* DELETE */
.delete{
    background:red;
    color:#fff;
    padding:6px 12px;
    border-radius:6px;
    text-decoration:none;
}

/* VIEW FILE (FIXED) */
.view-file{
    color:#0057ff;
    text-decoration:underline;
    font-weight:500;
}

.view-file:hover{
    color:#8d0404;
    text-decoration:none;
}

/* RESPONSIVE */
@media(max-width:768px){
    .content-wrapper{
        flex-direction:column;
        align-items:center;
    }

    .divider-vertical{
        width:100%;
        height:2px;
        margin:20px 0;
    }
}