* {
    padding: 0;
    box-sizing: border-box;
}

.gabarito {
    font-family: "Gabarito", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

header{
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid rgba(88, 86, 86, 0.613);

}

.logo {
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 20px;
    
}

.header-action{
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 20px;
}
.logo img{
    height: 50px;
    width: 50px;
    border-radius: 50%;
    border: 2px solid rgb(0, 89, 255);
    object-fit: cover;
    object-position: top;
}

.logo h1{
    font-size: 1.325rem;
}

.header-action .menu-toggle{
    background: transparent;
    border: none;
    cursor: pointer;
}

/* --- STYLING SIDEBAR --- */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background-color: #ffffff;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    z-index: 1000;
    
    /* Sembunyikan sidebar ke kiri luar layar */
    transform: translateX(-100%);
    /* Memberikan efek animasi smooth saat bergeser */
    transition: transform 0.3s ease-in-out; 
}

/* Class ini yang akan dipicu oleh JavaScript */
.sidebar.active {
    transform: translateX(0); /* Memunculkan kembali sidebar */
}

/* Tombol close di dalam sidebar */
.close-toggle {
    background: transparent;
    border: none;
    cursor: pointer;
    float: right;
    margin-bottom: 20px;
}

.sidebar-nav a {
    display: block;
    padding: 15px 0;
    color: #333;
    text-decoration: none;
    font-family: 'Gabarito', sans-serif;
    font-size: 1.2rem;
    border-bottom: 1px solid #f0f0f0;
}

/* --- STYLING OVERLAY --- */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 999;
    display: none; /* Sembunyikan secara default */
}

.overlay.active {
    display: block; /* Munculkan saat sidebar aktif */
}