/**
 * Virex Wealth Management - Premium Stylesheet
 * Swiss-institutional, modern, professional design
 */

/* =====================================================
   CSS VARIABLES & ROOT
   ===================================================== */
:root {
    /* Primary Colors */
    --primary-navy: #1A2B4A;
    --primary-gold: #C9A962;
    --primary-dark: #0D1520;
    
    /* Secondary Colors */
    --secondary-blue: #2C4A7C;
    --secondary-light: #3D5A80;
    --accent-gold: #D4AF37;
    --accent-bronze: #B8860B;
    
    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --light-gray: #E9ECEF;
    --medium-gray: #6C757D;
    --dark-gray: #343A40;
    --black: #000000;
    
    /* Status Colors */
    --success: #28A745;
    --success-light: #D4EDDA;
    --warning: #FFC107;
    --warning-light: #FFF3CD;
    --danger: #DC3545;
    --danger-light: #F8D7DA;
    --info: #17A2B8;
    --info-light: #D1ECF1;
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-mono: 'SF Mono', 'Monaco', 'Inconsolata', monospace;
    
    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.15);
    --shadow-gold: 0 4px 14px rgba(201, 169, 98, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
    
    /* Z-Index */
    --z-dropdown: 1000;
    --z-sticky: 1020;
    --z-fixed: 1030;
    --z-modal-backdrop: 1040;
    --z-modal: 1050;
    --z-popover: 1060;
    --z-tooltip: 1070;
}

/* Dark Theme Variables */
[data-theme="dark"] {
    --primary-navy: #0D1520;
    --off-white: #1A2B4A;
    --light-gray: #2C4A7C;
    --white: #1E293B;
    --dark-gray: #E9ECEF;
    --black: #FFFFFF;
}

/* =====================================================
   RESET & BASE STYLES
   ===================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-primary);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--dark-gray);
    background-color: var(--off-white);
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-navy);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--primary-gold);
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--primary-navy);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--spacing-md);
}

.text-gold { color: var(--primary-gold); }
.text-navy { color: var(--primary-navy); }
.text-muted { color: var(--medium-gray); }
.text-success { color: var(--success); }
.text-warning { color: var(--warning); }
.text-danger { color: var(--danger); }
.text-info { color: var(--info); }

.font-heading { font-family: var(--font-heading); }
.font-mono { font-family: var(--font-mono); }

/* =====================================================
   LAYOUT & CONTAINERS
   ===================================================== */
.container {
    width: 100%;
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-fluid {
    width: 100%;
    padding: 0 var(--spacing-lg);
}

.container-narrow {
    max-width: 720px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 calc(var(--spacing-md) * -1);
}

.col {
    flex: 1;
    padding: 0 var(--spacing-md);
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--spacing-lg);
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 992px) {
    .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}

/* =====================================================
   HEADER & NAVIGATION
   ===================================================== */
.header {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

.header-top {
    background: var(--primary-navy);
    color: var(--white);
    padding: var(--spacing-sm) 0;
    font-size: 0.875rem;
}

.header-top a {
    color: var(--primary-gold);
}

.header-main {
    padding: var(--spacing-md) 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.logo-text span {
    color: var(--primary-gold);
}

/* Navigation */
.nav-main {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--spacing-lg);
}

.nav-menu a {
    font-weight: 500;
    padding: var(--spacing-sm) 0;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-gold);
    transition: width var(--transition-normal);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-navy);
    margin: 5px 0;
    transition: var(--transition-fast);
}

@media (max-width: 992px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
    }
    
    .nav-menu.active {
        display: flex;
    }
}

/* =====================================================
   BUTTONS
   ===================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-primary);
    font-size: 0.9375rem;
    font-weight: 600;
    text-align: center;
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

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

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

.btn-gold {
    background: var(--primary-gold);
    color: var(--primary-navy);
    border-color: var(--primary-gold);
}

.btn-gold:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: var(--primary-navy);
    box-shadow: var(--shadow-gold);
}

.btn-outline {
    background: transparent;
    color: var(--primary-navy);
    border-color: var(--primary-navy);
}

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

.btn-outline-gold {
    background: transparent;
    color: var(--primary-gold);
    border-color: var(--primary-gold);
}

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

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

.btn-white:hover {
    background: var(--off-white);
    border-color: var(--off-white);
    color: var(--primary-navy);
}

.btn-success { background: var(--success); color: var(--white); border-color: var(--success); }
.btn-warning { background: var(--warning); color: var(--dark-gray); border-color: var(--warning); }
.btn-danger { background: var(--danger); color: var(--white); border-color: var(--danger); }
.btn-info { background: var(--info); color: var(--white); border-color: var(--info); }

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: var(--radius-full);
}

/* =====================================================
   CARDS
   ===================================================== */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--light-gray);
    background: var(--off-white);
}

.card-body {
    padding: var(--spacing-lg);
}

.card-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--light-gray);
    background: var(--off-white);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-sm);
}

.card-subtitle {
    color: var(--medium-gray);
    font-size: 0.875rem;
}

/* Premium Card */
.card-premium {
    border: 2px solid var(--primary-gold);
    position: relative;
}

.card-premium::before {
    content: 'PREMIUM';
    position: absolute;
    top: var(--spacing-md);
    right: calc(var(--spacing-md) * -1);
    background: var(--primary-gold);
    color: var(--primary-navy);
    padding: var(--spacing-xs) var(--spacing-lg);
    font-size: 0.75rem;
    font-weight: 700;
    transform: rotate(45deg);
}

/* Stats Card */
.stat-card {
    text-align: center;
    padding: var(--spacing-xl);
}

.stat-card .stat-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto var(--spacing-md);
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-blue));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.5rem;
}

.stat-card .stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    font-family: var(--font-heading);
}

.stat-card .stat-label {
    color: var(--medium-gray);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =====================================================
   FORMS
   ===================================================== */
.form-group {
    margin-bottom: var(--spacing-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--dark-gray);
}

.form-label.required::after {
    content: '*';
    color: var(--danger);
    margin-left: var(--spacing-xs);
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-family: var(--font-primary);
    font-size: 1rem;
    color: var(--dark-gray);
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-md);
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-gold);
    box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.2);
}

.form-control:disabled {
    background: var(--light-gray);
    cursor: not-allowed;
}

.form-control.is-invalid {
    border-color: var(--danger);
}

.form-control.is-valid {
    border-color: var(--success);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%236C757D' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    padding-right: 2.5rem;
}

.form-text {
    font-size: 0.875rem;
    color: var(--medium-gray);
    margin-top: var(--spacing-xs);
}

.invalid-feedback {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: var(--spacing-xs);
}

/* Checkbox & Radio */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
}

.form-check-input {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    accent-color: var(--primary-gold);
}

.form-check-label {
    cursor: pointer;
}

/* Input Group */
.input-group {
    display: flex;
}

.input-group .form-control {
    flex: 1;
    border-radius: 0;
}

.input-group .form-control:first-child {
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.input-group .form-control:last-child {
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.input-group-text {
    padding: 0.75rem 1rem;
    background: var(--light-gray);
    border: 2px solid var(--light-gray);
    color: var(--medium-gray);
}

/* =====================================================
   TABLES
   ===================================================== */
.table-responsive {
    overflow-x: auto;
}

.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--white);
}

.table th,
.table td {
    padding: var(--spacing-md);
    text-align: left;
    border-bottom: 1px solid var(--light-gray);
}

.table th {
    background: var(--off-white);
    font-weight: 600;
    color: var(--primary-navy);
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 1px;
}

.table tbody tr:hover {
    background: var(--off-white);
}

.table-striped tbody tr:nth-child(even) {
    background: var(--off-white);
}

/* =====================================================
   BADGES & TAGS
   ===================================================== */
.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.25rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-primary { background: var(--primary-navy); color: var(--white); }
.badge-gold { background: var(--primary-gold); color: var(--primary-navy); }
.badge-success { background: var(--success-light); color: var(--success); }
.badge-warning { background: var(--warning-light); color: #856404; }
.badge-danger { background: var(--danger-light); color: var(--danger); }
.badge-info { background: var(--info-light); color: var(--info); }
.badge-secondary { background: var(--light-gray); color: var(--medium-gray); }

/* =====================================================
   ALERTS
   ===================================================== */
.alert {
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    display: flex;
    align-items: flex-start;
    gap: var(--spacing-md);
}

.alert-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-title {
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.alert-success { background: var(--success-light); color: #155724; border-left: 4px solid var(--success); }
.alert-warning { background: var(--warning-light); color: #856404; border-left: 4px solid var(--warning); }
.alert-danger { background: var(--danger-light); color: #721c24; border-left: 4px solid var(--danger); }
.alert-info { background: var(--info-light); color: #0c5460; border-left: 4px solid var(--info); }

.alert-dismissible {
    position: relative;
    padding-right: 3rem;
}

.alert-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    background: none;
    border: none;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0.5;
}

.alert-close:hover {
    opacity: 1;
}

/* =====================================================
   MODALS
   ===================================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: var(--z-modal-backdrop);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    z-index: var(--z-modal);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-normal);
}

.modal.active {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.modal-header {
    padding: var(--spacing-lg);
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.modal-title {
    font-size: 1.25rem;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--medium-gray);
}

.modal-body {
    padding: var(--spacing-lg);
    overflow-y: auto;
    max-height: 60vh;
}

.modal-footer {
    padding: var(--spacing-lg);
    border-top: 1px solid var(--light-gray);
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-md);
}

/* =====================================================
/* =====================================================
   ENHANCED SIDEBAR & DASHBOARD LAYOUT - Virex21
   Modern, compact design with improved icons
   ===================================================== */

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
}

/* Enhanced Sidebar */
.sidebar {
    width: 260px;
    background: linear-gradient(180deg, var(--primary-navy) 0%, #0f1a2e 100%);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: var(--z-fixed);
    transition: transform var(--transition-normal), width var(--transition-normal);
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 15px rgba(0, 0, 0, 0.1);
}

/* Custom Scrollbar for Sidebar */
.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(201, 169, 98, 0.3);
    border-radius: 4px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(201, 169, 98, 0.5);
}

/* Sidebar Header */
.sidebar-header {
    padding: 1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.sidebar-logo {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    color: var(--white);
    text-decoration: none;
}

.sidebar-logo:hover {
    color: var(--white);
}

.sidebar-logo img {
    height: 32px;
    width: auto;
}

.sidebar-logo-text {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.sidebar-logo-text .text-gold {
    color: var(--primary-gold);
}

.sidebar-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.25rem;
    line-height: 1;
    transition: color var(--transition-fast);
}

.sidebar-close:hover {
    color: var(--white);
}

/* Sidebar Navigation */
.sidebar-nav {
    flex: 1;
    padding: 0.5rem 0;
    overflow-y: auto;
}

/* Section Headers */
.sidebar-nav-section {
    padding: 1rem 1.25rem 0.5rem;
    margin-top: 0.5rem;
}

.sidebar-nav-section:first-child {
    margin-top: 0;
}

.sidebar-nav-section-text {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: rgba(255, 255, 255, 0.4);
}

/* Navigation Items */
.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1.25rem;
    margin: 0.125rem 0.5rem;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.8125rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    position: relative;
}

.sidebar-nav-item i {
    width: 18px;
    font-size: 0.875rem;
    text-align: center;
    flex-shrink: 0;
    opacity: 0.85;
    transition: all var(--transition-fast);
}

.sidebar-nav-item span {
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-nav-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    text-decoration: none;
}

.sidebar-nav-item:hover i {
    opacity: 1;
    color: var(--primary-gold);
}

.sidebar-nav-item.active {
    background: linear-gradient(90deg, rgba(201, 169, 98, 0.2) 0%, rgba(201, 169, 98, 0.05) 100%);
    color: var(--primary-gold);
}

.sidebar-nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 60%;
    background: var(--primary-gold);
    border-radius: 0 3px 3px 0;
}

.sidebar-nav-item.active i {
    opacity: 1;
    color: var(--primary-gold);
}

/* Navigation Badge */
.sidebar-nav-badge {
    margin-left: auto;
    background: var(--primary-gold);
    color: var(--primary-navy);
    padding: 0.125rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.6875rem;
    font-weight: 700;
    min-width: 18px;
    text-align: center;
}

/* Divider */
.sidebar-nav-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.08);
    margin: 0.75rem 1.25rem;
}

/* Logout Item */
.sidebar-nav-logout {
    color: rgba(255, 255, 255, 0.6);
    margin-top: 0.5rem;
}

.sidebar-nav-logout:hover {
    background: rgba(220, 53, 69, 0.15);
    color: #ff6b6b;
}

.sidebar-nav-logout:hover i {
    color: #ff6b6b;
}

/* Sidebar Footer */
.sidebar-footer {
    padding: 1rem 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.15);
}

.sidebar-user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.sidebar-user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 0.8125rem;
    flex-shrink: 0;
}

.sidebar-user-details {
    flex: 1;
    min-width: 0;
}

.sidebar-user-name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sidebar-user-role {
    display: block;
    font-size: 0.6875rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: capitalize;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: calc(var(--z-fixed) - 1);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.sidebar-overlay.active {
    display: block;
    opacity: 1;
}

/* Main Content Area */
.main-content {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    background: var(--off-white);
    display: flex;
    flex-direction: column;
}

/* Content Header */
.content-header {
    background: var(--white);
    padding: 0.875rem 1.5rem;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    z-index: var(--z-sticky);
}

/* Search Box */
.search-box {
    position: relative;
    width: 280px;
}

.search-box .search-icon {
    position: absolute;
    left: 0.875rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--medium-gray);
    font-size: 0.875rem;
}

.search-box .form-control {
    padding-left: 2.5rem;
    padding-right: 1rem;
    height: 38px;
    font-size: 0.875rem;
    border-radius: var(--radius-full);
    background: var(--off-white);
    border-color: transparent;
}

.search-box .form-control:focus {
    background: var(--white);
    border-color: var(--primary-gold);
}

/* Header Dropdown */
.header-dropdown .btn-icon {
    background: var(--off-white);
    border: none;
    color: var(--dark-gray);
    width: 38px;
    height: 38px;
}

.header-dropdown .btn-icon:hover {
    background: var(--light-gray);
    color: var(--primary-navy);
}

/* Notification Dot */
.notification-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background: var(--danger);
    border-radius: 50%;
    border: 2px solid var(--white);
}

.notification-dot-gold {
    background: var(--primary-gold);
}

/* Header Dropdown - Bootstrap Override */
.header-dropdown {
    position: relative;
}

.header-dropdown .dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    z-index: 1050;
    margin-top: 0.5rem;
}

.header-dropdown .dropdown-menu.show {
    display: block !important;
}

/* Ensure dropdown buttons are clickable */
.header-dropdown .btn-icon,
.header-dropdown .user-menu-toggle {
    cursor: pointer;
    position: relative;
    z-index: 1;
}

.header-dropdown .btn-icon:focus,
.header-dropdown .user-menu-toggle:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(201, 169, 98, 0.3);
}

/* Notification Dropdown */
.notification-dropdown {
    width: 320px;
    padding: 0;
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.notification-dropdown .dropdown-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    background: var(--off-white);
    border-bottom: 1px solid var(--light-gray);
}

.notification-dropdown .dropdown-body {
    max-height: 280px;
    overflow-y: auto;
}

.notification-dropdown .dropdown-footer {
    padding: 0.75rem 1rem;
    text-align: center;
    border-top: 1px solid var(--light-gray);
    background: var(--off-white);
}

.notification-dropdown .dropdown-footer a {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--primary-gold);
}

/* User Menu Toggle */
.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.375rem;
    border-radius: var(--radius-full);
    transition: background var(--transition-fast);
}

.user-menu-toggle:hover {
    background: var(--off-white);
}

.user-menu-toggle .user-avatar {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--primary-gold) 0%, var(--accent-gold) 100%);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 0.8125rem;
}

.user-menu-toggle .user-info {
    text-align: left;
}

.user-menu-toggle .user-name {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.user-menu-toggle .user-role {
    display: block;
    font-size: 0.6875rem;
    color: var(--medium-gray);
}

.user-menu-toggle .fa-chevron-down {
    font-size: 0.625rem;
    color: var(--medium-gray);
}

/* User Dropdown */
.user-dropdown {
    min-width: 200px;
    padding: 0.5rem 0;
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-lg);
}

.user-dropdown .dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.625rem 1rem;
    font-size: 0.8125rem;
    color: var(--dark-gray);
}

.user-dropdown .dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--medium-gray);
}

.user-dropdown .dropdown-item:hover {
    background: var(--off-white);
}

.user-dropdown .dropdown-item:hover i {
    color: var(--primary-gold);
}

.user-dropdown .dropdown-item.text-danger:hover {
    background: rgba(220, 53, 69, 0.1);
}

.user-dropdown .dropdown-item.text-danger:hover i {
    color: var(--danger);
}

.user-dropdown .dropdown-divider {
    margin: 0.375rem 0;
    border-color: var(--light-gray);
}

/* Content Body */
.content-body {
    flex: 1;
    padding: 1.5rem;
}

/* Sidebar Toggle Button */
.sidebar-toggle {
    background: var(--off-white);
    border: none;
    color: var(--dark-gray);
}

.sidebar-toggle:hover {
    background: var(--light-gray);
}

/* Background Gold Utility */
.bg-gold {
    background-color: var(--primary-gold) !important;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .sidebar.active {
        transform: translateX(0);
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .search-box {
        width: 200px;
    }
}

@media (max-width: 768px) {
    .content-header {
        padding: 0.75rem 1rem;
    }
    
    .content-body {
        padding: 1rem;
    }
    
    .search-box {
        display: none;
    }
}

/* Sidebar Active State (Mobile) */
body.sidebar-open .sidebar {
    transform: translateX(0);
}

body.sidebar-open .sidebar-overlay {
    display: block;
    opacity: 1;
}

/* =====================================================
   HERO SECTIONS - Enhanced Background Images
   ===================================================== */
.hero {
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
    opacity: 0.4;
}

/* Homepage Hero - Dark city skyline with dramatic lighting */
.hero-home::before {
    background: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
    opacity: 0.5;
}

/* About Page Hero - Professional dark office/corporate environment */
.hero-about::before {
    background: url('https://images.unsplash.com/photo-1497366216548-37526070297c?ixlib=rb-4.0.3&auto=format&fit=crop&w=2069&q=80') center/cover;
    opacity: 0.45;
}

/* Plans Page Hero - Dark financial/trading floor imagery */
.hero-plans::before {
    background: url('https://images.unsplash.com/photo-1611974789855-9c2a0a7236a3?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80') center/cover;
    opacity: 0.5;
}

/* Contact Page Hero - Dark modern communication/tech theme */
.hero-contact::before {
    background: url('https://images.unsplash.com/photo-1557804506-669a67965ba0?ixlib=rb-4.0.3&auto=format&fit=crop&w=2074&q=80') center/cover;
    opacity: 0.45;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-title {
    font-size: 3.5rem;
    color: var(--white);
    margin-bottom: var(--spacing-lg);
}

.hero-title span {
    color: var(--primary-gold);
}

.hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    margin-bottom: var(--spacing-xl);
}

.hero-actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

/* =====================================================
   INVESTMENT PLANS
   ===================================================== */
.plan-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    text-align: center;
    border: 2px solid var(--light-gray);
    transition: all var(--transition-normal);
    position: relative;
}

.plan-card:hover {
    border-color: var(--primary-gold);
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.plan-card.featured {
    border-color: var(--primary-gold);
    transform: scale(1.05);
}

.plan-card.featured::before {
    content: 'RECOMMENDED';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-gold);
    color: var(--primary-navy);
    padding: var(--spacing-xs) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
}

.plan-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-navy), var(--secondary-blue));
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2rem;
}

.plan-name {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
}

.plan-return {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-gold);
    font-family: var(--font-heading);
}

.plan-return span {
    font-size: 1rem;
    color: var(--medium-gray);
}

.plan-features {
    list-style: none;
    margin: var(--spacing-lg) 0;
    text-align: left;
}

.plan-features li {
    padding: var(--spacing-sm) 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    color: var(--success);
}

.plan-min {
    color: var(--medium-gray);
    font-size: 0.875rem;
    margin-bottom: var(--spacing-lg);
}

/* =====================================================
   PROGRESS STEPS
   ===================================================== */
.steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
    position: relative;
}

.steps::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--light-gray);
}

.step {
    position: relative;
    text-align: center;
    flex: 1;
}

.step-number {
    width: 40px;
    height: 40px;
    margin: 0 auto var(--spacing-sm);
    background: var(--white);
    border: 2px solid var(--light-gray);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--medium-gray);
    position: relative;
    z-index: 1;
}

.step.active .step-number {
    background: var(--primary-gold);
    border-color: var(--primary-gold);
    color: var(--primary-navy);
}

.step.completed .step-number {
    background: var(--success);
    border-color: var(--success);
    color: var(--white);
}

.step-label {
    font-size: 0.875rem;
    color: var(--medium-gray);
}

.step.active .step-label {
    color: var(--primary-navy);
    font-weight: 600;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--primary-navy);
    color: var(--white);
    padding: var(--spacing-3xl) 0 var(--spacing-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-2xl);
}

@media (max-width: 992px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
}

.footer-logo img {
    height: 40px;
}

.footer-description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-gold);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: var(--spacing-sm);
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--primary-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
}

.footer-copyright {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-social {
    display: flex;
    gap: var(--spacing-md);
}

.footer-social a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--primary-gold);
    color: var(--primary-navy);
}

/* =====================================================
   UTILITIES
   ===================================================== */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }
.d-grid { display: grid !important; }

.flex-column { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.align-items-center { align-items: center; }
.align-items-start { align-items: flex-start; }
.align-items-end { align-items: flex-end; }
.justify-content-center { justify-content: center; }
.justify-content-between { justify-content: space-between; }
.justify-content-end { justify-content: flex-end; }

.gap-1 { gap: var(--spacing-xs); }
.gap-2 { gap: var(--spacing-sm); }
.gap-3 { gap: var(--spacing-md); }
.gap-4 { gap: var(--spacing-lg); }
.gap-5 { gap: var(--spacing-xl); }

.m-0 { margin: 0 !important; }
.mt-1 { margin-top: var(--spacing-xs) !important; }
.mt-2 { margin-top: var(--spacing-sm) !important; }
.mt-3 { margin-top: var(--spacing-md) !important; }
.mt-4 { margin-top: var(--spacing-lg) !important; }
.mt-5 { margin-top: var(--spacing-xl) !important; }
.mb-1 { margin-bottom: var(--spacing-xs) !important; }
.mb-2 { margin-bottom: var(--spacing-sm) !important; }
.mb-3 { margin-bottom: var(--spacing-md) !important; }
.mb-4 { margin-bottom: var(--spacing-lg) !important; }
.mb-5 { margin-bottom: var(--spacing-xl) !important; }

.p-0 { padding: 0 !important; }
.p-1 { padding: var(--spacing-xs) !important; }
.p-2 { padding: var(--spacing-sm) !important; }
.p-3 { padding: var(--spacing-md) !important; }
.p-4 { padding: var(--spacing-lg) !important; }
.p-5 { padding: var(--spacing-xl) !important; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.fw-normal { font-weight: 400; }
.fw-medium { font-weight: 500; }
.fw-semibold { font-weight: 600; }
.fw-bold { font-weight: 700; }

.fs-sm { font-size: 0.875rem; }
.fs-md { font-size: 1rem; }
.fs-lg { font-size: 1.25rem; }
.fs-xl { font-size: 1.5rem; }

.rounded { border-radius: var(--radius-md); }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-full { border-radius: var(--radius-full); }

.shadow { box-shadow: var(--shadow-md); }
.shadow-lg { box-shadow: var(--shadow-lg); }

.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }

.position-relative { position: relative; }
.position-absolute { position: absolute; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.animate-fadeIn { animation: fadeIn 0.5s ease; }
.animate-slideUp { animation: slideUp 0.5s ease; }
.animate-slideDown { animation: slideDown 0.5s ease; }
.animate-pulse { animation: pulse 2s infinite; }
.animate-spin { animation: spin 1s linear infinite; }

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--light-gray);
    border-top-color: var(--primary-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-sm {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    
    .hero-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    
    .hero {
        padding: var(--spacing-2xl) 0;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .container {
        padding: 0 var(--spacing-md);
    }
    
    .card-body {
        padding: var(--spacing-md);
    }
    
    .btn {
        padding: 0.625rem 1.25rem;
    }
}

/* Print Styles */
@media print {
    .sidebar,
    .header,
    .footer,
    .btn,
    .no-print {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* =====================================================
   ADDITIONAL LAYOUT FIXES V7
   ===================================================== */

/* Fix row and col layout */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -12px;
    margin-right: -12px;
}

.row > [class*="col"] {
    padding-left: 12px;
    padding-right: 12px;
    margin-bottom: 24px;
}

.col { flex: 1; }
.col-md-3 { flex: 0 0 25%; max-width: 25%; }
.col-md-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-md-6 { flex: 0 0 50%; max-width: 50%; }
.col-md-8 { flex: 0 0 66.666%; max-width: 66.666%; }
.col-md-12 { flex: 0 0 100%; max-width: 100%; }
.col-lg-3 { flex: 0 0 25%; max-width: 25%; }
.col-lg-4 { flex: 0 0 33.333%; max-width: 33.333%; }
.col-lg-6 { flex: 0 0 50%; max-width: 50%; }
.col-lg-8 { flex: 0 0 66.666%; max-width: 66.666%; }

@media (max-width: 992px) {
    .col-lg-3, .col-lg-4, .col-lg-6, .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    .col-md-3, .col-md-4, .col-md-6, .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* Fix table layout */
.table {
    width: 100%;
    margin-bottom: 1rem;
    border-collapse: collapse;
}

.table th,
.table td {
    padding: 12px 15px;
    vertical-align: middle;
    border-bottom: 1px solid var(--light-gray);
}

.table thead th {
    background: var(--off-white);
    font-weight: 600;
    color: var(--primary-navy);
    text-align: left;
    white-space: nowrap;
}

.table tbody tr:hover {
    background: var(--off-white);
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Fix progress bar */
.progress {
    display: flex;
    height: 1rem;
    overflow: hidden;
    background-color: var(--light-gray);
    border-radius: 0.5rem;
}

.progress-bar {
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    background-color: var(--primary-gold);
    transition: width 0.6s ease;
}

/* Fix list-group */
.list-group {
    display: flex;
    flex-direction: column;
    padding-left: 0;
    margin-bottom: 0;
}

.list-group-item {
    position: relative;
    display: block;
    padding: 12px 16px;
    background-color: #fff;
    border-bottom: 1px solid var(--light-gray);
}

.list-group-item:last-child {
    border-bottom: none;
}

.list-group-flush .list-group-item {
    border-radius: 0;
}

/* Fix form-check */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 8px;
}

.form-check-input {
    margin-top: 4px;
    flex-shrink: 0;
}

.form-check-label {
    cursor: pointer;
}

/* Fix input-group */
.input-group {
    display: flex;
    flex-wrap: wrap;
    align-items: stretch;
    width: 100%;
}

.input-group > .form-control {
    flex: 1 1 auto;
    width: 1%;
    min-width: 0;
}

.input-group-text {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    font-weight: 400;
    color: var(--dark-gray);
    text-align: center;
    white-space: nowrap;
    background-color: var(--off-white);
    border: 1px solid var(--light-gray);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.input-group > .form-control:not(:first-child) {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

/* Fix container-fluid */
.container-fluid {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

/* Fix py-4 */
.py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
}

/* Fix g-4 gap */
.g-4 {
    gap: 1.5rem;
}

.g-3 {
    gap: 1rem;
}

/* Fix h-100 */
.h-100 {
    height: 100% !important;
}

/* Fix text utilities */
.text-start { text-align: left !important; }
.text-center { text-align: center !important; }
.text-end { text-align: right !important; }

/* Fix opacity utilities */
.opacity-75 { opacity: 0.75 !important; }
.opacity-50 { opacity: 0.5 !important; }

/* Fix bg-opacity */
.bg-opacity-10 { --bs-bg-opacity: 0.1; }
.bg-opacity-20 { --bs-bg-opacity: 0.2; }

/* Fix border utilities */
.border-start { border-left: 1px solid var(--light-gray) !important; }
.border-4 { border-width: 4px !important; }
.border-primary { border-color: var(--primary-navy) !important; }
.border-warning { border-color: var(--warning) !important; }
.border-info { border-color: var(--info) !important; }
.border-danger { border-color: var(--danger) !important; }

/* Fix small text */
small, .small {
    font-size: 0.875rem;
}

/* Fix display utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-inline { display: inline !important; }
.d-inline-block { display: inline-block !important; }

/* Fix position utilities */
.position-relative { position: relative !important; }
.position-absolute { position: absolute !important; }

/* Fix flex utilities */
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

/* Fix w-100 */
.w-100 { width: 100% !important; }

/* Fix me/ms utilities */
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-auto { margin-left: auto !important; }

/* Fix rounded utilities */
.rounded { border-radius: var(--radius-md) !important; }
.rounded-circle { border-radius: 50% !important; }

/* Fix fs utilities */
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }
.fs-6 { font-size: 1rem !important; }

/* Fix fw utilities */
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }

/* Fix display headings */
.display-1 { font-size: 5rem; }
.display-4 { font-size: 3.5rem; }

/* Fix h classes */
.h3 { font-size: 1.75rem; font-weight: 600; }
.h4 { font-size: 1.5rem; font-weight: 600; }
.h5 { font-size: 1.25rem; font-weight: 600; }
.h6 { font-size: 1rem; font-weight: 600; }

