
This removes all th
/* AGGRESSIVE RESET - Force layout to work */
* {
    box-sizing: border-box !important;
}

html, body {
    margin: 0 !important;
    padding: 0 !important;
    height: 100% !important;
    width: 100% !important;
    overflow-x: hidden !important;
    position: relative !important;
}

/* Override Bootstrap container styles */
.container-fluid {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
}

/* Navigation-specific styles - Only affects navigation elements */
.app-container {
    display: flex !important;
    min-height: 100vh !important;
    position: relative !important;
    margin: 0 !important;
    padding: 0 !important;
    width: 100% !important;
    height: 100vh !important;
}

/* Main Sidebar - Only when it exists */
.main-sidebar {
    background: #ffffff !important;
    border-right: 1px solid #e2e8f0 !important;
    height: 100vh !important;
    position: fixed !important;
    left: 0 !important;
    top: 0 !important;
    width: 320px !important;
    z-index: 1000 !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    transition: width 0.3s ease !important;
    overflow-y: auto !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll */
}

/* Newsletter Mode: Two-column layout - icon strip + newsletter nav */
.main-sidebar.newsletter-mode {
    width: 320px !important;
    display: flex !important;
    flex-direction: row !important;
    overflow-x: hidden !important; /* Prevent horizontal scroll in newsletter mode */
}

/* Main Navigation - Default state (full width with icons + text) */
.main-nav {
    flex: 1 !important;
    padding: 1rem 0 !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Newsletter Mode: Main nav becomes icon strip (85px width) */
.main-sidebar.newsletter-mode .main-nav {
    flex: 0 0 85px !important;
    width: 85px !important;
    border-right: 1px solid #e2e8f0 !important;
    padding: 1rem 0.5rem !important;
}

/* Newsletter Mode: Hide nav text spans, show only icons */
.main-sidebar.newsletter-mode .nav-link span {
    display: none !important;
}

/* Newsletter Mode: Center icons in collapsed nav */
.main-sidebar.newsletter-mode .nav-link {
    justify-content: center !important;
    padding: 0.75rem 0.5rem !important;
    text-align: center !important;
}

/* Newsletter Mode: Center icons specifically */
.main-sidebar.newsletter-mode .nav-link i {
    margin-right: 0 !important;
    margin-left: 0 !important;
    text-align: center !important;
}

/* Newsletter Mode: Adjust nav header for icon-only mode */
.main-sidebar.newsletter-mode .nav-header {
    padding: 0 0.5rem 1rem 0.5rem !important;
    justify-content: center !important;
}

/* Newsletter Mode: Center logo */
.main-sidebar.newsletter-mode .nav-header img {
    width: 40px !important;
    height: 40px !important;
}

/* Main Content - Adjust for sidebar */
.main-content {
    margin-left: 320px !important;
    flex: 1 !important;
    min-height: 100vh !important;
    background: #f8f9fa !important;
    transition: margin-left 0.3s ease !important;
}

/* Content Wrapper - Add proper padding */
.content-wrapper {
    padding: 0 2rem 2rem 2rem !important;
    min-height: calc(100vh - 4rem) !important;
    background-color: #ffffff !important;
}

/* Newsletter Mode: Adjust main content margin */
.main-sidebar.newsletter-mode + .main-content {
    margin-left: 320px !important;
}

/* Nav Header */
.nav-header {
    padding: 1rem;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

/* Nav List */
.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nav-item {
    margin: 0;
}

.nav-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #64748b;
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 0.375rem;
    margin: 0.25rem 0.5rem;
}

.nav-link:hover {
    background-color: #f1f5f9;
    color: #1e293b;
}

.nav-link.active {
    background-color: #edeff2;
    color: #1e293b;
}

.nav-link i {
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

/* Newsletter Mode: My Newsletters icon styling */
.main-sidebar.newsletter-mode .nav-link.active {
    background-color: #edeff2 !important;
    color: #1e293b !important;
}

/* Newsletter Navigation - Hidden by default */
.newsletter-nav {
    display: none !important;
    flex-direction: column !important;
    padding: 1rem 0.75rem !important;
}

/* Newsletter Mode: Show newsletter navigation and take remaining space */
.main-sidebar.newsletter-mode .newsletter-nav {
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
    padding: 1rem 0.75rem !important;
}

/* Newsletter Dropdown */
.newsletter-dropdown {
    position: relative !important;
    margin-bottom: 1rem !important;
}

.newsletter-dropdown-label {
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #64748b !important;
    margin-bottom: 0.5rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

.newsletter-dropdown-trigger {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0.75rem 1rem !important;
    background: #f8fafc !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.375rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    width: 100% !important;
}

.newsletter-dropdown-trigger:hover {
    background: #f1f5f9 !important;
    border-color: #cbd5e1 !important;
}

.newsletter-name {
    font-weight: 500 !important;
    color: #1e293b !important;
}

.newsletter-dropdown-trigger i {
    color: #64748b !important;
    transition: transform 0.2s ease !important;
}

.newsletter-dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    background: #ffffff !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.375rem !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    z-index: 1000 !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    display: none !important;
}

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

.newsletter-option {
    padding: 0.75rem 1rem !important;
    cursor: pointer !important;
    transition: background-color 0.2s ease !important;
    border-bottom: 1px solid #f1f5f9 !important;
}

.newsletter-option:last-child {
    border-bottom: none !important;
}

.newsletter-option:hover {
    background-color: #f8fafc !important;
}

.newsletter-option.active {
    background-color: #dbeafe !important;
    color: #1e40af !important;
    font-weight: 500 !important;
}

/* Newsletter Nav List */
.newsletter-nav-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
}

.newsletter-nav-item {
    margin: 0 !important;
}

.newsletter-nav-link {
    display: flex !important;
    align-items: center !important;
    padding: 0.75rem 1rem !important;
    color: #64748b !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
    border-radius: 0.375rem !important;
    margin: 0.25rem 0 !important;
}

.newsletter-nav-link:hover {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
}

.newsletter-nav-link.active {
    background-color: #d9efff !important;
    color: #1e293b !important;
}

.newsletter-nav-link i {
    margin-right: 0.75rem !important;
    width: 20px !important;
    text-align: center !important;
}

/* Add Newsletter Section - Fixed to Bottom */
.add-newsletter-section {
    margin-top: auto !important;
    border-top: 1px solid #e2e8f0 !important;
    padding: 0.5rem 0 !important;
    background-color: #ffffff !important;
}

.add-newsletter-link {
    background-color: #0097ff !important;
    color: #ffffff !important;
    transition: all 0.2s ease !important;
}

.add-newsletter-link:hover {
    background-color: #0088e6 !important;
    color: #ffffff !important;
}

.add-newsletter-link i {
    color: #ffffff !important;
}

.add-newsletter-link:hover i {
    color: #ffffff !important;
}

/* Logout Section - Fixed to Bottom */
.logout-section {
    border-top: 1px solid #e2e8f0 !important;
    padding: 0.5rem 0 !important;
    background-color: #ffffff !important;
}

.logout-link {
    color: #64748b !important;
    transition: all 0.2s ease !important;
}

.logout-link:hover {
    background-color: #f1f5f9 !important;
    color: #1e293b !important;
}

.logout-link i {
    color: #64748b !important;
}

.logout-link:hover i {
    color: #1e293b !important;
}

/* Newsletter Mode: Add Newsletter section spans full width */
.main-sidebar.newsletter-mode .add-newsletter-section {
    position: absolute !important;
    bottom: 60px !important; /* Position above logout section */
    left: 0 !important;
    right: 0 !important;
    width: 100% !important; /* Use 100% instead of 320px to prevent overflow */
    border-top: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    display: flex !important;
    flex-direction: row !important;
    box-sizing: border-box !important; /* Ensure proper box sizing */
}

/* Newsletter Mode: Add Newsletter link in first column (icon strip) */
.main-sidebar.newsletter-mode .add-newsletter-section .nav-list {
    flex: 0 0 80px !important;
    width: 80px !important;
    border-right: 1px solid #e2e8f0 !important;
    box-sizing: border-box !important;
}

/* Newsletter Mode: Add empty space for second column */
.main-sidebar.newsletter-mode .add-newsletter-section::after {
    content: '' !important;
    flex: 1 !important;
    background-color: #ffffff !important;
}

.main-sidebar.newsletter-mode .add-newsletter-link span {
    display: none !important;
}

.main-sidebar.newsletter-mode .add-newsletter-link {
    justify-content: center !important;
    padding: 0.75rem 0.5rem !important;
}

.main-sidebar.newsletter-mode .add-newsletter-link i {
    margin-right: 0 !important;
}

/* Newsletter Mode: Logout section spans full width */
.main-sidebar.newsletter-mode .logout-section {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important; /* Use 100% instead of 320px to prevent overflow */
    border-top: 1px solid #e2e8f0 !important;
    border-right: 1px solid #e2e8f0 !important;
    display: flex !important;
    flex-direction: row !important;
    box-sizing: border-box !important; /* Ensure proper box sizing */
}

/* Newsletter Mode: Logout link in first column (icon strip) */
.main-sidebar.newsletter-mode .logout-section .nav-list {
    flex: 0 0 80px !important;
    width: 80px !important;
    border-right: 1px solid #e2e8f0 !important;
    box-sizing: border-box !important;
}

/* Newsletter Mode: Add empty space for second column */
.main-sidebar.newsletter-mode .logout-section::after {
    content: '' !important;
    flex: 1 !important;
    background-color: #ffffff !important;
}

.main-sidebar.newsletter-mode .logout-link span {
    display: none !important;
}

.main-sidebar.newsletter-mode .logout-link {
    justify-content: center !important;
    padding: 0.75rem 0.5rem !important;
}

.main-sidebar.newsletter-mode .logout-link i {
    margin-right: 0 !important;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    /* Hide sidebar by default on mobile */
    .main-sidebar {
        transform: translateX(-100%) !important;
        transition: transform 0.3s ease !important;
        width: 280px !important;
        z-index: 1002 !important; /* Higher than mobile header (1001) */
    }
    
    /* Show sidebar when mobile menu is open */
    .main-sidebar.mobile-open {
        transform: translateX(0) !important;
    }
    
    /* Mobile close button */
    .mobile-close-btn {
        position: absolute !important;
        top: 0.5rem !important;
        right: 0.5rem !important;
        z-index: 1003 !important;
        background: transparent !important;
        color: #000000 !important;
        border: none !important;
        border-radius: 50% !important;
        width: 28px !important;
        height: 28px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        box-shadow: none !important;
        transition: all 0.2s ease !important;
    }
    
    .mobile-close-btn:hover {
        background: rgba(0, 0, 0, 0.1) !important;
        transform: scale(1.05) !important;
    }
    
    .mobile-close-btn i {
        font-size: 0.75rem !important;
    }
    
    /* Add overlay for mobile menu */
    .mobile-overlay {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        background: rgba(0, 0, 0, 0.5) !important;
        z-index: 999 !important;
        display: none !important;
    }
    
    .mobile-overlay.show {
        display: block !important;
    }
    
    /* Adjust main content for mobile */
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    /* Newsletter mode adjustments for mobile - remove left margin */
    .main-sidebar.newsletter-mode + .main-content {
        margin-left: 0 !important;
    }
    
    /* Mobile header container */
    .mobile-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        height: 60px !important;
        background: #ffffff !important;
        border-bottom: 1px solid #e2e8f0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding: 0 1rem !important;
        z-index: 1001 !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
    }
    
    /* Mobile menu button */
    .mobile-menu-btn {
        background: #3b82f6 !important;
        color: white !important;
        border: none !important;
        border-radius: 0.375rem !important;
        padding: 0.75rem !important;
        cursor: pointer !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
        flex-shrink: 0 !important;
    }
    
    /* Mobile logo */
    .mobile-logo {
        flex: 1 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .mobile-logo-img {
        max-height: 40px !important;
        width: auto !important;
        object-fit: contain !important;
    }
    
    /* Newsletter mode adjustments for mobile */
    .main-sidebar.newsletter-mode {
        width: 280px !important;
    }
    
    .main-sidebar.newsletter-mode .main-nav {
        flex: 0 0 85px !important;
        width: 85px !important;
    }
    
    /* Ensure newsletter mode sidebar is hidden by default on mobile */
    .main-sidebar.newsletter-mode:not(.mobile-open) {
        transform: translateX(-100%) !important;
    }
    
    /* Mobile newsletter dropdown adjustments */
    .newsletter-dropdown-menu {
        max-height: 150px !important;
        font-size: 0.875rem !important;
    }
    
    /* Mobile nav link adjustments */
    .nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
        min-height: 44px !important; /* Better touch targets */
        display: flex !important;
        align-items: center !important;
    }
    
    .newsletter-nav-link {
        padding: 0.75rem 1rem !important;
        font-size: 0.875rem !important;
        min-height: 44px !important; /* Better touch targets */
        display: flex !important;
        align-items: center !important;
    }
    
    /* Mobile newsletter dropdown improvements */
    .newsletter-dropdown-trigger {
        min-height: 44px !important;
        padding: 0.75rem 1rem !important;
    }
    
    .newsletter-option {
        min-height: 44px !important;
        padding: 0.75rem 1rem !important;
        display: flex !important;
        align-items: center !important;
    }
    
    /* Mobile content wrapper adjustments */
    .content-wrapper {
        padding: 0 1rem 1rem 1rem !important;
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    /* Hide mobile menu button on desktop */
    .mobile-menu-btn {
        display: none !important;
    }
    
    /* Show mobile menu button on mobile */
    @media (max-width: 768px) {
        .mobile-menu-btn {
            display: block !important;
        }
    }
}

@media (max-width: 480px) {
    /* Extra small screens */
    .main-sidebar {
        width: 100% !important;
    }
    
    .main-sidebar.newsletter-mode {
        width: 100% !important;
    }
    
    .main-sidebar.newsletter-mode .main-nav {
        flex: 0 0 85px !important;
        width: 85px !important;
    }
    
    .mobile-header {
        height: 50px !important;
        padding: 0 0.5rem !important;
    }
    
    .mobile-logo-img {
        max-height: 35px !important;
    }
    
    .mobile-menu-btn {
        padding: 0.5rem !important;
    }
    
    .content-wrapper {
        padding: 0 0.75rem 0.75rem 0.75rem !important;
    }
}

/* Remove drop shadows from all cards */
.card {
    box-shadow: none !important;
}

.card.shadow {
    box-shadow: none !important;
}

.card.shadow-sm {
    box-shadow: none !important;
}

.card.shadow-lg {
    box-shadow: none !important;
}

/* Remove any other shadow classes that might be applied */
.shadow {
    box-shadow: none !important;
}

.shadow-sm {
    box-shadow: none !important;
}

.shadow-lg {
    box-shadow: none !important;
}

/* Override deliverability check card shadows specifically */
.deliverability-check-card {
    box-shadow: none !important;
}

.deliverability-check-card:hover {
    box-shadow: none !important;
    transform: none !important;
}

/* Notification System Styles */
.notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    max-width: 400px;
}

.notification {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    margin-bottom: 10px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid #28a745;
    transform: translateX(100%);
    opacity: 0;
    transition: all 0.3s ease;
    min-width: 300px;
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification.success {
    border-left-color: #28a745;
}

.notification.error {
    border-left-color: #dc3545;
}

.notification.warning {
    border-left-color: #ffc107;
}

.notification.info {
    border-left-color: #17a2b8;
}

.notification-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.notification.success .notification-icon {
    color: #28a745;
}

.notification.error .notification-icon {
    color: #dc3545;
}

.notification.warning .notification-icon {
    color: #ffc107;
}

.notification.info .notification-icon {
    color: #17a2b8;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    margin: 0 0 4px 0;
    color: #2c3e50;
    font-size: 14px;
}

.notification-message {
    margin: 0;
    color: #6c757d;
    font-size: 13px;
    line-height: 1.4;
}

.notification-close {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    font-size: 16px;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.notification-close:hover {
    background: #f8f9fa;
    color: #495057;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .notification-container {
        top: 10px;
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .notification {
        min-width: auto;
        margin-bottom: 8px;
    }
}

/* Stats Cards Flexbox Layout */
.stats-cards-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.stats-card {
    flex: 1;
    min-width: 250px;
    max-width: none;
}

.stats-card .card {
    height: 100%;
    border: 1px solid #e9ecef;
}

.stats-card .card-body {
    padding: 1.25rem;
}

/* Responsive behavior for stats cards */
@media (max-width: 1200px) {
    .stats-card {
        min-width: 220px;
        max-width: none;
    }
}

@media (max-width: 992px) {
    .stats-cards-container {
        flex-wrap: wrap;
    }
    
    .stats-card {
        flex: 1 1 calc(50% - 5px);
        min-width: 200px;
        max-width: none;
    }
}

@media (max-width: 768px) {
    .stats-cards-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .stats-card {
        flex: none;
        min-width: auto;
        max-width: none;
    }
}


a.ss-btn {
    background: #dc3126;
    border-radius: 8px;
    font-size:14px;
    font-family: 'DM Sans', sans-serif !important;

    }
     
    .ss-dismiss {
    color: #2D3748;
    border: none;
    text-decoration: underline;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif !important;

    }
     
    .ss-alert {
    border: 1px solid #dc3126;
    background: #fff;
    border-radius: 12px;
    }
    .ss-heading {
    color: #2D3748;
    font-size: 14px;
    font-family: 'DM Sans', sans-serif !important;

    font-weight: 600;
    }
     
    .ss-text {
    color: #404040 !important;
    font-size: 16px;
font-family: 'DM Sans', sans-serif !important;
    font-weight: 400;
    }


