@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;
}

body{
    background:#edf2f7;
    font-family:'Poppins',sans-serif;
    overflow-x:hidden;
}

/* SIDEBAR */

.sidebar{
    background:linear-gradient(180deg,#0f172a,#020617);
    min-height:100vh;
    box-shadow:5px 0 20px rgba(0,0,0,0.15);
}

.sidebar h3{
    font-size:28px;
    letter-spacing:1px;
}

.nav-link{
    padding:14px 18px;
    border-radius:12px;
    transition:0.3s;
    font-size:15px;
    font-weight:500;
}

.nav-link:hover{
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    transform:translateX(5px);
}

/* CONTENT */

.main-content{
    background:#edf2f7;
}

/* TOPBAR */

.topbar{
    background:white;
    border-bottom:1px solid #e2e8f0;
    box-shadow:0 3px 10px rgba(0,0,0,0.03);
}

/* CLOCK */

.clock-card{
    background:
    linear-gradient(135deg,#2563eb,#1e40af);
    color:white;
    border-radius:24px;
    padding:45px;
    box-shadow:0 10px 30px rgba(37,99,235,0.3);
    position:relative;
    overflow:hidden;
}

.clock-card::before{
    content:'';
    position:absolute;
    width:300px;
    height:300px;
    background:rgba(255,255,255,0.08);
    border-radius:50%;
    top:-100px;
    right:-100px;
}

#clock{
    font-size:72px;
    font-weight:700;
    letter-spacing:3px;
}

#date{
    margin-top:10px;
    opacity:0.9;
}

/* CARD */

.card-modern{
    background:white;
    border-radius:22px;
    padding:28px;
    border:none;
    transition:0.3s;
    box-shadow:0 5px 25px rgba(0,0,0,0.05);
}

.card-modern:hover{
    transform:translateY(-5px);
    box-shadow:0 12px 35px rgba(0,0,0,0.1);
}

.card-modern h5{
    color:#64748b;
    margin-bottom:10px;
    font-size:15px;
}

.card-modern h2{
    font-size:32px;
    font-weight:700;
    color:#0f172a;
}

/* BUTTON */

.btn-primary{
    background:linear-gradient(135deg,#2563eb,#1d4ed8);
    border:none;
    padding:12px 28px;
    border-radius:12px;
    font-weight:600;
    transition:0.3s;
}

.btn-primary:hover{
    transform:scale(1.05);
    box-shadow:0 10px 20px rgba(37,99,235,0.3);
}

/* STATUS */

.text-success{
    color:#16a34a !important;
}

/* MOBILE */

@media(max-width:768px){

    .sidebar{
        min-height:auto;
        padding-bottom:20px;
    }

    #clock{
        font-size:42px;
    }

    .clock-card{
        padding:30px;
    }

    .card-modern{
        margin-bottom:18px;
    }

    .sidebar h3{
        font-size:22px;
    }

}