/* Highlight the first row of the Invoice Generator table body */
.ig-table tbody tr:first-child {
    background: #e0e7ff !important;
}
/* Invoice Generator Table Header Custom Style */
.ig-table-header th {
    background: #4a148c !important;
    color: #fff !important;
    font-weight: bold;
    font-size: 1.18rem;
    border-bottom: 3px solid #6366f1;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}
.ig-table thead tr {
    /* background intentionally unset to allow .ig-table-header th to take effect */
    /* color intentionally unset to allow .ig-table-header th to take effect */
}
.ig-table thead tr {
    /* background intentionally unset to allow .ig-table-header th to take effect */
}
/* Set specific widths for Invoice Generator columns */
.ig-table th:nth-child(1), .ig-table td:nth-child(1) { min-width: 40px; max-width: 60px; width: 1%; }
.ig-table th:nth-child(2), .ig-table td:nth-child(2) { min-width: 90px; max-width: 120px; width: 1%; }
.ig-table th:nth-child(3), .ig-table td:nth-child(3) { min-width: 120px; max-width: 180px; width: 1%; }
.ig-table th:nth-child(4), .ig-table td:nth-child(4) { min-width: 320px; max-width: 700px; width: 40%; white-space: normal !important; word-break: break-word !important; overflow-wrap: break-word !important; }
.ig-table th:nth-child(5), .ig-table td:nth-child(5) { min-width: 100px; max-width: 160px; width: 1%; text-align: right; }
/* Restore Invoice Generator table header and summary row background colors */
.ig-table th {
    /* background intentionally unset to allow .ig-table-header th to take effect */
    /* color intentionally unset to allow .ig-table-header th to take effect */
    font-weight: 600;
    border-bottom: 2px solid #e5e7eb;
}

.ig-table tfoot tr,
.ig-table tr.summary-row,
.ig-table tr[style*="background: #e8f5e9"] {
    background: #f3f4f6 !important;
    color: #222 !important;
}
.ig-table th:nth-child(2),
.ig-table td:nth-child(2) {
    min-width: 90px;
    max-width: 120px;
    width: 1%;
    white-space: nowrap !important;
}
/* Custom styles for Invoice Generator Table */
.ig-table th, .ig-table td {
    white-space: nowrap !important;
    word-break: normal !important;
    text-align: left;
    vertical-align: middle;
    padding: 0.5rem 1rem;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
}

.ig-table th {
    font-weight: bold;
    font-size: 1.18rem;
    background: #f3f4f6;
    border-bottom: 2px solid #e5e7eb;
}

.ig-table td {
    font-size: 0.97rem;
}

.ig-table th:nth-child(4),
.ig-table td:nth-child(4) {
    min-width: 420px;
    max-width: 900px;
    white-space: normal !important;
    word-break: break-word !important;
    overflow-wrap: break-word !important;
    writing-mode: horizontal-tb !important;
    text-orientation: mixed !important;
    transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.4 !important;
}

.ig-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    table-layout: auto;
}
/* Modern Design System for Travel Guide */

:root {
    /* Primary Color Palette */
    --primary-color: #667eea;
    --primary-dark: #5568d3;
    --primary-light: #8b9ef7;
    --secondary-color: #764ba2;
    --accent-color: #f093fb;
    
    /* Status Colors */
    --success-color: #10b981;
    --success-light: #d1fae5;
    --danger-color: #ef4444;
    --danger-light: #fee2e2;
    --warning-color: #f59e0b;
    --warning-light: #fef3c7;
    --info-color: #3b82f6;
    --info-light: #dbeafe;
    
    /* Neutral Colors */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    --font-size-base: 0.9375rem;
    --font-weight-normal: 400;
    --font-weight-medium: 500;
    --font-weight-semibold: 600;
    --font-weight-bold: 700;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    
    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--gray-800);
    background: linear-gradient(135deg, #f5f7fa 0%, #e9ecef 100%);
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Enhanced Navbar */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
    box-shadow: var(--shadow-lg);
    padding: 0 1rem !important;
    border-bottom: none;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1050 !important;
    backdrop-filter: blur(10px);
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
}

.navbar > .container-fluid {
    height: 100%;
    display: flex;
    align-items: center;
}

.navbar .navbar-brand {
    display: flex;
    align-items: center;
    height: 100%;
}

.navbar .navbar-collapse {
    height: 100%;
}

.navbar .navbar-nav {
    height: 100%;
    align-items: center;
}

.navbar-brand {
    font-weight: var(--font-weight-bold);
    font-size: 1.25rem;
    color: white !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

.navbar-brand:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.navbar-brand i {
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    font-weight: var(--font-weight-medium);
    margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.15);
    color: white !important;
    transform: translateY(-1px);
}

.navbar-text {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: var(--font-weight-medium);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Modern Cards */
.card {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    margin-bottom: var(--spacing-lg);
    background: white;
    overflow: hidden;
    transition: all var(--transition-base);
    animation: fadeInUp 0.4s ease-out;
}

.card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

.card-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border: none;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0 !important;
    padding: var(--spacing-lg);
    font-weight: var(--font-weight-semibold);
    font-size: 1.125rem;
    box-shadow: var(--shadow-sm);
}

.card-body {
    padding: var(--spacing-xl);
}

.card-footer {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* Enhanced Buttons */
.btn {
    font-weight: var(--font-weight-semibold);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    border: none;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--secondary-color) 100%);
    box-shadow: var(--shadow-xl);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, var(--success-color) 0%, #059669 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-success:hover {
    background: linear-gradient(135deg, #059669 0%, var(--success-color) 100%);
    color: white;
    box-shadow: var(--shadow-xl);
}

.btn-danger {
    background: linear-gradient(135deg, var(--danger-color) 0%, #dc2626 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #dc2626 0%, var(--danger-color) 100%);
    color: white;
    box-shadow: var(--shadow-xl);
}

.btn-warning {
    background: linear-gradient(135deg, var(--warning-color) 0%, #d97706 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-info {
    background: linear-gradient(135deg, var(--info-color) 0%, #2563eb 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--gray-600) 0%, var(--gray-700) 100%);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Enhanced Forms */
.form-control,
.form-select {
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    padding: 0.625rem 1rem;
    font-size: var(--font-size-base);
    transition: all var(--transition-base);
    background: white;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    outline: none;
}

.form-label {
    font-weight: var(--font-weight-semibold);
    color: var(--gray-700);
    margin-bottom: var(--spacing-sm);
    font-size: 0.875rem;
}

.form-text {
    color: var(--gray-500);
    font-size: 0.8125rem;
}

/* Enhanced Tables */
.table {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.table thead {
    background: linear-gradient(135deg, var(--gray-800) 0%, var(--gray-700) 100%);
    color: white;
}

.table thead th {
    font-weight: var(--font-weight-semibold);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    padding: var(--spacing-md);
    border: none;
}

.table tbody tr {
    transition: all var(--transition-fast);
    border-bottom: 1px solid var(--gray-200);
}

.table tbody tr:hover {
    background: var(--gray-50);
    transform: scale(1.01);
    box-shadow: var(--shadow-sm);
}

.table tbody td {
    padding: var(--spacing-md);
    vertical-align: middle;
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(102, 126, 234, 0.02);
}

/* Enhanced Badges */
.badge {
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-weight: var(--font-weight-semibold);
    font-size: 0.75rem;
    letter-spacing: 0.025em;
}

.badge.bg-success {
    background: var(--success-color) !important;
}

.badge.bg-danger {
    background: var(--danger-color) !important;
}

.badge.bg-warning {
    background: var(--warning-color) !important;
    color: var(--gray-900) !important;
}

.badge.bg-primary {
    background: var(--primary-color) !important;
}

.badge.bg-info {
    background: var(--info-color) !important;
}

.badge.bg-secondary {
    background: var(--gray-600) !important;
}

/* Enhanced Alerts */
.alert {
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: var(--shadow-md);
    border-left: 4px solid;
    animation: slideInRight 0.3s ease-out;
}

.alert-success {
    background: var(--success-light);
    color: #065f46;
    border-left-color: var(--success-color);
}

.alert-danger {
    background: var(--danger-light);
    color: #991b1b;
    border-left-color: var(--danger-color);
}

.alert-warning {
    background: var(--warning-light);
    color: #92400e;
    border-left-color: var(--warning-color);
}

.alert-info {
    background: var(--info-light);
    color: #1e40af;
    border-left-color: var(--info-color);
}

/* Enhanced Sidebar */
.sidebar {
    background: white;
    box-shadow: var(--shadow-xl);
    border-right: 1px solid var(--gray-200);
    position: sticky;
    top: 56px;
    height: calc(100vh - 56px);
    overflow-y: auto;
    overflow-x: hidden;
}

.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: var(--gray-100);
}

.sidebar::-webkit-scrollbar-thumb {
    background: var(--gray-300);
    border-radius: var(--radius-full);
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: var(--gray-400);
}

.sidebar-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    padding: var(--spacing-lg);
    color: white;
    box-shadow: var(--shadow-md);
}

.sidebar-header .sidebar-title {
    font-weight: var(--font-weight-bold);
    font-size: 1rem;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.sidebar .nav-link {
    color: var(--gray-700);
    padding: 0.875rem 1.25rem;
    border-radius: var(--radius-lg);
    margin: 0.25rem var(--spacing-md);
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: var(--font-weight-medium);
    position: relative;
    border-left: 3px solid transparent;
}

.sidebar .nav-link i {
    font-size: 1.25rem;
    width: 24px;
    text-align: center;
    transition: all var(--transition-base);
}

.sidebar .nav-link:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.1) 0%, transparent 100%);
    color: var(--primary-color);
    border-left-color: var(--primary-color);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}

.sidebar .nav-link:hover i {
    transform: scale(1.15);
    color: var(--primary-color);
}

.sidebar .nav-link.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-left-color: white;
    box-shadow: var(--shadow-md);
    font-weight: var(--font-weight-semibold);
}

.sidebar .nav-link.active i {
    color: white;
    transform: scale(1.15);
}

.sidebar-divider {
    border: none;
    border-top: 1px solid var(--gray-200);
    margin: var(--spacing-md) var(--spacing-lg);
    opacity: 0.6;
}

/* Main Content Area */
#mainContent {
    background: transparent;
    padding: var(--spacing-xl);
    min-height: calc(100vh - 56px);
}

.container-fluid {
    padding: 0;
}

/* Enhanced Page Headers */
h1, h2, h3, h4, h5, h6 {
    font-weight: var(--font-weight-bold);
    color: var(--gray-900);
    margin-bottom: var(--spacing-md);
    line-height: 1.2;
}

h1 {
    font-size: 2rem;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 1.75rem;
    color: var(--gray-800);
}

/* Enhanced Input Groups */
.input-group-text {
    background: var(--gray-100);
    border: 2px solid var(--gray-300);
    border-right: none;
    color: var(--gray-700);
    font-weight: var(--font-weight-medium);
}

.input-group .form-control {
    border-left: none;
}

.input-group .form-control:focus {
    border-left: 2px solid var(--primary-color);
}

/* Modern Pagination */
.pagination {
    gap: 0.5rem;
}

.page-link {
    border: 2px solid var(--gray-300);
    color: var(--gray-700);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem;
    transition: all var(--transition-base);
    font-weight: var(--font-weight-medium);
}

.page-link:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.page-item.active .page-link {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Enhanced Search Input */
.form-control[type="search"],
input[type="search"] {
    padding-left: 2.5rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%236b7280' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: 0.75rem center;
    background-size: 1rem;
}

/* Enhanced Dropdowns */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-xl);
    border-radius: var(--radius-lg);
    padding: var(--spacing-sm);
    margin-top: var(--spacing-sm);
}

.dropdown-item {
    padding: 0.625rem 1rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    font-weight: var(--font-weight-medium);
}

.dropdown-item:hover {
    background: var(--gray-100);
    color: var(--primary-color);
    transform: translateX(4px);
}

.dropdown-item.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
}

/* Enhanced Modals */
.modal-content {
    border: none;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-2xl);
}

.modal-header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    padding: var(--spacing-lg);
    border-bottom: none;
}

.modal-header .btn-close {
    filter: brightness(0) invert(1);
}

.modal-body {
    padding: var(--spacing-xl);
}

.modal-footer {
    border-top: 1px solid var(--gray-200);
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}

/* Enhanced Stats Cards */
.stat-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
    height: 100%;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.08) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(30%, -30%);
    transition: all var(--transition-base);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.stat-card:hover::before {
    width: 150px;
    height: 150px;
    opacity: 0.15;
}

.stat-card.bg-primary {
    border-left-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.05) 0%, white 100%);
}

.stat-card.bg-primary::before {
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
}

.stat-card.bg-success {
    border-left-color: var(--success-color);
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, white 100%);
}

.stat-card.bg-success::before {
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.stat-card.bg-info {
    border-left-color: var(--info-color);
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, white 100%);
}

.stat-card.bg-info::before {
    background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 70%);
}

.stat-card.bg-warning {
    border-left-color: var(--warning-color);
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, white 100%);
}

.stat-card.bg-warning::before {
    background: radial-gradient(circle, rgba(245, 158, 11, 0.1) 0%, transparent 70%);
}

/* Enhanced Loading States */
.spinner-border {
    width: 2rem;
    height: 2rem;
    border-width: 0.25em;
}

/* Enhanced Tabs */
.nav-tabs {
    border-bottom: 2px solid var(--gray-200);
}

.nav-tabs .nav-link {
    border: none;
    border-bottom: 3px solid transparent;
    color: var(--gray-600);
    font-weight: var(--font-weight-semibold);
    padding: var(--spacing-md) var(--spacing-lg);
    transition: all var(--transition-base);
    margin-bottom: -2px;
}

.nav-tabs .nav-link:hover {
    border-bottom-color: var(--gray-300);
    color: var(--primary-color);
    background: var(--gray-50);
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: transparent;
}

/* Enhanced Language Switcher */
.language-switcher select {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    border-radius: var(--radius-md);
    padding: 0.375rem 0.75rem;
    font-weight: var(--font-weight-medium);
    transition: all var(--transition-base);
}

.language-switcher select:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
}

.language-switcher select:focus {
    background: white;
    color: var(--gray-800);
    border-color: white;
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    #mainContent {
        padding: var(--spacing-md);
    }
    
    .card-body {
        padding: var(--spacing-md);
    }
    
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }
}

/* Utility Classes */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.shadow-hover {
    transition: all var(--transition-base);
}

.shadow-hover:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-2px);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus Visible for Accessibility */
*:focus-visible {
    outline: 2px solid var(--primary-color);
    outline-offset: 2px;
    border-radius: var(--radius-sm);
}
