/* ===== RESET / BASE ===== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    background: #eef1f6;
}

/* ===== SIDEBAR ===== */
.sidebar {
    width: 250px;
    height: 100vh;
    background: #0f172a;
    color: #cbd5e1;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    transition: width 0.3s ease;
    z-index: 100;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Logo */
.logo-section {
    position: relative;
}

.logo {
    height: 64px;
    padding: 0 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    border-bottom: 1px solid #1e293b;
}

/* MENU */
.menu {
    padding: 12px;
}

/* MENU ITEM */
.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    margin-bottom: 4px;
    border-radius: 8px;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.menu-item i {
    font-size: 16px;
    min-width: 16px;
    text-align: center;
}

.menu-item:hover {
    background: #1e293b;
    color: #fff;
}

.menu-item.active {
    background: #2563eb;
    color: #fff;
}

/* DIVIDER */
.menu-divider {
    height: 1px;
    background: #1e293b;
    margin: 12px 0;
}

/* SIDEBAR FOOTER */
.sidebar-footer {
    padding: 12px;
    border-top: 1px solid #1e293b;
    background: #0f172a;
}

/* ===== CREDIT CARD ANIMATIONS ===== */
@keyframes pulse-card {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* SETTINGS / AUTH BUTTONS */
.settings-btn {
    width: 100%;
    background: transparent;
    border: none;
    color: #cbd5e1;
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.settings-btn:hover {
    background: #1e293b;
    color: #fff;
}

.settings-btn.primary {
    background: #2563eb;
    color: #fff;
}

.settings-btn.primary:hover {
    background: #1d4ed8;
}

/* ===== MAIN CONTENT ===== */
.main-content {
    margin-left: 250px;
    min-height: 100vh;
    padding: 24px;
}

/* ===== TOP BAR ===== */
.topbar {
    height: 56px;
    background: #fff;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    padding: 0 20px;
    position: sticky;
    top: 0;
    z-index: 10;
}

.topbar-title {
    font-weight: 600;
}

/* ===== SIDEBAR SCROLLBAR STYLING ===== */
.sidebar {
    scrollbar-width: thin;
    scrollbar-color: #334155 #0f172a;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: #0f172a;
}

.sidebar::-webkit-scrollbar-thumb {
    background-color: #334155;
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background-color: #475569;
}