.content-wrapper {
    background: #f5f7fb;
}

.content-header h1 {
    font-weight: 700;
    color: #1f2937;
}

.card {
    border: 0;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.card-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    border-radius: 8px 8px 0 0;
}

.card-title {
    font-weight: 700;
    color: #1f2937;
}

.small-box {
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
}

.small-box .inner h3 {
    font-weight: 800;
}

.admin-table-card .card-body {
    padding: 1.25rem;
}

.admin-data-table thead th,
.table thead th {
    border-bottom: 1px solid #d1d5db;
    color: #4b5563;
    font-size: 0.78rem;
    letter-spacing: 0;
    text-transform: uppercase;
    white-space: nowrap;
}

.admin-data-table tbody td,
.table tbody td {
    vertical-align: middle;
}

.badge {
    font-weight: 600;
    padding: 0.4em 0.55em;
}

.btn {
    border-radius: 6px;
    font-weight: 600;
}

.btn-sm {
    padding: 0.28rem 0.55rem;
}

.form-control {
    border-radius: 6px;
}

.dataTables_wrapper .dataTables_filter input,
.dataTables_wrapper .dataTables_length select {
    border: 1px solid #d1d5db;
    border-radius: 6px;
}

.pagination .page-link {
    border-radius: 6px;
    margin: 0 2px;
}

.dashboard-metric-card {
    display: block;
    min-height: 150px;
    margin-bottom: 1rem;
    padding: 1.15rem;
    border-radius: 8px;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.1);
}

.dashboard-metric-card:hover {
    color: #ffffff;
    transform: translateY(-1px);
    text-decoration: none;
}

.dashboard-metric-card strong {
    display: block;
    font-size: 2.2rem;
    line-height: 1;
    margin: 0.6rem 0 0.3rem;
}

.dashboard-metric-card small,
.dashboard-metric-card .metric-label {
    display: block;
    opacity: 0.92;
}

.dashboard-metric-card .metric-icon {
    position: absolute;
    right: 1rem;
    bottom: 0.75rem;
    font-size: 3rem;
    opacity: 0.22;
}

.metric-blue {
    background: #2563eb;
}

.metric-green {
    background: #059669;
}

.metric-amber {
    background: #d97706;
}

.metric-red {
    background: #dc2626;
}

.dashboard-card {
    margin-bottom: 1rem;
}

.dashboard-card .progress {
    height: 0.55rem;
    border-radius: 999px;
    background: #e5e7eb;
}

.dashboard-card .progress-sm {
    height: 0.42rem;
}

.dashboard-big-number {
    padding-bottom: 1rem;
    margin-bottom: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.dashboard-big-number strong {
    display: block;
    font-size: 2.4rem;
    color: #111827;
    line-height: 1;
}

.dashboard-big-number span {
    color: #6b7280;
}

.dashboard-action-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.dashboard-action-grid a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    min-height: 54px;
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    color: #1f2937;
    font-weight: 700;
    background: #ffffff;
}

.dashboard-action-grid a:hover {
    border-color: #93c5fd;
    color: #1d4ed8;
    text-decoration: none;
}

.dashboard-action-grid i {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #eff6ff;
    color: #2563eb;
}

.dashboard-rank-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.8rem 0;
    border-bottom: 1px solid #eef2f7;
}

.dashboard-rank-row:last-child {
    border-bottom: 0;
    padding-bottom: 0;
}

.dashboard-rank-row:first-child {
    padding-top: 0;
}

.dashboard-bar-row {
    margin-bottom: 1rem;
}

.dashboard-bar-row:last-child {
    margin-bottom: 0;
}

.role-panel {
    display: none;
}

.user-create-role-preview {
    text-align: center;
    padding: 0.5rem 0;
}

.user-create-role-preview .preview-icon {
    width: 64px;
    height: 64px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.8rem;
    border-radius: 8px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 1.6rem;
}

.user-create-role-preview strong {
    display: block;
    color: #111827;
    font-size: 1.15rem;
    margin-bottom: 0.35rem;
}

.user-create-checklist {
    display: grid;
    gap: 0.75rem;
}

.user-create-checklist div {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #374151;
}

.admin-form-card .card-body {
    padding: 1.35rem;
}

.admin-form-card label {
    color: #374151;
    font-weight: 700;
}

.admin-help-card .card-body {
    display: grid;
    gap: 0.8rem;
}

.admin-help-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.8rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #ffffff;
    color: #374151;
    font-weight: 600;
}

.admin-help-item i {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: #eff6ff;
    color: #2563eb;
}

.admin-status-tile {
    padding: 0.9rem;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    background: #f9fafb;
}

.admin-empty-state {
    padding: 2rem 1rem;
    text-align: center;
    color: #6b7280;
}
