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

body {
    background: #f8fafc;
    color: #1e293b;
}

/* ====== Layout ====== */
.dashboard-container {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 250px;
    background: #0f172a;
    color: #f1f5f9;
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.brand {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 30px;
    gap: 10px;
    color: #38bdf8;
}

.menu a {
    display: block;
    color: #cbd5e1;
    padding: 10px 14px;
    border-radius: 6px;
    margin-bottom: 8px;
    transition: 0.2s;
    text-decoration: none;
}

.menu a:hover,
.menu a.active {
    background: #1e293b;
    color: #f8fafc;
}

.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 24px;
}

/* ====== Topbar ====== */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    padding: 14px 20px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.topbar h1 {
    font-size: 1.2rem;
    font-weight: 600;
}

.logout-btn {
    background: #dc2626;
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: 0.2s;
}

.logout-btn:hover {
    opacity: 0.9;
}

/* ====== Stats ====== */
.stats {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.card {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.card h3 {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.card p {
    font-size: 1.4rem;
    font-weight: 600;
    color: #0f172a;
}

/* ====== Toolbar ====== */
.toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.toolbar h2 {
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter select,
.filter button {
    padding: 8px 10px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
    background: white;
    cursor: pointer;
    font-size: 14px;
}

/* ====== Table ====== */
.table-section table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.table-section th,
.table-section td {
    text-align: left;
    padding: 12px 14px;
    border-bottom: 1px solid #e2e8f0;
}

.table-section th {
    background: #f1f5f9;
    font-weight: 600;
    font-size: 0.9rem;
}

.table-section tr:hover {
    background: #f9fafb;
}

/* ====== Badges ====== */
.badge {
    padding: 4px 8px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 500;
    text-transform: capitalize;
}

.badge--pending,
.badge--pending-business {
    background: #fef3c7;
    color: #92400e;
}

.badge--under-review {
    background: #e0f2fe;
    color: #075985;
}

.badge--active {
    background: #dcfce7;
    color: #166534;
}

.badge--rejected {
    background: #fee2e2;
    color: #991b1b;
}

/* ====== Buttons ====== */
.btn {
    padding: 6px 10px;
    border-radius: 5px;
    cursor: pointer;
    border: none;
    font-weight: 500;
    font-size: 13px;
}

.btn--approve {
    background: #16a34a;
    color: white;
}

.btn--reject {
    background: #dc2626;
    color: white;
}

/* ====== Toast ====== */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 10px 14px;
    border-radius: 6px;
    background: #334155;
    color: white;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.toast--success {
    background: #16a34a;
}

.toast--error {
    background: #dc2626;
}

.toast--info {
    background: #0ea5e9;
}