.logo-item a {
  display: flex;
  align-items: center;
  justify-content: center;
}




.language-switcher a {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 6px 10px;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: background 0.3s;
}

.language-switcher a:hover {
  background: rgba(0, 0, 0, 0.05);
}

.language-switcher .lang-item-first a,
.language-switcher li.current-lang a {
  font-weight: 600;
  background: rgba(79, 70, 229, 0.1);
  color: #4f46e5;
}

.language-switcher img {
  width: 20px;
  height: 14px;
  border-radius: 2px;
}

/* Mobile Language Switcher */
.language-switcher-mobile ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  gap: 8px;
}

.language-switcher-mobile li {
  flex: 1;
}

.language-switcher-mobile a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  text-decoration: none;
  color: #333;
  font-size: 14px;
  transition: all 0.3s;
}

.language-switcher-mobile a:hover,
.language-switcher-mobile li.current-lang a {
  background: #4f46e5;
  color: white;
  border-color: #4f46e5;
}

.language-switcher-mobile img {
  width: 24px;
  height: 18px;
  border-radius: 2px;
}

/* Navbar Dropdown & Language Switcher Styling */
.navbar-nav .nav-item {
  position: relative;
}

.navbar-nav .sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  min-width: 160px;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border-radius: 8px;
  padding: 8px;
  list-style: none;
  z-index: 1000;
  border: 1px solid var(--border-color);
  /* Removed margin-top to fix hover gap issue */
}

/* Invisible bridge to prevent menu from closing when moving mouse */
.navbar-nav .sub-menu::before {
  content: "";
  display: block;
  position: absolute;
  top: -20px;
  left: 0;
  width: 100%;
  height: 20px;
  background: transparent;
}

/* Show dropdown on hover */
.navbar-nav .nav-item:hover .sub-menu,
.navbar-nav .nav-item:focus-within .sub-menu {
  display: block;
  animation: fadeIn 0.2s ease-out;
}

.navbar-nav .sub-menu li {
  display: block;
  margin: 0;
}

.navbar-nav .sub-menu a {
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 12px !important;
  color: var(--text-primary) !important;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  transition: all 0.2s;
}

.navbar-nav .sub-menu a:hover {
  background: var(--bg-gray);
  color: var(--primary-purple) !important;
}

/* Style the flags specifically in navbar */
.navbar-nav img {
  width: 20px; /* Smaller flag size */
  height: auto;
  border-radius: 2px;
  vertical-align: middle;
  margin-right: 6px;
  display: inline-block;
}

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

.footer-col li a{
  color: unset !important;
}

/* ========================================
   MY ACCOUNT PAGE - MODERN DESIGN
   ======================================== */

.account-page-container {
    padding: 140px 24px 80px;
    background: linear-gradient(135deg, #f8f9ff 0%, #f0f4ff 100%);
    min-height: calc(100vh - 200px);
}

.account-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
}

/* ========================================
   SIDEBAR - PREMIUM DESIGN
   ======================================== */

.account-sidebar {
    position: sticky;
    top: 140px;
    height: fit-content;
}

.account-user-info {
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    padding: 40px 32px;
    border-radius: 20px;
    text-align: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 40px rgba(124, 58, 237, 0.25);
    position: relative;
    overflow: hidden;
}

.account-user-info::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255,255,255,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.account-avatar-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.account-avatar-wrapper:hover {
    transform: scale(1.05);
}

.account-avatar-img {
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    width: 120px;
    height: 120px;
    object-fit: cover;
    display: block;
    transition: all 0.3s ease;
}

.avatar-upload-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: all 0.3s ease;
    color: #ffffff;
}

.account-avatar-wrapper:hover .avatar-upload-overlay {
    opacity: 1;
}

.avatar-upload-overlay svg {
    width: 32px;
    height: 32px;
    stroke: #ffffff;
}

.avatar-upload-overlay span {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.account-user-info h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 8px;
    color: #ffffff;
    position: relative;
    z-index: 1;
}

.account-user-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    word-break: break-word;
    position: relative;
    z-index: 1;
}

.account-menu {
    background: #ffffff;
    border-radius: 16px;
    padding: 8px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.account-logout-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 20px;
    background: #fef2f2;
    color: #dc2626;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.account-logout-btn:hover {
    background: #fee2e2;
    color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.2);
}

.account-logout-btn svg {
    width: 20px;
    height: 20px;
}

/* ========================================
   CONTENT AREA - MODERN CARDS
   ======================================== */

.account-content {
    background: #ffffff;
    padding: 48px;
    border-radius: 20px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

.account-header {
    margin-bottom: 48px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f3f4f6;
}

.account-header h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 12px;
    color: #111827;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.account-header p {
    color: #6b7280;
    font-size: 16px;
    line-height: 1.6;
}

/* ========================================
   FORM SECTIONS
   ======================================== */

.form-section {
    margin-bottom: 48px;
    padding: 32px;
    background: #f9fafb;
    border-radius: 16px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s;
}

.form-section:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.form-section:last-of-type {
    margin-bottom: 0;
}

.form-section h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 24px;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-section h2::before {
    content: "";
    width: 4px;
    height: 24px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    border-radius: 2px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group:last-child {
    margin-bottom: 0;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 700;
    color: #374151;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-input {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    color: #111827;
    font-family: inherit;
}

.form-input:hover {
    border-color: #d1d5db;
}

.form-input:focus {
    border-color: #7c3aed;
    outline: none;
    box-shadow: 0 0 0 4px rgba(124, 58, 237, 0.1);
    transform: translateY(-1px);
}

.form-hint {
    font-size: 13px;
    color: #9ca3af;
    margin-top: 8px;
    font-style: italic;
}

.form-actions {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid #f3f4f6;
}

.save-btn {
    padding: 16px 40px;
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(124, 58, 237, 0.4);
}

.save-btn:active {
    transform: translateY(0);
}

/* ========================================
   ALERTS - MODERN NOTIFICATIONS
   ======================================== */

.account-alert {
    padding: 20px 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    animation: slideDown 0.3s ease-out;
}

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

.account-alert p {
    margin: 0;
}

.alert-error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-left: 4px solid #dc2626;
}

.alert-success {
    background: linear-gradient(135deg, #dcfce7 0%, #bbf7d0 100%);
    color: #166534;
    border-left: 4px solid #16a34a;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .account-wrapper {
        max-width: 900px;
        grid-template-columns: 280px 1fr;
        gap: 24px;
    }
    
    .account-content {
        padding: 40px 32px;
    }
}

@media (max-width: 768px) {
    .account-page-container {
        padding-top: 120px;
    }
    
    .account-wrapper {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .account-sidebar {
        position: relative;
        top: 0;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .account-content {
        padding: 32px 24px;
    }
    
    .account-header h1 {
        font-size: 28px;
    }
    
    .form-section {
        padding: 24px 20px;
    }
}

@media (max-width: 480px) {
    .account-page-container {
        padding: 100px 16px 60px;
    }
    
    .account-user-info {
        padding: 32px 24px;
    }
    
    .account-content {
        padding: 24px 20px;
    }
    
    .save-btn {
        width: 100%;
    }
}
/* Toggle Switch */
.toggle-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.toggle-switch input {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 48px;
    height: 24px;
    background-color: #E5E7EB;
    border-radius: 9999px;
    transition: background-color 0.2s;
    margin-right: 12px;
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #7C3AED;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.2s;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.toggle-switch input:checked + .toggle-slider::after {
    transform: translateX(24px);
}

.toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: #111827;
}

/* Newsletter Toggle */
.toggle-switch {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
    margin-bottom: 0;
}

.toggle-switch input {
    display: none;
}

.toggle-slider {
    position: relative;
    width: 44px;
    height: 24px;
    background-color: #E5E7EB;
    border-radius: 99px;
    transition: background-color 0.2s ease-in-out;
    margin-right: 12px;
    flex-shrink: 0;
}

.toggle-slider::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    width: 20px;
    height: 20px;
    background-color: white;
    border-radius: 50%;
    transition: transform 0.2s ease-in-out;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1);
}

.toggle-switch input:checked + .toggle-slider {
    background-color: #7C3AED;
}

.toggle-switch input:checked + .toggle-slider::after {
    transform: translateX(20px);
}

.toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
}

.toggle-switch:hover .toggle-slider {
    background-color: #D1D5DB;
}

.toggle-switch input:checked:hover .toggle-slider {
    background-color: #6D28D9;
}

/* ========================================
   MOBILE OFFCANVAS MENU - LANGUAGE SWITCHER
   ======================================== */

/* 1. COMPLETELY HIDE the language switcher that appears inside the menu list */
.offcanvas-body .navbar-nav li:has(> a[href*="pll_switcher"]),
.offcanvas-body .navbar-nav li[class*="pll-parent-menu-item"],
.offcanvas-body .navbar-nav li:has(> a[href="#pll_switcher"]) {
    display: none !important;
}

/* 2. STYLE the separate switcher buttons at the bottom */
.language-switcher-mobile {
    display: flex !important; /* Ensure it's shown */
    gap: 10px;
    margin-bottom: 15px;
    list-style: none !important;
    padding: 0 !important;
}

.language-switcher-mobile li {
    flex: 1;
    list-style: none !important;
}

.language-switcher-mobile li a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 10px !important;
    background: #f1f5f9 !important; /* Default light gray */
    color: #475569 !important;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

/* 3. HIGHLIGHT the selected language in the bottom switcher */
.language-switcher-mobile li.current-lang a,
.language-switcher-mobile li[class*="current-lang"] a,
.language-switcher-mobile li.current-menu-item a {
    background: #7c3aed !important; /* Purple background */
    color: #ffffff !important; /* White text */
    border-color: #7c3aed !important;
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.2);
}

.language-switcher-mobile li a img {
    width: 20px;
    height: auto;
    border-radius: 2px;
    margin: 0 !important;
}

.agenda-stage-card.agenda-green {
        background: linear-gradient(146deg, #10b981, #059669);
      }

.agenda-stage-card.agenda-orange {
        background: linear-gradient(146deg, #f97316, #ea580c);
      }
