/* Executive Admin Portal Stylesheet for Probe Partners */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    --primary-color: #3b82f6;
    --primary-hover: #2563eb;
    --primary-glow: rgba(59, 130, 246, 0.35);
    --accent-indigo: #6366f1;
    --accent-cyan: #06b6d4;
    --dark-bg: #0b0f19;
    --dark-surface: #111827;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --text-main: #0f172a;
    --text-muted: #64748b;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
    --shadow-lg: 0 20px 40px -15px rgba(0, 0, 0, 0.12);
    --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-main);
    background-color: var(--light-bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Wrapper Layout */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

/* Sidebar */
.sidebar {
    width: 260px;
    background-color: var(--dark-bg);
    color: var(--white);
    flex-shrink: 0;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    z-index: 100;
    border-right: 1px solid rgba(255, 255, 255, 0.07);
}

.sidebar-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-globe {
    font-size: 26px;
    color: var(--accent-cyan);
    background: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(6, 182, 212, 0.4));
    animation: radarPulse 3s ease-in-out infinite alternate;
}

@keyframes radarPulse {
    from { transform: scale(1); filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.4)); }
    to { transform: scale(1.1); filter: drop-shadow(0 0 14px rgba(59, 130, 246, 0.7)); }
}

.logo-text {
    font-weight: 800;
    font-size: 17px;
    line-height: 1.25;
    letter-spacing: -0.3px;
    color: #ffffff;
}

.logo-text small {
    font-weight: 600;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--accent-cyan);
    display: block;
}

.sidebar-menu {
    flex-grow: 1;
    padding: 15px 0;
}

.sidebar-menu ul {
    list-style: none;
}

.sidebar-menu li {
    margin: 4px 15px;
}

.sidebar-separator {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.05);
    margin: 15px 25px !important;
}

.sidebar-section-header {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    color: #4a5568;
    letter-spacing: 1px;
    margin: 10px 25px 5px !important;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #a0aec0;
    text-decoration: none;
    border-radius: 8px;
    gap: 15px;
    font-weight: 500;
    font-size: 14px;
    transition: var(--transition);
}

.sidebar-menu a:hover {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--white);
}

.sidebar-menu li.active a {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 4px 12px rgba(0, 144, 231, 0.35);
}

.sidebar-menu li.active .menu-icon i {
    color: var(--white);
}

.menu-icon {
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
}

/* Main Container */
.main-container {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition: var(--transition);
}

/* Navbar */
.navbar {
    height: 70px;
    background-color: var(--white);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
}

.nav-btn {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: var(--text-muted);
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border-radius: 6px;
}

.nav-btn:hover {
    background-color: var(--light-bg);
    color: var(--text-main);
}

.navbar-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.user-meta {
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--border-color);
}

.user-details-text {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
}

.user-role {
    font-size: 11px;
    color: var(--text-muted);
}

.nav-btn-link {
    background: none;
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.nav-btn-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.logout-btn {
    background-color: #e74c3c;
    color: var(--white);
    border: none;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
}

.logout-btn:hover {
    background-color: #c0392b;
}

/* Collapsed Sidebar State */
.sidebar-collapsed .sidebar {
    width: 80px;
}

.sidebar-collapsed .sidebar .logo-text,
.sidebar-collapsed .sidebar .menu-label {
    display: none;
}

.sidebar-collapsed .sidebar-header {
    justify-content: center;
    padding: 20px 0;
}

.sidebar-collapsed .sidebar-menu a {
    justify-content: center;
    padding: 12px 0;
}

/* Content Body */
.content-body {
    flex-grow: 1;
    padding: 30px;
}

.content-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.content-header h1 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
}

.breadcrumbs {
    font-size: 13px;
    color: var(--text-muted);
}

.breadcrumbs a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 500;
}

.alert-success {
    background-color: #e2f6e9;
    color: #155724;
    border: 1px solid #d4edda;
}

.alert-danger {
    background-color: #fce8e6;
    color: #a82e2e;
    border: 1px solid #fbc4c4;
}

/* Metrics Dashboard */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.metric-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

.metric-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.metric-icon-wrapper {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.blue-bg {
    background-color: rgba(0, 144, 231, 0.1);
    color: var(--primary-color);
}

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

.metric-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

.metric-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-main);
}

/* Projects & Tables */
.filter-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
    margin-bottom: 25px;
}

.filter-form {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 20px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-grow: 1;
    min-width: 200px;
}

.filter-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.filter-group select, 
.form-group input {
    height: 42px;
    padding: 0 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    color: var(--text-main);
    background-color: var(--white);
    outline: none;
    transition: var(--transition);
}

.filter-group select:focus, 
.form-group input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 144, 231, 0.15);
}

.filter-buttons {
    display: flex;
    gap: 10px;
}

.btn {
    height: 42px;
    padding: 0 20px;
    border-radius: 6px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

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

.btn-secondary {
    background-color: #edf2f7;
    color: #4a5568;
}

.btn-secondary:hover {
    background-color: #e2e8f0;
}

.btn-full {
    width: 100%;
}

.btn-filter {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-filter:hover {
    background-color: var(--primary-hover);
}

.btn-reset {
    background-color: #e2e8f0;
    color: #4a5568;
}

.btn-reset:hover {
    background-color: #cbd5e0;
}

/* Table Card */
.table-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 20px;
    box-shadow: var(--shadow);
}

.table-header-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 15px;
}

.show-entries {
    font-size: 13px;
    color: var(--text-muted);
}

.show-entries select {
    padding: 4px 8px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    outline: none;
}

.table-search label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

.table-search input {
    height: 34px;
    padding: 0 10px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    outline: none;
    margin-left: 8px;
    font-family: inherit;
    font-size: 13px;
    transition: var(--transition);
}

.table-search input:focus {
    border-color: var(--primary-color);
}

.table-responsive {
    overflow-x: auto;
    width: 100%;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    text-align: left;
}

.data-table th {
    background-color: #1a2238;
    color: var(--white);
    padding: 12px 15px;
    font-weight: 600;
    border-bottom: 2px solid var(--border-color);
}

.data-table th.sortable {
    cursor: pointer;
}

.data-table td {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-color);
    vertical-align: middle;
}

.data-table tbody tr:hover {
    background-color: #f7fafc;
}

.btn-table {
    border: none;
    border-radius: 4px;
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-table-blue {
    background-color: rgba(0, 144, 231, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 144, 231, 0.2);
}

.btn-table-blue:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-table-info {
    background-color: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

.btn-table-info:hover {
    background-color: #17a2b8;
    color: var(--white);
}

.btn-table-link {
    background-color: rgba(0, 144, 231, 0.1);
    color: var(--primary-color);
    border: 1px solid rgba(0, 144, 231, 0.2);
}

.btn-table-link:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-table-danger {
    background-color: rgba(220, 53, 69, 0.1);
    color: var(--danger-color);
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.btn-table-danger:hover {
    background-color: var(--danger-color);
    color: var(--white);
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-success {
    background-color: #2ecc71;
    color: var(--white);
}

.badge-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

/* User Profile Layout */
.profile-container-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 25px;
    align-items: start;
}

.profile-card {
    background-color: var(--white);
    border-radius: 8px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.profile-summary-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-avatar-wrapper {
    margin-bottom: 15px;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 4px solid var(--border-color);
}

.profile-user-name {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.profile-user-role {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 25px;
    background-color: #e2e8f0;
    padding: 3px 8px;
    border-radius: 4px;
}

.profile-quick-info {
    width: 100%;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-bottom: 25px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-icon {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 14px;
    font-weight: 500;
}

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

.card-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
}

.form-group input {
    height: 42px;
    width: 100%;
}

.disabled-input {
    background-color: #f7fafc !important;
    cursor: not-allowed;
}

.form-help {
    font-size: 11px;
    color: var(--text-muted);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    animation: fadeIn 0.2s ease;
}

.modal-card {
    background-color: var(--white);
    border-radius: 8px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    overflow: hidden;
    animation: slideUp 0.3s ease;
}

.modal-header {
    padding: 15px 20px;
    background-color: #1a2238;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header h3 {
    font-size: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.modal-close-btn {
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    line-height: 1;
}

.modal-body {
    padding: 25px 20px;
}

.modal-footer {
    padding: 12px 20px;
    background-color: #f7fafc;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: flex-end;
}

.count-metric-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.count-metric-box {
    background-color: #f7fafc;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 15px;
    text-align: center;
}

.count-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

.count-value {
    font-size: 22px;
    font-weight: 700;
}

.project-note-text {
    font-size: 14px;
    color: #4a5568;
    line-height: 1.6;
}

.progress-track {
    height: 10px;
    background-color: #e2e8f0;
    border-radius: 5px;
    overflow: hidden;
    margin-top: 8px;
}

.progress-fill {
    height: 100%;
    background-color: var(--success-color);
    border-radius: 5px;
    transition: var(--transition);
}

.progress-label {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-muted);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

/* Footer */
.footer {
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 30px;
    background-color: var(--white);
    border-top: 1px solid var(--border-color);
    font-size: 13px;
    color: var(--text-muted);
    margin-top: auto;
}

/* Login Page Styles */
.login-body {
    background: radial-gradient(circle at center, #005082 0%, var(--dark-bg) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    width: 100%;
    max-width: 440px;
}

.login-card {
    background-color: var(--white);
    border-radius: 12px;
    padding: 40px 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.login-logo {
    text-align: center;
    margin-bottom: 30px;
}

.brand-logo-circle {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: rgba(0, 144, 231, 0.1);
    color: var(--primary-color);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    margin-bottom: 15px;
    border: 2px solid rgba(0, 144, 231, 0.2);
}

.login-logo h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1a2238;
    margin-bottom: 8px;
}

.login-logo p {
    font-size: 13px;
    color: var(--text-muted);
}

.login-alert {
    background-color: #fdf2f2;
    color: #b82c2c;
    border: 1px solid #f5c2c2;
    border-radius: 6px;
    padding: 12px;
    margin-bottom: 20px;
    font-size: 13px;
}

.form-group-login {
    margin-bottom: 18px;
}

.form-group-login input {
    height: 46px;
    width: 100%;
    padding: 0 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
    transition: var(--transition);
}

.form-group-login input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 144, 231, 0.15);
}

.captcha-container {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.captcha-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f7fafc;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0 15px;
    height: 46px;
    flex-grow: 1;
    min-width: 130px;
}

.captcha-text {
    font-family: 'Courier New', Courier, monospace;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: 4px;
    color: var(--primary-color);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    user-select: none;
}

.captcha-reload {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.captcha-reload:hover {
    color: var(--primary-color);
    transform: rotate(180deg);
}

.captcha-container input {
    height: 46px;
    width: 120px;
    padding: 0 15px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    outline: none;
    font-family: inherit;
    font-size: 14px;
}

.captcha-container input:focus {
    border-color: var(--primary-color);
}

.login-btn-submit {
    height: 46px;
    width: 100%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 144, 231, 0.2);
}

.login-btn-submit:hover {
    background-color: var(--primary-hover);
    box-shadow: 0 6px 15px rgba(0, 144, 231, 0.3);
}

/* Responsive adjustments */
@media(max-width: 768px) {
    .profile-container-grid {
        grid-template-columns: 1fr;
    }
    .navbar-right .nav-btn-link, 
    .navbar-right .user-details-text {
        display: none;
    }
    .admin-wrapper.sidebar-collapsed .sidebar {
        width: 0;
        overflow: hidden;
    }
    .sidebar {
        position: absolute;
        height: 100%;
    }
}

/* Highlighted Row & Update Badges */
.row-highlighted {
    background-color: #fffbeb !important; /* Soft yellow cream */
    border-left: 3px solid #ff9800;
}

.row-highlighted:hover {
    background-color: #fff8e1 !important;
}

.badge-update {
    background-color: #ff9800;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 4px rgba(255, 152, 0, 0.2);
    animation: pulseBadge 2s infinite;
}

@keyframes pulseBadge {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.4);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(255, 152, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0);
    }
}

/* Premium Pagination Styles */
.custom-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 25px;
    background-color: var(--card-bg);
    border-top: 1px solid var(--border-color);
}

.custom-pagination .pagination-info {
    font-size: 13px;
    color: var(--text-muted);
}

.custom-pagination .pagination-buttons {
    display: flex;
    gap: 10px;
}

.custom-pagination .page-link-btn {
    padding: 8px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-color);
    background-color: var(--card-bg);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}

.custom-pagination .page-link-btn:hover:not(.disabled) {
    background-color: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

.custom-pagination .page-link-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #fafafa;
    color: #a0aec0;
}

/* Status Toggle Switch CSS */
.status-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
}

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

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

.status-slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

.status-switch input:checked + .status-slider {
    background-color: #28a745;
}

.status-switch input:focus + .status-slider {
    box-shadow: 0 0 1px #28a745;
}

.status-switch input:checked + .status-slider:before {
    transform: translateX(20px);
}

/* Modal Popup Styles */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(15, 23, 42, 0.65);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(4px);
}

.modal-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
    width: 90%;
    overflow: hidden;
    animation: modalFadeIn 0.2s ease-out;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.95) translateY(-10px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    padding: 18px 25px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #f8fafc;
}

.modal-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0;
    color: var(--text-color);
}

.modal-close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #64748b;
    line-height: 1;
}

.modal-body {
    padding: 20px 25px;
}
