@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:#09090b;
    color:#ffffff;
    overflow-x:hidden;
}

/* SIDEBAR */

.sidebar{
    width:260px;
    height:100vh;
    background:#18181b;
    position:fixed;
    left:0;
    top:0;
    padding:20px;
    overflow-y:auto;
    z-index:1000;
    border-right:1px solid #27272a;
}

.sidebar h2{
    color:#f59e0b;
    margin-bottom:30px;
}

.sidebar ul{
    list-style:none;
}

.sidebar ul li{
    margin-bottom:12px;
}

.sidebar ul li a{
    display:block;
    padding:12px 15px;
    border-radius:12px;
    text-decoration:none;
    color:#d4d4d8;
    transition:0.3s;
}

.sidebar ul li a:hover{
    background:#27272a;
    color:#f59e0b;
}

/* MAIN CONTENT */

.main-content{
    margin-left:260px;
    width:calc(100% - 260px);
    min-height:100vh;
    padding:20px;
    overflow-x:auto;
}

/* NAVBAR */

.navbar{
    background:#18181b;
    padding:15px 20px;
    border-radius:15px;
    margin-bottom:20px;
}

/* CARDS */

.card{
    background:#18181b;
    border-radius:20px;
    padding:20px;
    box-shadow:0 0 20px rgba(0,0,0,0.3);
    width:100%;
    overflow:hidden;
}

/* BUTTON */

.btn-primary{
    background:#f59e0b;
    color:#000;
    border:none;
    padding:12px 20px;
    border-radius:10px;
    cursor:pointer;
    font-weight:600;
    transition:0.3s;
    text-decoration:none;
    display:inline-block;
}

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

/* INPUT */

.input-field{
    width:100%;
    padding:12px;
    background:#27272a;
    border:1px solid #3f3f46;
    border-radius:10px;
    color:#fff;
    margin-bottom:15px;
    outline:none;
}

.input-field:focus{
    border-color:#f59e0b;
}

/* TABLE */

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

.table th,
.table td{
    padding:14px;
    border-bottom:1px solid #27272a;
    text-align:left;
    vertical-align:middle;
}

.table th{
    background:#18181b;
    color:#f59e0b;
}

/* DASHBOARD */

.dashboard-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
}

.stat-card{
    background:#18181b;
    padding:25px;
    border-radius:20px;
    transition:0.3s;
}

.stat-card:hover{
    transform:translateY(-5px);
}

.stat-card h3{
    color:#a1a1aa;
    margin-bottom:10px;
}

.stat-card h1{
    color:#f59e0b;
}

/* LOGIN */

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

.login-box{
    width:100%;
    max-width:420px;
    background:#18181b;
    padding:35px;
    border-radius:25px;
}

/* HERO */

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    padding:40px;
    background:linear-gradient(to right,#09090b,#18181b);
}

.hero h1{
    font-size:60px;
    margin-bottom:20px;
    color:#f59e0b;
}

.hero p{
    color:#d4d4d8;
    margin-bottom:30px;
}

/* MOBILE NAV */

.mobile-bottom-nav{
    display:none;
}

/* MOBILE */

@media(max-width:768px){

    .sidebar{
        display:none;
    }

    .main-content{
        margin-left:0;
        width:100%;
        padding:15px;
        padding-bottom:90px;
    }

    .hero h1{
        font-size:36px;
    }

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

    .table{
        min-width:700px;
    }

    .mobile-bottom-nav{
        display:flex;
        justify-content:space-around;
        align-items:center;
        position:fixed;
        bottom:0;
        left:0;
        width:100%;
        background:#18181b;
        padding:15px;
        z-index:999;
        border-top:1px solid #27272a;
    }

    .mobile-bottom-nav a{
        color:#f59e0b;
        text-decoration:none;
        font-size:14px;
    }

}