body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: #f5f7fb;
}

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;

    padding: 15px 30px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
}

.nav-right span {
    margin-left: 20px;
    cursor: pointer;
    font-weight: 500;
}

/* DASHBOARD */
.dashboard {
    padding: 30px;
}

h1 {
    margin-bottom: 20px;
}

/* CARDS */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 20px;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    text-align: center;

    cursor: pointer;
    transition: 0.3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
}

.card-text {
    padding: 10px;
    font-weight: 500;
}

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

/* INFO SECTION */
.info-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;

    margin-top: 30px;
}

/* BOX */
.box {
    background: white;
    padding: 20px;
    border-radius: 12px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

/* PROGRESS BAR */
.bar {
    background: #e2e8f0;
    height: 8px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.fill {
    height: 100%;
    background: #2563eb;
    border-radius: 5px;
}
/* SETTINGS BUTTON */
.settings-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    font-size: 22px;
    cursor: pointer;
}

/* OVERLAY */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
}

/* SIDEBAR PANEL */
.settings-panel {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100%;
    background: white;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    transition: 0.3s;
    z-index: 1000;
}

/* ACTIVE STATE */
.settings-panel.active {
    right: 0;
}

#overlay.active {
    display: block;
}

/* BOXES */
.setting-box {
    margin-bottom: 20px;
}

.setting-box input {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
}

/* DARK MODE */
.dark {
    background: #202e44;
    color: white;
}
/* SETTINGS PANEL */
.settings-panel {
    position: fixed;
    top: 0;
    right: -350px;
    width: 320px;
    height: 100%;
    background: white;
    padding: 20px;
    box-shadow: -5px 0 15px rgba(0,0,0,0.2);
    transition: 0.3s;
    z-index: 1000;
}

.settings-panel.active {
    right: 0;
}

/* OVERLAY */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    display: none;
    z-index: 999;
}

#overlay.active {
    display: block;
}

/* SETTINGS BOX */
.setting-box {
    margin-bottom: 20px;
}

.setting-box input {
    width: 100%;
    padding: 8px;
    margin: 5px 0;
}

/* ICON */
.settings-icon {
    cursor: pointer;
    margin-left: 15px;
    font-size: 20px;
}

/* DARK MODE */
.dark {
    background: #1e293b;
    color: white;
}

.dark .navbar,
.dark .card,
.dark .box,
.dark .settings-panel {
    background: #334155;
    color: white;
}
/* PROFILE PANEL */
.profile-panel {
    position: fixed;
    top: 0;
    right: -350px;  /* hidden initially */
    width: 300px;
    height: 100%;

    background: white;
    box-shadow: -5px 0 20px rgba(0,0,0,0.1);

    transition: 0.3s;
    z-index: 1000;
}

/* SHOW PANEL */
.profile-panel.active {
    right: 0;
}

/* CONTENT */
.profile-content {
    text-align: center;
    padding: 40px 20px;
}

/* IMAGE */
.profile-img {
    width: 90px;
    border-radius: 50%;
    margin-bottom: 15px;
}