*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Arial, sans-serif;
}

body{
    background:#ffffff;
    display:flex;
    color:#333;
    font-size:13px;
}

.login-body{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    background:#f8fafc;
    padding:20px;
}

.login-card{
    width:100%;
    max-width:380px;
    background:#fff;
    border:1px solid #e5e7eb;
    border-radius:8px;
    padding:24px;
}

.login-logo{
    color:#0A2342;
    font-size:18px;
    font-weight:700;
    margin-bottom:18px;
}

.login-card h1{
    color:#0A2342;
    font-size:22px;
    margin-bottom:18px;
}

.login-error{
    padding:10px 12px;
    border:1px solid #fecaca;
    background:#fef2f2;
    color:#991b1b;
    border-radius:6px;
    margin-bottom:15px;
}

.login-btn{
    width:100%;
}

.sidebar{
    width:220px;
    height:100vh;
    background:#0A2342;
    color:white;
    padding:20px;
    position:fixed;
}

.logo{
    font-size:18px;
    font-weight:600;
    margin-bottom:30px;
}

.menu{
    list-style:none;
}

.menu li{
    margin-bottom:5px;
}

.menu a{
    color:white;
    display:block;
    padding:12px 10px;
    border-radius:6px;
    text-decoration:none;
}

.menu a:hover,
.menu a.active{
    background:rgba(255,255,255,0.12);
}

.main{
    margin-left:220px;
    width:calc(100% - 220px);
    padding:20px;
}

.header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:20px;
    gap:12px;
}

.header h2{
    font-size:20px;
    color:#0A2342;
}

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:15px;
}

.card{
    background:white;
    border:1px solid #e5e7eb;
    border-left:4px solid #0A2342;
    padding:15px;
    border-radius:10px;
}

.form-card{
    max-width:760px;
    background:#fff;
    border:1px solid #e5e7eb;
    padding:20px;
    border-radius:10px;
}

.card-title{
    color:#666;
    font-size:12px;
    margin-bottom:8px;
}

.card-value{
    font-size:22px;
    font-weight:700;
    color:#0A2342;
}

.form-group{
    margin-bottom:15px;
}

label{
    display:block;
    margin-bottom:6px;
    font-weight:600;
    color:#0A2342;
}

input,
select,
textarea{
    width:100%;
    padding:10px;
    border:1px solid #ddd;
    border-radius:6px;
    font-size:13px;
}

textarea{
    min-height:120px;
    resize:vertical;
}

.btn,
.add-btn{
    background:#0A2342;
    color:#fff;
    padding:10px 15px;
    border:none;
    border-radius:6px;
    cursor:pointer;
    text-decoration:none;
    display:inline-block;
    font-size:13px;
}

.table-section,
.table-box{
    margin-top:25px;
    background:white;
    border:1px solid #e5e7eb;
    border-radius:10px;
    overflow:hidden;
}

.table-header{
    padding:15px;
    font-weight:600;
    color:#0A2342;
    border-bottom:1px solid #eee;
}

table{
    width:100%;
    border-collapse:collapse;
}

table th,
table td{
    padding:12px;
    text-align:left;
    font-size:12px;
    vertical-align:middle;
}

table th{
    background:#f8fafc;
    color:#0A2342;
}

table tr{
    border-bottom:1px solid #eee;
}

.thumb{
    width:50px;
    height:50px;
    border-radius:6px;
    object-fit:cover;
    background:#f8fafc;
}

.status{
    background:#0A2342;
    color:white;
    padding:4px 10px;
    border-radius:20px;
    font-size:11px;
    display:inline-block;
}

.status.pending{
    background:#f59e0b;
}

.status.approved{
    background:#16a34a;
}

.status.rejected{
    background:#dc2626;
}

.edit{
    background:#2563eb;
    color:#fff;
    padding:6px 10px;
    border-radius:5px;
    text-decoration:none;
    display:inline-block;
}

.delete{
    background:#dc2626;
    color:#fff;
    padding:6px 10px;
    border-radius:5px;
    text-decoration:none;
    display:inline-block;
}

.message{
    padding:10px 12px;
    border:1px solid #d1fae5;
    background:#ecfdf5;
    color:#166534;
    border-radius:6px;
    margin-bottom:15px;
}

.empty{
    color:#666;
    padding:18px;
}

@media (max-width:760px){
    body{
        display:block;
    }

    .sidebar{
        width:100%;
        height:auto;
        position:static;
    }

    .main{
        margin-left:0;
        width:100%;
    }

    .header{
        align-items:flex-start;
        flex-direction:column;
    }
}
