/* Custom Styles for DigiCard Pro - Bootstrap Theme */

:root {
    --primary-green: #2D5F3F;
    --primary-green-dark: #1E4029;
    --primary-green-light: #3D7F5F;
    --accent-green: #4A8B66;
    --light-green: #E8F5E9;
    --pale-green: #F1F8F4;
}

/* ===== BASE STYLES ===== */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #212121;
    font-size: 16px;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

html, body {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

/* ===== BOOTSTRAP OVERRIDES ===== */
.btn-success {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-success:hover,
.btn-success:focus {
    background-color: var(--primary-green-dark);
    border-color: var(--primary-green-dark);
}

.btn-outline-success {
    color: var(--primary-green);
    border-color: var(--primary-green);
}

.btn-outline-success:hover,
.btn-outline-success:focus {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    color: white;
}

.text-success {
    color: var(--primary-green) !important;
}

.bg-success {
    background-color: var(--primary-green) !important;
}

.border-success {
    border-color: var(--primary-green) !important;
}

.badge.bg-success {
    background-color: var(--primary-green) !important;
}

/* Custom Utility Classes */
.text-primary-green {
    color: var(--primary-green);
}

.text-dark-green {
    color: var(--primary-green-dark);
}

.bg-light-green {
    background-color: var(--light-green);
}

.bg-pale-green {
    background-color: var(--pale-green);
}

/* ===== LAYOUT STYLES ===== */
.dashboard-layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
    margin: 0;
    padding: 0;
}

/* Dashboard Sidebar */
.dashboard-sidebar {
    width: 260px;
    min-height: 100vh;
    background-color: #ffffff;
    border-right: 1px solid #dee2e6;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1050;
    transition: transform 0.3s ease;
    overflow-y: auto;
}

/* Dashboard Content */
.dashboard-content {
    flex: 1;
    margin-left: 260px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    width: calc(100% - 260px);
    max-width: 100%;
}

.main-content {
    flex: 1;
    background-color: #f8f9fa;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

/* Sidebar Overlay */
.sidebar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1045;
    transition: opacity 0.3s ease;
    cursor: pointer;
    opacity: 0;
}

.sidebar-overlay.show {
    display: block;
    opacity: 1;
}

/* ===== TOP HEADER STYLES ===== */
.top-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    border-bottom: 1px solid #dee2e6;
    background: white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.top-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    width: 100%;
}

.header-left {
    display: flex;
    align-items: center;
    flex: 1;
}

.header-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-green-dark);
    white-space: normal;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ===== COMPONENT STYLES ===== */
/* Sidebar Links */
.sidebar-link {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    color: #212121;
    text-decoration: none;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    min-height: 44px;
}

.sidebar-link:hover {
    background-color: var(--pale-green);
    color: var(--primary-green);
}

.sidebar-link.active {
    background-color: var(--primary-green);
    color: white;
}

.sidebar-link svg {
    margin-right: 0.75rem;
    width: 20px;
    height: 20px;
}

/* Mobile Sidebar Toggle */
.mobile-sidebar-toggle {
    display: none;
    background: none;
    border: none;
    padding: 0.5rem;
    border-radius: 0.375rem;
    transition: background-color 0.2s ease;
    cursor: pointer;
    color: var(--primary-green);
    margin-right: 0.75rem;
    min-height: 44px;
    align-items: center;
}

.mobile-sidebar-toggle:hover {
    background-color: var(--pale-green);
}

/* New Card Button */
.new-card-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    font-weight: 500;
    min-height: 44px;
}

.new-card-btn svg {
    width: 18px;
    height: 18px;
}

/* User Dropdown */
.user-dropdown {
    display: flex;
    align-items: center;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.25rem 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.2s ease;
    cursor: pointer;
    border: none;
    background: none;
    min-height: 44px;
}

.user-info:hover {
    background-color: var(--pale-green);
}

.user-details {
    text-align: left;
}

.user-name {
    font-weight: 600;
    font-size: 0.875rem;
    color: #212121;
    margin: 0;
    line-height: 1.2;
}

.user-email {
    font-size: 0.75rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.2;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--primary-green);
    font-size: 0.875rem;
}


/* Dropdown Menu */

/* Fix dropdown clipping */
/* .dropdown {
    position: static !important;
} */

/* Remove buggy override */
.dropdown {
    position: relative; /* restore Bootstrap default */
}



/* Dropdown menu styling remains same */
.dropdown-menu {
    z-index: 9999; /* ensures always on top */
}

/* Scrollable dropdown */
.dropdown-menu {
    border: 1px solid #dee2e6;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 0.5rem;
    padding: 0.5rem;
    min-width: 200px;
    z-index: 100;
    max-height: 250px !important;
    overflow-y: auto !important;
}

/* Scrollbar styling */
.dropdown-menu::-webkit-scrollbar {
    width: 6px;
}

.dropdown-menu::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 4px;
}

.dropdown-menu::-webkit-scrollbar-thumb:hover {
    background: #aaa;
}

/* Dropdown items */
.dropdown-item {
    border-radius: 0.25rem;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s ease;
    min-height: 44px;
}

.dropdown-item:hover {
    background-color: var(--pale-green);
    color: var(--primary-green);
}

.dropdown-item svg {
    width: 16px;
    height: 16px;
}


/* Stat Cards*/
.stat-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.stat-icon {
    width: 48px;
    height: 48px;
    background-color: var(--light-green);
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6c757d;
    font-size: 0.875rem;
}

/* Business Card Design */
.business-card-item {
    transition: all 0.3s ease;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    position: static !important;
    overflow: visible;
    border-radius: 20px;
}

.business-card-item:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transform: translateY(-6px);
}

.card-title {
    max-width: 75%;      /* space for dropdown menu */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.card-image-header {
    height: 200px;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--accent-green) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    border-radius: 20px 20px 0px 0px;
}

/* Form Styles */
.form-label {
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 95, 63, 0.15);
}

/* Table Styling */
.table-hover tbody tr:hover {
    background-color: var(--pale-green);
}

/* Card Hover Effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--pale-green) 0%, #ffffff 100%);
}

/* Feature Icons */
.feature-icon {
    display: inline-block;
}

/* Navbar Customization */
.navbar-brand {
    font-size: 1.25rem;
    font-weight: 600;
}

.nav-link {
    font-weight: 500;
    color: #212121;
    transition: color 0.3s ease;
    min-height: 44px;
    display: flex;
    align-items: center;
}

.nav-link:hover {
    color: var(--primary-green);
}

/* ===== LAYOUT UTILITIES ===== */
.container-fluid {
    max-width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}

.p-4 {
    width: 100%;
    box-sizing: border-box;
}

.row {
    margin-right: 0;
    margin-left: 0;
}

.row > * {
    padding-right: calc(var(--bs-gutter-x) * 0.5);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
}

.card {
    max-width: 100%;
    overflow: hidden;
}

.table-responsive {
    max-width: 100%;
}

.d-flex {
    flex-wrap: wrap;
}

/* ===== RESPONSIVE STYLES ===== */

/* Desktop First Approach */
@media (min-width: 992px) {
    .sidebar-overlay {
        display: none !important;
    }
    
    .dashboard-sidebar {
        transform: translateX(0) !important;
    }
    
    .mobile-sidebar-toggle {
        display: none !important;
    }
}

/* Tablet and Mobile */
@media (max-width: 991.98px) {
    .mobile-sidebar-toggle {
        display: block !important;
    }
    
    .dashboard-sidebar {
        transform: translateX(-100%);
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    }
    
    .dashboard-sidebar.show {
        transform: translateX(0);
    }
    
    .dashboard-content {
        margin-left: 0 !important;
        width: 100% !important;
    }
    
    .sidebar-overlay.show {
        z-index: 1045;
    }
    
    /* Top Header Adjustments */
    .top-header-content {
        padding: 0.5rem 1rem;
    }
    
    .header-title {
        font-size: 1.125rem;
    }
    
    .new-card-btn .btn-text {
        display: none;
    }
    
    .new-card-btn {
        padding: 0.5rem;
    }
    
    .user-details {
        display: none !important;
    }
    
    .user-info {
        padding: 0.5rem;
    }
}

/* Tablet */
@media (max-width: 767.98px) {
    .top-header-content {
        padding: 0.5rem;
    }
    
    .header-title {
        font-size: 1rem;
    }
    
    .header-right {
        gap: 0.5rem;
    }
    
    .new-card-btn {
        padding: 0.375rem;
    }
    
    .new-card-btn svg {
        margin-right: 0;
    }
    
    .user-avatar {
        width: 32px;
        height: 32px;
        font-size: 0.8rem;
    }
    
    .mobile-sidebar-toggle {
        padding: 0.375rem;
        margin-right: 0.5rem;
    }
    
    .mobile-sidebar-toggle svg {
        width: 20px;
        height: 20px;
    }
    
    /* Component Adjustments */
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .stat-value {
        font-size: 1.5rem;
    }
    
    .stat-card {
        margin-bottom: 1rem;
        padding: 1rem;
    }
    
    .business-card-item {
        margin-bottom: 1rem;
    }
    
    .table-responsive {
        font-size: 0.875rem;
    }
    
    .card-body {
        padding: 1rem;
    }
}

/* Mobile */
@media (max-width: 575.98px) {
    .top-header-content {
        padding: 0.375rem 0.5rem;
    }
    
    .header-title {
        font-size: 0.9rem;
    }
    
    .mobile-sidebar-toggle {
        padding: 0.25rem;
        margin-right: 0.375rem;
    }
    
    .user-avatar {
        width: 28px;
        height: 28px;
        font-size: 0.7rem;
    }
    
    .dropdown-menu {
        min-width: 180px !important;
    }
    
    /* Component Adjustments */
    .navbar-brand {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .business-card-item .card-image-header {
        /* height: 150px; */
        height: 35vw; /* auto scales with screen width */
        max-height: 150px;
    }
}

/* ===== UTILITY STYLES ===== */
/* Improve touch targets */
.btn, .nav-link, .sidebar-link, .mobile-sidebar-toggle, .user-info, .dropdown-item {
    min-height: 44px;
    display: flex;
    align-items: center;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Improve scrolling on mobile */
html, body {
    -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-green);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-green-dark);
}


/* Help Center Page */
.help-center-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

/* Search Section */
.help-search-section {
    background: linear-gradient(135deg, var(--light-green) 0%, #ffffff 100%);
    border-radius: 1rem;
    padding: 3rem 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.help-search-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-green-dark);
    margin-bottom: 1rem;
}

.help-search-subtitle {
    color: #6c757d;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.help-search-input {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.help-search-input .form-control {
    padding: 1rem 1.5rem;
    border-radius: 2rem;
    border: 2px solid var(--primary-green);
    font-size: 1rem;
}

.help-search-input .btn {
    position: absolute;
    right: 8px;
    top: 8px;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.help-category-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    display: block;
}

.help-category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}

.help-category-icon {
    width: 64px;
    height: 64px;
    background-color: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-green);
}

.help-category-icon svg {
    width: 32px;
    height: 32px;
}

.help-category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-green-dark);
    margin-bottom: 0.75rem;
}

.help-category-desc {
    color: #6c757d;
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* FAQs Section */
.faqs-section {
    margin-bottom: 3rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-green-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--light-green);
}

.faq-item {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--primary-green-dark);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: var(--pale-green);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 1.5rem 1.5rem;
    max-height: 500px;
}

.faq-toggle {
    color: var(--primary-green);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(180deg);
}

/* Popular Articles */
.popular-articles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.article-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.article-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}

.article-category {
    display: inline-block;
    background-color: var(--light-green);
    color: var(--primary-green);
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.article-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-green-dark);
    margin-bottom: 0.5rem;
}

.article-excerpt {
    color: #6c757d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.article-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #6c757d;
    font-size: 0.8rem;
}

/* Contact Support Page */
.contact-support-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

.contact-header {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-green-dark);
    margin-bottom: 1rem;
}

.contact-header p {
    color: #6c757d;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Contact Methods */
.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-method-card {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-method-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}

.contact-method-icon {
    width: 70px;
    height: 70px;
    background-color: var(--light-green);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--primary-green);
}

.contact-method-icon svg {
    width: 32px;
    height: 32px;
}

.contact-method-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-green-dark);
    margin-bottom: 0.75rem;
}

.contact-method-desc {
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.contact-method-link {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.contact-method-link:hover {
    color: var(--primary-green-dark);
}

/* Contact Form */
.contact-form-section {
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 1rem;
    padding: 2.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    color: var(--primary-green-dark);
    margin-bottom: 0.5rem;
}

.form-control, .form-select, .form-textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 0.2rem rgba(45, 95, 63, 0.15);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232D5F3F' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 16px;
}

/* File Upload */
.file-upload {
    border: 2px dashed #dee2e6;
    border-radius: 0.5rem;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.file-upload:hover {
    border-color: var(--primary-green);
}

.file-upload-input {
    display: none;
}

.file-upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.file-upload-icon {
    color: var(--primary-green);
    margin-bottom: 0.5rem;
}

.file-upload-text {
    color: #6c757d;
}

.file-upload-hint {
    font-size: 0.875rem;
    color: #6c757d;
}

/* Support Team */
.support-team {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #dee2e6;
}

.support-agents {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.support-agent {
    text-align: center;
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 0.75rem;
    transition: all 0.3s ease;
}

.support-agent:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}

.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--light-green);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--primary-green);
    font-weight: 600;
    font-size: 1.5rem;
}

.agent-name {
    font-weight: 600;
    color: var(--primary-green-dark);
    margin-bottom: 0.25rem;
}

.agent-role {
    color: #6c757d;
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
}

.agent-expertise {
    color: var(--primary-green);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Live Chat Indicator */
.live-chat-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: #e8f5e9;
    color: #2d5f3f;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-weight: 600;
    font-size: 0.875rem;
}

.indicator-dot {
    width: 8px;
    height: 8px;
    background-color: #4caf50;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 768px) {
    .help-search-title {
        font-size: 1.75rem;
    }
    
    .contact-header h1 {
        font-size: 2rem;
    }
    
    .contact-form-section {
        padding: 1.5rem;
    }
    
    .categories-grid,
    .contact-methods {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .help-search-section {
        padding: 2rem 1rem;
    }
    
    .help-search-title {
        font-size: 1.5rem;
    }
    
    .contact-header h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.25rem;
    }
}
/* =========================================================================================================================== */

/* Fix dropdown issues */
.business-card-item .dropdown {
    position: relative !important; /* Override any problematic position rules */
}

/* Ensure dropdown menu is visible */
.dropdown-menu {
    position: absolute !important;
    top: 100% !important;
    left: auto !important;
    right: 0 !important;
    transform: none !important;
    margin-top: 0.125rem !important;
    z-index: 1000 !important;
}

/* Dropdown button styling */
.business-card-item .dropdown .btn-link {
    color: #6c757d !important;
    padding: 0.25rem !important;
    border-radius: 0.25rem !important;
    transition: all 0.2s ease !important;
}

.business-card-item .dropdown .btn-link:hover {
    background-color: rgba(0,0,0,0.05) !important;
    color: var(--primary-green) !important;
}

/* Ensure dropdown items are visible */
.dropdown-item {
    white-space: nowrap !important;
    min-width: 180px !important;
    padding: 0.625rem 1rem !important;
    display: flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

.dropdown-item i {
    width: 18px !important;
    text-align: center !important;
}

.dropdown-divider {
    margin: 0.5rem 0 !important;
}
