/* ============================================================
   GLOBAL RESET
============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Inter", sans-serif;
}

body {
    background: #f3f4f6;
    color: #000;
}

/* ============================================================
   TOP YELLOW BAR
============================================================ */
.topbar {
    background: #f9b400;
    color: white;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.topbar-left .menu-icon {
    font-size: 26px;
    cursor: pointer;
    font-weight: bold;
}

.middle {
    display: flex;
    justify-content: center;
    flex: 1;
}

.countdown-badge {
    background: #ffdf8e;
    padding: 6px 15px;
    border-radius: 6px;
    color: #000;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.topbar-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.notification {
    position: relative;
    font-size: 22px;
    cursor: pointer;
}

.notification-count {
    position: absolute;
    top: -6px;
    right: -10px;
    background: red;
    color: white;
    font-size: 10px;
    padding: 2px 5px;
    border-radius: 50%;
}

.settings-icon {
    font-size: 20px;
    cursor: pointer;
}

/* ============================================================
   ACTION BUTTONS
============================================================ */
.action-bar {
    display: flex;
    justify-content: space-between;
    padding: 12px;
    margin-top: 10px;
    gap: 10px;
}

.action-btn {
    background: #3b3b3b;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    flex: 1;
    text-align: center;
    transition: 0.2s ease;
}

.action-btn:hover {
    background: #222;
}

.add-wallet-btn {
    background: #f9b400;
    color: #000;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    flex: 1;
    text-align: center;
    transition: 0.2s ease;
}

.add-wallet-btn:hover {
    background: #e6a600;
}

/* ============================================================
   BALANCE CARDS
============================================================ */
.balance-card {
    background: white;
    margin: 12px;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
    overflow: hidden;
    transition: 0.2s ease;
}

.balance-card:hover {
    transform: scale(1.01);
}

.balance-header {
    background: #f9b400;
    color: #000;
    padding: 12px;
    font-size: 18px;
    text-align: center;
    font-weight: 700;
}

.balance-body {
    padding: 18px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.balance-body img {
    width: 45px;
}

.balance-amount {
    font-size: 22px;
    font-weight: 800;
    flex: 1;
}

.eye {
    font-size: 22px;
    cursor: pointer;
}

.balance-footer {
    background: #3b3b3b;
    color: white;
    padding: 12px;
    font-size: 15px;
    cursor: pointer;
}

.balance-footer.center {
    text-align: center;
}

/* ============================================================
   RECENT TRANSACTIONS PANEL
============================================================ */
.panel {
    background: white;
    margin: 12px;
    padding: 18px;
    border-radius: 14px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.12);
}

.panel h3 {
    font-size: 18px;
    margin-bottom: 12px;
}

.table-wrap {
    overflow-x: auto;
}

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

.table th {
    background: #f9b400;
    color: #000;
    padding: 12px;
    font-size: 14px;
    text-align: left;
    font-weight: 700;
}

.table td {
    padding: 12px;
    border-bottom: 1px solid #e8e8e8;
    font-size: 14px;
}

.table tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   PREMIUM SIDEBAR MENU
============================================================ */
.sidebar {
    width: 260px;
    height: 100%;
    background: #ffffff;
    position: fixed;
    left: -260px;
    top: 0;
    transition: 0.3s ease;
    padding-top: 60px;
    z-index: 9999;
    box-shadow: 3px 0 10px rgba(0,0,0,0.20);
    overflow-y: auto;
}

.sidebar.open {
    left: 0;
}

.sidebar h2 {
    padding-left: 20px;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #000;
}

/* Sidebar links + dropdowns */
.sidebar a,
.dropdown-btn {
    display: block;
    padding: 12px 20px;
    color: #000;
    text-decoration: none;
    font-size: 15px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: 0.2s ease;
}

.sidebar a:hover,
.dropdown-btn:hover {
    background: #f9b400;
    color: #000;
}

.dropdown-container {
    display: none;
    background: #fafafa;
}

.dropdown-container a {
    padding-left: 35px;
}

/* Logout Button */
.logout-btn,
.sidebar a.logout-btn {
    background: red;
    margin: 20px;
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    font-weight: 700;
    color: white !important;
    border: none;
}

/* ============================================================
   OVERLAY (when sidebar opens)
============================================================ */
.overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0; 
    left: 0;
    background: rgba(0,0,0,0.4);
    z-index: 9998;
}

.overlay.show {
    display: block;
}