/* GOOGLE FONT */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

body{
    background:#eef1f7;
    overflow-x:hidden;
}

/* SIDEBAR */

.sidebar{
    position:fixed;
    width:270px;
    height:100vh;
    background:linear-gradient(180deg,#001f7a,#0046ff);
    padding:25px 20px;
    color:white;
    box-shadow:5px 0 20px rgba(0,0,0,0.1);
    z-index:1000;
}

.logo-area{
    display:flex;
    align-items:center;
    gap:15px;
    margin-bottom:40px;
}

.logo-icon{
    width:55px;
    height:55px;
    border-radius:50%;
    background:linear-gradient(45deg,#00d4ff,#6f00ff);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:25px;
    box-shadow:0 0 20px rgba(255,255,255,0.3);
}

.logo-text{
    font-size:20px;
    font-weight:700;
    line-height:1.2;
}

.logo-text span{
    color:#00e5ff;
}

/* MENU */

.sidebar-menu{
    margin-top:20px;
}

.sidebar-menu a{
    text-decoration:none;
    color:white;
    display:flex;
    align-items:center;
    gap:15px;
    padding:15px 18px;
    border-radius:18px;
    margin-bottom:12px;
    transition:0.3s;
    font-size:17px;
    font-weight:500;
}

.sidebar-menu a:hover{
    background:linear-gradient(90deg,#00bfff,#8b00ff);
    transform:translateX(5px);
    box-shadow:0 5px 20px rgba(0,0,0,0.2);
}

.sidebar-menu a.active{
    background:linear-gradient(90deg,#00bfff,#8b00ff);
    box-shadow:0 5px 20px rgba(0,0,0,0.2);
}

.sidebar-menu i{
    font-size:20px;
}

/* CONTENT */

.main-content{
    margin-left:270px;
    min-height:100vh;
}

/* HEADER */

.topbar{
    background:linear-gradient(90deg,#00a2ff,#7b2cff,#b700ff);
    padding:20px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    color:white;
    box-shadow:0 5px 20px rgba(0,0,0,0.1);
}

.page-title{
    font-size:34px;
    font-weight:700;
}

.topbar-right{
    display:flex;
    align-items:center;
    gap:20px;
}

.search-box{
    position:relative;
}

.search-box input{
    width:300px;
    border:none;
    outline:none;
    border-radius:15px;
    padding:12px 45px 12px 18px;
    background:rgba(255,255,255,0.15);
    color:white;
}

.search-box input::placeholder{
    color:white;
}

.search-box i{
    position:absolute;
    right:15px;
    top:13px;
    font-size:18px;
}

/* CONTENT AREA */

.content-wrapper{
    padding:30px;
}

.content-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    margin-bottom:25px;
}

.content-header h2{
    font-size:40px;
    font-weight:700;
}

.content-header p{
    color:#666;
}

.btn-custom{
    background:linear-gradient(90deg,#007bff,#7f00ff);
    border:none;
    color:white;
    padding:14px 28px;
    border-radius:15px;
    font-weight:600;
    text-decoration:none;
    transition:0.3s;
}

.btn-custom:hover{
    transform:translateY(-3px);
    color:white;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

/* CARD */

.custom-card{
    background:white;
    border-radius:25px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
}

/* TABLE */

.table{
    margin-bottom:0;
}

.table thead{
    background:#eef5ff;
}

.table thead th{
    padding:18px;
    border:none;
    font-size:16px;
}

.table tbody td{
    padding:18px;
    vertical-align:middle;
}

/* ACTION BUTTON */

.btn-action{
    width:42px;
    height:42px;
    border:none;
    border-radius:12px;
    color:white;
    margin-right:5px;
    transition:0.3s;
}

.btn-action:hover{
    transform:scale(1.1);
}

.btn-view{
    background:#00c3ff;
}

.btn-edit{
    background:#ffc107;
}

.btn-delete{
    background:#ff4d6d;
}

/* FOOTER */

.footer{
    margin-left:270px;
    background:#02144b;
    color:white;
    padding:30px;
}

.footer-content{
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
}

.footer-box{
    display:flex;
    align-items:center;
    gap:15px;
}

.footer-icon{
    width:55px;
    height:55px;
    border-radius:15px;
    background:linear-gradient(45deg,#00d4ff,#6f00ff);
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
}

.footer-title{
    font-size:18px;
    font-weight:600;
}

.footer-text{
    color:#ccc;
}

/* RESPONSIVE */

@media(max-width:991px){

    .sidebar{
        width:100%;
        height:auto;
        position:relative;
    }

    .main-content{
        margin-left:0;
    }

    .footer{
        margin-left:0;
    }

    .topbar{
        flex-direction:column;
        gap:20px;
    }

    .search-box input{
        width:100%;
    }

    .content-header{
        flex-direction:column;
        align-items:flex-start;
        gap:20px;
    }

}