/* ========================================
   CSS VARIABLES & BASE STYLES
   ======================================== */

:root {
    --primary: rgb(147, 51, 234);
    --primary-light: rgba(147, 51, 234, 0.1);
    --primary-lighter: rgba(147, 51, 234, 0.05);
    --primary-medium: rgba(147, 51, 234, 0.6);
    --primary-dark: rgb(126, 34, 206);
    
    --accent: #FFC43D;
    --accent-light: #FFF4D9;
    --accent-dark: #E8A412;
    
    --neutral-50: #F9FAFB;
    --neutral-100: #F3F4F6;
    --neutral-200: #E5E7EB;
    --neutral-300: #D1D5DB;
    --neutral-400: #9CA3AF;
    --neutral-500: #6B7280;
    --neutral-600: #4B5563;
    --neutral-700: #374151;
    --neutral-800: #1F2937;
    --neutral-900: #111827;
    
    --success: #10B981;
    --success-light: rgba(16, 185, 129, 0.1);
    --danger: #EF4444;
    --warning: #F59E0B;
    --info: #3B82F6;
    
    --card-radius: 16px;
    --button-radius: 8px;
    --card-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* ========================================
   GLOBAL BASE STYLES
   ======================================== */

html * {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html, body {
    overflow-x: hidden;
    box-sizing: border-box;
}

html {
    overflow-y: none;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--neutral-600);
    background-color: #F7F8FA !important;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

.container, .container-fluid {
    transition: all 0.2s ease-in-out;
}

.img-fluid, .img-thumbnail {
    height: auto;
    max-width: 100%;
}

.disabled {
  pointer-events: none;
  opacity: 0.5;
}

/* ========================================
   LAYOUT CONTAINERS
   ======================================== */

.app-container {
    width: 100%;
    padding: 38px 40px 48px;
    margin: 0 auto;
    box-sizing: border-box;
    min-height: 100dvh;
}

.dashboard-grid {
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 24px;
    align-items: start;
}

.content-panels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

/* ========================================
   STATS DASHBOARD COMPONENTS
   ======================================== */

.stats-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.stat-card {
    background-color: white;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05), 0 4px 6px rgba(0, 0, 0, 0.02);
    border: 1px solid rgba(229, 231, 235, 0.7);
    padding: 16px;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-card:hover .stat-icon-wrapper {
    transform: scale(1.05);
}

.stat-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.stat-icon-wrapper .material-icons-round {
    font-size: 24px;
}

.stat-value,
.stat-body h3 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    margin-bottom: 4px;
    color: #1e293b;
}

.stat-trend {
    font-size: 0.875rem !important;
    font-weight: 600;
    padding: 2px 6px !important;
    gap: 2px;
}

.stat-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-500);
    margin-top: 6px;
}

.stat-limit-badge {
    background-color: #F3F4F6;
    border-radius: 20px;
    padding: 6px 12px;
    font-size: 14px;
    font-weight: 600;
    color: #4B5563;
}

.stat-progress-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.stat-progress {
    height: 6px;
    background-color: #F3F4F6;
    border-radius: 3px;
    overflow: hidden;
    flex: 1;
}

.stat-progress-bar {
    height: 100%;
    border-radius: 3px;
    transition: width 1s ease;
}

.stat-progress-text {
    font-size: 13px;
    font-weight: 600;
    color: #6B7280;
    min-width: 36px;
    text-align: right;
}


/* ========================================
   EVENTS & FEEDBACK COMPONENTS
   ======================================== */

.events-feedback-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 24px;
    margin-top: 2rem;
}

.events-card, .feedback-card {
    background: white;
    border-radius: 13px;
    padding: 1.25rem;
    border: 1px solid #f1f5f9;
}

.events-card {
    background-color: white;
    border-radius: var(--card-radius);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--neutral-200);
    overflow: hidden;
    max-height: 482px;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 16px;
    border-bottom: 1px solid var(--neutral-100);
    flex-shrink: 0;
}

.events-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-800);
    margin: 0;
}

.events-list {
    padding: 0;
    overflow-y: auto;
    flex: 1;
}

/* Event item for regular event lists */
.event-item {
    display: flex;
    gap: 1rem;
    padding: 1rem 0;
    border-bottom: 1px solid #f1f5f9;
}

/* Event item for events card/compact layouts */
.events-card .event-item {
    display: flex;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--neutral-100);
}

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

/* Event date box for regular event lists */
.event-date-box {
    background: #f8fafc;
    border-radius: 8px;
    padding: 0.75rem;
    text-align: center;
    min-width: 60px;
}

/* Event date box for calendar/compact layouts */
.events-card .event-date-box {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    flex-direction: column;
    justify-content: center;
    width: 48px;
    text-align: center;
    flex-shrink: 0;
    background: none;
    border-radius: 0;
    padding: 0;
}

/* Event day for regular event lists */
.event-day {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

/* Event day for events card/compact layouts */
.events-card .event-day {
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
    color: var(--primary);
}

/* Event month for regular event lists */
.event-month {
    font-size: 0.75rem;
    color: #64748b;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

/* Event month for events card/compact layouts */
.events-card .event-month {
    font-size: 12px;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 600;
}

.event-content {
    flex: 1;
}

.event-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--neutral-800);
    margin: 0 0 8px;
    line-height: 1.4;
}

.event-description {
    font-size: 14px;
    line-height: 1.5;
    color: var(--neutral-600);
    margin: 0 0 12px;
}

.event-action-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--primary);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.event-action-link:hover {
    text-decoration: none;
    color: var(--primary-dark);
}

.event-action-icon {
    font-size: 16px;
}

.events-footer {
    display: flex;
    justify-content: center;
    padding: 16px 24px;
    border-top: 1px solid var(--neutral-100);
    flex-shrink: 0;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--neutral-600);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.view-all-link:hover {
    color: var(--primary);
    text-decoration: none;
}

.template-card {
    transition: transform 0.2s ease-in-out;
}

.template-card:hover {
    transform: scale(1.05);
}

/* ========================================
   FEEDBACK COMPONENTS
   ======================================== */

.feedback-card {
    background-color: var(--primary);
    border-radius: var(--card-radius);
    overflow: hidden;
    align-self: flex-start;
}

.feedback-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
}

.feedback-header {
    margin-bottom: 12px;
}

.feedback-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: white;
    margin: 0 0 8px;
}

.feedback-title .material-icons-round {
    font-size: 18px;
}

.feedback-text {
    font-size: 13px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 12px !important;
}

.trustpilot-rating {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
}

.rating-stars {
    display: flex;
    color: #00B67A;
}

.rating-text {
    font-size: 14px;
    color: white;
    margin-left: 8px;
}

.feedback-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: white;
    color: var(--primary);
    border: none;
    border-radius: 8px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.feedback-button:hover {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary);
}

/* ========================================
   NAVIGATION COMPONENTS
   ======================================== */

.top-nav {
    background: white;
    border-radius: 13px;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #f1f5f9;
}

.nav-menu {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-menu li a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #64748b;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    background: #f1f5f9;
    color: var(--primary);
}

.nav-menu li a .material-icons-round {
    font-size: 20px;
}

.mobile-nav-dropdown {
    display: none;
}

.mobile-nav-toggle {
    background: none;
    border: none;
    color: #64748b;
    font-size: 24px;
    cursor: pointer;
}

.mobile-nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    margin-top: 0.5rem;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.mobile-nav-menu .nav-menu {
    flex-direction: column;
    gap: 0.5rem;
}

.app-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: var(--card-radius);
    padding-bottom: 16px;
    background: none;
    width: 100%;
}

.brand-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    width: 140px;
}

.brand-logo img {
    width: 140px;
    height: 40px;
    object-fit: contain;
}

.header-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.header-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    flex-wrap: wrap;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: var(--neutral-600);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 12px;
    transition: color 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav-menu .nav-item:last-child .nav-link {
    padding: 12px 16px;
}

.nav-link:hover {
    color: var(--primary);
}

.nav-link.active {
    color: var(--primary);
    font-weight: 600;
}

.nav-link .material-icons-round {
    font-size: 16px;
}

/* ========================================
   WELCOME SECTION
   ======================================== */

.welcome-section {
    margin-bottom: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.welcome-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--neutral-800);
    margin: 0;
}

.waving-hand {
    display: inline-block;
    animation: wave 2.5s infinite;
    transform-origin: 70% 70%;
}

@keyframes wave {
    0% { transform: rotate(0deg); }
    10% { transform: rotate(14deg); }
    20% { transform: rotate(-8deg); }
    30% { transform: rotate(14deg); }
    40% { transform: rotate(-4deg); }
    50% { transform: rotate(10deg); }
    60% { transform: rotate(0deg); }
    100% { transform: rotate(0deg); }
}

.date-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 500;
    color: var(--neutral-400);
    margin-left: auto;
}

.date-pill .status {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--accent);
}

/* ========================================
   PROFILE CARD
   ======================================== */

.profile-card {
    min-width: 280px;
    max-width: 280px;
    background-color: var(--primary);
    border-radius: var(--card-radius);
    overflow: hidden;
    top: 24px;
    display: flex;
    flex-direction: column;
    max-height: calc(100vh - 48px);
    align-self: flex-start;
    min-height: 650px;
}

.profile-header {
    padding: 24px;
    text-align: center;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
}

.profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background-color: var(--neutral-50);
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 32px;
    font-weight: 600;
    text-transform: uppercase;
}

.profile-name {
    font-size: 20px;
    font-weight: 600;
    color: white;
    margin: 0 0 4px;
}

.profile-plan {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 6px;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.plan-pill {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.plan-pill-idosell { 
    background: #f3e8ff; 
    color: #6b21a8;
}

.profile-budget {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 8px;
    color: white;
    font-size: 15px;
    margin-bottom: 20px;
    text-align: center;
    line-height: 1.4;
}

.profile-budget .material-icons-round {
    margin-top: 2px;
    flex-shrink: 0;
}

.profile-links-container {
    margin-top: auto;
    padding: 12px 24px 24px;
    flex: 0 0 auto;
}

.profile-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.profile-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    color: white;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s;
    border-radius: 8px;
    border: none;
    background: none;
    width: 100%;
    cursor: pointer;
    text-align: left;
}

.profile-link:hover,
.profile-link.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: white;
}

.profile-link .material-icons-round {
    font-size: 18px;
}

/* ========================================
   DROPDOWN SYSTEMS
   ======================================== */

.campaign-dropdown {
    position: relative;
    display: inline-block;
}

.campaign-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.campaign-dropdown-toggle:hover {
    background: var(--primary-dark);
}

.campaign-dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border: 1px solid #D9E1E7;
    border-radius: 12px;
    margin-top: 0.25rem;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
}

.campaign-dropdown.show .campaign-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.campaign-dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #384455;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
}

.campaign-dropdown-item:hover {
    background: #f8fafc;
    color: #384455;
}

.campaign-dropdown-item .material-icons-round {
    font-size: 18px;
    color: #64748b;
}

.dropdown-menu {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    padding: 8px;
    margin-top: 8px;
    min-width: 180px;
    max-width: 220px;
    z-index: 1050;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #374151;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: none;
    background: none;
    width: 100%;
    text-align: left;
}

.dropdown-item:hover {
    background: rgba(147, 51, 234, 0.08) !important;
    color: var(--primary) !important;
    text-decoration: none !important;
}

.dropdown-item.active {
    background: rgba(147, 51, 234, 0.15) !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
}

.dropdown-icon {
    font-size: 16px;
    color: #6b7280;
    flex-shrink: 0;
    transition: color 0.2s ease;
}

.dropdown-item:hover .dropdown-icon {
    color: var(--primary);
}

.dropdown-toggle::after {
    display: none !important;
}

/* ========================================
   LANGUAGE SWITCHER
   ======================================== */

.language-switcher-wrapper {
    flex-shrink: 0;
}

.language-switcher-wrapper .navbar {
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    box-shadow: none !important;
}

.language-switcher-wrapper .navbar .d-flex {
    width: auto !important;
    gap: 1rem;
    align-items: center !important;
}

.language-switcher-wrapper .dropui-btn {
    background-color: var(--primary) !important;
    color: white !important;
    border: none !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: background-color 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
}

.language-switcher-wrapper .dropui-btn:hover {
    background-color: var(--primary-dark) !important;
    color: white !important;
}

.language-switcher-wrapper .containerUserComponent {
    background: white !important;
    border: 1px solid var(--neutral-200) !important;
    border-radius: 8px !important;
    padding: 8px 12px !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
    display: flex !important;
    align-items: center !important;
}

.language-switcher-wrapper .dropui-toggle {
    background: none !important;
    border: none !important;
    color: var(--neutral-600) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    padding: 0 !important;
    transition: color 0.2s ease !important;
    gap: 6px !important;
    display: flex !important;
    align-items: center !important;
}

.language-switcher-wrapper .dropui-toggle:hover {
    color: var(--primary) !important;
}

.language-switcher-wrapper .dropui-toggle:focus {
    outline: none !important;
    box-shadow: none !important;
    color: var(--neutral-600) !important;
}

.language-switcher-wrapper .dropui-toggle img {
    width: 10px !important;
    height: 10px !important;
    transition: transform 0.2s ease !important;
}

.language-switcher-wrapper .dropui-toggle[aria-expanded="true"] img {
    transform: rotate(180deg) !important;
}

.language-switcher-wrapper .userProfile.dropdown-menu {
    background: white !important;
    border: 1px solid var(--neutral-200) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1) !important;
    padding: 4px 0 !important;
    margin-top: 4px !important;
    min-width: 100px !important;
    width: auto !important;
    right: 0 !important;
    left: auto !important;
}

.language-switcher-wrapper .userProfile.dropdown-menu .dropdown-item {
    padding: 6px 12px !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    color: var(--neutral-700) !important;
    transition: all 0.2s ease !important;
    margin: 0 !important;
    border-radius: 0 !important;
    background: none !important;
    gap: 0 !important;
}

.language-switcher-wrapper .userProfile.dropdown-menu .dropdown-item:hover {
    background: var(--primary-lighter) !important;
    color: var(--primary) !important;
}

.containerUserComponent {
    padding: 13px 19px;
    width: max-content;
}

.userProfile.dropdown-menu {
    padding: 0 !important;
    position: absolute !important;
    overflow: hidden !important;
    margin-top: 31px !important;
    right: 0 !important;
    z-index: 10 !important;
    width: 14rem !important;
    background-color: white !important;
    border-radius: 1rem !important;
    border: 2px solid #D9E1E7 !important;
    opacity: 100% !important;
}

.userProfile.dropdown-menu .dropdown-item {
    display: flex !important;
    align-items: center !important;
    gap: 4px !important;
    padding: 24px 26px !important;
    color: #384455 !important;
    background-color: transparent !important;
    width: 100% !important;
    text-align: left !important;
    border: none !important;
    transition: background-color 0.2s ease-in-out !important;
    font-weight: 600 !important;
    font-size: 16px !important;
}

.userProfile.dropdown-menu .dropdown-item:hover {
    background-color: #d9e1e7 !important;
}

/* ========================================
   BUTTON SYSTEM
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    border-radius: var(--button-radius);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    line-height: 1.5;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: translateY(1px);
}

.btn .material-icons-round {
    font-size: 16px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    border: 1px solid var(--primary);
}

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: white;
    transform: translateY(-1px);
    box-shadow: 0 4px 10px rgba(147, 51, 234, 0.3);
}

.btn-outline {
    background: white;
    color: var(--neutral-700);
    border: 1px solid var(--neutral-300);
}

.btn-outline:hover {
    background: var(--neutral-50);
    border-color: var(--neutral-400);
    color: var(--neutral-800);
}

.btn.btn-primary {
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn.btn-primary:hover {
    background: var(--primary-dark);
}

.btn.btn-primary .material-icons-round {
    font-size: 16px;
}

.modal-btn,
.primary-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    box-shadow: 0 2px 5px rgba(147, 51, 234, 0.3);
    border: none;
    border-radius: var(--button-radius, 8px);
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.modal-btn:hover,
.primary-btn:hover {
    box-shadow: 0 4px 10px rgba(147, 51, 234, 0.4);
    transform: translateY(-1px);
}

.btn-no-shadow {
    box-shadow: none;
    border: none;
}

.btn.btn-outline-secondary:hover {
    background-color: transparent !important;
    border-color: transparent !important;
    color: inherit !important;
}

.btn-custom-close {
    background-color: #fff;
    color: #212529;
    border: 1px solid var(--bs-border-color);
    transition: background-color 0.2s ease;
}

.btn-custom-close:hover {
    color: #212529;
    background-color: rgb(203, 213, 225);
}

.btn-custom-close:focus,
.btn-custom-close:active {
    border-color: var(--bs-border-color) !important;
    outline: none;
    box-shadow: none;
}

/* ========================================
   DROPUI COMPONENTS
   ======================================== */

.dropui-btn {
    background-color: var(--primary);
    box-shadow: none;
    border: none;
}

.dropui-btn:hover {
    background-color: var(--primary-dark);
    color: #fff;
    box-shadow: none;
}

.dropui-btn:focus {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
    box-shadow: none !important;
    outline: none !important;
}

.dropui-btn:disabled,
.dropui-btn[disabled] {
    background-color: var(--primary) !important;
    opacity: 0.7;
    cursor: not-allowed;
}

.dropui-toggle {
    color: #809FB8;
    border: none;
}

.dropui-toggle:hover {
    color: none !important;
}

.dropui-toggle:focus, .language-btn:active {
    box-shadow: none;
    color: #809FB8;
}

.dropui-color {
    color: var(--primary);
}

.dropui-background-color {
    background-color: var(--primary);
}

.dropui-border-color {
    border-color: var(--primary);
}

.dropui-link:hover {
    color: #6a2fcf !important;
    font-weight: 700;
}

.dropui-table-link:hover {
    color: #4909b8 !important;
}

/* ========================================
   FORM CONTROLS
   ======================================== */

.form-check-input {
    accent-color: var(--primary);
    width: 1.2em;
    height: 1.2em;
    border-color: #6a2fcf;
}

.form-check-input:checked {
    background-color: var(--primary);
    border-color: var(--primary);
}

.form-check-input:focus {
    box-shadow: 0 0 0 0.25rem rgba(147, 51, 234, 0.25);
    border-color: var(--primary);
}

.switch-big .form-check-input:checked {
    background-color: #6a2fcf;
    border-color: #6a2fcf !important;
}

.form-check.form-switch .form-check-input {
    width: 2em;
    height: 1em;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%239333ea'/%3e%3c/svg%3e");
    background-position: left center;
    background-size: contain;
    border-radius: 2em;
    transition: background-position 0.15s ease-in-out;
}

.form-check.form-switch .form-check-input:checked {
    background-position: right center;
    background-color: var(--primary);
    border-color: var(--primary);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
}

.form-check.form-switch .form-check-input:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3e%3ccircle r='3' fill='%23fff'/%3e%3c/svg%3e");
    box-shadow: 0 0 0 0.25rem rgba(147, 51, 234, 0.25);
}

.form-select {
    height: 50px !important;
    width: 100%;
    padding: 8px 12px;
    color: var(--neutral-900);
    background-color: white;
    border: 1px solid var(--neutral-200) !important;
    border-radius: 12px !important;
    transition: background-color 0.2s ease-in-out, border-color 0.2s ease-in-out;
    font-size: 0.875rem;
    line-height: 1.5rem;
    box-shadow: none !important;
}

.form-control {
    width: 100%;
    border-radius: 12px !important;
}

.form-select::placeholder {
    color: var(--neutral-400);
}

.form-select:focus {
    outline: none !important;
    box-shadow: none !important;
}

.form-select:hover {
    background-color: var(--neutral-50);
}

.form-label {
    font-size: 17px;
    color: #050708;
    font-weight: 600;
}

.form-custom {
    padding-left: 31px;
    height: 64px;
    border: 1px solid #D9E1E7;
    border-radius: 12px;
}

/* ========================================
   PANEL SYSTEM
   ======================================== */

.panel {
    background: white;
    border-radius: var(--card-radius);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--card-shadow);
    overflow: hidden;
    margin-bottom: 24px;
    transition: box-shadow 0.2s ease;
}

.panel:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--neutral-100);
    background: white;
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    color: var(--neutral-800);
    margin: 0;
}

.panel-title .icon {
    color: var(--primary);
    font-size: 18px;
}

.panel-content {
    padding: 0;
}

.panel-header .btn {
    font-size: 12px;
    padding: 6px 12px;
}

.panel-content p.text-center {
    padding: 40px 20px;
    margin: 0;
    color: #6B7280;
    font-style: italic;
}

.panel-content-filters {
    background: var(--neutral-50);
    border-bottom: 1px solid var(--neutral-100);
    padding: 20px 24px;
}

.filters-row {
    display: flex;
    gap: 20px;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 160px;
}

.filter-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--neutral-700);
    margin: 0;
}

.filter-input,
.filter-select {
    height: 46px;
    padding: 10px 12px;
    border: 1px solid var(--neutral-300);
    border-radius: var(--button-radius);
    background-color: white;
    font-size: 14px;
    color: var(--neutral-800);
    transition: border-color 0.2s ease;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary);
}

.filter-actions {
    display: flex;
    gap: 8px;
    margin-left: auto;
}

/* ========================================
   TABLE SYSTEMS
   ======================================== */

.columns-stretch { align-items: stretch; }

.columns-stretch > [class*="col-"] {
  display: flex;
  min-width: 0;
}
.columns-stretch .panel {
  flex: 1 1 auto;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.columns-stretch .panel-content {
  flex: 1 1 auto;
  overflow-y: auto;
  overflow-x: visible;
}

.domains-table { width: 100%; }


.table-container-base,
.folders-container,
.campaigns-table-container {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--neutral-200);
    box-shadow: var(--card-shadow);
    overflow: hidden;
}

.campaigns-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid var(--neutral-100);
    background: white;
}

.header-actions {
    display: flex;
    gap: 12px;
}

.search-filters {
    display: flex;
    gap: 12px;
    align-items: center;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 10px;
    color: var(--neutral-400);
    font-size: 16px;
    pointer-events: none;
}

.search-input {
    height: 36px;
    padding: 6px 12px 6px 32px;
    border: 1px solid var(--neutral-300);
    border-radius: 6px;
    font-size: 14px;
    background: white;
    width: 250px;
    transition: all 0.2s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.1);
}

.filter-group-campaign {
    display: flex;
    gap: 12px;
}

.filter-select-list {
    height: 36px;
    padding: 6px 12px;
    border: 1px solid var(--neutral-300);
    border-radius: 6px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    min-width: 140px;
}

.filter-select-list:focus {
    outline: none;
    border-color: var(--primary);
}

.data-table-base,
.folders-table,
.campaigns-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table-base thead,
.folders-table thead,
.campaigns-table thead {
    background: var(--neutral-50);
}

.data-table-base th,
.folders-table th,
.campaigns-table th {
    padding: 12px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--neutral-500);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--neutral-200);
}

.data-table-base tbody tr,
.folders-table tbody tr,
.campaigns-table tbody tr {
    border-bottom: 1px solid var(--neutral-100);
    transition: background-color 0.1s ease;
}

.data-table-base tbody tr:hover,
.folders-table tbody tr:hover,
.campaigns-table tbody tr:hover {
    background: var(--neutral-50);
}

.data-row-base,
.folder-row,
.campaign-row {
    background: white;
}

.data-table-base td,
.folders-table td,
.campaigns-table td {
    padding: 16px 20px;
    vertical-align: middle;
}

.domains-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.domains-table thead {
    background: var(--neutral-50);
}

.domains-table th {
    padding: 12px 20px;
    text-align: left;
    font-weight: 600;
    color: var(--neutral-500);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--neutral-200);
}

.domains-table tbody tr {
    border-bottom: 1px solid var(--neutral-100);
    transition: background-color 0.1s ease;
}

.domains-table tbody tr:hover {
    background: var(--neutral-50);
}

.domains-table td {
    padding: 16px 20px;
    vertical-align: middle;
}

.shops-table td {
    border: none !important;
}

.table-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    border-top: 1px solid var(--neutral-200);
    background: white;
    font-size: 14px;
}

.pagination-control {
    display: flex;
    align-items: center;
}

.rows-per-page {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neutral-600);
}

.rows-select {
    padding: 4px 8px;
    border: 1px solid var(--neutral-300);
    border-radius: 4px;
    font-size: 14px;
    background: white;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 16px;
}

.pagination-info {
    color: var(--neutral-600);
}

.pagination-info strong {
    color: var(--neutral-800);
    font-weight: 600;
}

.pagination-buttons {
    display: flex;
    gap: 4px;
}

.page-btn {
    width: 28px;
    height: 28px;
    border: 1px solid var(--neutral-300);
    border-radius: 4px;
    background: white;
    color: var(--neutral-600);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
}

.page-btn:hover:not(.disabled):not(.active) {
    background: var(--neutral-50);
    color: var(--neutral-800);
}

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

.page-btn.disabled {
    background: var(--neutral-100);
    color: var(--neutral-400);
    cursor: not-allowed;
}

.page-btn .material-icons-round {
    font-size: 16px;
}

/* ========================================
   ITEM COMPONENTS & BADGES
   ======================================== */

.item-info-base {
    display: flex;
    align-items: center;
    gap: 12px;
}

.item-thumbnail-base {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
}

.folder-thumbnail {
    background: #fef3c7;
    color: #d97706;
}

.campaign-thumbnail {
    background: var(--primary);
    color: white;
}

.item-name-base {
    font-weight: 500;
    color: var(--neutral-700);
    text-decoration: none;
    font-size: 14px;
}

.item-name-base:hover {
    color: var(--primary);
    text-decoration: none;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.active {
    background: var(--success-light);
    color: var(--success);
}

.status-badge.draft {
    background: var(--neutral-200);
    color: var(--neutral-600);
}

.status-badge .material-icons-round,
.status-badge .icon {
    font-size: 14px;
}

.metric-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--neutral-800);
    line-height: 1.2;
}

.metric-label {
    font-size: 12px;
    color: var(--neutral-500);
    margin-top: 2px;
}

.date-info {
    text-align: left;
}

.date-value {
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-700);
    line-height: 1.2;
}

.date-label {
    font-size: 12px;
    color: var(--neutral-500);
    margin-top: 2px;
}

/* ========================================
   ACTION BUTTONS
   ======================================== */

/* Container for action buttons */
.action-buttons {
    display: flex;
    gap: 6px;
    justify-content: flex-end;
}

/* Base button */
.action-btn {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    background: #f8f9fa;
    color: #6c757d;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    padding: 0;
}

/* Icon inside button */
.action-btn .material-icons-round,
.action-btn .icon {
    font-size: 16px;
    color: #6c757d;
    transition: color 0.2s ease;
}

/* Default hover: grey on grey */
.action-btn:hover {
    background: #e9ecef;
    color: #495057;
}
.action-btn:hover .icon,
.action-btn:hover .material-icons-round {
    color: #495057;
}

/* View button */
.action-btn.primary:hover {
    background: #ede9fe; /* pale primary */
    color: var(--primary);
}
.action-btn.primary:hover .icon {
    color: var(--primary);
}

/* Edit button */
.action-btn.btn-info:hover {
    background: #e9ecef;
    color: #495057;
}
.action-btn.btn-info:hover .icon {
    color: #495057;
}

/* Pin buttons */
.action-btn.btn-warning:hover,
.action-btn.btn-outline-warning:hover {
    background: #e9ecef;
    color: #495057;
}
.action-btn.btn-warning:hover .icon,
.action-btn.btn-outline-warning:hover .icon {
    color: #495057;
}

/* Copy (btn-secondary) — primary by default, grey on hover */
.action-btn.btn-secondary {
    color: var(--primary);
}
.action-btn.btn-secondary .icon {
    color: var(--primary);
}
.action-btn.btn-secondary:hover {
    background: #e9ecef;
    color: #495057;
}
.action-btn.btn-secondary:hover .icon {
    color: #495057;
}

/* Move to folder */
.action-btn.folder:hover {
    background: #fef9c3;
    color: #a16207;
}
.action-btn.folder:hover .icon {
    color: #a16207;
}

/* Delete button */
.action-btn.danger:hover {
    background: #fee2e2;
    color: #b91c1c;
}
.action-btn.danger:hover .icon {
    color: #b91c1c;
}


/* ========================================
   PROGRESS COMPONENTS
   ======================================== */

.progress-chart {
    width: 60px;
    height: 24px;
    display: flex;
    align-items: flex-end;
    gap: 2px;
    margin: 4px auto 0 auto;
}

.progress-bar {
    flex: 1;
    background-color: var(--primary-light);
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    min-height: 4px;
    transition: all 0.3s ease;
}

.progress-bar::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--primary);
    border-radius: 2px;
}

.progress-bar:nth-child(1)::after { height: 30%; }
.progress-bar:nth-child(2)::after { height: 60%; }
.progress-bar:nth-child(3)::after { height: 40%; }
.progress-bar:nth-child(4)::after { height: 75%; }
.progress-bar:nth-child(5)::after { height: 50%; }

.campaigns-table tr:hover .progress-bar {
    background-color: var(--primary-lighter);
    min-height: 6px;
}

.campaigns-table tr:hover .progress-bar::after {
    background-color: var(--primary-dark);
}

/* ========================================
   CAMPAIGN COMPONENTS
   ======================================== */

.campaign-header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
    gap: 24px;
}

.campaign-info-header h1.entry-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--neutral-800);
    margin: 0 0 16px 0;
    line-height: 1.2;
}

.entry-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--neutral-600);
}

.meta-item .icon {
    color: var(--primary);
    font-size: 18px;
}

.meta-item .meta-value {
    font-weight: 500;
    color: var(--neutral-800);
}

.campaign-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
}

.campaign-container {
    padding-top: 40px;
    padding-bottom: 40px;
    padding-left: 32px;
    padding-right: 32px;
    background-color: white;
    border-radius: 13px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    gap: 16px;
    grid-auto-rows: minmax(100px, max-content);
}

.campaign-item {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid white;
    height: min-content;
    padding-top: 8px;
    padding-bottom: 27px;
    padding-left: 9px;
    padding-right: 9px;
    border-radius: 8px;
    cursor: pointer;
}

.campaign-item:hover {
    border: 1px solid #DEE5E8;
}

.campaign-item .flex-grow-1 {
    max-width: 90%;
}

.campaign-item .truncate-text {
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: block !important;
    max-width: 100% !important;
}

.campaign-tile {
    position: relative;
    overflow: hidden;
    border-radius: 0.375rem;
    aspect-ratio: 7 / 8;
    border: 1px solid transparent;
}

.campaign-tile:hover {
    border: 1px solid #dee2e6;
}

.campaign-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0);
    opacity: 0;
    border-radius: 0.375rem;
}

.campaign-name-container {
    display: flex;
    align-items: center;
    gap: 2px;
}

.pinned-icon {
  color: var(--warning);
}

/* ========================================
   A/B TESTING COMPONENTS
   ======================================== */

.ab-campaigns {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: flex-start;
    justify-content: center;
    min-height: 40px;
}

.campaign-variant {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.3;
}

.variant-label {
    font-weight: 700;
    color: #666;
    min-width: 18px;
    font-size: 12px;
}

.variant-name {
    color: #333;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.variant-link {
    text-decoration: none;
    color: var(--primary);
    transition: color 0.2s ease;
}

.variant-link:hover {
    text-decoration: underline;
    color: var(--primary-dark);
}

.traffic-split {
    display: flex;
    flex-direction: column;
    gap: 6px;
    align-items: center;
    justify-content: center;
    min-height: 40px;
}

.traffic-bar {
    display: flex;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
    width: 90px;
}

.traffic-a {
    background: #4CAF50;
    transition: width 0.3s ease;
}

.traffic-b {
    background: #FF9800;
    transition: width 0.3s ease;
}

.traffic-labels {
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: #666;
    width: 90px;
    font-weight: 500;
}

.traffic-label {
    font-size: 11px;
    color: #666;
    font-weight: 500;
}

.performance-metrics {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    min-height: 40px;
}

.performance-metrics .metric-value {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}

.performance-metrics .metric-label {
    font-size: 11px;
    color: var(--neutral-500);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.vs-separator {
    color: #999;
    font-size: 11px;
    font-weight: 400;
}

.campaign-a-metric {
    color: #4CAF50;
    font-weight: bold;
}

.campaign-b-metric {
    color: #FF9800;
    font-weight: bold;
}

.winner-indicator {
    display: flex;
    justify-content: center;
}

.winner-badge {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 12px;
    background: #E3F2FD;
    color: #1976D2;
    font-size: 11px;
}

.winner-badge .icon {
    font-size: 14px;
}

/* ========================================
   CONTROLS & SEARCH SECTIONS
   ======================================== */

.controls-section {
    margin-bottom: 0;
}

.controls-section .search-filters {
    display: flex;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.controls-section .search-box {
    position: relative;
    flex: 1;
    max-width: 400px;
}

.controls-section .search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neutral-400);
    font-size: 18px;
    pointer-events: none;
}

.controls-section .search-input {
    width: 100%;
    padding-left: 44px;
    height: 44px;
    border: 1px solid var(--neutral-300);
    border-radius: var(--button-radius);
    font-size: 14px;
    background: white;
    transition: all 0.2s ease;
}

.controls-section .search-input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(147, 51, 234, 0.1);
}

.controls-section .filter-group-campaign {
    display: flex;
    gap: 12px;
}

.controls-section .filter-select-list {
    height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--neutral-300);
    border-radius: var(--button-radius);
    font-size: 14px;
    background: white;
    cursor: pointer;
    min-width: 140px;
}

.controls-section .filter-select-list:focus {
    outline: none;
    border-color: var(--primary);
}

.cell-type {
    width: 20%;
}

.campaigns-table .cell-views {
    text-align: center;
}

.campaigns-table .cell-clicks {
    text-align: center;
}

.campaigns-table .cell-type {
    vertical-align: middle;
}

/* Column widths */
.cell-name,
.cell-campaign { width: 30%; }
.cell-count,
.cell-status { width: 15%; }
.cell-views,
.cell-clicks,
.cell-ctr { width: 10%; }
.cell-date,
.cell-created { width: 15%; }
.cell-actions { width: 10%; text-align: center; }

/* ========================================
   BREADCRUMBS & NAVIGATION AIDS
   ======================================== */

.breadcrumbs {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: var(--neutral-600);
    list-style: none;
    padding: 0;
    margin: 0 0 16px 0;
}

.breadcrumb-item {
    color: var(--neutral-400);
    transition: color 0.2s ease;
    pointer-events: none;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 8px;
    color: var(--neutral-400);
}

.breadcrumb-item:not(:last-child) {
    color: var(--neutral-600);
    cursor: pointer;
    pointer-events: auto;
}

.breadcrumb-item:not(:last-child):hover {
    color: var(--neutral-800);
}

.breadcrumb-item a {
    color: inherit;
    text-decoration: none;
}

.breadcrumb-item.active {
    color: var(--neutral-400) !important;
}

.folders-section,
.campaigns-section {
    margin-bottom: 24px;
}

/* ========================================
   SLIDERS & RANGE CONTROLS
   ======================================== */

.traffic-slider::-webkit-slider-thumb {
    appearance: none;
    width: 14px;
    height: 14px;
    background-color: var(--primary);
    border-radius: 50%;
    cursor: pointer;
    margin-top: 1px;
    box-shadow: none !important;
}

.traffic-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    background-color: var(--primary);
    border-radius: 50%;
    cursor: pointer !important;
    box-shadow: none !important;
}

.traffic-slider::-webkit-slider-runnable-track {
    background-color: #e5e7eb;
    border-radius: 4px;
    height: 16px;
}

.traffic-slider::-moz-range-track {
    background-color: #e5e7eb;
    border-radius: 4px;
    height: 16px;
}

.traffic-slider::-webkit-slider-thumb:active {
    background-color: var(--primary) !important;
}

.traffic-slider::-moz-range-thumb:active {
    background-color: var(--primary) !important;
}

/* ========================================
   CALENDAR COMPONENTS
   ======================================== */

.calendar {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    border: 1px solid #ccc;
}

.event {
    background-color: var(--primary);
    color: white;
    padding: 2px;
    font-size: 12px;
    border-radius: 3px;
    margin-top: 2px;
    display: block;
}

.day {
    position: relative;
    height: 152px;
    border: 1px solid #d1d5db;
}

.day .day-container .date-number {
    font-size: 0.75rem;
    line-height: 1rem;
    color: #374151;
}

.day-container {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0.5rem;
}

/* ========================================
   CAMPAIGN DROPDOWN COMPONENTS
   ======================================== */

.campaignDopdownContainer {
    padding: unset !important;
    overflow: hidden !important;
    position: absolute !important;
    right: 0 !important;
    z-index: 10 !important;
    margin-top: 2px !important;
    width: 100% !important;
    min-width: 211px !important;
    transform-origin: top right !important;
    border-radius: 16px !important;
    background-color: white !important;
    border: 1px solid #D9E1E7 !important;
    outline: none !important;
    opacity: 1 !important;
    scale: 1 !important;
}

.campaignDopdownListItem {
    border: none !important;
    background-color: transparent !important;
}

.campaignDopdownItem {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    width: 100% !important;
    gap: 22px !important;
    text-decoration: none !important;
    background-color: transparent !important;
    border: none !important;
    padding-left: 24px;
    padding-right: 24px;
    padding-top: 8px;
    padding-bottom: 8px;
}

button.campaignDopdownItem {
    outline: none !important;
}

.campaignDopdownItem:hover {
    background-color: #D9E1E7 !important;
}

.dropdownText {
    display: block !important;
    font-size: 0.875rem !important;
    color: #384455 !important;
    font-weight: 600 !important;
    flex: 1 1 auto;
    text-align: left;
    white-space: normal;
}

.campaignDopdownItem img {
    width: 16px;
    height: 16px;
}

/* ========================================
   PAGINATION COMPONENTS
   ======================================== */

.paginator-prev,
.paginator-next {
    width: 7rem;
    text-align: center;
    display: inline-block;
}

.paginator-prev:not(.disabled),
.paginator-next:not(.disabled) {
    background-color: rgba(61, 102, 149, 0.3);
    color: #384455;
}

.paginator-prev.disabled,
.paginator-next.disabled {
    background-color: rgba(137, 91, 241, 0.3);
    color: #895BF1;
    pointer-events: none;
}

.paginator-page-info .current {
    color: var(--primary);
    margin-right: 6px;
}

.paginator-page-info .total {
    color: #384455;
    margin-left: 6px;
}

/* ========================================
   GRID & LAYOUT UTILITIES
   ======================================== */

.grid-leads-entry {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: 1fr;
}

.row.mt-5.g-4 {
    align-items: stretch;
}

.row.mt-5.g-4 .panel {
    height: 100%;
}

/* ========================================
   CODE & TOOLBAR COMPONENTS
   ======================================== */

.code-toolbar {
    position: relative;
    background: black;
}

.code-toolbar > .toolbar {
    position: absolute;
    top: 0.3em;
    right: 0.2em;
    transition: opacity 0.3s ease-in-out;
    opacity: 0;
}

.code-toolbar:hover > .toolbar, .code-toolbar:focus-within > .toolbar {
    opacity: 1;
}

.toolbar-item {
    display: inline-block;
}

.toolbar-item > a,
.toolbar-item > button,
.toolbar-item > span {
    cursor: pointer;
    color: #000;
    font-size: 0.75rem;
    padding: 0.25rem 0.5rem;
    background-color: #fff;
    font-weight: 600;
    border-radius: 0.25rem;
    border: none;
    text-decoration: none;
}

.toolbar-item > a:hover,
.toolbar-item > a:focus,
.toolbar-item > button:hover,
.toolbar-item > button:focus,
.toolbar-item > span:hover,
.toolbar-item > span:focus {
    color: #000;
    text-decoration: none;
}

/* ========================================
   MODAL COMPONENTS
   ======================================== */

.offsite-modal {
    max-width: 600px;
    width: 100%;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
}

.offsite-modal-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #050708;
}

.offsite-modal-description {
    font-size: 1rem;
    padding-bottom: 1rem;
    color: #4B5563;
    font-weight: 400;
    margin: 0;
}

.offsite-modal-image-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    max-height: 180px;
    overflow-y: hidden;
    gap: 1rem;
}

.offsite-modal-image {
    transform: translateY(-50px);
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* ========================================
   CHART & VISUALIZATION COMPONENTS
   ======================================== */

.apexcharts-canvas .apexcharts-legend-series {
    color: #809FB8;
    border: 1px solid #D9E1E7CC;
    padding-left: 8px;
    padding-right: 8px;
    height: 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 8px;
}

.apexcharts-canvas .apexcharts-tooltip {
    background-color: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: unset !important;
    color: unset !important;
}

/* ========================================
   ALERT COMPONENTS
   ======================================== */

.alert {
    padding: 12px 16px;
    border-radius: var(--button-radius);
    border: 1px solid transparent;
    margin-bottom: 16px;
}

.alert-info {
    background-color: var(--info);
    color: white;
    border-color: var(--info);
}

.alert-dismissible .btn-close {
    position: absolute;
    top: 0;
    right: 0;
    z-index: 2;
    padding: 1.25rem 1rem;
    background: none;
    border: none;
    color: inherit;
    opacity: 0.8;
}

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

/* ========================================
   EMPTY STATES
   ======================================== */

.no-data {
    text-align: center;
    padding: 40px 20px;
    color: var(--neutral-500);
    font-style: italic;
}

.empty-state {
    text-align: center;
    padding: 40px 20px;
    color: var(--neutral-500);
}

.empty-state .material-icons-round {
    font-size: 48px;
    color: var(--neutral-300);
    margin-bottom: 16px;
}

.empty-state h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--neutral-600);
    margin-bottom: 8px;
}

.empty-state p {
    font-size: 14px;
    color: var(--neutral-500);
    margin-bottom: 0;
}

/* ========================================
   TYPOGRAPHY UTILITIES
   ======================================== */

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.font-regular {
    font-weight: 400;
}

.text-base {
    font-size: 1rem;
    line-height: 1.5rem;
}

.text-sm {
    font-size: 0.875rem;
    line-height: 1.25rem;
}

.text-xs {
    font-size: 0.75rem;
    line-height: 1rem;
}

.text-2xs {
    font-size: 0.5rem;
    line-height: 0.75rem;
}

.text-lg {
    font-size: 1.125rem;
    line-height: 1.75rem;
}

.text-xl {
    font-size: 1.25rem;
    line-height: 1.75rem;
}

.text-2xl {
    font-size: 1.5rem;
    line-height: 2rem;
}

.text-3xl {
    font-size: 1.875rem;
    line-height: 2.25rem;
}

.text-black {
    color: #020617;
}

.text-charcoal {
    color: rgb(5, 5, 5);
}

.text-body-color {
    color: #64748B;
}

.text-deep-midnight {
    color: #06152B;
}

.text-midnight-slate {
    color: #384455;
}

.color-slate-blue {
    color: #809FB8;
}

.text-campaign-date {
    color: #99B2C6;
    font-size: 0.6875rem;
    font-weight: 400;
}

.text-campaign-details {
    color: #809FB8;
    font-size: 0.8125rem;
    font-weight: 400;
}

.text-gray-500 {
    color: var(--neutral-500);
}

.text-gray-900 {
    color: var(--neutral-900);
}

.text-green-500 {
    color: #0e9f6e;
}

.text-red-500 {
    color: #F05252;
}

.text-primary {
    color: var(--primary) !important;
}

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

.text-muted {
    color: var(--neutral-500);
}

/* ========================================
   BACKGROUND & UTILITY CLASSES
   ======================================== */

.rounded-lg {
    border-radius: 0.5rem;
}

.rotate-180 {
    transform: rotate(180deg);
}

.bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hover-bg {
    background-color: white;
    transition: background-color 0.2s ease;
}

.hover-bg:hover {
    background-color: #f8f9fa;
}

.bg-light-purple {
    background-color: #efe6fe !important;
}

.bg-light, body {
    background-color: #F7F8FA !important;
}

.analytics-bg {
    background-color: #F7F8FA !important;
}

/* ========================================
   INTERACTIVE BUTTONS & LINKS
   ======================================== */

.light-rounded-button {
    border-color: #ddd;
    border-width: 1px;
    border-radius: 0.25rem;
}

.light-rounded-button:hover {
    border-color: #ddd;
    border-width: 1px;
    border-radius: 0.25rem;
    color: #7c3aed !important;
}

.domain-action-button {
    border-color: #E2E8F0;
    border-width: 1px;
    border-radius: 0.25rem;
    height: 1.625rem; 
}

.domain-action-button:hover {
    border-color: #E2E8F0;
    border-width: 1px;
    border-radius: 0.25rem;
}

/* ========================================
   MISCELLANEOUS UTILITIES
   ======================================== */

.custom-disabled-text {
    color: #a0a0a0 !important;
}

.custom-disabled-icon img {
    filter: grayscale(100%) opacity(50%);
}

.navbar-brand {
    cursor: pointer;
}

.disabled-navbar-link {
    cursor: auto;
}

p {
    margin-bottom: unset !important;
}

h2 {
    margin: unset !important;
}

/* ========================================
   RESPONSIVE DESIGN - CONSOLIDATED MEDIA QUERIES
   ======================================== */

/* Small mobile devices - 576px and below */
@media (max-width: 576px) {
    .app-container {
        padding: 16px;
    }
    
    .panel-content-filters {
        padding: 16px;
    }
    
    .panel-header {
        padding: 16px;
    }
    
    .domains-table th,
    .domains-table td {
        padding: 12px 16px;
    }
    
    .campaign-buttons {
        flex-direction: column;
    }
    
    .campaign-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .meta-item {
        font-size: 13px;
    }
    
    .meta-item .icon {
        font-size: 16px;
    }
    
    .campaign-variant {
        font-size: 11px;
    }
    
    .variant-name {
        max-width: 60px;
    }
    
    .traffic-labels {
        font-size: 9px;
        width: 60px;
    }
    
    .performance-metrics .metric-value {
        font-size: 11px;
    }
    
    .traffic-bar {
        width: 60px;
        height: 6px;
    }
    
    .event-item {
        flex-direction: column;
    }
    
    .event-date-box {
        width: 100%;
        margin-bottom: 12px;
    }

    .calendar {
        font-size: 0.7rem;
    }
    
    .calendar .day {
        min-height: 50px;
        padding: 0.25rem !important;
    }
    
    .calendar .event {
        font-size: 0.6rem;
        padding: 1px 2px;
        margin-top: 1px;
        border-radius: 2px;
        line-height: 1.1;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        display: block;
    }

    .calendar .event a {
        color: white !important;
        text-decoration: none !important;
    }
    
    .custom-menu {
        height: calc(100vh - 108px) !important;
    }
}

/* Large mobile devices - 768px and below */
@media (max-width: 768px) {
    .content-panels {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .entry-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .campaign-buttons {
        flex-direction: column;
        width: 100%;
        justify-content: flex-start;
    }
    
    .campaign-buttons .btn {
        width: 100%;
        justify-content: center;
    }
    
    .panel-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .panel-header .btn {
        width: 100%;
        justify-content: center;
    }
    
    .filters-row {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .filter-group {
        min-width: auto;
        width: 100%;
    }
    
    .filter-actions {
        margin-left: 0;
        justify-content: stretch;
    }
    
    .filter-actions .btn {
        flex: 1;
    }
    
    .domains-table th,
    .domains-table td {
        padding: 12px 16px;
    }
    
    .domains-table {
        min-width: 400px;
    }
    
    .panel-content {
        overflow-x: auto;
    }
    
    .table-container-base,
    .folders-container,
    .campaigns-table-container {
        overflow-x: auto;
    }
    
    .data-table-base,
    .folders-table,
    .campaigns-table {
        min-width: 700px;
    }
    
    .table-footer {
        flex-direction: column;
        gap: 12px;
    }
    
    .campaign-info-header h1.entry-title {
        font-size: 24px;
    }
    
    .welcome-title {
        font-size: 24px;
        font-size: 1.5rem;
    }
    
    .search-input {
        width: 200px;
    }
    
    .controls-section .search-filters {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .controls-section .search-box {
        max-width: none;
    }
    
    .controls-section .filter-group-campaign {
        justify-content: space-between;
    }
    
    .controls-section .filter-select-list {
        flex: 1;
        min-width: auto;
    }
    
    .variant-name {
        max-width: 80px;
    }
    
    .traffic-bar {
        width: 70px;
    }
    
    .traffic-labels {
        width: 70px;
        font-size: 10px;
    }
    
    .nav-menu {
        width: 100%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
    }

    .dashboard-grid {
        flex-direction: column;
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .app-header {
        flex-wrap: wrap;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    
    .header-left {
        align-self: center;
    }
    
    .header-right {
        width: 100%;
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-menu {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 4px;
        width: 100%;
    }
    
    .language-switcher-wrapper .d-flex {
        justify-content: space-between !important;
        width: 100%;
    }
    
    .nav-container {
        width: 100%;
        margin-top: 16px;
        overflow-x: auto;
    }
    
    .nav-menu {
        width: max-content;
    }
    
    .welcome-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 1rem;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .events-feedback-container {
        grid-template-columns: 1fr;
    }
    
    .events-card {
        max-height: none;
    }
    
    .profile-card {
        margin-bottom: 24px;
        position: static;
    }
    
    .main-content {
        padding: 1rem;
    }
    
    .campaigns-header {
        flex-direction: column;
        gap: 12px;
        align-items: stretch;
    }
    
    .search-filters {
        justify-content: space-between;
    }
    
    .campaign-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .grid-leads-entry {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .day {
        height: 8rem;
    }

    .calendar {
        font-size: 0.8rem;
    }
    
    .calendar .day {
        min-height: 60px;
    }

    .calendar .event {
        font-size: 0.7rem;
        padding: 2px 4px;
        margin-top: 2px;
        border-radius: 3px;
        line-height: 1.2;
    }
}

/* Small laptops - 992px and below */
@media (max-width: 992px) {
    .campaign-header-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .campaign-buttons {
        align-self: flex-start;
    }
    
    .offsite-modal {
        min-width: 600px;
    }
    
    .campaign-container {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
    
    .dashboard-grid {
        grid-template-columns: 240px 1fr;
    }
    
    .profile-card {
        width: 100%;
        max-width: none;
        max-height: none;
        position: relative;
        top: 0;
        min-height: auto;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .events-feedback-container {
        grid-template-columns: 1fr;
    }
    
    .stats-container {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .events-feedback-container {
        grid-template-columns: 1fr 1fr;
    }
    
    .grid-leads-entry {
        grid-template-columns: repeat(4, 1fr);
    }
}