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

body{
    background:#f3f5f9;
    display:flex;
    min-height:100vh;
    overflow:hidden;
}

/* =========================
   SIDEBAR
========================= */

.sidebar{
    width:250px;
    background:#fff;
    border-right:1px solid #e5e8ef;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    padding:25px 18px;
    transition:0.3s;
}

.logo{
    margin-bottom:40px;
}

.logo h2{
    color:#2351d8;
    font-size:24px;
    margin-bottom:5px;
}

.logo span{
    color:#777;
    font-size:13px;
}

.menu{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.menu-item{
    display:flex;
    align-items:center;
    gap:14px;
    padding:14px 16px;
    border-radius:14px;
    cursor:pointer;
    transition:all .25s ease;
    position:relative;
    overflow:hidden;
    color:#555;
    font-weight:500;
}

.menu-item:hover{
    background:#eef3ff;
    transform:translateX(5px);
}

.menu-item.active{
    background:#2351d8;
    color:#fff;
    box-shadow:0 8px 20px rgba(35,81,216,.25);
}

.menu-item::before{
    content:"";
    position:absolute;
    left:-100%;
    top:0;
    width:100%;
    height:100%;
    background:rgba(255,255,255,.15);
    transition:.4s;
}

.menu-item:hover::before{
    left:100%;
}

.icon{
    width:18px;
    text-align:center;
}

.logout{
    padding:14px 16px;
    border-radius:14px;
    cursor:pointer;
    color:#777;
    transition:.2s;
}

.logout:hover{
    background:#f1f3f8;
}

/* =========================
   MAIN
========================= */

.main{
    flex:1;
    display:flex;
    flex-direction:column;
}

/* TOPBAR */

.topbar{
    height:72px;
    background:#2351d8;
    color:white;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 30px;
}

.topbar-left{
    display:flex;
    align-items:center;
    gap:15px;
}

.topbar-title{
    font-size:20px;
    font-weight:600;
}

.user-box{
    display:flex;
    align-items:center;
    gap:12px;
}

.avatar{
    width:40px;
    height:40px;
    border-radius:50%;
    background:white;
}

/* CONTENT */

.content{
    padding:30px;
    overflow:auto;
}

/* HEADER */

.page-header{
    margin-bottom:25px;
}

.page-header h1{
    font-size:30px;
    margin-bottom:8px;
}

.page-header p{
    color:#777;
}

/* GRID */

.grid{
    display:grid;
    grid-template-columns:2fr 1fr;
    gap:24px;
}

/* CARDS */

.card{
    background:white;
    border-radius:20px;
    padding:26px;
    box-shadow:0 6px 18px rgba(0,0,0,.05);
}

/* FORM */

.form-title{
    margin-bottom:25px;
    font-size:22px;
}

.row{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:18px;
}

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

.form-group label{
    display:block;
    margin-bottom:8px;
    font-size:14px;
    color:#555;
    font-weight:600;
}

.form-group input,
.form-group select,
.form-group textarea{
    width:100%;
    padding:14px;
    border-radius:12px;
    border:1px solid #d9dfea;
    background:#fafcff;
    outline:none;
    transition:.25s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus{
    border-color:#2351d8;
    background:#fff;
    box-shadow:0 0 0 4px rgba(35,81,216,.08);
}

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

.submit-btn{
    background:#2351d8;
    color:white;
    border:none;
    padding:15px 26px;
    border-radius:14px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    transition:.25s;
}

.submit-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 18px rgba(35,81,216,.25);
}

/* RIGHT PANEL */

.stats{
    display:flex;
    flex-direction:column;
    gap:18px;
}

.stat-box{
    padding:18px;
    border-radius:16px;
    background:#f6f8fd;
    transition:.25s;
}

.stat-box:hover{
    transform:translateY(-3px);
}

.stat-box span{
    color:#777;
    font-size:13px;
    display:block;
    margin-bottom:8px;
}

.stat-box strong{
    color:#2351d8;
    font-size:26px;
}

/* MOBILE */

@media(max-width:1000px){

    .sidebar{
        width:90px;
    }

    .menu-item span{
        display:none;
    }

    .logo span{
        display:none;
    }

    .grid{
        grid-template-columns:1fr;
    }

}

@media(max-width:700px){

    .sidebar{
        display:none;
    }

    .row{
        grid-template-columns:1fr;
    }

}
