﻿:root {
    /* SwagBrokers brand palette */
    --sb-orange: #F16724;
    --sb-red: #EB2227;
    --sb-yellow: #FCEE21;
    --sb-blue: #1D76BB;
    --sb-cyan: #29ABE2;
    --sb-navy: #282560;
    --sb-indigo: #2A3B8F;

    /* Neutral palette */
    --sb-ink: #231F20;
    --sb-graphite: #2B2B2B;
    --sb-slate: #5A5A5A;
    --sb-mist: #E6E6E6;
    --sb-fog: #F5F5F5;
    --sb-white: #FFFFFF;

    /* Semantic tokens */
    --color-bg: #FFFFFF;
    --color-surface: var(--sb-fog);
    --color-text: var(--sb-graphite);
    --color-text-strong: var(--sb-ink);
    --color-text-muted: var(--sb-slate);
    --color-border: var(--sb-mist);
    --color-primary: var(--sb-blue);
    --color-primary-hover: #155a90;
    --color-accent: var(--sb-orange);
    --color-accent-hover: #d8541a;
    --color-danger: var(--sb-red);
    --color-focus-ring: var(--sb-blue);

    /* Legacy aliases (backward compat) */
    --bp-primary: var(--sb-orange);
    --bp-primary-hover: var(--color-accent-hover);
    --bp-dark: var(--sb-ink);
    --bp-light: var(--sb-fog);
    --bp-gray: var(--sb-slate);
    --bp-border: var(--sb-mist);

    /* Brand gradients */
    --sb-gradient-red-orange: linear-gradient(180deg, #EB2227 0%, #F16724 51.52%, #EB2227 100%);
    --sb-gradient-orange-yellow: linear-gradient(180deg, #F16724 0%, #F49E26 42.39%, #FCEE21 58.79%, #F16724 100%);
    --sb-gradient-deep-blue: linear-gradient(180deg, #282560 0%, #1D76BB 51.52%, #28538E 71.3%, #282560 100%);
    --sb-gradient-bright-blue: linear-gradient(180deg, #2A3B8F 0%, #29ABE2 51.52%, #2A64A9 81.07%, #2A3B8F 100%);
    --sb-gradient-full: linear-gradient(180deg, #282560 0%, #1D76BB 20%, #29ABE2 35%, #EB2227 55%, #F16724 75%, #FCEE21 100%);
    --sb-gradient-horizontal: linear-gradient(90deg, #1D76BB 0%, #29ABE2 20%, #EB2227 50%, #F16724 75%, #FCEE21 100%);

    /* Spacing */
    --space-1: 4px;
    --space-2: 8px;
    --space-3: 12px;
    --space-4: 16px;
    --space-6: 24px;
    --space-8: 32px;
    --space-12: 48px;
    --space-16: 64px;
    --space-24: 96px;

    /* Radius & elevation */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    --radius-full: 9999px;
    --shadow-sm: 0 1px 2px rgba(17,17,17,0.06);
    --shadow-md: 0 4px 12px rgba(17,17,17,0.08);
    --shadow-lg: 0 12px 32px rgba(17,17,17,0.12);
    --shadow-brand: 0 8px 24px rgba(245,124,31,0.25);
}

/* General Layout */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-family: Inter, -apple-system, 'Segoe UI', Roboto, sans-serif;
    color: var(--color-text);
}

h1, h2, h3 {
    font-family: 'Playfair Display', 'Bodoni Moda', Georgia, serif;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--sb-ink);
}

h1 { font-size: 3rem; line-height: 1.1; }
h2 { font-size: 2.25rem; line-height: 1.2; }
h3 { font-size: 1.875rem; line-height: 1.3; }

.tagline {
    font-family: 'Caveat Brush', 'Kalam', cursive;
    color: var(--sb-orange);
}

.gradient-rule {
    height: 4px;
    border: none;
    background: var(--sb-gradient-horizontal);
}

.container {
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media (min-width: 992px) {
    .container {
        max-width: 960px;
    }
}

@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
}

/* Header styles */
.top-header {
    background-color: var(--bp-dark);
    color: white;
    font-size: 0.9rem;
    padding: 8px 0;
}

    .top-header a {
        color: white;
        text-decoration: none;
    }

        .top-header a:hover {
            text-decoration: underline;
        }

/* Dropdown menu styling */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
}

.dropdown-menu {
    border: 1px solid rgba(0,0,0,.15);
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,.175);
    padding: 0.5rem 0;
    min-width: 12rem;
}

/* Ensure dropdown items are visible */
.dropdown-item {
    color: #212529 !important; /* Force color to ensure visibility */
    padding: 0.5rem 1rem;
    font-weight: 400;
    clear: both;
    text-align: inherit;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
    display: flex;
    align-items: center;
}

    .dropdown-item i {
        margin-right: 0.5rem;
        width: 1rem;
        text-align: center;
    }

    .dropdown-item:hover,
    .dropdown-item:focus {
        color: #16181b !important;
        text-decoration: none;
        background-color: #f8f9fa;
    }

    .dropdown-item:active {
        color: #fff !important;
        text-decoration: none;
        background-color: var(--bp-primary);
    }

.dropdown-item-text {
    padding: 0.5rem 1rem;
    display: block;
}

.dropdown-divider {
    height: 0;
    margin: 0.5rem 0;
    overflow: hidden;
    border-top: 1px solid #e9ecef;
}

/* Mobile styling for dropdown */
@media (max-width: 768px) {
    .dropdown-menu {
        width: 100%;
        position: absolute;
        right: 0;
        left: auto;
    }
}

/* Main Header */
.main-header {
    padding: 15px 0;
    background-color: white;
}

.logo-container img {
    max-height: 100px;
}

.search-container .form-control {
    border-radius: 20px 0 0 20px;
    border-right: none;
    padding-left: 20px;
}

.search-container .btn {
    border-radius: 0 25px 25px 0;
    background-color: var(--bp-primary);
    color: white;
    border: none;
}

.phone-number {
    font-weight: bold;
    color: var(--bp-primary);
    font-size: 1.4rem;
    white-space: nowrap;
}

.phone-label {
    font-size: 0.9rem;
    color: var(--bp-dark);
}

/* Navigation styles */
.mega-menu-container {
    background-color: var(--bp-primary);
}

    .mega-menu-container .nav-link {
        color: white !important;
        font-weight: 500;
        padding: 15px 20px !important;
        position: relative;
        transition: all 0.2s ease;
    }

        .mega-menu-container .nav-link:hover {
            background-color: rgba(255, 255, 255, 0.1);
        }

        .mega-menu-container .nav-link.active {
            background-color: rgba(255, 255, 255, 0.2);
        }

        .mega-menu-container .nav-link::after {
            content: '\F282';
            font-family: 'bootstrap-icons';
            margin-left: 8px;
            font-size: 0.8rem;
        }

.mega-menu {
    position: absolute;
    width: 100%;
    left: 0;
    padding: 20px;
    background-color: white;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
    border-top: 3px solid rgba(255,255,255,0.2);
    z-index: 1000;
    display: none;
}

.mega-menu-column h5 {
    color: var(--bp-primary);
    font-size: 1.1rem;
    margin-bottom: 15px;
    padding-bottom: 8px;
    border-bottom: 1px solid #eee;
}

.mega-menu-column ul {
    list-style: none;
    padding-left: 0;
}

    .mega-menu-column ul li {
        margin-bottom: 8px;
    }

        .mega-menu-column ul li a {
            color: var(--bp-dark);
            text-decoration: none;
            transition: color 0.2s ease;
        }

            .mega-menu-column ul li a:hover {
                color: var(--bp-primary);
            }

/* Featured product styles */
.featured-product {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 5px;
}

    .featured-product img {
        width: 100%;
        border-radius: 5px;
        margin-bottom: 10px;
    }

    .featured-product h6 {
        font-size: 0.9rem;
        margin-bottom: 5px;
    }

    .featured-product .price {
        color: var(--bp-primary);
        font-weight: bold;
    }

/* Mobile navigation styles */
.mobile-menu-btn {
    color: white;
    font-size: 1.5rem;
    padding: 8px 15px;
    background-color: transparent;
    border: none;
}

@media (max-width: 991.98px) {
    .mega-menu-desktop {
        display: none;
    }

    .mobile-menu-container {
        background-color: var(--bp-primary);
        padding: 10px 0;
    }

    .mobile-menu-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .mobile-menu-title {
        color: white;
        font-size: 1.1rem;
        font-weight: 500;
        margin: 0;
    }
}

@media (min-width: 992px) {
    .mobile-menu-container {
        display: none;
    }

    .nav-item:hover .mega-menu {
        display: block;
    }
}

.main-content {
    flex: 1;
    padding: 3rem 0;
    background-color: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Account Dashboard Styles */
.dashboard-container,
.orders-container,
.quotes-container {
    margin: 40px auto;
    max-width: 1200px;
}

.dashboard-header,
.orders-header,
.quotes-header {
    margin-bottom: 30px;
    text-align: left;
}

.dashboard-sidebar {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.sidebar-profile {
    text-align: center;
    margin-bottom: 20px;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--bp-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

    .profile-image i {
        font-size: 2rem;
        color: white;
    }

/* Account Navigation Pills */
.nav-pills .nav-link {
    color: #333;
    border-radius: 4px;
    margin-bottom: 5px;
    text-align: left;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

    .nav-pills .nav-link i {
        margin-right: 10px;
    }

    .nav-pills .nav-link.active {
        background-color: var(--bp-primary);
        color: white;
    }

    .nav-pills .nav-link:hover:not(.active) {
        background-color: #f1f1f1;
    }

/* Dashboard Cards */
.dashboard-card,
.orders-card,
.quotes-card {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 25px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .dashboard-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .dashboard-card h3 {
        font-size: 1.5rem;
        margin-bottom: 15px;
        color: #333;
    }

    .dashboard-card p {
        color: #666;
    }

    .dashboard-card .badge {
        font-size: 0.9rem;
        padding: 5px 10px;
    }

.dashboard-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
    color: var(--bp-primary);
}

/* Quick Stats */
.quick-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.stat-card {
    flex: 1;
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

    .stat-card h4 {
        font-size: 1.8rem;
        margin-bottom: 5px;
        color: var(--bp-primary);
    }

    .stat-card p {
        color: #666;
        margin-bottom: 0;
    }

/* Orders & Quotes Styling */
.order-header,
.quote-header {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.filter-section {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    text-align: center;
}

.order-item,
.quote-item {
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .order-item:hover,
    .quote-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .order-item h4,
    .quote-item h4 {
        font-size: 1.2rem;
        margin-bottom: 5px;
    }

.order-meta,
.quote-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

    .order-meta div,
    .quote-meta div {
        display: flex;
        align-items: center;
    }

    .order-meta i,
    .quote-meta i {
        margin-right: 5px;
        color: #666;
    }

.order-total {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--bp-primary);
}

.quote-product-image {
    max-width: 100%;
    max-height: 120px;
    object-fit: contain;
    margin-bottom: 10px;
}

/* Action Buttons */
.btn-primary {
    background-color: var(--bp-primary);
    border-color: var(--bp-primary);
}

    .btn-primary:hover {
        background-color: var(--bp-primary-hover);
        border-color: var(--bp-primary-hover);
    }

.btn-reorder,
.btn-convert {
    background-color: var(--bp-primary);
    color: white;
    border: none;
    transition: background-color 0.3s ease;
}

    .btn-reorder:hover,
    .btn-convert:hover {
        background-color: var(--bp-primary-hover);
        color: white;
    }

/* Empty States */
.empty-orders,
.empty-quotes {
    text-align: center;
    padding: 50px 20px;
}

    .empty-orders i,
    .empty-quotes i {
        font-size: 3rem;
        color: #ccc;
        margin-bottom: 20px;
    }

/* Pagination */
.pagination-container {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.page-item.active .page-link {
    background-color: var(--bp-primary);
    border-color: var(--bp-primary);
}

.page-link {
    color: var(--bp-primary);
}

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

/* Recent Orders/Quotes Items */
.recent-order-item,
.recent-quote-item {
    border-bottom: 1px solid #eee;
    padding: 15px 0;
}

    .recent-order-item:last-child,
    .recent-quote-item:last-child {
        border-bottom: none;
    }

/* Order Confirmation Page */
.order-confirmation {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.confirmation-header {
    text-align: center;
    margin-bottom: 30px;
}

    .confirmation-header i {
        font-size: 64px;
        color: #28a745;
        margin-bottom: 20px;
        display: block;
    }

    .confirmation-header h1 {
        color: #28a745;
        margin-bottom: 10px;
    }

.order-details {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
}

.order-number {
    font-size: 24px;
    font-weight: 600;
    color: var(--bp-primary);
    margin-bottom: 15px;
}

.next-steps {
    margin-top: 40px;
    padding: 20px;
    background-color: #f0f9ff;
    border-radius: 8px;
    margin-bottom: 20px;
}

.action-buttons {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.btn-brand,
.btn-brilliant {
    background-color: var(--sb-orange);
    color: white;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease;
    box-shadow: var(--shadow-brand);
    display: inline-block;
}

    .btn-brand:hover,
    .btn-brilliant:hover {
        background-color: var(--color-accent-hover);
        color: white;
    }

/* Login/Register Pages */
.login-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
}

.login-panel {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 25px;
    margin-bottom: 25px;
}

.login-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.login-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.login-subtitle {
    color: #666;
    margin-top: 8px;
}

.btn-login {
    background-color: var(--bp-primary);
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

    .btn-login:hover {
        background-color: var(--bp-primary-hover);
        color: white;
    }

.feature-list {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
}

    .feature-list h3 {
        margin-bottom: 15px;
        color: #333;
    }

    .feature-list ul {
        padding-left: 20px;
    }

    .feature-list li {
        margin-bottom: 10px;
    }

.or-divider {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 20px 0;
}

    .or-divider::before,
    .or-divider::after {
        content: '';
        flex: 1;
        border-bottom: 1px solid #dee2e6;
    }

    .or-divider::before {
        margin-right: 15px;
    }

    .or-divider::after {
        margin-left: 15px;
    }

/* Logout Page */
.logout-container {
    max-width: 600px;
    margin: 60px auto;
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    text-align: center;
}

.logout-icon {
    color: #28a745;
    font-size: 48px;
    margin-bottom: 20px;
}

.logout-title {
    color: #333;
    font-size: 24px;
    margin-bottom: 15px;
}

.logout-message {
    color: #666;
    font-size: 16px;
    margin-bottom: 25px;
}

/* Alert Messages */
.alert {
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-color: #c3e6cb;
}

.alert-danger {
    background-color: #f8d7da;
    color: #721c24;
    border-color: #f5c6cb;
}

.alert-warning {
    background-color: #fff3cd;
    color: #856404;
    border-color: #ffeeba;
}

.alert-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border-color: #bee5eb;
}

/* Badge Colors */
.badge {
    display: inline-block;
    padding: 0.25em 0.6em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
}

.bg-primary {
    background-color: #007bff;
    color: white;
}

.bg-secondary {
    background-color: #6c757d;
    color: white;
}

.bg-success {
    background-color: #28a745;
    color: white;
}

.bg-danger {
    background-color: #dc3545;
    color: white;
}

.bg-warning {
    background-color: #ffc107;
    color: #212529;
}

.bg-info {
    background-color: #17a2b8;
    color: white;
}

/* Footer styles */
.footer {
    background-color: var(--bp-dark);
    color: white;
    padding: 0;
    margin-top: auto;
}

.footer-top {
    padding: 3rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-middle {
    padding: 2rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
    padding: 1.5rem 0;
    font-size: 0.9rem;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer ul {
    list-style: none;
    padding-left: 0;
}

    .footer ul li {
        margin-bottom: 0.7rem;
    }

.footer a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s ease;
}

    .footer a:hover {
        color: white;
        text-decoration: underline;
    }

.footer-contact {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
}

    .footer-contact strong {
        color: white;
    }

.social-links {
    display: flex;
    gap: 15px;
}

    .social-links a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 38px;
        height: 38px;
        background-color: rgba(255, 255, 255, 0.1);
        border-radius: 50%;
        color: white;
        transition: all 0.2s ease;
    }

        .social-links a:hover {
            background-color: var(--bp-primary);
            transform: translateY(-3px);
        }

.newsletter-box input {
    background-color: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    padding: 0.6rem 1rem;
    border-radius: 4px 0 0 4px;
}

    .newsletter-box input::placeholder {
        color: rgba(255, 255, 255, 0.5);
    }

    .newsletter-box input:focus {
        background-color: rgba(255, 255, 255, 0.2);
        color: white;
        box-shadow: none;
    }

.newsletter-box button {
    background-color: var(--bp-primary);
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 0 4px 4px 0;
}

    .newsletter-box button:hover {
        background-color: var(--bp-primary-hover);
    }

.legal-links {
    display: flex;
    gap: 1.5rem;
}

    .legal-links a {
        position: relative;
    }

        .legal-links a:not(:last-child):after {
            content: '•';
            position: absolute;
            right: -0.9rem;
            color: rgba(255, 255, 255, 0.4);
        }

.footer-logo img {
    max-width: 200px;
    margin-bottom: 1.5rem;
}

.footer-address-bar {
    background-color: rgba(255, 255, 255, 0.05);
    padding: 1.5rem 0;
    text-align: center;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

    .footer-address-bar a {
        color: white;
    }

/* Footer responsive adjustments */
@media (max-width: 767.98px) {
    .footer-column {
        margin-bottom: 2rem;
    }

    .legal-links {
        flex-direction: column;
        gap: 0.7rem;
    }

        .legal-links a:not(:last-child):after {
            display: none;
        }

    .footer-bottom .text-md-end {
        text-align: left !important;
        margin-top: 1rem;
    }

    .dashboard-header,
    .orders-header,
    .quotes-header {
        text-align: center;
    }

    .order-meta,
    .quote-meta {
        flex-direction: column;
        gap: 5px;
    }

    .order-actions,
    .quote-actions {
        flex-direction: column;
        gap: 10px;
    }

        .order-actions .btn,
        .quote-actions .btn {
            width: 100%;
        }

    .quick-stats {
        flex-direction: column;
        gap: 10px;
    }
}
/* Dashboard Menu Styles - Updates to restore original appearance */

/* Dashboard sidebar container */
.dashboard-sidebar {
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Profile section */
.sidebar-profile {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #F16724;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    box-shadow: 0 3px 6px rgba(239, 65, 54, 0.2);
}

    .profile-image i {
        font-size: 2rem;
        color: white;
    }

.sidebar-profile h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

/* Nav pills specific styling - fix for navigation menu */
.dashboard-sidebar .nav-pills .nav-link {
    color: #495057;
    border-radius: 4px;
    margin-bottom: 8px;
    text-align: left;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    transition: all 0.2s ease;
    font-weight: 500;
}

    .dashboard-sidebar .nav-pills .nav-link i {
        margin-right: 10px;
        font-size: 1.1rem;
        width: 20px;
        text-align: center;
    }

    /* Active state - red background */
    .dashboard-sidebar .nav-pills .nav-link.active {
        background-color: #F16724;
        color: white;
        box-shadow: 0 2px 5px rgba(239, 65, 54, 0.3);
    }

    /* Hover state - gray background for non-active items */
    .dashboard-sidebar .nav-pills .nav-link:hover:not(.active) {
        background-color: #e9ecef;
        color: #212529;
    }

    /* Logout button special styling */
    .dashboard-sidebar .nav-pills .nav-link[href*="logout"] {
        margin-top: 10px;
        border-top: 1px solid #eee;
        padding-top: 15px;
    }
/* Mobile Menu Styling - Updated with Red/White Theme */
.mobile-menu-container {
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
    display: none;
    background-color: var(--bp-primary);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
}

.mobile-menu-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
}

.mobile-menu-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ffffff;
    padding: 0;
    cursor: pointer;
}

    .mobile-menu-btn:focus {
        outline: none;
    }

/* Accordion styling for main categories */
#categoryAccordion .accordion-item {
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#categoryAccordion .accordion-button {
    font-weight: 600;
    padding: 15px;
    background-color: var(--bp-primary);
    color: #ffffff;
}

    #categoryAccordion .accordion-button:not(.collapsed) {
        color: #ffffff;
        background-color: var(--bp-primary-hover); /* Slightly darker red when expanded */
        box-shadow: none;
    }

    #categoryAccordion .accordion-button:focus {
        box-shadow: none;
    }

    #categoryAccordion .accordion-button::after {
        width: 1rem;
        height: 1rem;
        background-size: 1rem;
        filter: brightness(0) invert(1); /* Make the dropdown icon white */
    }

/* Subcategory styling with white background */
#categoryAccordion .accordion-body {
    padding: 0;
    background-color: #ffffff;
}

.mobile-subcategory {
    margin: 0;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

    .mobile-subcategory:last-child {
        border-bottom: none;
    }

    .mobile-subcategory h6 {
        font-size: 0.9rem;
        font-weight: 600;
        color: #333;
        margin-bottom: 10px;
        padding-bottom: 5px;
        border-bottom: 1px solid #eee;
    }

    .mobile-subcategory ul li a {
        color: #333;
        font-size: 0.9rem;
        transition: color 0.2s ease;
        display: block;
        padding: 6px 0;
    }

        .mobile-subcategory ul li a:hover {
            color: var(--bp-primary);
        }

/* Show mobile menu on smaller screens only */
@media (max-width: 991px) {
    .mobile-menu-container {
        display: block;
    }

    .mega-menu-desktop {
        display: none;
    }
}
/* Quote Main Container */
.quotes-listing {
    margin: 20px 0;
}

/* Quote Item Card */
.quote-item-card {
    display: flex;
    margin-bottom: 30px;
    padding: 15px;
    border: 1px solid #eee;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    background-color: #fff;
}

    .quote-item-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

/* Quote Image Container */
.quote-image {
    flex: 0 0 150px;
    margin-right: 20px;
}

    .quote-image img {
        max-width: 100%;
        max-height: 150px;
        object-fit: contain;
    }

/* Quote Content */
.quote-content {
    flex: 1;
}

.quote-title {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

    .quote-title a {
        color: #333;
        text-decoration: none;
    }

        .quote-title a:hover {
            color: var(--bp-primary);
        }

.quote-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

    .quote-meta div {
        display: flex;
        align-items: center;
    }

    .quote-meta i {
        margin-right: 5px;
    }

/* Status badge */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 600;
    color: white;
}

.status-new {
    background-color: #007bff;
}

.status-processing {
    background-color: #17a2b8;
}

.status-sent {
    background-color: #ffc107;
    color: #212529;
}

.status-accepted {
    background-color: #28a745;
}

.status-declined {
    background-color: #dc3545;
}

/* Actions Container */
.quote-actions {
    text-align: right;
    margin-left: auto;
    min-width: 100px;
}

.btn-view {
    display: inline-block;
    padding: 6px 15px;
    border-radius: 4px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #333;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

    .btn-view:hover {
        background-color: #e9ecef;
        text-decoration: none;
    }

    .btn-view i {
        margin-right: 5px;
    }

/* Quote header section */
.quotes-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

    .quotes-header-section h2 {
        margin: 0;
        font-size: 1.5rem;
        font-weight: 600;
    }

/* Filter dropdown */
.filter-dropdown .dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 5px;
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    color: #333;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 4px;
}

    .filter-dropdown .dropdown-toggle i {
        font-size: 1.1rem;
    }

.filter-dropdown .dropdown-menu {
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    border: 1px solid #eee;
    border-radius: 4px;
    min-width: 180px;
}

.filter-dropdown .dropdown-item {
    padding: 8px 15px;
}

    .filter-dropdown .dropdown-item i {
        margin-right: 8px;
        color: #666;
    }

/* Status indicator */
.status-indicator {
    display: inline-flex;
    align-items: center;
    margin-left: 10px;
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 5px;
}

    .status-dot.new {
        background-color: #007bff;
    }

    .status-dot.processing {
        background-color: #17a2b8;
    }

    .status-dot.sent {
        background-color: #ffc107;
    }

    .status-dot.accepted {
        background-color: #28a745;
    }

/* Empty state */
.quotes-empty-state {
    text-align: center;
    padding: 50px 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

    .quotes-empty-state i {
        font-size: 3rem;
        color: #ccc;
        margin-bottom: 20px;
    }

    .quotes-empty-state h3 {
        font-size: 1.5rem;
        margin-bottom: 10px;
        color: #333;
    }

    .quotes-empty-state p {
        color: #666;
        margin-bottom: 20px;
    }

/* Responsive Styles */
@media (max-width: 767px) {
    .quote-item-card {
        flex-direction: column;
    }

    .quote-image {
        flex: 0 0 auto;
        margin-right: 0;
        margin-bottom: 15px;
        text-align: center;
    }

    .quote-actions {
        text-align: left;
        margin-left: 0;
        margin-top: 15px;
    }
}
