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

body{
    background:#f4f7fb;
    color:#1e293b;
}

/* SIDEBAR */

.sidebar{
    width:260px;
    height:100vh;
    background:#ffffff;
    position:fixed;
    left:0;
    top:0;
    padding:30px 20px;
    border-right:1px solid #e5e7eb;
    overflow-y:auto;
}

.sidebar h2{
    color:#2563eb;
    margin-bottom:40px;
    font-size:32px;
    font-weight:700;
}

.sidebar a{
    display:flex;
    align-items:center;
    padding:14px 16px;
    margin-bottom:12px;
    text-decoration:none;
    color:#475569;
    border-radius:12px;
    transition:0.3s;
    font-size:15px;
    font-weight:500;
}

.sidebar a:hover{
    background:#2563eb;
    color:#fff;
}

/* MAIN */

.main{
    margin-left:260px;
    padding:40px;
}

/* PAGE TITLE */

.page-title{
    font-size:36px;
    font-weight:700;
    margin-bottom:25px;
    color:#0f172a;
}

/* CARD */

.card{
    background:#fff;
    padding:25px;
    border-radius:18px;
    box-shadow:0 4px 20px rgba(0,0,0,0.04);
    margin-bottom:25px;
}

/* TABLE */

.table{
    width:100%;
    border-collapse:collapse;
    border:1px solid #e2e8f0;
    overflow:hidden;
    border-radius:14px;
}

.table th{
    background:#f8fafc;
    color:#64748b;
    padding:18px;
    text-align:left;
    font-size:14px;
    font-weight:600;
    border:1px solid #e2e8f0;
}

.table td{
    padding:18px;
    border:1px solid #e2e8f0;
    font-size:15px;
    color:#334155;
    vertical-align:middle;
}

.table tr:hover{
    background:#fafafa;
}

/* BADGES */

.badge{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:120px;
    padding:10px 18px;
    border-radius:30px;
    color:#fff;
    font-size:13px;
    font-weight:700;
    text-align:center;
    letter-spacing:0.3px;
}

.badge.warning{
    background:#f59e0b;
}

.badge.primary{
    background:#2563eb;
}

.badge.success{
    background:#16a34a;
}
.badge.danger{
    background:#dc2626;
    color:#fff;
}
/* BUTTONS */

.btn{
    background:#2563eb;
    color:#fff;
    border:none;
    padding:14px 24px;
    border-radius:12px;
    cursor:pointer;
    font-size:15px;
    font-weight:600;
    transition:0.3s;
}

.btn:hover{
    opacity:0.9;
}

.table-btn{
    display:inline-block;
    background:#2563eb;
    color:#fff;
    padding:10px 16px;
    border-radius:10px;
    text-decoration:none;
    font-size:14px;
    font-weight:600;
    transition:0.3s;
}

.table-btn:hover{
    opacity:0.9;
}

/* FORMS */

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

.form-group label{
    display:block;
    margin-bottom:10px;
    font-weight:600;
    color:#334155;
}

.form-group input,
.form-group textarea,
.select-box{
    width:100%;
    padding:14px;
    border:1px solid #dbe2ea;
    border-radius:12px;
    font-size:15px;
    background:#fff;
    transition:0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.select-box:focus{
    outline:none;
    border-color:#2563eb;
    box-shadow:0 0 0 3px rgba(37,99,235,0.1);
}

.form-group textarea{
    min-height:140px;
    resize:vertical;
}

/* LOGIN */

.login-container{
    width:100%;
    height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
}

.login-box{
    width:420px;
    background:#fff;
    padding:40px;
    border-radius:20px;
    box-shadow:0 10px 30px rgba(0,0,0,0.06);
}

.login-box h2{
    margin-bottom:25px;
    text-align:center;
    font-size:32px;
    color:#0f172a;
}

.login-box input{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:12px;
    font-size:15px;
}

.login-box button{
    width:100%;
    padding:14px;
    border:none;
    background:#2563eb;
    color:#fff;
    border-radius:12px;
    cursor:pointer;
    font-size:16px;
    font-weight:600;
}

/* ALERTS */

.error{
    background:#ffe2e2;
    color:#b91c1c;
    padding:14px;
    border-radius:12px;
    margin-bottom:15px;
    font-size:14px;
}

.success-box{
    background:#dcfce7;
    color:#166534;
    padding:14px;
    border-radius:12px;
    margin-bottom:20px;
    font-size:14px;
}

/* SELECT */

.select-box{
    max-width:300px;
}

/* MOBILE */

@media(max-width:900px){

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

    .main{
        margin-left:0;
        padding:20px;
    }

    .page-title{
        font-size:28px;
    }

    .table{
        display:block;
        overflow-x:auto;
    }
}