*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI',sans-serif;
}

body{
    background:#f5f7fa;
    color:#333;
}

/* HEADER */
header{
    background:#DA020E;
    padding:20px 50px;
    border-bottom:1px solid #e5e7eb;
    box-shadow:0 2px 8px rgba(0,0,0,.05);
}

header h1{
    color:#f5f7fa;
    font-size:30px;
    font-weight:600;
}

/* SIDEBAR */
.sidebar{
    position:fixed;
    left:0;
    top:80px;
    width:240px;
    height:100%;
    background:#344454;
    border-right:1px solid #e5e7eb;
}

.sidebar ul{
    list-style:none;
    padding:20px;
}

.sidebar li{
    padding:15px;
    margin-bottom:10px;
    border-radius:8px;
    cursor:pointer;
    transition:.3s;
    font-weight:500;
    color:white;
}

.sidebar li:hover{
    background:#e8f1ff;
    color:#0056b3;
}

/* CONTENT */
.container{
    margin-left:270px;
    margin-top:30px;
    margin-right:30px;
    background:white;
    padding:30px;
    border-radius:12px;
    box-shadow:0 2px 12px rgba(0,0,0,.06);
}

.hidden{
    display:none;
}

/* LOGIN */
#loginSection{
    max-width:450px;
    margin:100px auto;
}

#loginSection h2{
    text-align:center;
    margin-bottom:25px;
    color:#DA020E;
}

/* INPUTS */
input{
    width:100%;
    padding:14px;
    margin-bottom:15px;
    border:1px solid #d1d5db;
    border-radius:8px;
    font-size:14px;
}

input:focus{
    outline:none;
    border-color:#0056b3;
}

/* BUTTONS */
button{
    background:#DA020E;
    color:white;
    border:none;
    padding:12px 24px;
    border-radius:8px;
    cursor:pointer;
    font-weight:600;
}

button:hover{
    background:#DA020E;
}

/* TABLE */
table{
    width:100%;
    border-collapse:collapse;
    margin-top:20px;
}

thead{
    background:#344454;
    color:white;
}

th{
    padding:15px;
    text-align:left;
}

td{
    padding:15px;
    border-bottom:1px solid #e5e7eb;
}

tbody tr:hover{
    background:#f8fbff;
}

/* SECTION TITLE */
h2{
    color:#ffffff;
    margin-bottom:20px;
}

/* CARD STYLE */
.dashboard-card{
    background:#ffffff;
    border-left:4px solid #0056b3;
    padding:20px;
    margin-bottom:20px;
    border-radius:10px;
}

/* MOBILE */
@media(max-width:900px){

    .sidebar{
        position:relative;
        width:100%;
        top:0;
        height:auto;
    }

    .container{
        margin:20px;
    }

    table{
        display:block;
        overflow-x:auto;
    }
}