/* 
  Sur Marketplace - Administration & Dashboard Style
  Domain: surmarketplace.cl/mk
*/

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Design Tokens - White & Vibrant Orange Theme */
  --primary: #FF6B00;
  --primary-light: #FF8533;
  --primary-dark: #E65100;
  --secondary: #FB8C00;
  --secondary-light: #FFB74D;
  --accent: #FF5722;
  
  /* System Neutral White (Default) */
  --bg-body: #FFFFFF;
  --bg-panel: #FFFFFF;
  --bg-input: #FFFBF7;
  --border-color: rgba(255, 107, 0, 0.12);
  --text-main: #0F172A;
  --text-muted: #475569;
  
  /* Glass and shadows */
  --glass-bg: rgba(255, 255, 255, 0.95);
  --shadow-lg: 0 20px 35px -8px rgba(255, 107, 0, 0.14);
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
}

/* Dark Mode Overrides */
body.dark-mode {
  --bg-body: #0F172A;
  --bg-panel: #1E293B;
  --bg-input: #334155;
  --border-color: rgba(255, 255, 255, 0.1);
  --text-main: #F8FAFC;
  --text-muted: #94A3B8;
  --glass-bg: rgba(15, 23, 42, 0.95);
  --shadow-lg: 0 20px 35px -8px rgba(0, 0, 0, 0.3);
}

/* Global Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Prevent inputs from overflowing their containers globally */
input, select, textarea, button {
  max-width: 100%;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
}


body {
  font-family: var(--font-body);
  background-color: var(--bg-body);
  color: var(--text-main);
  line-height: 1.6;
  transition: var(--transition);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  max-width: 100vw;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* Layout Wrapper */
.app-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  min-height: 100vh;
  max-width: 100%;
  overflow-x: hidden;
}


/* Auth Pages (Login & Register) */
.auth-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 2rem;
  background-color: var(--bg-body);
  position: relative;
}

.auth-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  padding: 3rem 2.5rem;
  border-radius: 1.5rem;
  width: 100%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
}

.auth-header {
  text-align: center;
  margin-bottom: 2.5rem;
}

.auth-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--secondary-light), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}

body.light-mode .auth-logo {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Form Styles */
.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-muted);
}

.form-control {
  width: 100%;
  max-width: 100%;
  padding: 0.85rem 1rem;
  background-color: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition);
  box-sizing: border-box;
}

textarea.form-control {
  resize: vertical;
  min-height: 80px;
  max-width: 100%;
}

.form-control:focus {
  border-color: var(--primary-light);
  box-shadow: 0 0 0 2px rgba(30, 142, 115, 0.2);
}


.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.85rem;
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-secondary {
  background: var(--bg-input);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
}

body.light-mode .btn-secondary:hover {
  background: rgba(0, 0, 0, 0.03);
}

.auth-footer {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--primary-light);
  font-weight: 600;
}

body.light-mode .auth-footer a {
  color: var(--primary);
}

/* Sidebar Navigation */
.sidebar {
  background: var(--bg-panel);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100vh;
  position: sticky;
  top: 0;
  padding: 2rem 1.5rem;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 3rem;
}

.sidebar-logo {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(135deg, var(--secondary-light), var(--primary-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

body.light-mode .sidebar-logo {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.sidebar-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-grow: 1;
}

.sidebar-item a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.sidebar-item.active a, .sidebar-item a:hover {
  background: rgba(30, 142, 115, 0.1);
  color: var(--primary-light);
}

body.light-mode .sidebar-item.active a, body.light-mode .sidebar-item a:hover {
  background: rgba(15, 90, 71, 0.08);
  color: var(--primary);
}

.sidebar-footer {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

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

.user-avatar {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.user-info {
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.user-role {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Main Dashboard Area */
.main-content {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}


.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 3rem;
  background: var(--bg-panel);
  border-bottom: 1px solid var(--border-color);
}

.page-title {
  font-size: 1.5rem;
  font-weight: 700;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.btn-theme-toggle {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  color: var(--text-main);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.content-body {
  padding: 3rem;
  flex-grow: 1;
}

/* Dashboard Statistics Widgets */
.widgets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.widget-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  padding: 1.75rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  box-shadow: var(--shadow-lg);
}

.widget-icon {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 0.75rem;
  background: rgba(30, 142, 115, 0.1);
  color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.widget-details h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.widget-value {
  font-size: 1.75rem;
  font-weight: 800;
  margin-top: 0.25rem;
}

/* Cards & Tables */
.card-panel {
  background: var(--bg-panel);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-lg);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

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

table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

th {
  padding: 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border-color);
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--border-color);
  font-size: 0.95rem;
}

tr:last-child td {
  border-bottom: none;
}

/* Status Badges */
.badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.badge-success { background: rgba(16, 185, 129, 0.15); color: #10B981; }
.badge-warning { background: rgba(245, 158, 11, 0.15); color: #F59E0B; }
.badge-danger { background: rgba(239, 68, 68, 0.15); color: #EF4444; }
.badge-info { background: rgba(59, 130, 246, 0.15); color: #3B82F6; }

/* Grid Forms and Layouts */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

/* Chat Component Styles */
.chat-container {
  display: grid;
  grid-template-columns: 300px 1fr;
  height: 80vh;
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  overflow: hidden;
}

.chat-sidebar {
  background: var(--bg-panel);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

.chat-sidebar-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border-color);
}

.contacts-list {
  list-style: none;
  overflow-y: auto;
  flex-grow: 1;
}

.contact-item {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  transition: var(--transition);
}

.contact-item:hover, .contact-item.active {
  background: rgba(30, 142, 115, 0.05);
}

.contact-item.active {
  border-left: 4px solid var(--primary-light);
}

.chat-main {
  display: flex;
  flex-direction: column;
  background: var(--bg-panel);
  height: 100%;
  min-height: 0;
}

.chat-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: nowrap;
}

.chat-messages {
  flex-grow: 1;
  padding: 2rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.msg-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 65%;
}

.msg-wrapper.received {
  align-self: flex-start;
}

.msg-wrapper.sent {
  align-self: flex-end;
}

.msg-bubble {
  padding: 0.85rem 1.25rem;
  border-radius: 1rem;
  font-size: 0.95rem;
}

.received .msg-bubble {
  background: var(--bg-input);
  color: var(--text-main);
  border-top-left-radius: 0;
}

.sent .msg-bubble {
  background: var(--primary);
  color: white;
  border-top-right-radius: 0;
}

.msg-time {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  align-self: flex-end;
}

.received .msg-time {
  align-self: flex-start;
}

.chat-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.chat-form {
  display: flex;
  gap: 0.75rem;
}

/* Service calendar and tickets elements */
.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.calendar-day-header {
  text-align: center;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 0.5rem;
}

.calendar-slot {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  padding: 0.75rem;
  border-radius: 0.5rem;
  text-align: center;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
}

.calendar-slot:hover {
  background: rgba(30, 142, 115, 0.15);
  border-color: var(--primary-light);
}

.calendar-slot.booked {
  background: rgba(239, 68, 68, 0.1);
  color: #EF4444;
  border-color: rgba(239, 68, 68, 0.2);
  cursor: not-allowed;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE — Mobile First
   ═══════════════════════════════════════════════════════ */

/* ── 1024px: Tablet / small laptop ────────────────────── */
@media (max-width: 1024px) {
  .app-layout {
    grid-template-columns: 1fr;
  }

  /* Sidebar hidden by default on tablet/mobile */
  .sidebar {
    display: none;
  }

  /* Mobile open state (JS adds .mobile-open) */
  .sidebar.mobile-open {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    z-index: 2000;
    overflow-y: auto;
    box-shadow: 4px 0 24px rgba(0,0,0,0.4);
  }

  /* Show hamburger button */
  #mobileSidebarToggle {
    display: flex !important;
  }

  /* Show sidebar close button when open */
  .sidebar.mobile-open #sidebarClose {
    display: flex !important;
  }

  /* El contenido principal ocupa todo el ancho disponible */
  .main-content {
    width: 100% !important;
    min-width: 0 !important;
    grid-column: 1 / -1;
  }
  
  /* Evitar cualquier overflow horizontal */
  .content-body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
  }
  
  /* Todos los contenedores hijos dentro de card-panel deben contenerse */
  .card-panel, .card-panel * {
    max-width: 100%;
    box-sizing: border-box;
  }


  /* Colapsar el grid del perfil antes (en 1024px) */
  .profile-grid,
  .profile-form-grid,
  .grid-2,
  [style*="grid-template-columns: 1fr 2fr"],
  [style*="grid-template-columns:1fr 2fr"],
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}




/* ── 768px: Mobile ─────────────────────────────────────── */
@media (max-width: 768px) {
  /* Topbar */
  .topbar {
    padding: 0.85rem 1rem;
  }

  .page-title {
    font-size: 1.1rem;
  }

  /* Main content */
  .content-body {
    padding: 0.85rem 0.5rem;
  }

  /* Card panels */
  .card-panel {
    padding: 1rem 0.75rem;
    border-radius: 0.75rem;
    width: 100%;
    box-sizing: border-box;
  }
  
  /* Widget grid */
  .widgets-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 0.85rem;
    margin-bottom: 1.5rem;
  }

  .widget-card {
    padding: 1.1rem;
    gap: 0.85rem;
    flex-wrap: wrap;
  }
  
  /* Asegurar que los inputs no salgan del rango */
  .form-control, input, select, textarea {
    max-width: 100% !important;
    box-sizing: border-box !important;
  }



  /* Tables — horizontal scroll on mobile */
  .table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  table {
    min-width: 480px;
  }

  th, td {
    padding: 0.6rem 0.75rem;
    font-size: 0.85rem;
  }

  /* Buttons */
  .btn {
    font-size: 0.88rem;
    padding: 0.75rem;
  }

  /* Form controls */
  .form-control {
    font-size: 0.9rem;
    padding: 0.75rem 0.85rem;
  }

  /* Auth card */
  .auth-card {
    padding: 2rem 1.25rem;
    border-radius: 1rem;
  }

  /* Chat responsivo */
  .chat-container {
    grid-template-columns: 1fr !important;
    height: 80vh;
    height: calc(100vh - 120px);
    margin: 0;
  }
  
  /* Cuando chateamos con alguien, ocultamos la lista de contactos */
  .chat-container.has-active-contact .chat-sidebar { 
    display: none !important; 
  }
  .chat-container.has-active-contact .chat-main { 
    display: flex !important; 
    width: 100% !important; 
  }
  
  /* Cuando no hay contacto activo, mostramos los contactos y ocultamos la pantalla vacía */
  .chat-container:not(.has-active-contact) .chat-sidebar { 
    display: flex !important; 
    width: 100% !important; 
  }
  .chat-container:not(.has-active-contact) .chat-main { 
    display: none !important; 
  }
  
  .btn-back-contacts { 
    display: inline-flex !important; 
  }

  
  .chat-messages {
    padding: 0.85rem;
    gap: 1rem;
  }
  .msg-wrapper {
    max-width: 85%;
  }
  .msg-bubble {
    padding: 0.7rem 1rem;
    font-size: 0.9rem;
    word-break: break-word;
  }
  .chat-footer {
    padding: 0.75rem;
  }
  .chat-form {
    gap: 0.5rem;
  }
  .chat-header {
    padding: 0.75rem 0.85rem;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  .chat-header div {
    max-width: 100%;
  }
  /* Fix admin clear conversation button overflow */
  .chat-header form {
    margin-left: auto !important;
  }
  .chat-header button {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.75rem !important;
  }



  /* Perfil page: profile grid → single column */
  .profile-grid,
  [class*="profile"] {
    grid-template-columns: 1fr !important;
  }

  /* Period filter bars (citas / pedidos) */
  .pr-periodo-bar,
  .periodo-bar {
    gap: 0.4rem;
  }
  .pr-periodo-btn,
  .periodo-btn {
    font-size:0.75rem;
    padding: 0.4rem 0.7rem;
  }

  /* Stats grids */
  .pr-stats {
    grid-template-columns: repeat(2, 1fr) !important;
  }

  /* Order/cita cards header: stack on small screens */
  .pedido-card-header {
    gap: 0.5rem 0.75rem;
  }

  /* Topbar actions: reduce gap */
  .topbar-actions {
    gap: 0.5rem;
  }

  /* Fix any hard-coded 2-column grids in inline styles */
  [style*="grid-template-columns: 1fr 1fr"],
  [style*="grid-template-columns:1fr 1fr"],
  [style*="grid-template-columns: 240px"],
  [style*="grid-template-columns:240px"] {
    grid-template-columns: 1fr !important;
  }
}



/* ── 480px: Small phones ───────────────────────────────── */
@media (max-width: 480px) {
  .content-body {
    padding: 0.75rem;
  }

  .topbar {
    padding: 0.75rem;
  }

  .page-title {
    font-size: 1rem;
  }

  .widgets-grid {
    grid-template-columns: 1fr 1fr;
  }

  .widget-value {
    font-size: 1.35rem;
  }

  .pr-stats {
    grid-template-columns: 1fr 1fr !important;
  }

  .citas-grid {
    grid-template-columns: 1fr !important;
  }

  /* Stat cards smaller */
  .pr-stat {
    padding: 0.65rem 0.5rem;
  }
  .pr-stat-num {
    font-size: 1.5rem;
  }

  /* Period buttons: wrap and shrink */
  .pr-periodo-bar,
  .periodo-bar {
    gap: 0.3rem;
  }
  .pr-periodo-btn,
  .periodo-btn {
    font-size: 0.72rem;
    padding: 0.35rem 0.6rem;
  }

  /* Card panel: minimal padding */
  .card-panel {
    padding: 0.75rem;
  }

  /* Auth card */
  .auth-card {
    padding: 1.5rem 1rem;
  }

  /* Tables min-width reduced */
  table { min-width: 340px; }
}

/* ── Sidebar backdrop overlay ──────────────────────────── */
#sidebarBackdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  z-index: 1999;
  backdrop-filter: blur(2px);
}
#sidebarBackdrop.visible { display: block; }

/* ── 1024px: overrides tabs-container ── */
@media (max-width: 1024px) {
  .tabs-container {
    flex-direction: column;
    gap: 0.25rem;
  }
  .tab-btn {
    width: 100%;
    padding: 0.6rem 0.85rem;
    font-size: 0.85rem;
  }
}

/* ── Dropdown del Menú de Perfil de Usuario ── */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown-toggle {
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.45rem !important;
  padding: 0.5rem 1rem !important;
  color: var(--text-main) !important;
  font-weight: 600 !important;
  cursor: pointer !important;
  border-radius: 0.5rem !important;
  background: var(--bg-input) !important;
  border: 1px solid var(--border-color) !important;
  transition: var(--transition) !important;
  font-size: 0.9rem !important;
}

.nav-dropdown-toggle:hover {
  background: rgba(255, 255, 255, 0.08) !important;
  color: var(--primary-light) !important;
  border-color: var(--primary-light) !important;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  right: 0;
  top: 105%;
  background: var(--bg-panel) !important;
  border: 1px solid var(--border-color);
  border-radius: 0.75rem;
  min-width: 210px;
  box-shadow: var(--shadow-lg);
  z-index: 9999;
  padding: 0.5rem 0;
  margin-top: 0.25rem;
  animation: navFadeIn 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-item {
  display: flex !important;
  align-items: center !important;
  gap: 0.65rem !important;
  padding: 0.7rem 1.25rem !important;
  color: var(--text-main) !important;
  text-decoration: none !important;
  font-size: 0.88rem !important;
  font-weight: 600 !important;
  transition: var(--transition) !important;
  text-align: left !important;
  justify-content: flex-start !important;
}

.nav-dropdown-item:hover {
  background: rgba(30, 142, 115, 0.1) !important;
  color: var(--primary-light) !important;
}

.nav-dropdown-item i {
  width: 1.1rem;
  text-align: center;
  font-size: 1rem;
}

.nav-dropdown-item.logout-item {
  color: #FFFFFF !important;
  background: #EF4444 !important;
  margin: 0.4rem 0.75rem 0.25rem 0.75rem !important;
  border-radius: 0.5rem !important;
  justify-content: center !important;
  padding: 0.55rem 1rem !important;
  box-shadow: 0 4px 10px rgba(239, 68, 68, 0.2);
}

.nav-dropdown-item.logout-item:hover {
  background: #DC2626 !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}


