/* ========================================
   DASHBOARD STYLES (Ported from original)
   ======================================== */

.two-col {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    gap: 20px;
    margin-top: 10px;
}

.dash-layout {
    display: grid;
    grid-template-columns: minmax(0, 3.5fr) minmax(0, 2.2fr);
    gap: 18px;
    margin-top: 14px;
}

.dash-card {
    background: #fff;
    border-radius: 14px;
    border: 1px solid #dfe6e9;
    padding: 16px 18px;
    margin-bottom: 12px;
}

.dash-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    color: #2d3436;
}

.dash-card small {
    font-size: 12.5px;
    color: #636e72;
}

.stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 12px;
    margin-top: 12px;
}

.stat-box {
    border-radius: 12px;
    padding: 10px 12px;
    background: #f3f6fd;
    border: 1px solid #dde3f0;
    font-size: 12px;
}

.stat-label {
    color: #636e72;
    font-size: 12px;
}

.stat-value {
    font-weight: 600;
    font-size: 16px;
    color: #1b4f72;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13.5px;
    margin-top: 8px;
}

th,
td {
    padding: 8px 10px;
    text-align: left;
    border-bottom: 1px solid #dfe6e9;
}

th {
    font-weight: 500;
    color: #636e72;
    background: #f5f7fd;
}

/* KPI Cards */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 25px;
}

.kpi-card {
    background: #fff;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.kpi-title {
    font-size: 12px;
    color: #7f8c8d;
    text-transform: uppercase;
    font-weight: 600;
}

.kpi-value {
    font-size: 24px;
    font-weight: 700;
    color: #2c3e50;
    margin-top: 5px;
}

/* Admin Layout */
.admin-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 20px;
    min-height: 500px;
}

.admin-sidebar {
    background: #fff;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    padding: 10px;
}

.admin-menu-item {
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #2c3e50;
    transition: 0.2s;
    margin-bottom: 2px;
}

.admin-menu-item:hover,
.admin-menu-item.active {
    background: #f1f2f6;
    color: #1b4f72;
    font-weight: 600;
}

.admin-content {
    background: #fff;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    padding: 20px;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.admin-table th {
    background: #f1f2f6;
    text-align: left;
    padding: 10px;
    border-bottom: 2px solid #dfe6e9;
}

.admin-table td {
    padding: 10px;
    border-bottom: 1px solid #eee;
}

/* Badges */
.status-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
}

.st-pending {
    background: #fef9e7;
    color: #f39c12;
}

.st-completed {
    background: #eafaf1;
    color: #27ae60;
}

.st-cancelled {
    background: #fdedec;
    color: #c0392b;
}

/* Responsive */
@media (max-width: 900px) {

    .dash-layout,
    .two-col {
        grid-template-columns: 1fr;
    }

    .admin-layout {
        grid-template-columns: 1fr;
    }

    .admin-sidebar {
        display: flex;
        overflow-x: auto;
        padding: 10px;
        border-bottom: 1px solid #dfe6e9;
        margin-bottom: 15px;
    }

    .admin-menu-item {
        white-space: nowrap;
        margin-right: 10px;
        margin-bottom: 0;
    }
}

/* ========================================
   REPORT ACTION BUTTONS
   ======================================== */
.action-btn-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-icon {
    background: none;
    border: 1px solid #dfe6e9;
    border-radius: 8px;
    padding: 5px 8px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    transition: background 0.2s, transform 0.15s;
}

.btn-icon:hover {
    background: #f0f4ff;
    transform: scale(1.12);
}

.btn-view-report {
    border-color: #3498db;
    background: #eaf4fd;
    color: #2980b9;
}

.btn-view-report:hover {
    background: #d4eaf9;
}