:root {
  /* Clean Future Palette */
  --bg-app: #f8fafc;        /* Light Slate Background */
  --bg-panel: #ffffff;      /* White Panels */
  --primary: #2563eb;       /* Royal Blue */
  --primary-light: #eff6ff; /* Light Blue Tint */
  --text-main: #0f172a;     /* Dark Slate */
  --text-muted: #64748b;    /* Muted Slate */
  --border-color: #e2e8f0;  /* Light Border */
  --border-focus: #2563eb;  /* Focus Border */
  --danger: #ef4444;        /* Red */
  
  --radius: 12px;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* 1. GLOBAL RESET */
* { box-sizing: border-box; }

body {
  background: var(--bg-app);
  margin: 0;
  padding: 0;
  color: var(--text-main);
  min-height: 100vh;
}

button { font-family: inherit; }
a { text-decoration: none; color: inherit; }

/* =========================================
   2. DESKTOP LAYOUT (Grid System)
   ========================================= */

.app-container {
  display: grid;
  grid-template-columns: 260px 1fr 380px; 
  grid-template-rows: 64px 1fr;           
  height: 100vh; 
  width: 100%;
  overflow: hidden; 
}

/* --- Header --- */
.app-header {
    grid-column: 1 / -1;
    grid-row: 1 / 2;
    background-color: var(--bg-panel);
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    padding: 0 24px;
    z-index: 60;
}

.header-left { display: flex; align-items: center; gap: 20px; }
.mobile-hamburger { display: none; background: none; border: none; cursor: pointer; color: var(--text-main); padding: 0; margin-right: 5px; }

.back-btn { 
    display: flex; align-items: center; gap: 8px; text-decoration: none; 
    color: var(--text-muted); font-weight: 500; font-size: 0.9rem; transition: 0.2s; 
    padding: 8px 12px; border-radius: var(--radius);
}
.back-btn:hover { background: var(--bg-app); color: var(--primary); }

.app-header .logo { font-size: 1.25rem; font-weight: 700; color: var(--text-main); letter-spacing: -0.02em; }
.app-header .logo .highlight { color: var(--primary); }

.header-right { margin-left: auto; }
#reset-btn {
    background: #fef2f2; border: 1px solid #fee2e2; color: var(--danger); 
    cursor: pointer; display: flex; align-items: center; gap: 6px; 
    font-weight: 600; padding: 8px 16px; border-radius: 100px;
    transition: 0.2s; font-size: 0.85rem;
}
#reset-btn:hover { background: #fee2e2; }

/* --- Sidebar --- */
.sidebar-nav {
  grid-row: 2 / 3;
  grid-column: 1 / 2;
  background: var(--bg-panel);
  border-right: 1px solid var(--border-color);
  color: var(--text-muted);
  padding: 20px 12px;
  overflow-y: auto;
  z-index: 50;
  height: 100%; 
}

.mobile-sidebar-header, .sidebar-overlay { display: none !important; }
.sidebar-nav ul { list-style: none; padding: 0; margin: 0; }
.sidebar-nav li { cursor: pointer; margin-bottom: 4px; }

.sidebar-nav li span { 
    display: block; padding: 10px 16px; border-radius: var(--radius); 
    font-weight: 500; font-size: 0.9rem; transition: 0.2s;
}
.sidebar-nav li span:hover { background: var(--bg-app); color: var(--text-main); }
.sidebar-nav li.active > span { 
    background: var(--primary-light); color: var(--primary); font-weight: 600;
}

.sidebar-nav .sub-menu { padding-left: 12px; margin-top: 4px; display: none; }
.sidebar-nav li.active > .sub-menu { display: block; }
.sidebar-nav .sub-menu li { 
    padding: 8px 12px; font-size: 0.85em; border-radius: var(--radius); 
    color: var(--text-muted); background: none; margin-bottom: 0;
}
.sidebar-nav .sub-menu li:hover { color: var(--primary); background: var(--bg-app); }
.sidebar-nav .sub-menu li.active { color: var(--primary); font-weight: 600; background: transparent; }
.sidebar-nav .sub-menu li.active::before { content: "• "; color: var(--primary); margin-right: 4px; }

/* --- Main Content (Form) --- */
.main-content {
  grid-row: 2 / 3;
  grid-column: 2 / 3;
  background: var(--bg-app);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
}

.mobile-form-header { display: none !important; }

.form-container {
  flex: 1;
  overflow-y: auto;
  padding: 32px;
  padding-bottom: 80px; 
}

/* FBR Tables Styling */
.fbr-form { display: none; }
.fbr-form.active { display: block; animation: fadeIn 0.3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }

.fbr-table { 
    display: flex; 
    flex-direction: column; 
    border: 1px solid var(--border-color); 
    border-radius: var(--radius); 
    background: var(--bg-panel); 
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}

.fbr-row { 
    display: flex; 
    border-bottom: 1px solid var(--border-color); 
    align-items: center; 
    padding: 8px 0;      
}
.fbr-row:last-child { border-bottom: none; }

.fbr-row.header { 
    background: var(--bg-app); color: var(--text-muted); 
    font-weight: 600; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.03em;
    position: sticky; top: 0; z-index: 5; padding: 14px 0; 
    border-bottom: 1px solid var(--border-color);
}
.fbr-row div { padding: 0 16px; box-sizing: border-box; }

.col-desc { flex: 3; min-width: 200px; line-height: 1.4; font-size: 0.95em; color: var(--text-main); }
.col-code { flex: 0.6; min-width: 80px; text-align: center; }
.col-amount, .col-fair-market, .col-tax-credit, .col-eligible, .col-ineligible, .col-tax-chargeable, .col-tax-reduced, .col-cost-value, .col-deemed-income, .col-agri-total, .col-agri-exempt, .col-agri-normal, .col-agri-province { 
    flex: 1; min-width: 120px; 
}

/* Code Badge */
.fbr-row:not(.header) .col-code {
    background: var(--bg-app);       
    border: 1px solid var(--border-color); 
    border-radius: 6px;        
    margin: 0 8px;             
    padding: 0;                
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.8em;
    display: flex; justify-content: center; align-items: center; height: 32px;              
}

/* Inputs */
.fbr-table input { 
    width: 100%; padding: 8px 12px; border-radius: 8px; 
    background: var(--bg-panel); border: 1px solid var(--border-color); 
    font-size: 0.95em; box-sizing: border-box; color: var(--text-main); 
    height: 38px; transition: 0.2s;
}
.fbr-table input:focus { border-color: var(--primary); outline: none; box-shadow: 0 0 0 3px var(--primary-light); }
.fbr-table input:disabled { 
    background: var(--bg-app); color: var(--text-muted); border-color: transparent; 
    font-weight: 500; cursor: default; 
}

/* Category Rows */
.fbr-row.category-total { background: #f0f9ff; padding: 12px 0; border-bottom: 1px solid #bae6fd; border-top: 1px solid #bae6fd; }
.fbr-row.category-total .col-desc { font-weight: 700; color: #0369a1; }
.fbr-row.category-total input { border-color: #7dd3fc; background: #e0f2fe; color: #0284c7; font-weight: 700; }

.fbr-row.category-total.sub { background: #f1f5f9; border-bottom: 1px solid var(--border-color); border-top: 1px solid var(--border-color); }
.fbr-row.category-total.sub .col-desc { color: var(--text-main); font-weight: 600; }
.fbr-row.category-total.sub input { background: #e2e8f0; color: var(--text-main); font-weight: 600; }


/* --- Chat Section --- */
.chat-section {
  grid-row: 2 / 3;
  grid-column: 3 / 4;
  background: var(--bg-panel);
  border-left: 1px solid var(--border-color);
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
}

.chat-section header { margin-bottom: 6px; }
.chat-section header h1 { margin: 0; color: var(--primary); font-size: 1.4rem; font-weight: 800; letter-spacing: -0.02em; }
.chat-section .subtitle { color: var(--text-muted); font-size: 0.9rem; margin-top: 4px; }

/* START: LANGUAGE SELECTOR STYLING (Custom Dropdown) */
.language-selector {
    position: relative; /* For absolute positioning of the options list */
}

.custom-select-wrapper {
    position: relative;
    display: inline-block;
    min-width: 120px;
}

.custom-select-display {
    /* Styles the button to look like the closed select box/pill button */
    padding: 8px 12px; 
    border-radius: var(--radius); 
    border: 1px solid var(--border-color); 
    background: var(--bg-panel); 
    color: var(--text-main);
    font-weight: 500; 
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.2s;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-select-display:hover {
    border-color: var(--primary);
    box-shadow: 0 0 0 1px var(--primary-light);
}

.custom-select-display svg {
    color: var(--text-muted);
    transition: transform 0.2s;
}

.custom-select-options {
    /* Positions the custom list */
    position: absolute;
    top: 100%; 
    right: 0; /* Align options list to the right of the button */
    margin-top: 5px; 
    width: 100%; /* Match width of display button */
    min-width: max-content; /* Ensure wide options are visible */
    z-index: 70;
    
    /* Overrides for specific options list styling */
    list-style: none;
    padding: 0;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); 
}

.custom-select-options li {
    padding: 0;
    margin: 0;
}

.custom-select-options li a {
    /* Styling individual options to match the clean theme, similar to user menu links */
    display: block;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
}

.custom-select-options li a:hover {
    background: var(--primary-light);
    color: var(--primary);
}

/* Style for the active/selected option */
.custom-select-options li.active a {
    background: var(--primary);
    color: white;
    font-weight: 600;
}
.custom-select-options li.active a:hover {
    background: var(--primary);
    color: white;
}

/* Class to hide the dropdown */
.hidden {
    display: none !important;
}

/* END: LANGUAGE SELECTOR STYLING */


.chat-box {
  flex: 1; 
  background: var(--bg-app);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  padding: 16px;
  overflow-y: auto;
  display: flex; flex-direction: column; gap: 12px;
  margin-bottom: 6px; min-height: 0; 
}

.message { max-width: 90%; padding: 12px 16px; border-radius: var(--radius); line-height: 1.5; font-size: 0.95rem; }
.user { background: var(--primary); color: white; align-self: flex-end; border-bottom-right-radius: 2px; }
.bot { background: var(--bg-panel); border: 1px solid var(--border-color); color: var(--text-main); align-self: flex-start; border-bottom-left-radius: 2px; box-shadow: var(--shadow-sm); }

/* Input Area */
.input-area { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; width: 100%; flex-shrink: 0; }
.input-area input { 
    flex: 1; min-width: 0; padding: 12px 16px; border-radius: 100px; 
    border: 1px solid var(--border-color); outline: none; font-size: 15px; background: var(--bg-panel);
}
.input-area input:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-light); }

#send-btn { 
    background: var(--primary); color: white; border: none; 
    border-radius: 100px; padding: 12px 24px; cursor: pointer; 
    font-weight: 600; font-size: 0.95em; flex-shrink: 0; transition: 0.2s;
}
#send-btn:hover { background: #1d4ed8; }

#record-btn { 
    background: var(--bg-panel); color: var(--text-muted); border: 1px solid var(--border-color); 
    border-radius: 50%; width: 44px; height: 44px; cursor: pointer; 
    display: flex; align-items: center; justify-content: center; transition: all 0.2s ease; 
    flex-shrink: 0; margin-right: 0; 
}
#record-btn:hover { border-color: var(--primary); color: var(--primary); background: var(--primary-light); }
#record-btn .mic-icon { width: 20px; height: 20px; display: block; }

#attach-btn:hover { color: var(--primary) !important; }

@keyframes pulse-red {
  0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4); }
  70% { box-shadow: 0 0 0 10px rgba(239, 68, 68, 0); }
  100% { box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}
#record-btn.recording { background-color: #fee2e2; color: var(--danger); border-color: #fca5a5; animation: pulse-red 1.5s infinite; }
#record-btn.recording .mic-icon { fill: var(--danger); }

.mini-summary { 
    margin-top: 10px; padding-top: 15px; border-top: 1px solid var(--border-color); 
    font-size: 0.85rem; flex-shrink: 0; 
}
.summary-item { display: flex; justify-content: space-between; margin: 8px 0; font-weight: 500; color: var(--text-muted); }
.summary-item span:last-child { font-weight: 600; color: var(--text-main); font-family: monospace; font-size: 1rem; }

.mobile-tab-bar { display: none !important; }

/* =========================================
   3. MOBILE OPTIMIZATION
   ========================================= */
@media (max-width: 1024px) {
  .app-container { grid-template-columns: 240px 1fr 320px; }
}

@media (max-width: 900px) {
  .app-container {
    display: block; position: relative; height: 100vh; height: 100dvh; width: 100%; padding-top: 64px; 
  }
  .app-header { position: fixed; top: 0; left: 0; width: 100%; padding: 0 16px; z-index: 60; }
  .mobile-hamburger { display: block; }
  .app-header .logo { display: none; } 
  
  .sidebar-nav {
    position: fixed; top: 64px; left: -100%; width: 280px; height: calc(100% - 64px);
    transition: left 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 10px 0 25px rgba(0,0,0,0.1); display: block !important; padding-bottom: 80px; 
  }
  .sidebar-nav.open { left: 0; }
  .mobile-sidebar-header { display: flex !important; justify-content: space-between; align-items: center; padding-bottom: 15px; border-bottom: 1px solid var(--border-color); margin-bottom: 10px; }
  #close-sidebar { background: none; border: none; font-size: 28px; cursor: pointer; padding: 0 10px; color: var(--text-main); }
  
  .sidebar-overlay { display: none; position: fixed; top: 64px; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.3); z-index: 40; backdrop-filter: blur(2px); }
  .sidebar-overlay.active { display: block !important; }
  
  .main-content { position: absolute; top: 64px; left: 0; width: 100%; height: calc(100% - 64px); z-index: 10; display: none; padding-bottom: 0; }
  .form-container { padding: 16px 16px 140px 16px; -webkit-overflow-scrolling: touch; }
  .fbr-table {
    display: block;
    overflow-x: visible;   
    width: max-content;    
    min-width: 100%;        
  } 
  .fbr-row { min-width: 600px; width: 100%; } 
  
  .chat-section { position: absolute; top: 64px; left: 0; width: 100%; height: calc(100% - 64px); z-index: 10; display: none; border-left: none; padding: 16px 16px 80px 16px; }
  .active-tab { display: flex !important; }
  
  .mobile-tab-bar {
      display: flex !important; justify-content: space-around; align-items: center;
      position: fixed; bottom: 0; left: 0; width: 100%; height: 64px; background: var(--bg-panel);
      border-top: 1px solid var(--border-color); z-index: 100; padding-bottom: env(safe-area-inset-bottom);
  }
  .tab-btn {
      flex: 1; background: none; border: none; display: flex; flex-direction: column; 
      align-items: center; justify-content: center; color: var(--text-muted); cursor: pointer; padding: 5px;
  }
  .tab-btn span { font-size: 0.75rem; font-weight: 500; margin-top: 4px; }
  .tab-btn.active { color: var(--primary); }
}

/* =========================================
   4. AUTH & LANDING PAGES
   ========================================= */

/* Navbar (Force Full Width & Reset Margins) */
.navbar {
    width: 100%;
    height: 72px;
    display: flex;
    align-items: center;
    padding: 0 32px;
    background: var(--bg-panel);
    border-bottom: 1px solid var(--border-color);
    justify-content: space-between;
    margin: 0;
    border-radius: 0;
    position: relative;
    top: 0;
}

.navbar .nav-container {
    width: 100%; max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}

/* --- LOGO STYLING --- */
.navbar .logo { 
    font-weight: 700; 
    font-size: 1.25rem; 
    color: var(--text-main); 
    display: flex; 
    align-items: center; 
    gap: 0; 
}
.navbar .logo img, 
.navbar .logo svg {
    margin-right: 8px; 
}
.navbar .highlight { color: var(--primary); }

/* Navigation Links */
.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 24px; 
    padding: 0; 
    margin: 0; 
    align-items: center;
    flex-wrap: nowrap;
}
.nav-links a { color: var(--text-muted); font-weight: 500; font-size: 0.95rem; }
.nav-links a.active, .nav-links a:hover { color: var(--primary); }

/* Auth Wrapper */
.auth-wrapper {
    min-height: calc(100vh - 72px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: radial-gradient(#e2e8f0 1px, transparent 1px);
    background-size: 32px 32px;
    background-color: #f8fafc;
}

/* Auth Card */
.auth-box {
    background: white;
    width: 100%;
    max-width: 420px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--border-color);
}

.auth-header { 
    text-align: center; 
    margin-bottom: 32px; 
}
.auth-header h2 { font-size: 1.5rem; margin: 0 0 8px 0; color: var(--text-main); letter-spacing: -0.02em; }
.auth-header p { color: var(--text-muted); margin: 0; }

/* --- Logo Circle Wrapper (Size: 120px) --- */
.logo-circle-wrapper {
    width: 120px; 
    height: 120px; 
    border-radius: 50%;
    background: var(--bg-panel); 
    border: 1px solid var(--border-color); 
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px; /* FIXED: Centers the block horizontally */
    box-shadow: 0 0 0 5px rgba(37, 99, 235, 0.05); /* Added subtle shadow for visibility */
}

/* Auth Logo Image (Size inside the 120px circle: 96px) */
.auth-logo-img {
    width: 96px; 
    height: 96px; 
    margin-bottom: 0; 
    object-fit: contain;
    display: block;
}

/* Form Styles */
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 500; font-size: 0.9rem; color: var(--text-main); }

.form-input {
    width: 100%;
    padding: 10px 14px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    font-size: 1rem;
    color: var(--text-main);
    background: var(--bg-panel);
    transition: 0.2s;
}
.form-input:focus { 
    border-color: var(--primary); 
    outline: none; 
    box-shadow: 0 0 0 3px var(--primary-light); 
}

/* Auth Buttons */
.btn-primary {
    background: var(--primary); 
    color: white; 
    border: none;
    padding: 12px; 
    border-radius: 8px; 
    font-weight: 600; 
    cursor: pointer;
    transition: background 0.2s; 
    font-size: 1rem;
    width: 100%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}
.btn-primary:hover { background: #1d4ed8; }

.btn-secondary {
    background: white; 
    border: 1px solid var(--border-color);
    color: var(--text-main);
    border-radius: 8px;
    font-weight: 500;
    transition: 0.2s;
}
.btn-secondary:hover { background: var(--bg-app); color: var(--primary); border-color: var(--primary); }

.auth-footer { margin-top: 24px; text-align: center; font-size: 0.9rem; color: var(--text-muted); }
.auth-footer a { color: var(--primary); font-weight: 600; }

/* Flash Messages */
.flash-msg {
    padding: 12px; border-radius: 8px; margin-bottom: 20px; font-size: 0.9rem; text-align: center;
}
.flash-msg.error { background: #fef2f2; color: var(--danger); border: 1px solid #fee2e2; }
.flash-msg.success { background: #eff6ff; color: var(--primary); border: 1px solid #dbeafe; }

/* =========================================
   5. LANDING & FAQ PAGES
   ========================================= */

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* Headers */
.page-header { background: white; padding: 60px 0 40px; text-align: center; border-bottom: 1px solid var(--border-color); }
.page-header h1 { font-size: 2.5rem; color: var(--text-main); margin-bottom: 16px; letter-spacing: -0.03em; }
.page-header p { color: var(--text-muted); font-size: 1.1rem; }

/* FAQ Section */
.faq-section { padding: 60px 0; background: var(--bg-app); }
.faq-container { max-width: 800px; }

.faq-item {
    background: white; border: 1px solid var(--border-color); 
    border-radius: var(--radius); margin-bottom: 16px; 
    overflow: hidden; transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-question {
    padding: 20px; font-weight: 600; font-size: 1.1rem; 
    cursor: pointer; display: flex; justify-content: space-between; align-items: center; 
    list-style: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question .icon { color: var(--text-muted); font-weight: 300; font-size: 1.5rem; }

details[open] .faq-question .icon { transform: rotate(45deg); }
.faq-answer { padding: 0 20px 20px; color: var(--text-muted); line-height: 1.6; border-top: 1px solid transparent; }
details[open] .faq-answer { border-top-color: var(--border-color); padding-top: 20px; }

/* Landing Footer */
footer { background: white; border-top: 1px solid var(--border-color); padding: 60px 0 20px; margin-top: auto; }
.footer-content { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 40px; margin-bottom: 40px; }
.footer-col h4 { color: var(--text-main); font-size: 1rem; font-weight: 600; margin-bottom: 20px; }
.footer-col a { display: block; margin-bottom: 12px; color: var(--text-muted); }
.footer-col a:hover { color: var(--primary); }
.copyright { text-align: center; color: var(--text-muted); padding-top: 20px; border-top: 1px solid var(--border-color); font-size: 0.85rem; }

/* --- User Dropdown Menu Styling (Match Theme) --- */
.user-menu-dropdown {
    /* Container styling: Matches the clean card look */
    background: var(--bg-panel);
    border: 1px solid var(--border-color); 
    border-radius: var(--radius); 
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); 
    padding: 8px 0; 
    min-width: 200px;
    z-index: 70; 
    list-style: none; 
    margin: 0;
}

.user-menu-dropdown li {
    padding: 0;
    margin: 0;
}

.user-menu-dropdown a {
    /* Anchor/Button styling for each item */
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
    transition: background 0.2s, color 0.2s;
    cursor: pointer;
}

.user-menu-dropdown a:hover {
    /* Hover state: Matches primary-light theme */
    background: var(--primary-light);
    color: var(--primary);
}

.user-menu-dropdown a svg,
.user-menu-dropdown a i {
    /* Icon styling: Default muted color */
    width: 18px;
    height: 18px;
    color: var(--text-muted); 
}

/* Logout specific styling (for red text/icon) */
.user-menu-dropdown .logout-item a,
.user-menu-dropdown .logout-item a svg,
.user-menu-dropdown .logout-item a i {
    color: var(--danger);
    font-weight: 500;
}

.user-menu-dropdown .logout-item a:hover {
    /* Ensure hover works for logout item */
    background: #fef2f2; /* Very light red background */
    color: var(--danger);
}

/* Separator Line */
.user-menu-dropdown .menu-separator {
    height: 1px;
    background: var(--border-color);
    margin: 8px 0;
}