/* ==========================================
   DASHBOARD CONTENT
========================================== */

.dashboard-content {
    width: 100%;
    padding: 0;
    margin-top: 24px;
}

/* ==========================================
   STATISTICS CARDS
========================================== */

.dashboard-content .dashboard-stat-card {
    display: flex;
    align-items: center;
    gap: 18px;

    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;

    padding: 24px;

    min-height: 115px;

    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);

    transition: all 0.2s ease;
}

.dashboard-content .dashboard-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.08);
    border-color: #cbd5e1;
}

/* STAT ICON */

.dashboard-content .stat-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    min-width: 58px;

    border-radius: 14px;

    background: #eff6ff;
    color: #2563eb;

    font-size: 23px;
}

/* DIFFERENT ICON COLORS */

.dashboard-content .col-md-4:nth-child(2) .stat-icon {
    background: #ecfdf5;
    color: #059669;
}

.dashboard-content .col-md-4:nth-child(3) .stat-icon {
    background: #fff7ed;
    color: #ea580c;
}

/* STAT TEXT */

.dashboard-content .dashboard-stat-card span {
    display: block;

    font-size: 13px;
    font-weight: 500;

    color: #64748b;

    margin-bottom: 6px;
}

.dashboard-content .dashboard-stat-card h3 {
    font-size: 26px;
    font-weight: 750;

    color: #0f172a;

    margin: 0;

    line-height: 1.3;
}

/* ==========================================
   ADMIN CARD
========================================== */

.dashboard-content .admin-card {
    background: #ffffff;

    border: 1px solid #e5e7eb;
    border-radius: 16px;

    overflow: hidden;

    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);

    margin-bottom: 24px;
}

/* ==========================================
   ADMIN CARD HEADER
========================================== */

.dashboard-content .admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    padding: 22px 26px;

    border-bottom: 1px solid #e5e7eb;

    background: #ffffff;
}

.dashboard-content .admin-card-header h4 {
    font-size: 18px;
    font-weight: 700;

    color: #1e293b;

    margin: 0 0 6px;
}

.dashboard-content .admin-card-header p {
    font-size: 13px;
    font-weight: 400;

    color: #64748b;

    margin: 0;
}

/* ==========================================
   SEARCH BOX
========================================== */

.dashboard-content .search-box {
    position: relative;

    width: 300px;
    max-width: 100%;
}

.dashboard-content .search-box i {
    position: absolute;

    left: 15px;
    top: 50%;

    transform: translateY(-50%);

    color: #94a3b8;
    font-size: 14px;

    pointer-events: none;
}

.dashboard-content .search-box .form-control {
    width: 100%;

    height: 42px;

    padding: 10px 15px 10px 42px;

    background: #f8fafc;

    border: 1px solid #e2e8f0;
    border-radius: 10px;

    font-size: 13px;
    color: #334155;

    transition: all 0.2s ease;
}

.dashboard-content .search-box .form-control:focus {
    background: #ffffff;

    border-color: #93c5fd;

    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);

    outline: none;
}

.dashboard-content .search-box .form-control::placeholder {
    color: #94a3b8;
}

/* ==========================================
   ADMIN CARD BODY
========================================== */

.dashboard-content .admin-card-body {
    padding: 24px 26px;
}

/* ==========================================
   TABLE CONTAINER
========================================== */

.dashboard-content .table-responsive {
    width: 100%;

    overflow-x: auto;

    border-radius: 10px;
}

/* ==========================================
   ADMIN TABLE
========================================== */

.dashboard-content .admin-table {
    width: 100%;

    margin-bottom: 0;

    border-collapse: separate;
    border-spacing: 0;

    font-size: 13px;
}

/* TABLE HEADER */

.dashboard-content .admin-table thead th {
    background: #f8fafc;

    padding: 15px 18px;

    font-size: 11px;
    font-weight: 700;

    color: #64748b;

    text-transform: uppercase;
    letter-spacing: 0.6px;

    border-bottom: 1px solid #e2e8f0;

    white-space: nowrap;
}

/* TABLE BODY */

.dashboard-content .admin-table tbody td {
    padding: 17px 18px;

    font-size: 13px;
    font-weight: 400;

    color: #475569;

    vertical-align: middle;

    background: #ffffff;

    border-bottom: 1px solid #f1f5f9;

    transition: background-color 0.2s ease;
}

/* TABLE ROW HOVER */

.dashboard-content .admin-table tbody tr:hover td {
    background: #f8fafc;
}

/* REMOVE LAST BORDER */

.dashboard-content .admin-table tbody tr:last-child td {
    border-bottom: none;
}

/* TABLE STRONG TEXT */

.dashboard-content .admin-table strong {
    font-weight: 650;
    color: #1e293b;
}

/* SECONDARY TEXT */

.dashboard-content .admin-table .text-muted {
    color: #94a3b8 !important;
}

.dashboard-content .admin-table .small {
    font-size: 11px;
}

/* ==========================================
   TABLE AVATAR
========================================== */

.dashboard-content .table-avatar {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    min-width: 40px;

    border-radius: 12px;

    background: #eff6ff;
    color: #2563eb;

    font-size: 15px;
}

/* ==========================================
   BADGES
========================================== */

.dashboard-content .admin-table .badge {
    display: inline-flex;
    align-items: center;

    padding: 7px 11px;

    border-radius: 7px;

    font-size: 11px;
    font-weight: 600;

    letter-spacing: 0.2px;
}

.dashboard-content .admin-table .bg-primary-subtle {
    background: #eff6ff !important;
}

.dashboard-content .admin-table .text-primary {
    color: #2563eb !important;
}

/* ==========================================
   TABLE ACTION BUTTONS
========================================== */

.dashboard-content .admin-table .btn-sm {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 34px;
    height: 34px;

    padding: 0;

    border-radius: 9px;

    font-size: 12px;

    transition: all 0.2s ease;
}

/* EDIT */

.dashboard-content .admin-table .btn-outline-primary {
    background: #eff6ff;

    border: 1px solid #dbeafe;

    color: #2563eb;
}

.dashboard-content .admin-table .btn-outline-primary:hover {
    background: #2563eb;

    border-color: #2563eb;

    color: #ffffff;

    transform: translateY(-2px);
}

/* DELETE */

.dashboard-content .admin-table .btn-outline-danger {
    background: #fef2f2;

    border: 1px solid #fee2e2;

    color: #dc2626;
}

.dashboard-content .admin-table .btn-outline-danger:hover {
    background: #dc2626;

    border-color: #dc2626;

    color: #ffffff;

    transform: translateY(-2px);
}

/* ==========================================
   EMPTY STATE
========================================== */

.dashboard-content .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;

    padding: 65px 20px;
}

.dashboard-content .empty-state > i {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 85px;
    height: 85px;

    border-radius: 22px;

    background: #eff6ff;
    color: #3b82f6;

    font-size: 32px;

    margin-bottom: 22px;
}

.dashboard-content .empty-state h4 {
    font-size: 19px;
    font-weight: 700;

    color: #1e293b;

    margin-bottom: 10px;
}

.dashboard-content .empty-state p {
    font-size: 14px;

    color: #64748b;

    max-width: 420px;

    line-height: 1.7;

    margin-bottom: 22px;
}

/* EMPTY STATE BUTTON */

.dashboard-content .empty-state .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 11px 20px;

    border-radius: 10px;

    font-size: 13px;
    font-weight: 600;
}

/* ==========================================
   LOADING STATE
========================================== */

.dashboard-content .spinner-border {
    width: 30px;
    height: 30px;
    border-width: 3px;
}

.dashboard-content .text-center p {
    font-size: 13px;
    color: #64748b;
}

/* ==========================================
   ALERT MESSAGES
========================================== */

.dashboard-content .alert {
    border-radius: 12px;

    padding: 15px 18px;

    font-size: 13px;

    border-width: 1px;

    margin-bottom: 20px;
}

.dashboard-content .alert-success {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.dashboard-content .alert-danger {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width: 992px) {

    .dashboard-content .dashboard-stat-card {
        padding: 20px;
    }

    .dashboard-content .admin-card-header {
        padding: 20px;
    }

    .dashboard-content .admin-card-body {
        padding: 20px;
    }

    .dashboard-content .admin-table thead th,
    .dashboard-content .admin-table tbody td {
        padding: 14px;
    }
}

@media (max-width: 768px) {

    .dashboard-content {
        margin-top: 18px;
    }

    /* STATISTICS */

    .dashboard-content .dashboard-stat-card {
        padding: 18px;
        min-height: 95px;
    }

    .dashboard-content .stat-icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        font-size: 19px;
    }

    .dashboard-content .dashboard-stat-card h3 {
        font-size: 22px;
    }

    /* CARD HEADER */

    .dashboard-content .admin-card-header {
        flex-direction: column;
        align-items: flex-start;

        gap: 15px;

        padding: 18px;
    }

    .dashboard-content .admin-card-header h4 {
        font-size: 16px;
    }

    /* SEARCH */

    .dashboard-content .search-box {
        width: 100%;
    }

    /* CARD BODY */

    .dashboard-content .admin-card-body {
        padding: 15px;
    }

    /* TABLE */

    .dashboard-content .admin-table {
        min-width: 750px;
    }

    .dashboard-content .admin-table thead th {
        font-size: 10px;
        padding: 12px;
    }

    .dashboard-content .admin-table tbody td {
        font-size: 12px;
        padding: 12px;
    }

    /* EMPTY STATE */

    .dashboard-content .empty-state {
        padding: 45px 15px;
    }

    .dashboard-content .empty-state h4 {
        font-size: 17px;
    }
}