/* SPVN Admin Common Styles */

:root {
    --primary-gradient: linear-gradient(135deg, #3B82F6 0%, #6366F1 100%);
    --primary-color: #3B82F6;
    --primary-light: #60A5FA;
    --primary-dark: #2563EB;
    --secondary-color: #6366F1;
    --success-color: #10B981;
    --danger-color: #EF4444;
    --warning-color: #F59E0B;
    --info-color: #3B82F6;
    --bg-light: #F8FAFC;
    --white: #ffffff;
    --text-dark: #0F172A;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --border-color: #E2E8F0;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none;
    color: inherit;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    min-height: 100vh;
}

.admin-body {
    background: #F1F5F9;
    padding: 24px;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 30px;
    padding: 32px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.header h1 {
    font-size: 20px;
    color: var(--text-dark);
}

/* Authentication Pages Styling */
.auth-container {
    background: linear-gradient(180deg, #96D1D6 0%, #3777DB 49.97%, #3FBAC5 100%);
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

@media (max-height: 700px) {
    .auth-container {
        height: auto;
        min-height: 100vh;
        overflow: auto;
    }
}

.auth-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    padding: 40px;
    width: 100%;
    max-width: 400px;
}

.logo-container {
    text-align: center;
    margin-bottom: 15px;
}

.logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 15px;
    background: var(--primary-gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    font-weight: bold;
    color: var(--white);
}

.logo-subtitle {
    font-size: 16px;
    font-weight: 500;
    color: #475569;
    margin-top: 5px;
}

.logo-description {
    font-size: 14px;
    font-weight: 400;
    color: #64748b;
    margin-top: 2px;
}

.auth-title {
    text-align: center;
    color: #003399;
    /* Blue color from Figma */
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 700;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    z-index: 5;
}

.form-control-icon {
    padding-left: 42px !important;
}

.password-toggle {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    transition: color 0.2s;
    z-index: 10;
    padding: 5px;
}

.password-toggle:hover {
    color: var(--primary-color);
}

.auth-separator {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 30px 0 20px;
    color: #cbd5e1;
}

.auth-separator::before,
.auth-separator::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid #e2e8f0;
}

.auth-separator span {
    padding: 0 15px;
    color: #94a3b8;
    font-size: 14px;
    font-weight: 500;
    text-transform: lowercase;
}

.auth-footer {
    text-align: center;
    margin-top: 25px;
    font-size: 14px;
    color: #666;
}

.auth-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.auth-link:hover {
    text-decoration: underline;
    opacity: 0.8;
}

/* Buttons */
.btn {
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    /* display: inline-flex; */
    align-items: center;
    gap: 8px;
    border: none;
    transition: 0.3s;
}

.btn-primary {
    background: var(--text-dark);
    color: var(--white);
    border-radius: 12px;
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.btn-login {
    background-color: #020617 !important;
    color: #ffffff !important;
    border: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.btn-login:hover,
.btn-login:active,
.btn-login:focus {
    background-color: #000000 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    outline: none !important;
}

.btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1px solid #e2e8f0;
    color: var(--text-dark);
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border-radius: 12px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    gap: 12px;
    position: relative;
}

.btn-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
}

.btn-outline:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-1px);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-dark);
    font-size: 14px;
    font-weight: 500;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="datetime-local"],
select,
textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #E2E8F0;
    border-radius: 12px;
    font-size: 14px;
    outline: none;
    transition: all 0.3s;
    background-color: #F8FAFC;
    color: #1E293B;
}

input:focus,
select:focus,
textarea:focus {
    border-color: var(--primary-color);
    background-color: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: 15px;
    border-bottom: 2px solid var(--border-color);
    color: var(--text-muted);
    font-size: 13px;
}

td {
    padding: 15px;
    border-bottom: 1px solid var(--border-color);
    font-size: 14px;
    color: var(--text-dark);
}

/* Badges */
.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.status-sent {
    background: #e8f5e9;
    color: #2e7d32;
}

.status-scheduled {
    background: #e3f2fd;
    color: #1565c0;
}

.status-draft {
    background: #f5f5f5;
    color: #616161;
}

.type-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.type-announcement {
    background: #fff3e0;
    color: #ef6c00;
}

.type-info {
    background: #e3f2fd;
    color: #1565c0;
}

/* Settings Toggles */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 26px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked+.slider {
    background-color: var(--success-color);
}

input:checked+.slider:before {
    transform: translateX(24px);
}

/* Alerts */
.alert {
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 14px;
}

.alert-danger {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.alert-success {
    background-color: #efe;
    color: #2e7d32;
    border: 1px solid #cfc;
}

.tabs {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    border-bottom: 1px solid #F1F5F9;
}

.tab {
    padding: 16px 0;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    margin-bottom: -1px;
    transition: all 0.3s;
}

.tab:hover {
    color: var(--primary-color);
}

.tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* Stats Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    border: 1px solid #F1F5F9;
    border-radius: 20px;
    padding: 24px;
    transition: all 0.3s;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.02);
}

.stat-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.stat-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -1px;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
}

/* Content Sections */
.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
    gap: 30px;
}

.section {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 25px;
}

.section-header {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Progress Bars */
.progress-bar {
    width: 100%;
    height: 8px;
    background: #f5f5f5;
    border-radius: 4px;
    overflow: hidden;
    margin: 0 20px;
}

.progress-fill {
    height: 100%;
    border-radius: 4px;
}

.progress-fill.complete {
    background: var(--success-color);
}

.progress-fill.good {
    background: var(--warning-color);
}

.progress-fill.pending {
    background: var(--primary-color);
}

/* Chart Legend */
.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
}

.legend-color {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Organization Info */
.org-info {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.org-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-item span {
    display: block;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

/* Member Cards */
.member-list {
    display: grid;
    gap: 15px;
}

.member-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: 0.3s;
}

.member-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.member-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    margin-right: 15px;
}

/* SweetAlert Customization */
.swal2-toast {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1) !important;
    border-radius: 12px !important;
    padding: 15px !important;
}

.swal2-popup.swal2-toast .swal2-title {
    font-size: 14px !important;
    font-weight: 600 !important;
    color: var(--text-dark) !important;
}

/* Pending Approvals Page Styles */
.pending-header-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 20px;
}

.waiting-badge {
    background: #fffbeb;
    color: #92400e;
    padding: 8px 16px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #fef3c7;
    display: flex;
    align-items: center;
    gap: 8px;
}

.pulse-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #f59e0b;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.pending-member-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.04), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    border: 1px solid #f1f5f9;
    transition: transform 0.2s, box-shadow 0.2s;
    overflow: hidden;
    position: relative;
    display: flex;
}

.pending-card-grid {
    display: grid !important;
    grid-template-columns: 300px 1fr 280px;
    min-height: 280px;
}

.pending-member-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -8px rgba(0, 0, 0, 0.08);
}

.card-profile-col {
    padding: 32px;
    border-right: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: #fafafa;
}

.card-avatar {
    width: 80px;
    height: 80px;
    border-radius: 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px -5px rgba(37, 99, 235, 0.3);
    overflow: hidden;
}

.card-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.role-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 16px;
}

.role-tag.supervisor {
    background: #dbeafe;
    color: #1e40af;
}

.role-tag.supervisee {
    background: #f0fdf4;
    color: #166534;
}

.role-tag.rejected {
    background: #fee2e2;
    color: #b91c1c;
}

.role-tag.pending {
    background: #fff7ed;
    color: #9a3412;
}

.card-details-col {
    padding: 32px;
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.detail-section-title {
    font-size: 12px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    margin: 0 0 12px 0;
    letter-spacing: 0.05em;
}

.doc-link {
    text-decoration: none;
    border: 1px solid #d1d5db;
    background: white;
    padding: 10px 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.2s;
    max-width: 220px;
}

.doc-link:hover {
    border-color: #3b82f6;
    background: #f0f7ff;
}

.bio-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    background: #f8fafc;
    padding: 12px;
    border-radius: 8px;
    border-left: 4px solid #e2e8f0;
}

.card-actions-col {
    padding: 32px;
    background: #fff;
    border-left: 1px solid #f1f5f9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 16px;
}

.btn-approve {
    width: 100%;
    height: 52px;
    background: #10b981;
    color: white;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: background 0.2s, transform 0.1s;
}

.btn-reject-outline {
    width: 100%;
    height: 52px;
    background: white;
    color: #ef4444;
    border: 2px solid #fee2e2;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 700;
    font-size: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.2s;
}

.btn-reject-outline:hover {
    background: #fef2f2;
    border-color: #fecaca;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.4;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.reject-modal-backdrop {
    backdrop-filter: blur(8px);
    background: rgba(15, 23, 42, 0.4);
}

.reject-modal-card {
    max-width: 550px !important;
    border-radius: 24px !important;
    padding: 40px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25) !important;
}

/* Utility Classes */
.flex {
    display: flex;
}

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.flex-between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex-align {
    display: flex;
    align-items: center;
}

.flex-wrap {
    flex-wrap: wrap;
}

.gap-8 {
    gap: 8px;
}

.gap-10 {
    gap: 10px;
}

.gap-12 {
    gap: 12px;
}

.gap-16 {
    gap: 16px;
}

.gap-20 {
    gap: 20px;
}

.gap-24 {
    gap: 24px;
}

.gap-32 {
    gap: 32px;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.m-0 {
    margin: 0 !important;
}

.mb-8 {
    margin-bottom: 8px !important;
}

.mb-16 {
    margin-bottom: 16px !important;
}

.mb-20 {
    margin-bottom: 20px !important;
}

.mb-24 {
    margin-bottom: 24px !important;
}

.mb-32 {
    margin-bottom: 32px !important;
}

.mt-auto {
    margin-top: auto !important;
}

.p-24 {
    padding: 24px !important;
}

.p-32 {
    padding: 32px !important;
}

.text-center {
    text-align: center !important;
}

.text-left {
    text-align: left !important;
}

.text-right {
    text-align: right !important;
}

.text-700 {
    font-weight: 700 !important;
}

.text-800 {
    font-weight: 800 !important;
}

.text-900 {
    font-weight: 900 !important;
}

.text-uppercase {
    text-transform: uppercase !important;
}

.text-muted-alt {
    color: #64748b !important;
}

.text-sm {
    font-size: 14px !important;
}

.text-xs {
    font-size: 12px !important;
}

.grid {
    display: grid;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.grid-auto-fill {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
}

/* Dashboard & Specialized Styles */
.dashboard-stat-link {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}

.dashboard-stat-link:hover .stat-card {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.back-link {
    text-decoration: none;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover {
    color: var(--primary-color);
}

.status-badge-approved {
    background: #ecfdf5;
    color: #059669;
    border: 1px solid #34d399;
}

.status-indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.avatar-md {
    width: 64px;
    height: 64px;
    border-radius: 20px;
}

.avatar-lg {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    font-size: 48px;
}

.stats-card-premium {
    background: linear-gradient(135deg, #2563eb 0%, #1e40af 100%);
    color: white;
    border: none;
    display: flex !important;
    flex-direction: column !important;
}

.info-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: block;
}

.info-value {
    font-size: 15px;
    font-weight: 600;
    color: #334155;
    margin-top: 4px;
}

.info-value-lg {
    font-size: 16px;
    font-weight: 600;
    color: #0f172a;
    margin-top: 6px;
}

.doc-vault-card {
    background: #f8fafc;
    border: 1.5px solid #f1f5f9;
    border-radius: 16px;
    padding: 16px;
}

.doc-icon-preview {
    background: #eff6ff;
    color: #2563eb;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    font-size: 1.25rem;
}

.layout-sidebar-main {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    align-items: start;
}

.btn-icon-sq {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1.5px solid #e2e8f0;
    color: #64748b;
    background: white;
    transition: all 0.2s;
}

.btn-icon-sq:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
}

.empty-state {
    text-align: center;
    padding: 100px 40px;
    background: white;
    border-radius: 24px;
    border: 2px dashed #e2e8f0;
}

.empty-state-icon {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.5;
}

/* Dashboard Refinement */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

.stat-card {
    background: #ffffff;
    border: 1.5px solid #f1f5f9;
    border-radius: 20px;
    padding: 24px;
    position: relative;
    overflow: hidden;
}

.stat-label {
    font-size: 11px;
    font-weight: 600;
    color: #64748b;
    margin-bottom: 8px;
    text-transform: none;
}

.stat-value {
    font-size: 38px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
    letter-spacing: -1px;
}

.stat-icon-new {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.stat-icon-new i,
.stat-icon-new svg {
    transform: scale(1.2);
}

.progress-bar-new {
    flex: 1;
    height: 6px;
    background: #f1f5f9;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill-new {
    height: 100%;
    border-radius: 10px;
}

.status-badge-new {
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid transparent;
}

.department-table th {
    background: transparent;
    color: #475569;
    font-weight: 700;
    letter-spacing: 0.02em;
    font-size: 12px;
    padding: 16px 20px;
    border-bottom: 1.5px solid #f1f5f9;
}

.department-table td {
    padding: 16px 20px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
    vertical-align: middle;
}

/* Custom Chart Legend */
.custom-legend {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 32px;
}

.legend-item-new {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    color: #475569;
}

.legend-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.stat-card.dashboard-stat-link {
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid #f1f5f9;
    cursor: pointer;
}

.stat-card.dashboard-stat-link:hover {
    transform: scale(1.02);
    border-color: #3b82f6;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.1);
}

.chart-container {
    position: relative;
    height: 280px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chart-percentage {
    position: absolute;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
}