/* ===== THEME VARIABLES ===== */
:root {
    /* Primary Colors */
    --color-primary: #0d9488;
    --color-primary-light: #14b8a6;
    --color-primary-dark: #0f766e;
    --color-cyan: #06b6d4;
    --color-cyan-light: #22d3ee;
    --primary-cyan: #06b6d4;
    --primary-cyan-light: #99FFFF;
    
    /* Secondary Colors */
    --color-indigo: #6366f1;
    --color-indigo-dark: #4f46e5;
    --color-purple: #a855f7;
    --color-purple-dark: #9333ea;
    --color-pink: #ec4899;
    --color-pink-dark: #db2777;
    
    /* Status Colors */
    --color-success: #22c55e;
    --color-success-dark: #16a34a;
    --color-warning: #f59e0b;
    --color-warning-dark: #d97706;
    --color-danger: #ef4444;
    --color-danger-dark: #dc2626;
    --color-info: #3b82f6;
    --color-info-dark: #2563eb;
    
    /* Neutral Colors */
    --color-white: #ffffff;
    --color-gray-50: #f9fafb;
    --color-gray-100: #f3f4f6;
    --color-gray-200: #e5e7eb;
    --color-gray-300: #d1d5db;
    --color-gray-400: #9ca3af;
    --color-gray-500: #6b7280;
    --color-gray-600: #4b5563;
    --color-gray-700: #374151;
    --color-gray-800: #1f2937;
    --color-gray-900: #111827;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
    --gradient-cyan: linear-gradient(135deg, var(--color-cyan) 0%, #0891b2 100%);
    --gradient-indigo: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-indigo-dark) 100%);
    --gradient-purple: linear-gradient(135deg, var(--color-purple) 0%, var(--color-purple-dark) 100%);
    --gradient-pink: linear-gradient(135deg, var(--color-pink) 0%, var(--color-pink-dark) 100%);
    --gradient-success: linear-gradient(135deg, var(--color-success) 0%, var(--color-success-dark) 100%);
    --gradient-warning: linear-gradient(135deg, var(--color-warning) 0%, var(--color-warning-dark) 100%);
    --gradient-danger: linear-gradient(135deg, var(--color-danger) 0%, var(--color-danger-dark) 100%);
    --gradient-info: linear-gradient(135deg, var(--color-info) 0%, var(--color-info-dark) 100%);
    --gradient-card: linear-gradient(135deg, #f0fdff 0%, #ffffff 50%, #fdf2f8 100%);
    --gradient-page: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    
    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1); 
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    --shadow-primary: 0 4px 14px rgba(13, 148, 136, 0.3);
    --shadow-indigo: 0 4px 14px rgba(99, 102, 241, 0.3);
    --shadow-purple: 0 4px 14px rgba(168, 85, 247, 0.3);
    --shadow-warning: 0 4px 14px rgba(245, 158, 11, 0.3);
    --shadow-danger: 0 4px 14px rgba(239, 68, 68, 0.3);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.625rem;
    --radius-xl: 0.75rem;
    --radius-2xl: 1rem;
    --radius-3xl: 1.25rem;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
    --transition-bounce: 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-mono: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    --base-size: 0.8rem;
    --text-xs: 0.75rem;
    --text-sm: 0.8125rem;
    --text-base: 0.875rem;
    --text-lg: 1rem;
    --text-xl: 1.125rem;
    --text-2xl: 1.25rem;
    --text-3xl: 1.5rem;
    --text-4xl: 1.875rem;
    
    /* Spacing */
    --spacing-1: 0.25rem;
    --spacing-2: 0.5rem;
    --spacing-3: 0.75rem;
    --spacing-4: 1rem;
    --spacing-5: 1.25rem;
    --spacing-6: 1.5rem;
    --spacing-8: 2rem;
    --spacing-10: 2.5rem;
    --spacing-12: 3rem;
    
    /* Z-Index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 9999;
    --z-modal: 10000;
    --z-toast: 10001;
}

/* ===== PAGE HEADER CARD ===== */
.page-header-card {
    background: linear-gradient(135deg, #f0fdff 0%, #ffffff 50%, #fdf2f8 100%);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid #e5e7eb;
}

.page-title-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.page-title-wrapper {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.page-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.page-icon svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.page-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.page-subtitle {
    font-size: var(--base-size);
    color: #6b7280;
    margin-top: 0.125rem;
}

/* ===== STATS CARDS ===== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.stat-card {
    background: #ffffff;
    border-radius: 0.75rem;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
    box-shadow: var(--shadow-md);
    transition: all 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.stat-icon.primary {
    background: var(--gradient-primary);
}

.stat-icon.success {
    background: var(--gradient-success);
}

.stat-icon.purple {
    background: var(--gradient-purple);
}

.stat-icon.pink {
    background: var(--gradient-pink);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #1f2937;
}

.stat-label {
    font-size: var(--base-size);
    color: #6b7280;
    font-weight: 500;
    margin-top: 0.25rem;
}

.stat-change {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.625rem;
    border-radius: 0.375rem;
    font-size: 0.75rem;
    font-weight: 600;
}

.stat-change.positive {
    background: #dcfce7;
    color: #166534;
}

.stat-change.negative {
    background: #fee2e2;
    color: #991b1b;
}

/* ===== SECTION HEADER ===== */
.section-header {
    background: linear-gradient(135deg, #f0fdff 0%, #ffffff 50%, #fdf2f8 100%);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    margin-bottom: 0.75rem;
    border: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.section-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.section-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-icon svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.section-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.section-subtitle {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.125rem;
}

.section-link {
    color: var(--primary-cyan);
    font-size: var(--base-size);
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s;
}

.section-link:hover {
    color: #0891b2;
    text-decoration: underline;
}

/* ===== TABLE CARD ===== */
.table-card {
    background: #ffffff;
    border-radius: 0.75rem;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border: 1px solid #e5e7eb;
    margin-bottom: 1.5rem;
}

.table-wrapper {
    overflow-x: auto;
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.data-table thead {
    background: #f9fafb;
}

.data-table th {
    padding: 0.75rem;
    text-align: left;
    font-size: var(--base-size);
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    border-bottom: 1px solid #e5e7eb;
}

.data-table th.text-center {
    text-align: center;
}

.data-table tbody tr {
    border-bottom: 1px solid #f3f4f6;
    transition: all 0.15s ease;
}

.data-table tbody tr:hover {
    background: linear-gradient(90deg, #f0fdff 0%, #ffffff 100%);
}

.data-table tbody tr:last-child {
    border-bottom: none;
}

.data-table td {
    padding: 0.75rem;
    font-size: var(--base-size);
    color: #374151;
    vertical-align: middle;
}

.data-table td.text-center {
    text-align: center;
}

/* ===== ACTION BUTTONS ===== */
.action-btn-group {
    display: flex;
    gap: 0.375rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    border-radius: 0.5rem;
    transition: all 0.15s ease;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-size: var(--base-size);
    font-weight: 500;
}

.btn-action svg {
    width: 16px;
    height: 16px;
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(6, 182, 212, 0.3);
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.btn-success {
    background: var(--gradient-success);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(34, 197, 94, 0.3);
}

.btn-success:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
}

.btn-danger {
    background: var(--gradient-danger);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
}

.btn-purple {
    background: var(--gradient-purple);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(168, 85, 247, 0.3);
}

.btn-purple:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(168, 85, 247, 0.4);
}

.btn-indigo {
    background: var(--gradient-indigo);
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.btn-indigo:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.4);
}

/* ===== STATUS BADGES ===== */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-pending .status-dot {
    background: #f59e0b;
}

.status-confirmed {
    background: #dcfce7;
    color: #166534;
}

.status-confirmed .status-dot {
    background: #22c55e;
}

.status-rejected {
    background: #fee2e2;
    color: #991b1b;
}

.status-rejected .status-dot {
    background: #ef4444;
}

/* ===== MODAL STYLES ===== */
.modal-overlay {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-container {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    max-width: 600px;
    width: 100%;
    margin: auto;
}

.modal-header {
    background: linear-gradient(135deg, #f0fdff 0%, #ffffff 50%, #fdf2f8 100%);
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-header-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.modal-header-icon {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.3);
}

.modal-header-icon svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
}

.modal-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0;
}

.modal-subtitle {
    font-size: var(--base-size);
    color: #6b7280;
    margin-top: 0.125rem;
}

.modal-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: #f3f4f6;
    border: 1px solid #e5e7eb;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background: #fee2e2;
    border-color: #fecaca;
    color: #ef4444;
}

.modal-close-btn svg {
    width: 18px;
    height: 18px;
}

.modal-body {
    padding: 1.5rem;
    max-height: 70vh;
    overflow-y: auto;
}

.modal-section {
    margin-bottom: 1.25rem;
}

.modal-section:last-child {
    margin-bottom: 0;
}

.modal-label {
    font-size: var(--base-size);
    font-weight: 600;
    color: var(--primary-cyan);
    margin-bottom: 0.5rem;
    display: block;
}

.modal-value {
    font-size: 0.95rem;
    color: #374151;
    padding: 0.75rem;
    background: #f9fafb;
    border-radius: 0.5rem;
}

.modal-footer {
    padding: 1rem 1.5rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 0.75rem;
}

/* ===== NO DATA STATE ===== */
.no-data-state {
    text-align: center;
    padding: 3rem 1rem;
}

.no-data-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    color: #d1d5db;
}

.no-data-title {
    font-size: 1rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
}

.no-data-subtitle {
    font-size: var(--base-size);
    color: #6b7280;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
    
    .action-btn-group {
        flex-direction: column;
    }
    
    .btn-action {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================================
    BREADCRUMB
   ================================================================ */
.breadcrumb,
.breadcrumb-container {
    display: flex;
    align-items: center;
    gap: var(--spacing-1);
    margin-bottom: var(--spacing-3);
    flex-wrap: wrap;
}

.breadcrumb-item {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-1);
    color: var(--color-gray-500);
    font-size: var(--base-size);
    text-decoration: none;
    transition: color var(--transition-normal);
}

.breadcrumb-item:hover {
    color: var(--primary-cyan);
}

.breadcrumb-item.active {
    color: var(--color-gray-400);
    pointer-events: none;
}

.breadcrumb-item svg {
    width: 16px;
    height: 16px;
}

.breadcrumb-separator {
    width: 16px;
    height: 16px;
    color: var(--color-gray-300);
    flex-shrink: 0;
}

.announcement-link{
    text-decoration: none !important;
}