/*** =========================================
   * JEMINA MARKETPLACE CUSTOM STYLES
   * Enhanced Corporate Theme & Animations
   * =========================================
***/

/* Corporate Color Variables */
:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #ebb16e;
    --secondary: #F5F5F5;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #FFFFFF;
    --dark: #3D464D;
    --breakpoint-xs: 0;
    --breakpoint-sm: 768px;
    --breakpoint-md: 992px;
    --breakpoint-lg: 1400px;
    --breakpoint-xl: 1800px;
    --corporate-primary: #ff8c00;
    --corporate-secondary: #cc7000;
    --corporate-accent: #ff6b35;
    --corporate-accent-dark: #be370662;
    --corporate-light: #f7fafc;
    --corporate-border: #e2e8f0;

    /* Enterprise Color Palette */
    --enterprise-primary: #1e40af;
    --enterprise-secondary: #64748b;
    --enterprise-success: #059669;
    --enterprise-warning: #d97706;
    --enterprise-danger: #dc2626;
    --enterprise-info: #0284c7;
    --enterprise-purple: #7c3aed;
    --enterprise-gradient: linear-gradient(135deg, #04060f 0%, #cf6015 100%);
    --enterprise-gradient-alt: linear-gradient(135deg, #059669 0%, #0d9488 100%);
    --enterprise-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --enterprise-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.category-card {
    border-radius: 15px !important;
    margin-bottom: 1rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    background: white !important;
    border: 1px solid #e9ecef !important;
    transition: all 0.3s ease !important;
}

.category-card:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
}

.category-card .card-body,
.category-card>div {
    padding: 1.5rem !important;
}

.category-title {
    margin: 0.75rem 0 !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #333 !important;
}

.category-description {
    font-size: 0.9rem !important;
    color: #666 !important;
    margin-bottom: 0.75rem !important;
    line-height: 1.4 !important;
}

.category-count {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    font-size: 0.85rem !important;
    color: var(--corporate-accent) !important;
    font-weight: 600 !important;
}

.category-icon {
    width: 120px !important;
    height: 120px !important;
    margin: 0 auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: transparent !important;
    border-radius: 0 !important;
    color: var(--corporate-primary) !important;
    font-size: 4rem !important;
    animation: iconBob 2s ease-in-out infinite;
    box-shadow: none !important;
    transition: all 0.3s ease !important;
}

.category-card:hover .category-icon {
    animation-play-state: running !important;
    transform: scale(1.1) !important;
}

.category-icon i {
    color: var(--primary) !important;
    font-size: 3rem !important;
}

.category-icon img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    filter: grayscale(0%) !important;
    border-radius: 0 !important;
}

/* Bobbing animation for icons */
@keyframes iconBob {

    0%,
    100% {
        transform: translateY(0px) scale(1);
    }

    25% {
        transform: translateY(-8px) scale(1.05);
    }

    50% {
        transform: translateY(0px) scale(1);
    }

    75% {
        transform: translateY(-4px) scale(1.02);
    }
}

/* Enhanced Corporate Gradients */
.corporate-gradient {
    background: linear-gradient(135deg, var(--corporate-primary) 0%, var(--corporate-secondary) 100%);
}

.corporate-accent-gradient {
    background: linear-gradient(135deg, var(--corporate-accent) 0%, var(--corporate-accent-dark) 100%);
}

/* Search Styles */
#searchResults {
    position: absolute;
    width: 100%;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 15px 15px;
    max-height: 400px;
    overflow-y: auto;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 1000;
    display: none;
}

.search-results-list {
    padding: 0;
    margin: 0;
    list-style: none;
}

.search-result-item {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    transition: all 0.2s ease;
}

.search-result-item:hover {
    background: linear-gradient(135deg, rgba(235, 177, 110, 0.1) 0%, rgba(229, 153, 65, 0.1) 100%);
    text-decoration: none;
    transform: translateX(5px);
}

.search-result-img-container {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    margin-right: 12px;
    border-radius: 8px;
    overflow: hidden;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.search-result-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.search-no-img {
    color: var(--corporate-accent);
    font-size: 20px;
}

.search-result-details {
    flex: 1;
    min-width: 0;
}

.search-result-details h6 {
    margin: 0 0 4px 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.search-price {
    color: var(--corporate-accent);
    font-weight: 700;
    font-size: 13px;
}

.search-type {
    display: inline-block;
    font-size: 11px;
    background: linear-gradient(135deg, var(--corporate-primary) 0%, var(--corporate-secondary) 100%);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    margin-top: 3px;
    text-transform: uppercase;
    font-weight: 500;
}

/* Loading and No Results States */
.search-loading,
.search-no-results {
    padding: 20px;
    text-align: center;
    color: var(--corporate-accent);
}

.search-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.search-loading::before {
    content: '';
    width: 20px;
    height: 20px;
    border: 2px solid var(--corporate-accent);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: searchSpin 1s linear infinite;
}

@keyframes searchSpin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Enhanced Newsletter Styles */
.newsletter-form .btn-primary {
    background: linear-gradient(135deg, var(--corporate-accent) 0%, var(--corporate-accent-dark) 100%) !important;
    border-color: var(--corporate-accent) !important;
    color: white !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-weight: 600;
    padding: 0.6rem 1.8rem;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(235, 177, 110, 0.3);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.newsletter-form .btn-primary:hover {
    background: linear-gradient(135deg, var(--corporate-accent-dark) 0%, var(--corporate-accent) 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(235, 177, 110, 0.4);
}

.newsletter-form .form-control {
    height: calc(1.5em + 1rem + 2px);
    padding: 0.6rem 1.2rem;
    border: 2px solid var(--corporate-border);
    border-radius: 25px 0 0 25px;
    transition: all 0.3s ease;
}

.newsletter-form .form-control:focus {
    border-color: var(--corporate-accent);
    box-shadow: 0 0 0 0.2rem rgba(235, 177, 110, 0.25);
    transform: scale(1.02);
}

.newsletter-form .input-group-append {
    margin-left: -2px;
}

.newsletter-form .input-group-append .btn {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-top-right-radius: 25px;
    border-bottom-right-radius: 25px;
}

/* Corporate Animations */
@keyframes corporateFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes corporateSlideIn {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes corporatePulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes corporateBounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-10px);
    }

    60% {
        transform: translateY(-5px);
    }
}

/* Corporate Enhancement Classes */
.fade-in-up {
    animation: corporateFadeIn 0.8s ease-out;
}

.slide-in-left {
    animation: corporateSlideIn 0.6s ease-out;
}

.corporate-hover {
    transition: all 0.3s ease;
}

.corporate-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.15);
}

.corporate-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid var(--corporate-border);
}

.corporate-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

/* Corporate Buttons */
.btn-corporate {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    border: none;
    border-radius: 5px;
    border: 5px solid black;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.btn-corporate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: white;
}

.btn-accent {
    background: linear-gradient(135deg, var(--corporate-accent) 0%, var(--corporate-accent-dark) 100%);
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(235, 177, 110, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(235, 177, 110, 0.4);
    color: white;
}

/* Premium View All Buttons */
.btn-premium-accent {
    margin: 1px 0 0 -5px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: 3px solid var(--corporate-accent);
    color: var(--corporate-accent);
    padding: 1rem 2.5rem;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 5px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 20px rgba(235, 177, 110, 0.2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.btn-premium-accent:hover {
    background: linear-gradient(135deg, var(--corporate-accent) 0%, var(--corporate-accent-dark) 100%);
    color: white;
    border-color: var(--corporate-accent);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(235, 177, 110, 0.4);
    text-decoration: none;
}

.btn-premium-accent::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s ease;
}

.btn-premium-accent:hover::before {
    left: 100%;
}

.btn-premium-accent i {
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-premium-accent:hover i {
    transform: translateX(5px);
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* Corporate Badges */
.badge-corporate {
    background: linear-gradient(135deg, var(--corporate-primary) 0%, var(--corporate-secondary) 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   BACK TO TOP BUTTON
   Professional corporate back-to-top button
   ========================================= */

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 99;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--corporate-accent) 0%, var(--corporate-accent-dark) 100%);
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.3);
    display: none;
    /* Changed from flex to none for jQuery fadeIn/fadeOut */
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(235, 177, 110, 0.4);
    transition: all 0.3s ease;
    cursor: pointer;
}

/* When jQuery shows it with fadeIn, it becomes flex */
.back-to-top[style*="display: block"],
.back-to-top[style*="display: inline"] {
    display: flex !important;
}

.back-to-top:hover {
    background: linear-gradient(135deg, var(--corporate-accent-dark) 0%, var(--corporate-accent) 100%);
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(235, 177, 110, 0.6);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    text-decoration: none;
}

.back-to-top:active {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(235, 177, 110, 0.4);
}

.back-to-top i {
    animation: arrowBounce 2s infinite ease-in-out;
}

.back-to-top:hover i {
    animation: arrowBounceHover 0.6s infinite ease-in-out;
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-3px);
    }
}

@keyframes arrowBounceHover {

    0%,
    100% {
        transform: translateY(0) scale(1);
    }

    50% {
        transform: translateY(-5px) scale(1.1);
    }
}

/* Responsive Design for Back to Top */
@media (max-width: 768px) {
    .back-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 1.1rem;
    }
}

@media (max-width: 480px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 10px;
        right: 10px;
        font-size: 1rem;
    }
}


.badge-accent {
    background: linear-gradient(135deg, var(--corporate-accent) 0%, var(--corporate-accent-dark) 100%);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   BOOTSTRAP CAROUSEL INDICATORS STYLING
   Style carousel indicators (keeping dots only)
   ========================================= */

/* Bootstrap carousel indicators styling */
.carousel-indicators {
    bottom: 20px;
    margin-bottom: 0;
}

.carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--corporate-primary) !important;
    border: 2px solid var(--corporate-primary) !important;
    margin: 0 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-indicators li:hover,
.carousel-indicators li.active {
    background: var(--corporate-accent) !important;
    border-color: var(--corporate-accent) !important;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(235, 177, 110, 0.5);
}

/* Slow fade-in/fade-out transition for the header carousel */
.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 2.5s ease-in-out;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    opacity: 0;
}

.carousel-fade .carousel-item-next,
.carousel-fade .carousel-item-prev,
.carousel-fade .carousel-item.active {
    transform: translateX(0);
}

/* Let JavaScript Owl Carousel handle all product carousel calculations */
.product-carousel {
    /* Allow JavaScript to control all spacing and layout */
}

/* =========================================
   OPTIMIZED CORPORATE PRODUCT CARD STYLES
   Professional responsive card design for mobile and desktop
   ========================================= */

/* Base Corporate Card Styling */
.corporate-product-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none !important;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(235, 177, 110, 0.1) !important;
}

.corporate-product-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(235, 177, 110, 0.15) !important;
    border-color: rgba(235, 177, 110, 0.3) !important;
}

/* Corporate Badge Styling */
.corporate-badge .badge-corporate {
    background: linear-gradient(135deg, var(--corporate-primary) 0%, var(--corporate-secondary) 100%) !important;
    color: white !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(235, 177, 110, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}

/* Optimized Image Container */
.corporate-image-container {
    position: relative;
    overflow: hidden;
    /* Desktop: 240px height, Mobile: 200px */
    height: 240px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.corporate-product-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.3s ease;
    filter: brightness(1.05) contrast(1.1);
}

.corporate-product-card:hover .corporate-product-image {
    transform: scale(1.1);
    filter: brightness(1.1) contrast(1.15);
}

/* Image Overlay for Better Text Contrast */
.image-overlay {
    height: 60px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.4) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.corporate-product-card:hover .image-overlay {
    opacity: 1;
}

/* Enhanced Typography */
.corporate-title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.4;
    color: #2c3e50 !important;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.corporate-description {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #6c757d !important;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Pricing Section */
.corporate-pricing-section {
    border-top: 1px solid rgba(235, 177, 110, 0.1);
    padding-top: 1rem;
}

.current-price {
    font-size: 1.25rem !important;
    color: var(--corporate-primary) !important;
    font-weight: 800 !important;
    margin-bottom: 0.25rem;
    display: block;
}

.b2b-badge .badge-outline-primary {
    border: 2px solid var(--corporate-primary) !important;
    color: var(--corporate-primary) !important;
    background: rgba(235, 177, 110, 0.1) !important;
    font-size: 0.75rem !important;
}

/* Stock Indicator */
.stock-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stock-indicator i {
    font-size: 0.8rem;
}

/* Enhanced Action Button */
.corporate-inquiry-btn {
    background: linear-gradient(135deg, var(--corporate-primary) 0%, var(--corporate-secondary) 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 0.9rem !important;
    padding: 1rem 1.5rem !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 15px rgba(235, 177, 110, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    position: relative;
    overflow: hidden;
}

.corporate-inquiry-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.corporate-inquiry-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(235, 177, 110, 0.4) !important;
    background: linear-gradient(135deg, var(--corporate-secondary) 0%, var(--corporate-primary) 100%) !important;
}

.corporate-inquiry-btn:hover::before {
    left: 100%;
}

.corporate-inquiry-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 4px 15px rgba(235, 177, 110, 0.3) !important;
}

.corporate-inquiry-btn i {
    transition: transform 0.3s ease;
}

.corporate-inquiry-btn:hover i.fa-arrow-right {
    transform: translateX(5px);
}

/* =========================================
   RESPONSIVE DESIGN - MOBILE OPTIMIZATION
   ========================================= */

/* Tablet Portrait (768px and below) */
@media (max-width: 768px) {
    .corporate-image-container {
        height: 200px;
        /* Reduced height for mobile */
    }

    .corporate-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }

    .corporate-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
        -webkit-line-clamp: 2;
        /* Fewer lines on mobile */
    }

    .corporate-inquiry-btn {
        font-size: 0.85rem !important;
        padding: 0.875rem 1.25rem !important;
        /* Touch-friendly minimum height */
        min-height: 48px;
    }

    .card-body {
        padding: 1.25rem !important;
    }

    .corporate-pricing-section {
        padding-top: 0.75rem;
    }
}

/* Mobile Landscape (576px and below) */
@media (max-width: 576px) {
    .corporate-image-container {
        height: 180px;
        /* Even smaller on small mobile */
    }

    .corporate-title {
        font-size: 0.95rem;
        -webkit-line-clamp: 2;
    }

    .corporate-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
        margin-bottom: 0.75rem;
    }

    .corporate-inquiry-btn {
        font-size: 0.8rem !important;
        padding: 0.75rem 1rem !important;
        min-height: 44px;
        /* iOS recommended minimum */
    }

    .corporate-badge .badge-corporate {
        font-size: 0.7rem !important;
        padding: 0.375rem 0.75rem !important;
    }

    .card-body {
        padding: 1rem !important;
    }

    .b2b-badge .badge-outline-primary {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.5rem !important;
    }
}

/* Extra Small Mobile (380px and below) */
@media (max-width: 380px) {
    .corporate-image-container {
        height: 160px;
    }

    .corporate-title {
        font-size: 0.9rem;
    }

    .corporate-description {
        font-size: 0.75rem;
    }

    .corporate-inquiry-btn {
        font-size: 0.75rem !important;
        padding: 0.625rem 0.875rem !important;
    }

    .card-body {
        padding: 0.875rem !important;
    }
}

/* Desktop Large Screens (1200px and above) */
@media (min-width: 1200px) {
    .corporate-image-container {
        height: 260px;
        /* Larger images on big screens */
    }

    .corporate-title {
        font-size: 1.2rem;
    }

    .corporate-description {
        font-size: 0.95rem;
    }

    .corporate-inquiry-btn {
        font-size: 0.95rem !important;
        padding: 1.125rem 1.75rem !important;
    }
}

/* High DPI / Retina Display Optimizations */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
    .corporate-product-image {
        filter: brightness(1.02) contrast(1.05);
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    .corporate-product-card:hover {
        transform: none;
        /* Disable hover effects on touch */
        box-shadow: 0 4px 15px rgba(235, 177, 110, 0.1) !important;
    }

    .corporate-inquiry-btn {
        /* Larger touch targets */
        min-height: 52px;
        padding: 1rem 1.5rem !important;
    }
}

/* Reduced Motion for Accessibility */
@media (prefers-reduced-motion: reduce) {

    .corporate-product-card,
    .corporate-product-image,
    .corporate-inquiry-btn,
    .corporate-inquiry-btn i {
        transition: none !important;
        animation: none !important;
    }

    .corporate-product-card:hover {
        transform: none !important;
    }

    .corporate-product-card:hover .corporate-product-image {
        transform: none !important;
    }
}

/* Print Styles */
@media print {
    .corporate-inquiry-btn {
        display: none !important;
    }

    .corporate-badge {
        position: static !important;
        margin: 0 !important;
    }

    .corporate-image-container {
        height: 120px !important;
    }
}

/* Owl Carousel Specific Optimizations */
.owl-carousel .corporate-product-card {
    margin: 0 0.15rem;
}

.owl-carousel .corporate-image-container {
    /* Ensure consistent heights in carousel */
    height: 220px;
}

@media (max-width: 768px) {
    .owl-carousel .corporate-image-container {
        height: 180px;
    }
}

@media (max-width: 576px) {
    .owl-carousel .corporate-image-container {
        height: 160px;
    }
}

/* Enhanced Corporate Carousel Specific Styles */
.corporate-carousel .corporate-product-card {
    margin: 0 0.15rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.corporate-carousel .corporate-image-container {
    height: 240px;
    border-radius: 12px 12px 0 0;
}

.corporate-carousel .corporate-product-card .card-body {
    padding: 1.5rem;
}

/* Smooth carousel transitions */
.corporate-carousel .owl-stage {
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Carousel item spacing */
.corporate-carousel .owl-item {
    transition: all 0.3s ease;
}

.corporate-carousel .owl-item.center {
    transform: scale(1.05);
    z-index: 2;
}

/* Mobile carousel optimizations */
@media (max-width: 768px) {
    .corporate-carousel .corporate-product-card {
        margin: 0 0.5rem;
    }

    .corporate-carousel .corporate-image-container {
        height: 200px;
    }

    .corporate-carousel .corporate-product-card .card-body {
        padding: 1.25rem;
    }
}

@media (max-width: 576px) {
    .corporate-carousel .corporate-image-container {
        height: 180px;
    }

    .corporate-carousel .corporate-product-card .card-body {
        padding: 1rem;
    }

    .corporate-carousel .corporate-title {
        font-size: 0.95rem;
    }

    .corporate-carousel {
        font-size: 1.1rem !important;
    }
}

/* =========================================
   JAVASCRIPT ENHANCEMENT STYLES
   ========================================= */

/* Corporate Card Animation States */
.corporate-product-card.in-viewport {
    animation: fadeInUp 0.6s ease-out forwards;
}

.corporate-product-card.hover-enhanced {
    transform: translateY(-10px) scale(1.03) !important;
    box-shadow: 0 25px 50px rgba(235, 177, 110, 0.2) !important;
}

.corporate-product-card.touch-active {
    transform: scale(0.98);
    transition: transform 0.1s ease;
}

/* Loading States */
.corporate-inquiry-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.corporate-inquiry-btn.loading {
    pointer-events: none;
}

/* Corporate Carousel Navigation Enhancements */
.corporate-carousel .owl-nav {
    margin-top: 2rem;
}

.corporate-carousel .owl-nav button {
    background: linear-gradient(135deg, var(--corporate-primary) 0%, var(--corporate-secondary) 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 50% !important;
    width: 45px !important;
    height: 45px !important;
    font-size: 1.2rem !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 4px 15px rgba(235, 177, 110, 0.3) !important;
}

.corporate-carousel .owl-nav button:hover {
    transform: scale(1.1) !important;
    box-shadow: 0 6px 20px rgba(235, 177, 110, 0.4) !important;
    background: linear-gradient(135deg, var(--corporate-secondary) 0%, var(--corporate-primary) 100%) !important;
}

.corporate-carousel .owl-nav button:active {
    transform: scale(0.95) !important;
}

.corporate-carousel .owl-nav button.owl-prev {
    margin-right: 1rem;
}

/* Mobile Navigation Adjustments */
@media (max-width: 768px) {
    .corporate-carousel .owl-nav {
        display: none;
        /* Hide nav on mobile for cleaner look */
    }
}

/* Corporate Carousel Progress Indicators */
.corporate-carousel-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 1.5rem;
    gap: 0.5rem;
}

.corporate-carousel-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(235, 177, 110, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.corporate-carousel-dot.active {
    background: var(--corporate-primary);
    transform: scale(1.5);
    box-shadow: 0 2px 8px rgba(235, 177, 110, 0.4);
}

.corporate-carousel-dot:hover {
    background: var(--corporate-primary);
    transform: scale(1.2);
}

/* Enhanced Image Loading */
.corporate-product-image {
    transition: opacity 0.3s ease, filter 0.3s ease;
}

.corporate-product-image.loading {
    opacity: 0.5;
    filter: blur(2px);
}

.corporate-product-image.loaded {
    opacity: 1;
    filter: none;
}

/* Accessibility Enhancements */
.corporate-product-card:focus-within {
    outline: 2px solid var(--corporate-primary);
    outline-offset: 2px;
}

.corporate-inquiry-btn:focus {
    outline: 2px solid white;
    outline-offset: 2px;
    box-shadow: 0 0 0 4px rgba(235, 177, 110, 0.3) !important;
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .corporate-product-card {
        border: 2px solid #000 !important;
    }

    .corporate-inquiry-btn {
        border: 2px solid #000 !important;
    }
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {

    .corporate-product-card.in-viewport,
    .corporate-product-card.hover-enhanced,
    .corporate-product-card.touch-active,
    .corporate-carousel .owl-nav button {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* Print Styles Enhancement */
@media print {

    .corporate-carousel .owl-nav,
    .corporate-carousel-progress {
        display: none !important;
    }

    .corporate-product-card {
        break-inside: avoid;
        page-break-inside: avoid;
    }
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Loading Spinner Enhancement */
.corporate-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Touch Optimization */
@media (hover: none) and (pointer: coarse) {
    .corporate-product-card:hover {
        transform: none !important;
    }

    .corporate-inquiry-btn {
        min-height: 48px;
        padding: 1rem 1.5rem !important;
    }

    .corporate-carousel .owl-nav button {
        width: 50px !important;
        height: 50px !important;
        font-size: 1.4rem !important;
    }
}

/* =========================================
   CORPORATE QUICK VIEW MODAL STYLES
   ========================================= */

/* Corporate Quick View Modal Header */
.corporate-quick-view-header {
    background: linear-gradient(135deg, #ebb16e 0%, #e59941 100%) !important;
    border-bottom: none;
    color: white;
}

.corporate-quick-view-header h4 {
    color: white !important;
}

.corporate-quick-view-close {
    color: white !important;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.corporate-quick-view-close:hover {
    opacity: 1;
    color: white !important;
}

/* Corporate Quick View Modal Body */
.corporate-quick-view-body {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

/* Corporate Quick View Modal Footer */
.corporate-quick-view-footer {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-top: 1px solid rgba(235, 177, 110, 0.2);
}

/* Corporate Quick View Buttons */
.corporate-quick-view-btn-add-cart {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.corporate-quick-view-btn-add-cart:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%) !important;
}

.corporate-inquiry-btn {
    background: linear-gradient(135deg, #ebb16e 0%, #e59941 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(235, 177, 110, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.corporate-inquiry-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(235, 177, 110, 0.4) !important;
    background: linear-gradient(135deg, #e59941 0%, #ebb16e 100%) !important;
}

.corporate-inquiry-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none !important;
}

.corporate-quick-view-btn-details-footer {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(108, 117, 125, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.corporate-quick-view-btn-details-footer:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(108, 117, 125, 0.4) !important;
    background: linear-gradient(135deg, #495057 0%, #6c757d 100%) !important;
}

.corporate-quick-view-btn-close {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    border: none !important;
    color: white !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 0.75rem 1.5rem !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.corporate-quick-view-btn-close:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4) !important;
    background: linear-gradient(135deg, #c82333 0%, #dc3545 100%) !important;
}

/* Corporate Spinner */
.corporate-quick-view-spinner {
    color: #ebb16e !important;
}

/* Corporate Modal Animation */
#corporateQuickViewModal .modal-dialog {
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Corporate Badge in Quick View */
.corporate-quick-view-modal-content .badge-corporate {
    background: linear-gradient(135deg, #ebb16e 0%, #e59941 100%) !important;
    color: white !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 4px 15px rgba(235, 177, 110, 0.3) !important;
    backdrop-filter: blur(10px) !important;
}

/* Corporate Benefits List */
.corporate-quick-view-body .list-unstyled li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(235, 177, 110, 0.1);
}

.corporate-quick-view-body .list-unstyled li:last-child {
    border-bottom: none;
}

/* Responsive Corporate Modal */
@media (max-width: 768px) {
    .corporate-quick-view-header h4 {
        font-size: 1.2rem !important;
    }

    .corporate-quick-view-footer {
        flex-direction: column;
        gap: 0.5rem;
    }

    .corporate-quick-view-footer .btn {
        width: 100%;
        margin: 0 !important;
    }

    .corporate-quick-view-btn-add-cart,
    .corporate-inquiry-btn,
    .corporate-quick-view-btn-details-footer,
    .corporate-quick-view-btn-close {
        padding: 1rem !important;
        font-size: 0.9rem !important;
    }
}

/* High contrast mode support for corporate modal */
@media (prefers-contrast: high) {
    .corporate-quick-view-header {
        background: #000 !important;
        border: 2px solid #fff !important;
    }

    .corporate-quick-view-btn-add-cart,
    .corporate-inquiry-btn,
    .corporate-quick-view-btn-details-footer,
    .corporate-quick-view-btn-close {
        border: 2px solid #000 !important;
    }
}

/* Reduced motion support for corporate modal */
@media (prefers-reduced-motion: reduce) {

    .corporate-quick-view-btn-add-cart,
    .corporate-inquiry-btn,
    .corporate-quick-view-btn-details-footer,
    .corporate-quick-view-btn-close,
    #corporateQuickViewModal .modal-dialog {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
}

/* Corporate Quick View Button Specific Styling */
.corporate-quick-view-btn {
    background: white !important;
    border: none !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.corporate-quick-view-btn:hover {
    background: linear-gradient(135deg, #ebb16e 0%, #e59941 100%) !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(235, 177, 110, 0.4) !important;
}

/* Corporate Product Badges Styling */
.corporate-product-card .product-badges {
    z-index: 60 !important;
    top: 8px !important;
    left: 8px !important;
    right: auto !important;
    width: auto !important;
    max-width: 120px !important;
}

.corporate-product-card .badge {
    font-size: 0.65rem !important;
    padding: 0.3em 0.6em !important;
    margin-bottom: 4px !important;
    display: block !important;
    width: fit-content !important;
    max-width: 100% !important;
    word-wrap: break-word !important;
    line-height: 1.2 !important;
}

.corporate-product-card .badge-corporate {
    background: linear-gradient(135deg, #ebb16e 0%, #e59941 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 8px rgba(235, 177, 110, 0.3) !important;
}

.corporate-product-card .badge-primary {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: white !important;
}

.corporate-product-card .badge-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: white !important;
}

.corporate-product-card .badge-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%) !important;
    color: #212529 !important;
}

.corporate-product-card .badge-secondary {
    background: linear-gradient(135deg, #6c757d 0%, #545b62 100%) !important;
    color: white !important;
}

/* Corporate Inquiry-Only Workflow Styling */
.inquiry-only-badge {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%) !important;
    color: white !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    font-size: 0.75rem !important;
    padding: 0.4rem 0.8rem !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 8px rgba(23, 162, 184, 0.3) !important;
    position: relative;
    z-index: 10;
}

/* Minimum Order Quantity Display */
.min-order-quantity {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    font-size: 0.75rem !important;
    padding: 0.3rem 0.7rem !important;
    border-radius: 4px !important;
    box-shadow: 0 2px 6px rgba(40, 167, 69, 0.3) !important;
    position: relative;
    z-index: 10;
}

/* Corporate Workflow Enhancement */
.corporate-workflow-step {
    background: linear-gradient(135deg, rgba(235, 177, 110, 0.1) 0%, rgba(229, 153, 65, 0.05) 100%) !important;
    border: 1px solid rgba(235, 177, 110, 0.2) !important;
    border-radius: 8px !important;
    padding: 0.75rem !important;
    margin-bottom: 0.5rem !important;
    transition: all 0.3s ease !important;
}

.corporate-workflow-step:hover {
    background: linear-gradient(135deg, rgba(235, 177, 110, 0.15) 0%, rgba(229, 153, 65, 0.1) 100%) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 12px rgba(235, 177, 110, 0.15) !important;
}

.corporate-workflow-step i {
    color: var(--corporate-primary) !important;
    margin-right: 0.5rem !important;
    font-size: 1.1rem !important;
}

/* Enhanced B2B Process Flow */
.b2b-process-flow {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%) !important;
    border: 1px solid rgba(235, 177, 110, 0.15) !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    margin-top: 1rem !important;
}

.b2b-step {
    display: flex !important;
    align-items: center !important;
    padding: 0.5rem 0 !important;
    border-bottom: 1px dashed rgba(235, 177, 110, 0.2) !important;
    font-size: 0.9rem !important;
    color: #495057 !important;
}

.b2b-step:last-child {
    border-bottom: none !important;
}

.b2b-step-icon {
    background: linear-gradient(135deg, var(--corporate-primary) 0%, var(--corporate-secondary) 100%) !important;
    color: white !important;
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 0.75rem !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    flex-shrink: 0 !important;
}

/* Corporate Success Animation */
.corporate-success-animation {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 201, 151, 0.05) 100%) !important;
    border: 2px solid rgba(40, 167, 69, 0.2) !important;
    border-radius: 12px !important;
    padding: 1.5rem !important;
    animation: successPulse 0.6s ease-out !important;
}

@keyframes successPulse {
    0% {
        transform: scale(0.95) !important;
        opacity: 0.7 !important;
    }

    50% {
        transform: scale(1.02) !important;
    }

    100% {
        transform: scale(1) !important;
        opacity: 1 !important;
    }
}

/* Enhanced Mobile Responsiveness for Inquiry Workflow */
@media (max-width: 768px) {
    .inquiry-only-badge {
        font-size: 0.7rem !important;
        padding: 0.3rem 0.6rem !important;
    }

    .min-order-quantity {
        font-size: 0.7rem !important;
        padding: 0.25rem 0.6rem !important;
    }

    .b2b-process-flow {
        padding: 1rem !important;
    }

    .b2b-step {
        font-size: 0.85rem !important;
        padding: 0.4rem 0 !important;
    }

    .b2b-step-icon {
        width: 20px !important;
        height: 20px !important;
        font-size: 0.75rem !important;
        margin-right: 0.5rem !important;
    }

    .corporate-workflow-step {
        padding: 0.5rem !important;
        margin-bottom: 0.4rem !important;
    }
}

/* Ensure action buttons appear above badges */
.corporate-product-card .product-actions {
    z-index: 70 !important;
}

/* Mobile responsive badge adjustments */
@media (max-width: 576px) {
    .corporate-product-card .product-badges {
        top: 6px !important;
        left: 6px !important;
        max-width: 100px !important;
    }

    .corporate-product-card .badge {
        font-size: 0.6rem !important;
        padding: 0.25em 0.5em !important;
    }
}


/* =========================================
   PRODUCT ACTION BUTTONS
   Click-based visibility and functionality
   ========================================= */

/* Hide action buttons initially */
.product-actions {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(10px);
    transition: all 0.3s ease !important;
}

/* Show action buttons only when product item has show-actions class (click-based) */
.product-item.show-actions .product-actions {
    opacity: 1 !important;
    visibility: visible !important;
    transform: translateY(0) !important;
}

/* Make sure action buttons are positioned correctly and clickable */
.product-actions {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.95) !important;
    border-radius: 8px !important;
    padding: 8px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15) !important;
    pointer-events: auto !important;
}

/* Enhanced action buttons with proper clickability */
.action-btn {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: rgba(255, 255, 255, 0.9) !important;
    border: 1px solid #e9ecef !important;
    color: #495057 !important;
    margin-bottom: 4px !important;
    transition: none !important;
    font-size: 14px !important;
    cursor: pointer !important;
    pointer-events: auto !important;
    position: relative !important;
    z-index: 1001 !important;
}

/* Remove extra spacing for last action button */
.action-btn:last-child {
    margin-bottom: 0 !important;
}

/* Ensure form elements inside action buttons work */
.product-actions form {
    margin: 0 !important;
    padding: 0 !important;
}

.product-actions form button {
    background: none !important;
    border: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
}

.swal2-toast {
    padding: 1.25rem !important;
    max-width: 100% !important;
    margin: 0 0 0.75rem 0 !important;
}

/* Enhanced Product Badges - Ensure Top-Left Positioning */
.product-badges {
    position: absolute !important;
    top: 10px !important;
    left: 10px !important;
    z-index: 9999 !important;
    padding: 10px !important;
    pointer-events: none;
}

.product-badges .badge {
    pointer-events: auto;
    display: block !important;
    margin-bottom: 4px !important;
    border-radius: 4px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2) !important;
    animation: badgeSlideIn 0.3s ease-out !important;
}

@keyframes badgeSlideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhanced Badge Styling for Better Visibility */
.featured-badge {
    background: linear-gradient(135deg, #ebb16e 0%, #e59941 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    padding: 0.4rem 0.8rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 2px 4px rgba(235, 177, 110, 0.3) !important;
}

.discount-badge {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    padding: 0.3rem 0.8rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 2px 4px rgba(220, 53, 69, 0.3) !important;
}

.stock-badge {
    border-radius: 4px !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    padding: 0.3rem 0.8rem !important;
    border: none !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

.flash-sale-badge {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: white !important;
    border: none !important;
    border-radius: 4px !important;
    font-size: 0.7rem !important;
    font-weight: 700 !important;
    padding: 0.3rem 0.8rem !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3) !important;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.3) !important;
    animation: pulse 2s infinite !important;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-tag,
.vendor-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.product-name {
    line-height: 1.3;
    font-size: 0.9rem;
}

.rating-stars .fa-star,
.rating-stars .fa-star-half-alt {
    font-size: 0.8rem;
    margin-right: 1px;
}

.rating-value {
    color: #ebb16e;
}

.original-price {
    font-size: 0.85rem;
}

.quality-badge,
.class-badge {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 15px;
    margin-right: 0.25rem;
}

/* Animation for wishlist button */
.wishlist-btn.active i {
    color: #dc3545;
    animation: heartBeat 0.3s ease;
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .corporate-product-card {
        margin-bottom: 1rem;
    }

    .product-actions {
        opacity: 1 !important;
        visibility: visible !important;
        flex-direction: row !important;
        position: static !important;
        padding: 0.5rem !important;
        justify-content: center;
    }

    .action-btn {
        width: 28px;
        height: 28px;
    }

    .product-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }

    .price-section .d-flex {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start !important;
    }

    .stock-status {
        align-self: flex-end;
    }

    #searchResults {
        max-height: 300px;
    }

    .search-result-item {
        padding: 8px 12px;
    }

    .search-result-img-container {
        width: 35px;
        height: 35px;
    }

    .search-result-details h6 {
        font-size: 13px;
    }

    .search-price {
        font-size: 12px;
    }

    .corporate-card {
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .newsletter-form .btn-primary {
        padding: 0.5rem 1.2rem;
        font-size: 0.9rem;
    }

    .newsletter-form .form-control {
        padding: 0.5rem 1rem;
    }
}

/* Accessibility Enhancements */
@media (prefers-reduced-motion: reduce) {

    .corporate-hover,
    .corporate-card,
    .btn-corporate,
    .btn-accent,
    .btn-premium-accent {
        transition: none;
    }

    .fade-in-up,
    .slide-in-left,
    .corporate-pulse,
    .corporate-bounce {
        animation: none;
    }
}

/* =========================================
   QUICK VIEW MODAL STYLES
   Professional corporate quick view design
   ========================================= */

/* Modal Animation */
#quickViewModal .quick-view-modal-content {
    border-radius: 5px;
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Header Styles */
.quick-view-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%, var(--dark) 0%);
    border: none;
    padding: 5px;
}

.quick-view-close {
    opacity: 1;
    text-shadow: none;
}

.quick-view-close:hover {
    transform: rotate(90deg);
    transition: transform 0.3s ease;
}

/* Body Styles */
.quick-view-body {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.quick-view-spinner {
    width: 3.5rem;
    height: 3.5rem;
    color: #667eea;
}

/* Footer Styles */
.quick-view-footer {
    padding: 1.25rem 2rem;
}

.quick-view-btn-close {
    margin: 0 0 0 -5px;
    border: 3px solid gray;
    border-radius: 5px;
    font-weight: 600;
    font-size: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-view-btn-add-cart {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    border: 3px solid gray;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    font-size: 1.15rem;
    box-shadow: 0 4px 15px rgba(235, 177, 110, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.quick-view-btn-details-footer {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    border: 3px solid gray;
    border-radius: 5px;
    color: white;
    font-weight: 600;
    font-size: 1.15rem;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

#quickViewModal .btn:hover {
    transform: translateY(-3px);
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15) !important;
}

#quickViewModal .btn:active {
    transform: translateY(0);
}

.quick-view-btn-add-cart:hover {
    background: linear-gradient(135deg, #e59941 0%, #ebb16e 100%) !important;
}

.quick-view-btn-details-footer:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%) !important;
}

/* Product Info Styling */
.quick-view-badge {
    display: inline-block;
    padding: 0.5rem 0.75rem;
    border-radius: 5px;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.quick-view-price {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ebb16e 0%, #e59941 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.quick-view-meta-item {
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 5px;
    border-left: 3px solid #667eea;
}

.quick-view-meta-item .font-weight-600 {
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
}

.quick-view-rating {
    color: #ebb16e;
    font-size: 1rem;
}

.quick-view-image-container {
    position: relative;
    overflow: hidden;
    border-radius: 5px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    background: white;
}

.quick-view-image-container img {
    transition: transform 0.3s ease;
}

.quick-view-image-container:hover img {
    transform: scale(1.05);
}

.quick-view-discount-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-weight: 700;
    font-size: 1.25rem;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.quick-view-stock-badge {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stock-in {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.stock-low {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
    color: white;
}

.stock-out {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    color: white;
}

/* Action Buttons in Modal Body */
.quick-view-btn-details,
.quick-view-btn-cart {
    transition: all 0.3s ease;
}

.quick-view-btn-details:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--dark) 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
    text-decoration: none;
    color: white !important;
}

.quick-view-btn-cart:hover {
    background: linear-gradient(135deg, #e59941 0%, #ebb16e 100%) !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(235, 177, 110, 0.4) !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    #quickViewModal .modal-dialog {
        margin: 0.5rem;
    }

    .quick-view-price {
        font-size: 1.5rem;
    }

    .quick-view-header {
        padding: 1rem 1.5rem;
    }

    .quick-view-footer {
        padding: 1rem 1.5rem;
        flex-direction: column;
    }

    .quick-view-footer .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}


/* =========================================
   VENDOR REVIEWS STATISTICS STYLES
   Professional vendor performance dashboard
   ========================================= */

/* Statistics Card Styling */
.corporate-stats-card {
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(235, 177, 110, 0.15);
    border: 1px solid rgba(235, 177, 110, 0.1);
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #F5F5F5 100%);
}

.corporate-stats-body {
    padding: 1.5rem;
}

.stats-section {
    border-bottom: 1px solid rgba(235, 177, 110, 0.15);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.stats-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.stats-header {
    margin-bottom: 1rem;
}

.stats-section-title {
    color: #3D464D;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Rating Overview Styling */
.rating-overview {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, #F5F5F5 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid rgba(235, 177, 110, 0.1);
}

.rating-score {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ebb16e;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.rating-stars {
    margin-bottom: 0.5rem;
}

.rating-stars .fa-star {
    font-size: 1.2rem;
    margin: 0 1px;
    transition: all 0.3s ease;
}

.star-filled {
    color: #ebb16e !important;
    text-shadow: 0 0 3px rgba(235, 177, 110, 0.4);
}

.star-empty {
    color: #e2e8f0;
}

.rating-count {
    color: #6C757D;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Performance Metrics */
.performance-metrics {
    space-y: 1rem;
}

.metric-item {
    margin-bottom: 1.25rem;
}

.metric-item:last-child {
    margin-bottom: 0;
}

.metric-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.metric-icon {
    font-size: 1rem;
    margin-right: 0.75rem;
    width: 20px;
    text-align: center;
}

.metric-label {
    flex: 1;
    font-weight: 500;
    color: #3D464D;
    font-size: 0.9rem;
}

.metric-value {
    font-weight: 600;
    color: #ebb16e;
    font-size: 0.9rem;
    min-width: 45px;
    text-align: right;
}

.metric-bar {
    height: 6px;
    background: #e2e8f0;
    border-radius: 3px;
    overflow: hidden;
}

/* Add to Cart Modal Styles */
.cart-modal-image-container {
    background-color: #f8f9fa;
    border-right: 1px solid #dee2e6;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.cart-modal-details {
    padding: 2rem;
}

.cart-modal-title {
    font-family: 'Playfair Display', serif;
    color: var(--corporate-blue);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.cart-modal-price {
    font-size: 1.5rem;
    color: var(--corporate-gold);
    font-weight: 600;
    margin-bottom: 1rem;
}

.cart-modal-meta {
    font-size: 0.9rem;
    color: #6c757d;
    margin-bottom: 1.5rem;
}

.cart-modal-quantity-label {
    font-weight: 600;
    color: var(--corporate-blue);
    margin-bottom: 0.5rem;
    display: block;
}

/* =========================================
   ADVANCED CART REDESIGN
   ========================================= */

/* Layout & Grid */
.cart-container {
    padding: 2rem 0;
    background-color: #f8f9fa;
    min-height: 80vh;
}

.cart-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 2rem;
}

@media (max-width: 992px) {
    .cart-grid {
        grid-template-columns: 1fr;
    }
}

/* Vendor Group Card */
.cart-vendor-group {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.03);
    margin-bottom: 2rem;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.cart-vendor-header {
    background: #fff;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vendor-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.vendor-icon {
    width: 32px;
    height: 32px;
    background: var(--corporate-blue);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
}

.vendor-name {
    font-weight: 600;
    color: var(--corporate-blue);
    font-size: 1.05rem;
    margin: 0;
}

.vendor-action {
    font-size: 0.85rem;
    color: var(--corporate-gold);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s;
}

.vendor-action:hover {
    color: #d49a3d;
    text-decoration: underline;
}

/* Product Card (Row) */
.cart-item-card {
    max-height: 180px;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.2s;
}

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

.cart-item-card:hover {
    background-color: #fcfcfc;
}

/* Product Image */
.cart-item-image-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #eee;
    position: relative;
}

.cart-item-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.cart-item-image-wrapper:hover .cart-item-image {
    transform: scale(1.05);
}

/* Product Details */
.cart-item-details {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.cart-item-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s;
}

.cart-item-title:hover {
    color: var(--corporate-blue);
}

.cart-item-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    font-size: 0.85rem;
    color: #6c757d;
}

.meta-badge {
    background: #f8f9fa;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid #e9ecef;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.stock-badge {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 12px;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.stock-in {
    background: #d4edda;
    color: #155724;
}

.stock-low {
    background: #fff3cd;
    color: #856404;
}

.stock-out {
    background: #f8d7da;
    color: #721c24;
}

/* Pricing & Actions */
.cart-item-actions-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: space-between;
    min-width: 140px;
}

.cart-price-group {
    text-align: right;
    margin-bottom: 1rem;
}

.original-price {
    font-size: 0.9rem;
    color: #999;
    text-decoration: line-through;
    display: block;
}

.discount-tag {
    font-size: 0.75rem;
    color: #dc3545;
    font-weight: 600;
    background: rgba(220, 53, 69, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

/* Quantity Control */
.quantity-wrapper {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 6px;
    overflow: hidden;
    width: 110px;
    height: 36px;
    margin-bottom: 0.75rem;
}

.qty-btn {
    width: 32px;
    height: 100%;
    border: none;
    background: #f8f9fa;
    color: #495057;
    font-size: 0.9rem;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qty-btn:hover {
    background: #e9ecef;
}

.qty-input {
    width: 46px;
    height: 100%;
    border: none;
    border-left: 1px solid #ced4da;
    border-right: 1px solid #ced4da;
    text-align: center;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    -moz-appearance: textfield;
}

.qty-input::-webkit-outer-spin-button,
.qty-input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* Item Actions */
.item-action-links {
    display: flex;
    gap: 1rem;
    font-size: 0.85rem;
}

.action-link {
    color: #6c757d;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: color 0.2s;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

.action-link:hover {
    color: var(--corporate-blue);
}

.action-link.remove:hover {
    color: #dc3545;
}

/* Sticky Summary Sidebar */
.cart-summary-sticky {
    position: sticky;
    top: 100px;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.summary-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f8f9fa;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 1rem;
    color: #6c757d;
    font-size: 0.95rem;
}

.summary-row.total {
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 2px dashed #eee;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.2rem;
}

.checkout-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--corporate-gold) 0%, #d49a3d 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.1rem;
    margin-top: 1.5rem;
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 154, 61, 0.3);
    color: #fff;
    text-decoration: none;
}

/* Coupon Section */
.coupon-section {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #eee;
}

.coupon-toggle {
    color: var(--corporate-blue);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.coupon-form {
    margin-top: 1rem;
    display: flex;
    gap: 0.5rem;
}

.coupon-input {
    flex: 1;
    padding: 0.6rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
    font-size: 0.9rem;
}

.coupon-btn {
    width: 100%;
    background: var(--corporate-primary);
    color: #fff;
    border: none;
    padding: 0 1rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Trust Badges */
.trust-badges {
    margin-top: 0.5rem;
    text-align: center;
}

.trust-text {
    font-size: 1.25rem;
    color: #adb5bd;
    margin-bottom: 0.75rem;
    display: block;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.payment-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    font-size: 2.75rem;
    padding: 1rem;
    border: 1px solid #ced4da;
    border-radius: 6px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .cart-item-card {
        grid-template-columns: 80px 1fr;
        grid-template-areas:
            "image details"
            "actions actions";
        gap: 1rem;
    }

    .cart-item-image-wrapper {
        grid-area: image;
        width: 80px;
        height: 80px;
    }

    .cart-item-details {
        grid-area: details;
    }

    .cart-item-actions-col {
        grid-area: actions;
        flex-direction: row;
        align-items: center;
        width: 100%;
        border-top: 1px solid #f8f9fa;
        padding-top: 1rem;
        margin-top: 0.5rem;
    }

    .cart-price-group {
        text-align: left;
        margin-bottom: 0;
    }

    .cart-summary-sticky {
        position: static;
        margin-top: 2rem;
    }
}


.metric-progress {
    height: 100%;
    background: linear-gradient(90deg, #28a745 0%, #20c997 100%);
    border-radius: 3px;
    transition: width 0.6s ease;
}

/* Rating Distribution */
.rating-distribution {
    space-y: 0.75rem;
}

.rating-row {
    display: flex;
    align-items: center;
    margin-bottom: 0.75rem;
}

.rating-label {
    display: flex;
    align-items: center;
    width: 60px;
    font-size: 0.85rem;
    color: #6C757D;
}

.star-count {
    font-weight: 600;
    margin-right: 0.25rem;
}

.star-icon {
    color: #ebb16e;
    font-size: 0.8rem;
}

.rating-bar-container {
    flex: 1;
    margin: 0 0.75rem;
}

.rating-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}

.rating-fill {
    height: 100%;
    background: linear-gradient(90deg, #ebb16e 0%, #e59941 100%);
    border-radius: 2px;
    transition: width 0.6s ease;
}

.rating-percentage {
    width: 35px;
    text-align: right;
    font-size: 0.8rem;
    color: #6C757D;
    font-weight: 500;
}

/* Summary Grid */
.summary-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.summary-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: linear-gradient(135deg, #F5F5F5 0%, #ffffff 100%);
    border-radius: 8px;
    border: 1px solid rgba(235, 177, 110, 0.1);
}

.summary-icon {
    font-size: 1.5rem;
    margin-right: 0.75rem;
    width: 30px;
    text-align: center;
}

.summary-text {
    flex: 1;
}

.summary-value {
    font-weight: 600;
    color: #3D464D;
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.summary-label {
    font-size: 0.8rem;
    color: #6C757D;
}

/* Rating Stars Hover Effects */
.rating-star:hover,
.rating-star.active {
    color: #ebb16e !important;
    transform: scale(1.1);
    text-shadow: 0 0 3px rgba(235, 177, 110, 0.4);
}

/* Form Focus Effects */
textarea:focus,
.rating-input-wrapper:focus-within {
    border-color: #ebb16e;
    box-shadow: 0 0 0 3px rgba(235, 177, 110, 0.1);
    outline: none;
}

/* Responsive Design for Vendor Reviews */
@media (max-width: 768px) {
    .corporate-stats-body {
        padding: 1rem;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .rating-scale {
        font-size: 0.7rem;
    }
}

/* =========================================
   PRELOADER STYLES
   Custom animated preloader with floating orb constellation
   ========================================= */

/* Custom Preloader Styles */
.custom-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff !important;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1030;
    transition: opacity 0.6s ease-out;
    overflow: hidden;
}

.preloader-content {
    text-align: center;
    color: var(--dark);
    position: relative;
    z-index: 10;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 5px;
    padding: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

/* Shopping Cart Scene - Original Theme */
.cart-scene {
    position: relative;
    width: 270px;
    height: 150px;
    margin: 0 auto 35px;
    background: rgba(102, 126, 234, 0.05);
    border-radius: 5px;
    backdrop-filter: blur(5px);
    border: 5px solid rgba(102, 126, 234, 0.1);
    overflow: hidden;
}

.shopping-bag {
    margin-top: 30px;
    position: absolute;
    width: 56px;
    height: 65px;
    animation: bounce 2s infinite ease-in-out;
}

.bag-handle {
    width: 18px;
    height: 13px;
    background: linear-gradient(135deg, #ebb16e 0%, #e59941 100%);
    border-radius: 0 0 8px 8px;
    margin: 0 auto;
    animation: handleSway 1.5s infinite ease-in-out;
}

.bag-body {
    width: 36px;
    height: 32px;
    background: linear-gradient(135deg, #ebb16e 0%, #e59941 100%);
    border-radius: 4px 4px 12px 12px;
    position: relative;
}

.bag-body::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 26px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.bag-1 {
    top: 25px;
    left: 35px;
    animation-delay: 0s;
}

.bag-2 {
    top: 35px;
    left: 117px;
    animation-delay: 0.5s;
}

.bag-3 {
    top: 20px;
    left: 198px;
    animation-delay: 1s;
}

/* Progress Bar - Original Theme */
.loading-progress {
    margin-bottom: 20px;
}

.progress-container {
    width: 360px;
    height: 12px;
    background: rgba(235, 177, 110, 0.2);
    border-radius: 20px;
    margin: 0 auto 15px;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #ebb16e 0%, #e59941 100%);
    border-radius: 20px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
    box-shadow: 0 0 20px rgba(235, 177, 110, 0.5);
}

.progress-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 50px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    animation: progressGlow 1.5s infinite;
}

.loading-text {
    text-align: center;
    margin-bottom: 25px;
}

.text-main {
    display: block;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 6px;
    transition: all 0.5s ease;
}

.text-sub {
    display: block;
    font-size: 13px;
    opacity: 0.8;
    transition: all 0.5s ease;
}

/* Bottom Icons - Primary Theme Colors */
.bottom-icons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 25px 0;
    padding: 20px;
    background: rgba(235, 177, 110, 0.08);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.bottom-icon {
    font-size: 24px;
    color: #ebb16e;
    animation: iconFloat 3s infinite ease-in-out;
    padding: 10px;
    border-radius: 50%;
    background: rgba(235, 177, 110, 0.1);
    transition: all 0.3s ease;
}

.bottom-icon:hover {
    transform: scale(1.2);
    background: rgba(235, 177, 110, 0.2);
    color: #e59941;
}

.icon-1 {
    animation-delay: 0s;
}

.icon-2 {
    animation-delay: 0.5s;
}

.icon-3 {
    animation-delay: 1s;
}

.icon-4 {
    animation-delay: 1.5s;
}

.icon-5 {
    animation-delay: 2s;
}

/* Animated Dots - Primary Theme */
.loading-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ebb16e 0%, #e59941 100%);
    border-radius: 50%;
    animation: pulse 1.2s infinite ease-in-out;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

/* Floating Orb Constellation Container */
.orb-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Floating Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235, 177, 110, 0.8) 0%, rgba(229, 153, 65, 0.6) 50%, transparent 100%);
    box-shadow: 0 0 20px rgba(235, 177, 110, 0.5);
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

.orb-1 {
    width: 20px;
    height: 20px;
    top: 20%;
    left: 50%;
}

.orb-2 {
    width: 15px;
    height: 15px;
    top: 30%;
    left: 30%;
}

.orb-3 {
    width: 12px;
    height: 12px;
    top: 40%;
    left: 70%;
}

.orb-4 {
    width: 18px;
    height: 18px;
    top: 60%;
    left: 40%;
}

.orb-5 {
    width: 16px;
    height: 16px;
    top: 70%;
    left: 60%;
}

.orb-6 {
    width: 14px;
    height: 14px;
    top: 80%;
    left: 20%;
}

.orb-7 {
    width: 22px;
    height: 22px;
    top: 15%;
    left: 80%;
}

.orb-8 {
    width: 19px;
    height: 19px;
    top: 50%;
    left: 15%;
}

.orb-9 {
    width: 13px;
    height: 13px;
    top: 85%;
    left: 75%;
}

.orb-10 {
    width: 17px;
    height: 17px;
    top: 25%;
    left: 85%;
}

/* Orbital Animation Keyframes */
@keyframes orbit-large {
    0% {
        transform: rotate(0deg) translateX(120px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(120px) rotate(-360deg);
    }
}

@keyframes orbit-medium {
    0% {
        transform: rotate(0deg) translateX(80px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(80px) rotate(-360deg);
    }
}

@keyframes orbit-small {
    0% {
        transform: rotate(0deg) translateX(50px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(50px) rotate(-360deg);
    }
}

/* Orbital Paths (subtle circles) */
.orbit-path {
    position: absolute;
    border: 1px solid rgba(235, 177, 110, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.path-1 {
    width: 240px;
    height: 240px;
}

.path-2 {
    width: 160px;
    height: 160px;
}

.path-3 {
    width: 100px;
    height: 100px;
}

/* Sparkle Effects */
.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ffffff;
    border-radius: 50%;
    animation-iteration-count: infinite;
}

.sparkle-1 {
    top: 25%;
    left: 45%;
    animation-delay: 0s;
}

.sparkle-2 {
    top: 35%;
    left: 55%;
    animation-delay: 0.5s;
}

.sparkle-3 {
    top: 65%;
    left: 35%;
    animation-delay: 1s;
}

.sparkle-4 {
    top: 75%;
    left: 65%;
    animation-delay: 1.5s;
}

.sparkle-5 {
    top: 45%;
    left: 75%;
    animation-delay: 2s;
}

/* Sparkle Animation */
@keyframes sparkleTwinkle {

    0%,
    100% {
        opacity: 0;
        transform: scale(0);
    }

    50% {
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    }
}

/* Subtle Background Pattern - Primary Theme */
.preloader-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(235, 177, 110, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(229, 153, 65, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 40% 40%, rgba(235, 177, 110, 0.05) 0%, transparent 40%);
    animation: bgShift 12s infinite ease-in-out;
}

/* Preloader Animations */
@keyframes bounce {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(-12px);
    }

    60% {
        transform: translateY(-6px);
    }
}

@keyframes handleSway {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(4deg);
    }
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg) scale(1);
    }

    25% {
        transform: translateY(-10px) rotate(5deg) scale(1.1);
    }

    50% {
        transform: translateY(-5px) rotate(-5deg) scale(1);
    }

    75% {
        transform: translateY(-15px) rotate(3deg) scale(1.1);
    }
}

@keyframes progressGlow {
    0% {
        left: -50px;
        opacity: 0;
    }

    50% {
        opacity: 1;
    }

    100% {
        left: 100%;
        opacity: 0;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

@keyframes bgShift {

    0%,
    100% {
        transform: translateX(0px) translateY(0px);
    }

    25% {
        transform: translateX(8px) translateY(-6px);
    }

    50% {
        transform: translateX(-4px) translateY(12px);
    }

    75% {
        transform: translateX(-8px) translateY(-4px);
    }
}

/* Responsive Design for Preloader */
@media (max-width: 768px) {
    .cart-scene {
        width: 225px;
        height: 135px;
    }

    .progress-container {
        width: 270px;
    }

    .text-main {
        font-size: 18px;
    }

    .text-sub {
        font-size: 11px;
    }

    .bottom-icon {
        font-size: 20px;
        padding: 8px;
    }

    .bottom-icons {
        gap: 15px;
        padding: 15px;
    }

    .preloader-content {
        padding: 25px;
        margin: 20px;
    }

    /* Smaller orbs on mobile */
    .orb-1 {
        width: 16px;
        height: 16px;
    }

    .orb-2 {
        width: 12px;
        height: 12px;
    }

    .orb-3 {
        width: 10px;
        height: 10px;
    }

    .orb-4 {
        width: 14px;
        height: 14px;
    }

    .orb-5 {
        width: 13px;
        height: 13px;
    }

    .orb-6 {
        width: 11px;
        height: 11px;
    }

    .orb-7 {
        width: 18px;
        height: 18px;
    }

    .orb-8 {
        width: 15px;
        height: 15px;
    }

    .orb-9 {
        width: 10px;
        height: 10px;
    }

    .orb-10 {
        width: 14px;
        height: 14px;
    }
}

@media (max-width: 480px) {
    .cart-scene {
        width: 180px;
        height: 108px;
    }

    .progress-container {
        width: 225px;
    }

    .shopping-bag {
        width: 27px;
        height: 36px;
    }

    .bag-body {
        width: 27px;
        height: 23px;
    }

    .bottom-icon {
        font-size: 18px;
        padding: 6px;
    }

    .bottom-icons {
        gap: 12px;
        padding: 12px;
    }

    .preloader-content {
        padding: 20px;
        margin: 15px;
    }

    /* Even smaller orbs on mobile */
    .orb-1 {
        width: 14px;
        height: 14px;
    }

    .orb-2 {
        width: 10px;
        height: 10px;
    }

    .orb-3 {
        width: 8px;
        height: 8px;
    }

    .orb-4 {
        width: 12px;
        height: 12px;
    }

    .orb-5 {
        width: 11px;
        height: 11px;
    }

    .orb-6 {
        width: 9px;
        height: 9px;
    }

    .orb-7 {
        width: 15px;
        height: 15px;
    }

    .orb-8 {
        width: 13px;
        height: 13px;
    }

    .orb-9 {
        width: 8px;
        height: 8px;
    }

    .orb-10 {
        width: 12px;
        height: 12px;
    }
}

/* =========================================
   CUSTOMER DASHBOARD STYLES
   Professional customer dashboard styling
   ========================================= */



.corporate-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: white;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.stats-card {
    border-radius: 5px;
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stats-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Customer Sidebar Styles */
.customer-sidebar {
    position: fixed;
    top: 0;
    right: -350px;
    width: 350px;
    height: 100vh;
    background: linear-gradient(180deg, #4e73df 0%, #224abe 100%);
    box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
    z-index: 1050;
    transition: right 0.3s ease-in-out;
    overflow-y: auto;
    overflow-x: hidden;
}

.customer-sidebar.show {
    right: 0;
}

.customer-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    z-index: -1;
}

.sidebar-content {
    padding: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.profile-card {
    padding: 2rem 1.5rem;
    text-align: center;
    background: rgba(255, 255, 255, 0.1);
    margin: 1rem;
    border-radius: 0.5rem;
}

.profile-image-container {
    position: relative;
    display: inline-block;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: cover;
}

.profile-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid #fff;
}

.profile-status.online {
    background-color: #1cc88a;
}

.sidebar-stats {
    display: flex;
    justify-content: space-around;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 1rem 1rem;
    border-radius: 0.5rem;
}

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

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    font-size: 0.75rem;
    opacity: 0.8;
    text-transform: uppercase;
}

.customer-info small {
    display: block;
    margin-bottom: 0.25rem;
}

/* Active Nav-Pills Styling - Ensure active tab has gray text */
.nav-pills {
    color: gray !important;
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Active Nav Tabs Styling - Apply same styling for vendor dashboard nav-tabs */
.nav-tabs .nav-link.active {
    color: gray !important;
    background-color: #f8f9fa;
    font-weight: 600;
}

/* Navbar Active Link Styling - Apply same styling for navbar navigation */
.navbar {
    color: gray !important;
    font-weight: 600;
}

.btn-corporate {
    background: linear-gradient(135deg, var(--corporate-primary) 0%, var(--corporate-secondary) 100%);
    border: 2px solid var(--corporate-primary);
    border-radius: 8px;
    color: white;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(26, 54, 93, 0.3);
}

.btn-corporate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.4);
    color: white;
    background: linear-gradient(135deg, var(--corporate-secondary) 0%, var(--corporate-primary) 100%);
}

.metric-change {
    font-size: 0.875rem;
    font-weight: 500;
}

.metric-change.positive {
    color: #38a169;
}

.metric-change.negative {
    color: #e53e3e;
}

.activity-item {
    border-left: 4px solid var(--corporate-accent);
    background: var(--corporate-light);
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 0 8px 8px 0;
}

/* Responsive Design Improvements */
@media (max-width: 768px) {
    .customer-sidebar {
        width: 100%;
        right: -100%;
    }

    .sidebar-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .stat-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .stat-value {
        font-size: 1rem;
    }
}

/* Sidebar Toggle Button in Navigation */
.sidebar-toggle-btn {
    margin-top: -25px;
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 12px 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
}

.sidebar-toggle-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 6px 20px rgba(26, 54, 93, 0.2);
    background: linear-gradient(135deg, var(--corporate-secondary) 0%, var(--corporate-primary) 100%);
}

.sidebar-toggle-btn:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 8px rgba(26, 54, 93, 0.2);
}

.sidebar-toggle-btn i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.sidebar-toggle-btn:hover i {
    transform: translateX(-2px);
}

.sidebar-toggle-btn .btn-text {
    transition: opacity 0.3s ease;
}

/* Desktop Sidebar Toggle Button */
.desktop-sidebar-toggle {
    position: fixed;
    top: 20px;
    right: 15px;
    z-index: 1030;
    background: linear-gradient(135deg, var(--corporate-primary) 0%, var(--corporate-secondary) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: none;
    backdrop-filter: blur(10px);
}

.desktop-sidebar-toggle:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, var(--corporate-secondary) 0%, var(--corporate-primary) 100%);
}

.desktop-sidebar-toggle:active {
    transform: translateY(0) scale(0.98);
}

.desktop-sidebar-toggle i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

@media (min-width: 769px) {
    .sidebar-toggle-btn {
        display: block;
    }
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 15px;
    right: 15px;
    z-index: 1060;
    background: var(--corporate-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }

    .sidebar-overlay.show {
        display: block;
    }
}

/* Enhanced Typography */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

.h1,
.h2,
.h3,
.h4,
.h5,
.h6,
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 600;
}

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Animation Enhancements */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.5s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--corporate-light);
}

::-webkit-scrollbar-thumb {
    background: var(--corporate-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--corporate-secondary);
}

/* Custom scrollbar for sidebar */
.customer-sidebar::-webkit-scrollbar {
    width: 4px;
}

.customer-sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.customer-sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.customer-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Animation for stats */
.stat-value {
    animation: countUp 2s ease-out;
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Modern Marquee Animation */
.marquee-container {
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    width: 100%;
}

.marquee-text {
    display: inline-block;
    animation: marquee-scroll 30s linear infinite;
}

@keyframes marquee-scroll {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Pause animation on hover */
.marquee-container:hover .marquee-text {
    animation-play-state: paused;
}

/* =========================================
   VENDOR DASHBOARD STYLES
   Professional vendor dashboard styling
   ========================================= */

.sidebar-nav {
    background: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.sidebar-nav.collapsed {
    transform: translateX(-100%);
    width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.nav-item.active .nav-link {
    background: none;
    color: #6c757d !important;
    border-radius: 5px;
    border: 2px solid var(--primary);
    box-shadow: 0 2px 8px rgba(235, 177, 110, 0.3);
    transform: translateX(4px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 5px;
    margin-bottom: 4px;
    padding: 12px 16px;
}

.inventory-alert {
    background: linear-gradient(135deg, #fed7d7 0%, #feb2b2 100%);
    border: 1px solid #e53e3e;
    border-radius: 8px;
    color: #c53030;
}

/* Responsive Design for Vendor Dashboard */
@media (max-width: 768px) {
    .sidebar-nav {
        position: fixed;
        top: 0;
        left: -100%;
        width: 280px;
        height: 100vh;
        z-index: 1050;
        transition: left 0.3s ease;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    }

    .sidebar-nav.show {
        left: 0;
    }

    .main-content {
        margin-left: 0;
    }

    .corporate-header {
        padding: 1.5rem;
    }

    .corporate-header h1 {
        font-size: 1.25rem;
    }

    .stats-card {
        margin-bottom: 1rem;
    }

    .btn-corporate {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    .quick-actions .col-md-4 {
        padding: 0.25rem;
    }

    .modal-dialog {
        margin: 0.5rem;
        max-width: none;
    }

    .modal-xl {
        max-width: 95vw;
    }

    .activity-item {
        padding: 0.75rem;
    }

    .top-products .d-flex {
        flex-direction: column;
        text-align: center;
    }

    .badge {
        font-size: 0.75rem;
    }
}

/* Vendor Sidebar Toggle Button */
.desktop-sidebar-toggle {
    position: fixed;
    top: 20px;
    left: 15px;
    z-index: 1030;
    background: linear-gradient(135deg, var(--corporate-primary) 0%, var(--corporate-secondary) 100%);
    color: white;
    border: none;
    border-radius: 12px;
    width: 50px;
    height: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    display: none;
    backdrop-filter: blur(10px);
}

@media (min-width: 769px) {
    .sidebar-nav.collapsed {
        display: none !important;
    }

    .sidebar-nav.floating {
        position: fixed;
        top: 0;
        left: 0;
        width: 280px;
        height: 100vh;
        z-index: 1040;
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        animation: slideInLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .sidebar-nav.floating.collapsed {
        animation: slideOutLeft 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    @keyframes slideInLeft {
        from {
            transform: translateX(-100%);
            opacity: 0;
        }

        to {
            transform: translateX(0);
            opacity: 1;
        }
    }

    @keyframes slideOutLeft {
        from {
            transform: translateX(0);
            opacity: 1;
        }

        to {
            transform: translateX(-100%);
            opacity: 0;
        }
    }

    .main-content.expanded {
        margin-left: 0 !important;
        width: 100% !important;
        flex: 1;
    }

    .row.expanded .col-lg-2 {
        display: none;
    }

    .row.expanded .col-lg-10 {
        width: 100% !important;
        max-width: 100% !important;
        flex: 1;
    }
}

/* Mobile Navigation for Vendor */
.mobile-nav-toggle {
    display: none;
    position: fixed;
    top: 15px;
    left: 15px;
    z-index: 1060;
    background: var(--corporate-primary);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
    .mobile-nav-toggle {
        display: block;
    }

    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }

    .sidebar-overlay.show {
        display: block;
    }
}

/* Custom File Input Styles */
.custom-file-input~.custom-file-label::after {
    content: "Browse";
}

.image-preview-container .card {
    transition: transform 0.2s;
}

.image-preview-container .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* =========================================
   NAVBAR STYLING
   (Removed corporate styling - back to original Bootstrap)
   ========================================= */

/* =========================================
   NAVBAR LINK COLOR OVERRIDES
   Ensure proper colors for navbar-dark links
   ========================================= */

/* Override any global styles that might affect navbar links */
.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-dark .nav-link:hover {
    color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-dark .nav-link:focus {
    color: rgba(255, 255, 255, 0.95) !important;
}

.navbar-dark .nav-link.disabled {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Active state should be bright white */
.navbar-dark .nav-link.active {
    color: #fff !important;
}

/* Ensure hover effects work properly */
.navbar-dark .nav-link:not(.active):hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 0.25rem;
}

/* Style for drag and drop area */
.custom-file {
    border: 2px dashed #dee2e6;
    border-radius: 5px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.custom-file:hover {
    border-color: #6c757d;
}

/* Hide the default file input */
.custom-file-input {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

/* =========================================
   CORPORATE LOGIN MODAL STYLES
   Professional, secure authentication interface
   ========================================= */

/* Main Modal Container */
.corporate-login-modal .modal-content {
    border: none;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.4s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Header Styling */
.corporate-modal-header {
    background: linear-gradient(135deg, var(--dark) 0%, var(--primary), var(--dark) 100%);
    padding: 2.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid #e9ecef;
}

.corporate-modal-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="rgba(255,140,0,0.03)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    pointer-events: none;
}

/* Brand Logo */
.corporate-logo {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transition: transform 0.3s ease;
}

.corporate-logo:hover {
    transform: scale(1.05);
}

/* Modal Body */
.corporate-modal-body {
    background: var(--secondary);
    padding: 3rem 2.5rem;
}

/* Welcome Icon */
.welcome-icon {
    margin-bottom: 2rem;
}

.icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff8c00 0%, #cc7000 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
    animation: iconPulse 2s infinite ease-in-out;
    border: 3px solid #ffffff;
}

.icon-circle i {
    font-size: 2rem;
    color: #ffffff;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 8px 25px rgba(255, 140, 0, 0.3);
    }

    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 35px rgba(255, 140, 0, 0.4);
    }
}

/* Form Styling */
.corporate-form-group {
    margin-bottom: 1.75rem;
}

.corporate-input-group {
    height: 50px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.corporate-input-group:focus-within {
    box-shadow: 0 0 0 3px rgba(235, 177, 110, 0.15);
    transform: translateY(-1px);
}

.corporate-input-group .form-control {
    border: 1px solid #e9ecef;
    border-left: none;
    padding: 0.875rem 1rem;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    color: #212529;
}

.corporate-input-group .form-control:focus {
    border-color: transparent;
    box-shadow: none;
}

.corporate-input-group .input-group-text {
    border: 1px solid #e9ecef;
    border-right: none;
    padding: 0.875rem 1rem;
}

/* Checkbox Styling */
.corporate-form-check .form-check-input {
    border-radius: 4px;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.corporate-form-check .form-check-input:checked {
    background-color: #ebb16e;
    border-color: #ebb16e;
}

/* Forgot Password Link */
.corporate-forgot-link {
    font-weight: 500;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
}

.corporate-forgot-link:hover {
    color: #cc7000 !important;
    transform: translateX(2px);
}

/* Google Login Button */
.corporate-google-btn {
    background: var(--corporate-primary);
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 1rem 2rem;
    font-weight: 600;
    font-size: 1.25em;
    color: #3c4043;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.corporate-google-btn:hover {
    border-color: #a76605;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
    color: #3c4043;
    text-decoration: none;
}

/* Google Icon Styling */
.google-icon {
    color: var(--corporate-light) !important;
}

/* Divider Styling */
.corporate-divider {
    position: relative;
    text-align: center;
    margin: 2rem 0;
}

.divider-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, #e9ecef 20%, #e9ecef 80%, transparent 100%);
}

.divider-text {
    background: #ffffff;
    padding: 0 1.5rem;
    color: #6c757d;
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

/* Primary Login Button */
.btn-corporate-primary,
.btn-corporate-secondary {
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 5px solid gray;
    position: relative;
    overflow: hidden;
    font-size: 1.25rem;
    text-justify: auto;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
}

.btn-corporate-primary {
    background: linear-gradient(135deg, var(--corporate-primary, 0%), var(--corporate-secondary, 100%));
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    border-radius: 10px;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-corporate-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

.btn-corporate-secondary {
    background: linear-gradient(135deg, var(--corporate-accent, #ebb16e), var(--corporate-accent-dark, #e59941));
    color: white;
    box-shadow: 0 4px 15px rgba(235, 177, 110, 0.3);
}

.btn-corporate-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(235, 177, 110, 0.4);
    color: white;
    text-decoration: none;
}

/* Sign Up Link */
.corporate-signup-link {
    position: relative;
    transition: all 0.3s ease;
}

.corporate-signup-link:hover {
    color: #cc7000 !important;
}

/* Password Toggle Button */
.toggle-password {
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 0;
}

.toggle-password:hover {
    color: #ebb16e !important;
    background: #f8f9fa;
}

/* Form Validation */
.invalid-feedback {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: #dc3545;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

.form-control.is-invalid:focus {
    border-color: #dc3545;
    box-shadow: 0 0 0 3px rgba(220, 53, 69, 0.1);
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .corporate-modal-body {
        padding: 2rem 1.5rem;
    }

    .corporate-modal-header {
        padding: 2rem 1rem;
    }

    .corporate-google-btn {
        padding: 0.75rem 1rem;
    }

    .google-text {
        font-size: 0.9rem;
    }

    .icon-circle {
        width: 70px;
        height: 70px;
    }

    .icon-circle i {
        font-size: 1.75rem;
    }
}

@media (max-width: 576px) {
    .corporate-login-modal .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }

    .corporate-modal-body {
        padding: 1.5rem 1rem;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    .corporate-modal-body {
        background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
        color: #e2e8f0;
    }

    .corporate-input-group .form-control {
        background: rgba(121, 98, 79, 0.2);
        border-color: #4a5568;
        color: #e2e8f0;
        padding: 2px;
    }

    .corporate-input-group .input-group-text {
        background: #a79175;
        border-color: #4a5568;
        color: #2c2d2e;
    }

    .divider-text {
        background: #7e7b75;
        color: #171718;
    }

    /* =========================================
   VENDOR DASHBOARD SPECIFIC STYLES
   Professional vendor dashboard styling
   ========================================= */

    /* Vendor Dashboard Corporate Header */
    .corporate-header {
        background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
        color: white;
        border-radius: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }

    /* Management Tabs Styling for Vendor Dashboard */
    .management-nav-tabs .nav-link {
        background: rgba(235, 177, 110, 0.1);
        color: var(--corporate-primary);
        border: none;
        border-radius: 8px 8px 0 0;
        margin-right: 0.25rem;
        transition: all 0.2s ease;
        font-weight: 500;
        padding: 0.75rem 1.25rem;
    }

    .management-nav-tabs .nav-link:hover {
        background: rgba(235, 177, 110, 0.2);
        color: var(--corporate-primary);
        transform: translateY(-1px);
    }

    .management-nav-tabs .nav-link.active {
        background: var(--corporate-primary);
        color: #6c757d !important;
        border: 2px solid var(--corporate-primary);
        box-shadow: 0 2px 8px rgba(235, 177, 110, 0.3);
    }

    /* Vendor Sidebar Toggle Button */
    .sidebar-toggle-btn {
        background: linear-gradient(135deg, #1a365d 0%, #2d3748 100%);
        color: white;
        border: none;
        border-radius: 8px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        cursor: pointer;
        font-weight: 600;
        font-size: 14px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        min-height: 48px;
        position: relative;
        z-index: 1000;
        margin-left: auto;
        margin-right: 0;
        max-width: 120px;
        /* Ensure button doesn't overflow */
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .sidebar-toggle-btn:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 6px 20px rgba(26, 54, 93, 0.2);
        background: linear-gradient(135deg, var(--corporate-secondary) 0%, var(--corporate-primary) 100%);
    }

    .sidebar-toggle-btn:active {
        transform: translateY(0) scale(0.98);
        box-shadow: 0 2px 8px rgba(26, 54, 93, 0.2);
    }

    .sidebar-toggle-btn i {
        font-size: 16px;
        transition: transform 0.3s ease;
    }

    .sidebar-toggle-btn:hover i {
        transform: translateX(-2px);
    }

    .btn-text {
        font-weight: 600;
        text-align: center;
    }

    /* Media Query for Vendor Sidebar Toggle Button */
    @media (min-width: 769px) {
        .sidebar-toggle-btn {
            display: block !important;
        }
    }

    /* Enhanced Navigation for Vendor */
    .nav-item.active .nav-link {
        background: var(--corporate-primary);
        color: #6c757d !important;
        border-radius: 12px;
        border: 2px solid var(--corporate-primary);
        box-shadow: 0 2px 8px rgba(235, 177, 110, 0.3);
        transform: translateX(4px);
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-link {
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        border-radius: 8px;
        margin-bottom: 4px;
        padding: 12px 16px;
    }

    .nav-link:not(.active) {
        background: rgba(235, 177, 110, 0.1);
        color: var(--corporate-primary) !important;
    }

    .nav-link:hover {
        background: rgba(235, 177, 110, 0.2);
        transform: translateX(2px);
        color: var(--corporate-primary) !important;
    }

    .sidebar-toggle-btn:hover {
        transform: translateY(-2px) scale(1.02);
        box-shadow: 0 6px 20px rgba(43, 108, 176, 0.3);
        background: linear-gradient(135deg, #2c5282 0%, #2b6cb0 100%);
        color: white;
    }

    .sidebar-toggle-btn:active {
        transform: translateY(0) scale(0.98);
        box-shadow: 0 2px 8px rgba(43, 108, 176, 0.2);
    }

    .sidebar-toggle-btn i {
        font-size: 16px;
        transition: transform 0.3s ease;
    }

    .sidebar-toggle-btn:hover i {
        transform: translateX(-2px);
    }

    /* Hidden Vendor Sidebar (Slides in from right) */
    .vendor-sidebar-hidden {
        display: none;
        position: fixed;
        right: 0;
        top: 0;
        width: 320px;
        height: 100vh;
        background: linear-gradient(180deg, #2b6cb0 0%, #2c5282 100%);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.15);
        z-index: 1050;
        transition: transform 0.3s ease-in-out;
        transform: translateX(100%);
        overflow-y: auto;
    }

    .vendor-sidebar-hidden.show {
        display: block;
        transform: translateX(0);
    }

    /* Vendor Sidebar Overlay */
    .vendor-sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1040;
    }

    .vendor-sidebar-overlay.show {
        display: block;
    }

    /* Media Query for Vendor Sidebar Toggle */
    @media (min-width: 769px) {
        .sidebar-toggle-btn {
            display: block !important;
        }
    }
}

/* =========================================
GOOGLE OAUTH MODAL ENHANCEMENTS
Enhanced authentication modal support for Google OAuth integration
========================================= */

/* Google OAuth Indicator */
.google-oauth-indicator {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 6px;
    font-size: 0.875rem;
    animation: googleVerifiedPulse 2s infinite;
}

@keyframes googleVerifiedPulse {

    0%,
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4);
    }

    50% {
        box-shadow: 0 0 0 4px rgba(40, 167, 69, 0.1);
    }
}

/* Google Verified Email Field */
#email.google-verified {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.05) 0%, rgba(32, 201, 151, 0.05) 100%);
    border-color: rgba(40, 167, 69, 0.3);
    position: relative;
}

#email.google-verified::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
    pointer-events: none;
    border-radius: inherit;
}

/* Enhanced Modal Backdrop for Better Focus */
.corporate-login-modal .modal-backdrop {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

/* Modal Loading States */
.modal-loading {
    position: relative;
    overflow: hidden;
}

.modal-loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: modalLoadingShimmer 1.5s infinite;
}

@keyframes modalLoadingShimmer {
    0% {
        left: -100%;
    }

    100% {
        left: 100%;
    }
}

/* Enhanced Submit Button Loading */
.corporate-login-modal .btn:disabled {
    opacity: 0.8;
    cursor: not-allowed;
    transform: none !important;
}

.corporate-login-modal .btn:disabled .spinner-border {
    display: inline-block !important;
}

/* Modal Transition Enhancements */
.corporate-login-modal.fade .modal-dialog {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.corporate-login-modal.show .modal-dialog {
    transform: translate(0, 0) scale(1);
}

/* Auto-triggered Modal Indicator */
.modal-autotrigger-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    animation: badgeSlideIn 0.5s ease-out;
    z-index: 10;
}

@keyframes badgeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px) scale(0.8);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Enhanced Form Validation Visual Feedback */
.corporate-input-group.has-validation .form-control.is-invalid {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-5px);
    }

    75% {
        transform: translateX(5px);
    }
}

.corporate-input-group.has-validation .form-control.is-valid {
    border-color: #28a745;
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

/* Enhanced Google OAuth Alert Styling */
.google-oauth-alert {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
    border: 1px solid rgba(40, 167, 69, 0.2);
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1.5rem;
    animation: alertSlideDown 0.5s ease-out;
}

@keyframes alertSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Enhancements for Mobile */
@media (max-width: 768px) {
    .google-oauth-indicator {
        font-size: 0.8rem;
        padding: 0.4rem 0.6rem;
    }

    .modal-autotrigger-badge {
        font-size: 0.65rem;
        padding: 0.2rem 0.4rem;
        top: -6px;
        right: -6px;
    }

    .corporate-login-modal .modal-dialog {
        margin: 0.5rem;
    }

    .corporate-login-modal .modal-content {
        border-radius: 8px;
    }
}

/* Focus Management for Accessibility */
.corporate-login-modal .modal-dialog:focus-within {
    outline: none;
    outline-offset: 2px;
}

/* Toast Notification Styles - Corporate Theme */
.custom-swal-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    width: 360px;
    max-width: 90%;
    pointer-events: none;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: transparent !important;
}

/* Limit backdrop removal and top-right positioning to toast containers and the custom toast container */
.swal2-container.swal2-toast,
.custom-swal-container {
    background: transparent !important;
    pointer-events: none;
    position: fixed !important;
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999 !important;
}


/* Style the toast itself */
.swal2-toast {
    pointer-events: auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
    border-radius: 8px !important;
    margin: 0 0 1rem 0 !important;
    border: none !important;
    background: var(--white) !important;
    position: relative !important;
    width: 100% !important;
    max-width: 380px !important;
    padding: 1.5rem 1.75rem !important;
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    opacity: 0.98;
    transition: all 0.3s ease;
    border-left: 4px solid var(--corporate-primary) !important;
    box-sizing: border-box;
}

/* Toast content wrapper */
.swal2-toast .swal2-html-container {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--dark) !important;
    font-size: 0.9375rem !important;
    line-height: 1.5;
    text-align: left;
    max-width: 100%;
    overflow: hidden;
    word-wrap: break-word;
}

/* Toast title */
.swal2-toast .swal2-title {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--dark) !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    width: 100%;
    line-height: 1.4;
    margin-bottom: 0.5rem !important;
}

/* Toast icon */
.swal2-toast .swal2-icon {
    width: 24px !important;
    height: 24px !important;
    margin: 0 0.5rem 0 0 !important;
    flex-shrink: 0;
    border: none !important;
    background: none !important;
    color: inherit !important;
}

/* Toast close button */
.swal2-toast .swal2-close {
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray) !important;
    opacity: 0.6;
    transition: all 0.2s ease;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    line-height: 1;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 4px;
    z-index: 2;
}

.swal2-toast .swal2-close:hover {
    color: var(--dark) !important;
    opacity: 1;
    background: rgba(0, 0, 0, 0.05) !important;
}

/* Toast progress bar */
.swal2-toast .swal2-timer-progress-bar {
    height: 2px !important;
    background: var(--corporate-primary) !important;
    opacity: 0.3;
    border-radius: 0 0 0 4px;
}

/* Toast content */
.swal2-toast .swal2-html-container {
    margin: 0 !important;
    padding: 0 !important;
    font-size: 0.95rem !important;
    color: #4a5568 !important;
    line-height: 1.5;
    width: 100%;
    margin-top: 0.25rem !important;
}

/* Make sure the toast is visible */
.swal2-show {
    opacity: 1 !important;
    transform: none !important;
    animation: toastSlideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.swal2-hide {
    animation: toastSlideOut 0.3s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

/* Toast Types - Using Corporate Theme Colors */

/* Success toast */
.swal2-toast.swal2-icon-success {
    border-left-color: var(--success) !important;
}

.swal2-toast.swal2-icon-success .swal2-title::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--success);
}

/* Error toast */
.swal2-toast.swal2-icon-error {
    border-left-color: var(--danger) !important;
}

.swal2-toast.swal2-icon-error .swal2-title::before {
    content: '\f06a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--danger);
}

/* Warning toast */
.swal2-toast.swal2-icon-warning {
    border-left-color: var(--warning) !important;
}

.swal2-toast.swal2-icon-warning .swal2-title::before {
    content: '\f12a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--warning);
}

/* Info toast */
.swal2-toast.swal2-icon-info {
    border-left-color: var(--info) !important;
}

.swal2-toast.swal2-icon-info .swal2-title::before {
    content: '\f05a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--info);
}

/* Question toast */
.swal2-toast.swal2-icon-question {
    border-left-color: var(--corporate-accent) !important;
}

.swal2-toast.swal2-icon-question .swal2-title::before {
    content: '\f059';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--corporate-accent);
}

/* Animations */
@keyframes toastSlideIn {
    from {
        transform: translateX(120%) translateY(0);
        opacity: 0;
    }

    to {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0) translateY(0);
        opacity: 1;
        max-height: 200px;
        margin-bottom: 1rem;
    }

    to {
        transform: translateX(120%) translateY(-100%);
        opacity: 0;
        max-height: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Apply animations */
.swal2-toast.swal2-show {
    animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.swal2-toast.swal2-hide {
    animation: toastSlideOut 0.4s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

/* Hover effects */
.swal2-toast:hover {
    transform: translateX(-4px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    opacity: 1 !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .custom-swal-container {
        width: 90%;
        max-width: 320px;
        right: 1rem;
        left: auto;
    }

    .swal2-toast {
        padding: 1rem !important;
    }

    .swal2-toast .swal2-title {
        font-size: 0.9375rem !important;
    }

    .swal2-toast .swal2-html-container {
        font-size: 0.875rem !important;
    }
}

/* Make sure no backdrop is shown */
.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-noanimation,
.swal2-container.swal2-shown {
    background: transparent !important;
    pointer-events: none;
}

/* Hide any overlay */
.swal2-backdrop-show,
.swal2-noanimation,
.swal2-shown {
    background: transparent !important;
}

/* Enhanced Password Toggle Animation */
.toggle-password {
    transition: all 0.3s ease;
}

.toggle-password:hover {
    background: rgba(235, 177, 110, 0.1);
    color: var(--corporate-primary) !important;
}

/* Success State for Registration */
.registration-success {
    background: linear-gradient(135deg, rgba(40, 167, 69, 0.1) 0%, rgba(32, 201, 151, 0.1) 100%);
    border: 1px solid rgba(40, 167, 69, 0.2);
    color: #155724;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    animation: successSlideIn 0.5s ease-out;
}

@keyframes successSlideIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Error State Enhancement */
.registration-error {
    background: linear-gradient(135deg, rgba(220, 53, 69, 0.1) 0%, rgba(217, 83, 79, 0.1) 100%);
    border: 1px solid rgba(220, 53, 69, 0.2);
    color: #721c24;
    padding: 1rem;
    border-radius: 6px;
    margin-bottom: 1rem;
    animation: errorSlideIn 0.5s ease-out;
}

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

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   MIGRATED INLINE STYLES - JEMINA PLATFORM
   Migrated from various view files for better organization
   ======================================== */

/* === PROPERTY DETAILS PAGE STYLES === */
.property-image-container {
    height: 500px;
    object-fit: cover;
    border-radius: 0.35rem 0.35rem 0 0;
}

.property-image-placeholder {
    height: 500px;
    border-radius: 0.35rem 0.35rem 0 0;
}

.property-map-container {
    height: 300px;
    background-color: #f8f9fa;
}

/* === FAQ PAGE STYLES === */
.faq-accordion-item {
    background: white;
}

.faq-empty-state {
    background: white;
}

.faq-card {
    border: none;
    border-radius: 0;
    margin-bottom: 15px;
}

.faq-card-header {
    background-color: #f8f9fa;
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    padding: 15px 20px;
}

.faq-card-header button {
    width: 100%;
    padding: 0;
    font-weight: 500;
    color: #333;
}

.faq-card-header button:hover {
    color: #007bff;
    text-decoration: none;
}

.faq-card-header button::after {
    float: right;
    content: '+';
    font-weight: bold;
}

.faq-card-header button[aria-expanded="true"]::after {
    content: '-';
}

.faq-card-body {
    padding: 20px;
    font-size: 15px;
    line-height: 1.6;
}

/* === CONTACT PAGE STYLES === */
.contact-iframe {
    border: 0;
}

/* === POLICY PAGES STYLES (Cookie Policy & Vendor Agreement) === */
.content-section {
    line-height: 1.7;
}

.content-section h2 {
    border-bottom: 2px solid #e9ecef;
    padding-bottom: 0.5rem;
}

.policy-bg-light {
    background-color: #f8f9fa !important;
}

.policy-rounded {
    border-radius: 0.375rem !important;
}

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

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

/* === SHOP PAGE STYLES === */
.vendor-hero-banner {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 400px;
    border-radius: 5px;
    /* Removed overflow: hidden to prevent interference with product carousel */
    position: relative;
    z-index: 1;
}

/* CRITICAL: Ensure product carousel displays full product cards in shop page */
.shop-page .product-carousel {
    overflow: visible !important;
    position: relative !important;
    z-index: 10 !important;
}

.shop-page .owl-carousel {
    overflow: visible !important;
}

.shop-page .owl-stage-outer {
    overflow: visible !important;
    padding: 20px 0 !important;
}

.shop-page .owl-item {
    overflow: visible !important;
}

.vendor-banner-overlay {
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0.7) 100%);
}

.vendor-description-text {
    max-width: 600px;
    line-height: 1.6;
}

.vendor-service-badge {
    font-size: 0.9rem;
}

.corporate-section-header {
    color: #3D464D;
    font-size: 2.2rem;
}

.corporate-section-title {
    font-size: 2.2rem;
}

.corporate-section-subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.corporate-accent-line {
    width: 150px;
    height: 4px;
    background: linear-gradient(90deg, #ebb16e 0%, #e59941 50%, #ebb16e 100%);
    border-radius: 2px;
}

.corporate-carousel-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(235, 177, 110, 0.1);
}

.corporate-empty-state {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 60px 20px;
    box-shadow: 0 4px 20px rgba(235, 177, 110, 0.1);
}

.btn-premium-accent {
    background: linear-gradient(135deg, #ebb16e 0%, #e59941 100%);
    border-radius: 5px;
}

.vendor-card-container {
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(235, 177, 110, 0.15);
    border: none;
}

.vendor-card-header {
    border: none;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
}

.vendor-nav-link {
    background: rgba(235, 177, 110, 0.1);
    color: var(--primary);
    border: none;
    border-radius: 8px 8px 0 0;
    padding: 12px 20px;
    margin-right: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.vendor-nav-link:hover {
    background: rgba(235, 177, 110, 0.2);
    color: var(--primary);
    transform: translateY(-1px);
}

.vendor-nav-link.active {
    background: var(--primary);
    color: #6c757d !important;
    border: 2px solid var(--primary);
    box-shadow: 0 2px 10px rgba(235, 177, 110, 0.3);
}

.vendor-nav-link.active i {
    color: #6c757d !important;
}

.vendor-nav-link.vendor-tab:hover {
    background-color: rgba(235, 177, 110, 0.2);
    color: var(--primary);
}

.vendor-nav-link.vendor-tab.active {
    background: var(--primary);
    color: #6c757d !important;
    box-shadow: 0 2px 10px rgba(235, 177, 110, 0.3);
}

.vendor-nav-link.vendor-tab.active i {
    color: #6c757d !important;
}

.vendor-nav-link i {
    color: var(--primary);
    transition: color 0.3s ease;
}

.vendor-tab-content {
    background: white;
    min-height: 400px;
}

.vendor-dashboard-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.vendor-dashboard-header:hover {
    box-shadow: 0 8px 25px rgba(235, 177, 110, 0.2);
}

/* Responsive design for vendor tabs */
@media (max-width: 768px) {
    .vendor-nav-link {
        padding: 10px 15px;
        font-size: 0.9rem;
    }

    .vendor-card-header .nav-tabs {
        flex-wrap: wrap;
    }

    .vendor-nav-link {
        margin-right: 4px;
        margin-bottom: 4px;
    }
}

/* === SEARCH RESULTS PAGE STYLES === */
.search-vendor-card {
    transition: transform 0.3s ease;
}

.search-vendor-card:hover {
    transform: translateY(-5px);
}

.search-vendor-logo-container {
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #f8f9fa;
}

.search-vendor-logo-container img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

/* ========================================
   END OF MIGRATED INLINE STYLES
   ======================================== */

/* ========================================
   ADMIN USER DETAILS MODAL STYLES
   Professional admin user details modal styling
   ======================================== */

.user-details-container {
    font-family: 'Roboto', sans-serif;
}

.user-profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.user-avatar-large img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.info-item {
    margin-bottom: 1rem;
}

.info-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 0.95rem;
    color: #212529;
    font-weight: 500;
}

.status-indicator.active {
    color: #28a745;
}

.status-indicator.inactive {
    color: #ffc107;
}

.status-indicator.suspended {
    color: #dc3545;
}

.stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1) !important;
}

.stat-number {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-badges .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.text-purple {
    color: #6f42c1 !important;
}

.border-end {
    border-right: 1px solid #dee2e6 !important;
}

.border-top {
    border-top: 1px solid #dee2e6 !important;
}

/* ========================================
   END OF MIGRATED INLINE STYLES
   ======================================== */

/* ========================================
   ADMIN USER DETAILS MODAL STYLES
   Professional admin user details modal styling
   ======================================== */

.user-details-container {
    font-family: 'Roboto', sans-serif;
}

.user-profile-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.user-avatar-large img {
    width: 100px;
    height: 100px;
    object-fit: cover;
}

.section-title {
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--gray)
}

.info-item {
    margin-bottom: 1rem;
}

.info-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.info-value {
    font-size: 0.95rem;
    color: #212529;
    font-weight: 500;
}

.status-indicator.active {
    color: #28a745;
}

.status-indicator.inactive {
    color: #ffc107;
}

.status-indicator.suspended {
    color: #dc3545;
}

.stat-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.1) !important;
}

.stat-number {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-badges .badge {
    font-size: 0.75rem;
    padding: 0.375rem 0.75rem;
}

.bg-gradient-primary {
    background: linear-gradient(135deg, #1e3c72, #2a5298) !important;
}

.text-purple {
    color: #6f42c1 !important;
}

.border-end {
    border-right: 1px solid #dee2e6 !important;
}

.border-top {
    border-top: 1px solid #dee2e6 !important;
}

/* ========================================
   ENTERPRISE VENDOR MODAL STYLES
   Migrated from admin/vendor/inc/show_vendor_details.blade.php
   Professional enterprise-grade vendor details modal styling
   ======================================== */



.vendor-details-modal-enterprise {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* Enterprise Header */
.enterprise-header {
    background: var(--enterprise-gradient);
    color: white;
    position: relative;
    overflow: hidden;
    padding: 2.5rem;
}

.enterprise-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="1" fill="white" opacity="0.1"/><circle cx="10" cy="60" r="1" fill="white" opacity="0.1"/><circle cx="90" cy="40" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
}

.enterprise-header-content {
    position: relative;
    z-index: 2;
}

/* Enterprise Avatar */
.enterprise-avatar {
    position: relative;
}

.avatar-frame {
    position: relative;
    width: 90px;
    height: 90px;
}

.vendor-logo-primary {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
    box-shadow: var(--enterprise-shadow-lg);
}

.status-ring {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.status-ring.status-active {
    background-color: var(--enterprise-success);
    animation: pulse 2s infinite;
}

.status-ring.status-inactive {
    background-color: var(--enterprise-secondary);
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

/* Enterprise Status Dashboard */
.enterprise-status-dashboard {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.status-indicators {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.status-badge {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.status-badge i {
    font-size: 1rem;
    margin-right: 0.5rem;
}

.enterprise-featured {
    background: rgba(255, 193, 7, 0.9);
    color: #92400e;
}

.enterprise-active {
    background: rgba(5, 150, 105, 0.9);
    color: white;
}

.enterprise-inactive {
    background: rgba(217, 119, 6, 0.9);
    color: white;
}

/* Enterprise Info Section */
.enterprise-info-section {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 2rem;
}

.vendor-title-block {
    flex: 1;
    min-width: 300px;
}

.enterprise-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.vendor-meta-block {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
}

.meta-item i {
    margin-right: 0.5rem;
    font-size: 1rem;
    opacity: 0.8;
}

/* Enterprise Actions */
.enterprise-actions {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.enterprise-btn-primary,
.enterprise-btn-secondary,
.enterprise-btn-tertiary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    border: none;
    transition: all 0.2s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.enterprise-btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.enterprise-btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.enterprise-btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.enterprise-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.enterprise-btn-tertiary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.enterprise-btn-tertiary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

/* Enterprise Body */
.enterprise-body {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    padding: 2rem;
}

.enterprise-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

/* Enterprise Panels */
.enterprise-panel {
    background: white;
    border-radius: 16px;
    box-shadow: var(--enterprise-shadow);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.enterprise-panel:hover {
    transform: translateY(-2px);
    box-shadow: var(--enterprise-shadow-lg);
}

.panel-header-enterprise {
    display: flex;
    align-items: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-bottom: 1px solid #e2e8f0;
}

.panel-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--enterprise-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.panel-icon i {
    font-size: 1.5rem;
    color: white;
}

.panel-title-section {
    flex: 1;
}

.panel-title-enterprise {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.panel-subtitle {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.panel-content-enterprise {
    padding: 1.5rem;
}

/* Enterprise Info Grid */
.info-grid-enterprise {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.info-card-enterprise {
    display: flex;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.info-card-enterprise:hover {
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    border-color: var(--enterprise-primary);
}

.info-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--enterprise-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.info-icon i {
    font-size: 1.25rem;
    color: white;
}

.info-content {
    flex: 1;
}

.info-label-enterprise {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--enterprise-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
    display: block;
}

.info-value-enterprise {
    font-size: 1rem;
    font-weight: 500;
    color: #1e293b;
}

.email-field {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    background: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    border: 1px solid #e2e8f0;
}

.enterprise-id-badge {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    padding: 0.25rem 0.5rem;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--enterprise-primary);
}

.status-indicator-enterprise {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.875rem;
    font-weight: 500;
}

.status-indicator-enterprise.active {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: var(--enterprise-success);
}

.status-indicator-enterprise.inactive {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
    color: var(--enterprise-warning);
}

.status-indicator-enterprise.featured {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: var(--enterprise-warning);
}

.status-indicator-enterprise.regular {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    color: var(--enterprise-secondary);
}

/* Enterprise Footer */
.enterprise-footer {
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 2rem;
}

.enterprise-analytics {
    max-width: 100%;
}

.analytics-header {
    text-align: center;
    margin-bottom: 2rem;
}

.analytics-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.analytics-title i {
    color: var(--enterprise-primary);
    margin-right: 0.5rem;
}

.analytics-subtitle {
    color: var(--enterprise-secondary);
    font-size: 0.875rem;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.analytics-card {
    background: white;
    border-radius: 5px;
    padding: 0.95rem;
    display: flex;
    align-items: center;
    box-shadow: var(--enterprise-shadow);
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    position: relative;
    overflow: hidden;
}

.analytics-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--enterprise-primary);
}

.analytics-card.featured::before {
    background: var(--enterprise-warning);
}

.analytics-card.new::before {
    background: var(--enterprise-success);
}

.analytics-card.refurbished::before {
    background: var(--enterprise-info);
}

.analytics-card.services::before {
    background: var(--enterprise-purple);
}

.analytics-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--enterprise-shadow-lg);
}

.analytics-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.analytics-icon i {
    font-size: 1.5rem;
    color: var(--enterprise-primary);
}

.analytics-card.featured .analytics-icon i {
    color: var(--enterprise-warning);
}

.analytics-card.new .analytics-icon i {
    color: var(--enterprise-success);
}

.analytics-card.refurbished .analytics-icon i {
    color: var(--enterprise-info);
}

.analytics-card.services .analytics-icon i {
    color: var(--enterprise-purple);
}

.analytics-content {
    flex: 1;
}

.analytics-number {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.analytics-label {
    font-size: 0.875rem;
    color: var(--enterprise-secondary);
    font-weight: 500;
    margin-top: 0.25rem;
}

/* Enterprise Summary */
.enterprise-summary {
    display: flex;
    justify-content: center;
}

.summary-card {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    align-items: center;
    box-shadow: var(--enterprise-shadow);
    border: 1px solid var(--enterprise-primary);
    max-width: 400px;
    width: 100%;
}

.summary-icon {
    width: 60px;
    height: 60px;
    border-radius: 15px;
    background: var(--enterprise-success);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
}

.summary-icon i {
    font-size: 2rem;
    color: white;
}

.summary-content {
    flex: 1;
}

.summary-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--enterprise-secondary);
    margin-bottom: 0.25rem;
}

.summary-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--enterprise-primary);
    line-height: 1;
    margin-bottom: 0.25rem;
}

.summary-description {
    font-size: 0.875rem;
    color: var(--enterprise-secondary);
}

/* Performance Chart Section */
.performance-chart-section {
    background: white;
    border-radius: 16px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    box-shadow: var(--enterprise-shadow);
    border: 1px solid #e2e8f0;
}

.chart-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.chart-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.chart-title i {
    color: var(--enterprise-primary);
    font-size: 1.5rem;
}

.chart-subtitle {
    font-size: 0.875rem;
    color: var(--enterprise-secondary);
    margin: 0;
}

.chart-container {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 1rem;
    border: 1px solid #e2e8f0;
}

/* Business Card Section */
.enterprise-business-card-section {
    background: white;
    border-top: 1px solid #e2e8f0;
    padding: 2rem;
}

.business-card-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.business-card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--enterprise-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.business-card-icon i {
    font-size: 1.5rem;
    color: white;
}

.business-card-title-section {
    flex: 1;
}

.business-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.business-card-subtitle {
    font-size: 0.875rem;
    color: var(--enterprise-secondary);
    margin: 0;
}

.business-card-content {
    width: 100%;
}

.business-card-layout {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

/* Business Card Logo */
.business-logo-section {
    text-align: center;
    margin-bottom: 1rem;
}

.logo-container {
    position: relative;
    display: inline-block;
}

.business-logo {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    object-fit: cover;
    border: 3px solid #e2e8f0;
    box-shadow: var(--enterprise-shadow);
}

.logo-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.logo-container:hover .logo-overlay {
    opacity: 1;
}

.logo-overlay i {
    font-size: 1.25rem;
    color: white;
}

.logo-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--enterprise-secondary);
    margin-top: 0.5rem;
}

/* Business Card Details */
.business-details-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    width: 100%;
}

.business-description {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.business-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--enterprise-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.business-label i {
    font-size: 1rem;
    color: var(--enterprise-primary);
}

.business-text {
    font-size: 1rem;
    color: #1e293b;
    line-height: 1.6;
}

.services-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.services-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.service-tag {
    background: var(--enterprise-primary);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.contact-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    width: 100%;
}

.contact-item i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.contact-item span {
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
    flex: 1;
}

.social-links-section {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
}

.social-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    text-decoration: none;
    color: #1e293b;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.social-link:hover {
    background: var(--enterprise-primary);
    color: white;
    border-color: var(--enterprise-primary);
    transform: translateY(-1px);
}

.social-link i {
    font-size: 1rem;
}

.featured-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-radius: 12px;
    border: 1px solid var(--enterprise-warning);
    color: var(--enterprise-warning);
    font-weight: 600;
    font-size: 0.875rem;
}

.featured-badge i {
    font-size: 1.25rem;
}

/* Business Card Banner */
.business-banner-section {
    grid-column: 1 / -1;
    margin-top: 1.5rem;
}

.banner-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--enterprise-shadow);
}

.business-banner {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.banner-container:hover .banner-overlay {
    opacity: 1;
}

.banner-info {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
    font-weight: 500;
}

/* No Business Card State */
.enterprise-no-business-card {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    text-align: center;
    border: 2px dashed #cbd5e1;
    margin: 1rem 0;
}

.no-card-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.no-card-icon i {
    font-size: 2.5rem;
    color: var(--enterprise-secondary);
}

.no-card-content {
    max-width: 400px;
    margin: 0 auto;
}

.no-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.no-card-text {
    color: var(--enterprise-secondary);
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .enterprise-content-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .enterprise-header {
        padding: 2rem 1.5rem;
    }

    .enterprise-title {
        font-size: 1.5rem;
    }

    .enterprise-info-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .enterprise-actions {
        width: 100%;
        justify-content: center;
    }

    .enterprise-body {
        padding: 1.5rem;
    }

    .enterprise-footer {
        padding: 1.5rem;
    }

    .analytics-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .analytics-card {
        padding: 1rem;
    }

    .summary-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
    }

    .summary-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

@media (max-width: 480px) {
    .analytics-grid {
        grid-template-columns: 1fr;
    }

    .enterprise-actions {
        flex-direction: column;
    }

    .business-card-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .business-logo-section {
        order: -1;
    }
}


/* ===================================
   GLOBAL SWEETALERT STYLES
   Using corporate colors from frontend theme
   =================================== */
.swal2-popup {
    font-family: 'Roboto', sans-serif !important;
    border-radius: 5px !important;
    box-shadow: 0 15px 40px rgba(235, 177, 110, 0.3) !important;
    border: 2px solid #ebb16e !important;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%) !important;
}

.swal2-title {
    color: #3D464D !important;
    font-weight: 700 !important;
    font-size: 1.5rem !important;
    margin-bottom: 1rem !important;
}

.swal2-html-container {
    color: #6C757D !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
}

.swal2-confirm {
    background-color: #ebb16e !important;
    border-color: #ebb16e !important;
    color: #3D464D !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    padding: 10px 25px !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(235, 177, 110, 0.4) !important;
}

.swal2-confirm:hover {
    background-color: #e59941 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(235, 177, 110, 0.5) !important;
}

.swal2-cancel {
    background-color: #F5F5F5 !important;
    border-color: #F5F5F5 !important;
    color: #6C757D !important;
    font-weight: 600 !important;
    border-radius: 5px !important;
    padding: 10px 25px !important;
    transition: all 0.3s ease !important;
}

.swal2-cancel:hover {
    background-color: #e2e2e2 !important;
    transform: translateY(-2px) !important;
}

.swal2-progress-bar {
    background: linear-gradient(90deg, #ebb16e 0%, #e59941 100%) !important;
    height: 4px !important;
}

.swal2-icon-success .swal2-success-ring {
    border-color: #ebb16e !important;
}

.swal2-icon-success .swal2-success-line-tip,
.swal2-icon-success .swal2-success-line-long {
    background-color: #ebb16e !important;
}

.swal2-icon-error .swal2-x-mark-line-left,
.swal2-icon-error .swal2-x-mark-line-right {
    background-color: #dc3545 !important;
}

.swal2-icon-warning {
    color: #ffc107 !important;
    border-color: #ffc107 !important;
}

.swal2-icon-info {
    color: #17a2b8 !important;
    border-color: #17a2b8 !important;
}

/* Enhanced animations */
@keyframes corporatePulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.swal2-popup.swal2-show {
    animation: corporatePulse 0.6s ease-out !important;
}

@keyframes corporateBounce {

    0%,
    20%,
    53%,
    80%,
    100% {
        transform: translateY(0);
    }

    40%,
    43% {
        transform: translateY(-10px);
    }

    70% {
        transform: translateY(-5px);
    }

    90% {
        transform: translateY(-2px);
    }
}

.swal2-confirm:hover {
    animation: corporateBounce 0.6s ease !important;
}

/* Success animation enhancement */
@keyframes successPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.swal2-icon-success {
    animation: successPop 0.8s ease-out 0.2s both !important;
}

/* Corporate branding */
.swal2-popup::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    height: 4px;
    background: linear-gradient(90deg, #ebb16e 0%, #e59941 50%, #ebb16e 100%) !important;
    border-radius: 5px 15px 0 0 !important;
}

/* Jemina branding in footer */
.swal2-popup .swal2-footer {
    border-top: 1px solid #dee2e6 !important;
    margin-top: 1rem !important;
    padding-top: 1rem !important;
    font-size: 0.875rem !important;
    color: #6c757d !important;
}

.swal2-popup .swal2-footer::before {
    content: 'Jemina - Professional Business Solutions' !important;
    font-weight: 600 !important;
    color: #ebb16e !important;
}

/* Cart Count Pulse Animation */
@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 0.6s ease-in-out;
}

/* Enhanced popup styling with corporate theme */
.swal2-container {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    z-index: 10000 !important;
    pointer-events: auto !important;
    overflow-y: auto !important;
}

.swal2-popup.corporate-swal {
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25) !important;
    background: var(--swal2-popup-background, #fff) !important;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif !important;
    max-width: 550px !important;
    margin: auto !important;
    border: 1px solid var(--corporate-border, #e2e8f0) !important;
    pointer-events: auto !important;
    position: relative !important;
}

/* ===================================
   ADD TO CART MODAL STYLES
   =================================== */

.cart-modal-content {
    border-radius: 12px;
    overflow: hidden;
    border: none;
}

.cart-modal-image {
    background-color: #f8f9fa;
    min-height: 350px;
    border-right: 1px solid #e9ecef;
}

.cart-modal-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.quantity-control-group .btn {
    border-color: #ced4da;
    color: #6c757d;
}

.quantity-control-group .btn:hover {
    background-color: #e9ecef;
    color: #495057;
}

.quantity-control-group .form-control {
    border-color: #ced4da;
    font-size: 1.1rem;
}

/* Ensure modal is vertically centered */
.modal-dialog-centered {
    display: flex;
    align-items: center;
    min-height: calc(100% - 1rem);
}

@media (max-width: 767.98px) {
    .cart-modal-image {
        min-height: 250px;
        border-right: none;
        border-bottom: 1px solid #e9ecef;
    }
}

/* Enhanced title styling */
.swal2-title.corporate-swal {
    color: var(--swal2-title-color, #3D464D) !important;
    font-weight: 600 !important;
    font-size: 1.5rem !important;
    line-height: 1.4 !important;
    margin-bottom: 1.5rem !important;
    text-align: center !important;
    padding: 0.5rem 0 !important;
}

/* Enhanced content styling */
.swal2-html-container.corporate-swal {
    color: var(--swal2-content-color, #2d3748) !important;
    font-size: 1.1rem !important;
    line-height: 1.6 !important;
    margin: 1.5rem 0 !important;
    text-align: center !important;
    font-weight: 400 !important;
    letter-spacing: 0.025em !important;
}

/* Enhanced alert message text styling */
.swal2-html-container.corporate-swal p {
    margin-bottom: 1rem !important;
    color: var(--swal2-content-color, #2d3748) !important;
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
}

.swal2-html-container.corporate-swal p:last-child {
    margin-bottom: 0 !important;
}

/* Highlight important text in messages */
.swal2-html-container.corporate-swal .message-highlight {
    font-weight: 600 !important;
    color: var(--corporate-primary, #ebb16e) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--corporate-primary, #ebb16e) !important;
    text-decoration-thickness: 2px !important;
    text-underline-offset: 3px !important;
}

/* Warning message styling */
.swal2-html-container.corporate-swal .warning-message {
    color: #dc3545 !important;
    font-weight: 500 !important;
    background: rgba(220, 53, 69, 0.05) !important;
    padding: 0.75rem !important;
    border-radius: 6px !important;
    border-left: 4px solid #dc3545 !important;
    margin: 1rem 0 !important;
}

/* Success message styling */
.swal2-html-container.corporate-swal .success-message {
    color: #28a745 !important;
    font-weight: 500 !important;
    background: rgba(40, 167, 69, 0.05) !important;
    padding: 0.75rem !important;
    border-radius: 6px !important;
    border-left: 4px solid #28a745 !important;
    margin: 1rem 0 !important;
}

/* Info message styling */
.swal2-html-container.corporate-swal .info-message {
    color: #17a2b8 !important;
    font-weight: 500 !important;
    background: rgba(23, 162, 184, 0.05) !important;
    padding: 0.75rem !important;
    border-radius: 6px !important;
    border-left: 4px solid #17a2b8 !important;
    margin: 1rem 0 !important;
}

/* Enhanced list styling within messages */
.swal2-html-container.corporate-swal ul,
.swal2-html-container.corporate-swal ol {
    text-align: left !important;
    margin: 1rem 0 !important;
    padding-left: 1.5rem !important;
}

.swal2-html-container.corporate-swal li {
    margin-bottom: 0.5rem !important;
    color: var(--swal2-content-color, #2d3748) !important;
    line-height: 1.5 !important;
}

.swal2-html-container.corporate-swal li:last-child {
    margin-bottom: 0 !important;
}

/* Enhanced link styling within messages */
.swal2-html-container.corporate-swal a {
    color: var(--corporate-primary, #ebb16e) !important;
    text-decoration: underline !important;
    text-decoration-color: var(--corporate-primary, #ebb16e) !important;
    text-underline-offset: 2px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
}

.swal2-html-container.corporate-swal a:hover {
    color: var(--corporate-accent-dark, #e59941) !important;
    text-decoration-color: var(--corporate-accent-dark, #e59941) !important;
}

/* Enhanced code styling within messages */
.swal2-html-container.corporate-swal code {
    background: rgba(108, 117, 125, 0.1) !important;
    color: #495057 !important;
    padding: 0.25rem 0.5rem !important;
    border-radius: 4px !important;
    font-size: 0.9rem !important;
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace !important;
}

/* Enhanced strong/bold text styling */
.swal2-html-container.corporate-swal strong,
.swal2-html-container.corporate-swal b {
    font-weight: 700 !important;
    color: var(--swal2-content-color, #1a202c) !important;
}

/* Enhanced emphasis/italic styling */
.swal2-html-container.corporate-swal em,
.swal2-html-container.corporate-swal i {
    font-style: italic !important;
    color: var(--corporate-secondary, #b89912) !important;
}

/* Message container with better spacing */
.swal2-html-container.corporate-swal .message-content {
    padding: 1rem !important;
    background: rgba(248, 249, 250, 0.5) !important;
    border-radius: 8px !important;
    border: 1px solid var(--corporate-border, #e2e8f0) !important;
}

/* Responsive message text sizing */
@media (max-width: 576px) {
    .swal2-html-container.corporate-swal {
        font-size: 1rem !important;
        line-height: 1.5 !important;
    }

    .swal2-html-container.corporate-swal p {
        font-size: 0.95rem !important;
    }
}

/* Enhanced icon styling - using corporate colors */
.swal2-icon.corporate-swal {
    border: 3px solid transparent !important;
    border-radius: 50% !important;
    margin: 1.5rem auto !important;
    width: 80px !important;
    height: 80px !important;
    position: relative !important;
    animation: popIn 0.6s ease-out !important;
}

/* Corporate icon colors with proper color coding */
.swal2-icon.swal2-question.corporate-swal {
    border-color: var(--corporate-primary, #ebb16e) !important;
    color: var(--corporate-primary, #ebb16e) !important;
}

.swal2-icon.swal2-warning.corporate-swal {
    border-color: #fd7e14 !important;
    color: #fd7e14 !important;
}

.swal2-icon.swal2-error.corporate-swal {
    border-color: #dc3545 !important;
    color: #dc3545 !important;
}

.swal2-icon.swal2-success.corporate-swal {
    border-color: #28a745 !important;
    color: #28a745 !important;
}

.swal2-icon.swal2-info.corporate-swal {
    border-color: #17a2b8 !important;
    color: #17a2b8 !important;
}

/* Enhanced button styling - GREEN for confirm/continue actions */
.swal2-confirm.corporate-swal {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%) !important;
    border: none !important;
    border-radius: 8px !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    padding: 0.75rem 2rem !important;
    margin: 0.25rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
}

/* Enhanced hover states with green colors */
.swal2-confirm.corporate-swal:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

.swal2-confirm.corporate-swal:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(40, 167, 69, 0.3) !important;
}

/* Cancel button styling - RED for cancel/destructive actions */
.swal2-cancel.corporate-swal {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    border: 2px solid #dc3545 !important;
    border-radius: 8px !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    padding: 0.75rem 2rem !important;
    margin: 0.25rem !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3) !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
}

.swal2-cancel.corporate-swal:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%) !important;
    border-color: #c82333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4) !important;
}

.swal2-cancel.corporate-swal:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(220, 53, 69, 0.3) !important;
}

/* Danger button styling */
.swal2-confirm.swal2-deny.corporate-swal {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3) !important;
}

.swal2-confirm.swal2-deny.corporate-swal:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%) !important;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4) !important;
}

/* Success button styling */
.swal2-confirm.btn-success.corporate-swal,
.swal2-confirm.swal2-styled.swal2-confirm.swal2-success {
    background: linear-gradient(135deg, #28a745 0%, #218838 100%) !important;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3) !important;
}

.swal2-confirm.btn-success.corporate-swal:hover,
.swal2-confirm.swal2-styled.swal2-confirm.swal2-success:hover {
    background: linear-gradient(135deg, #218838 0%, #1e7e34 100%) !important;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4) !important;
}

/* Enhanced animations */
@keyframes popIn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes slideInDown {
    0% {
        transform: translate3d(0, -100%, 0);
        visibility: visible;
    }

    100% {
        transform: translate3d(0, 0, 0);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translate3d(0, 30px, 0);
    }

    100% {
        opacity: 1;
        transform: none;
    }
}

/* Progress bar styling for loading dialogs - corporate colors */
.swal2-progress-steps .swal2-progress-step {
    background: var(--corporate-primary, #ebb16e) !important;
    border: 2px solid var(--swal2-popup-background, #fff) !important;
}

.swal2-progress-steps .swal2-progress-step-line {
    background: var(--corporate-border, #e2e8f0) !important;
}

/* Enhanced progress bar for loading states - corporate gradient */
.progress-bar {
    background: linear-gradient(90deg, var(--corporate-primary, #ebb16e) 0%, var(--corporate-accent-dark, #e59941) 100%) !important;
    border-radius: 3px !important;
    transition: width 0.3s ease !important;
}

/* Enhanced backdrop styling */
.swal2-backdrop-show {
    background: rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(3px) !important;
}

/* Enhanced validation message styling */
.swal2-validation-message {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%) !important;
    border: 1px solid #ffeaa7 !important;
    border-radius: 8px !important;
    color: #856404 !important;
    font-weight: 500 !important;
}

/* Enhanced input styling - corporate focus colors */
.swal2-input {
    border: 2px solid var(--corporate-border, #e2e8f0) !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    transition: border-color 0.3s ease !important;
}

.swal2-input:focus {
    border-color: var(--corporate-primary, #ebb16e) !important;
    box-shadow: 0 0 0 3px rgba(235, 177, 110, 0.1) !important;
    outline: none !important;
}

/* Enhanced textarea styling */
.swal2-textarea {
    border: 2px solid var(--corporate-border, #e2e8f0) !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    transition: border-color 0.3s ease !important;
}

.swal2-textarea:focus {
    border-color: var(--corporate-primary, #ebb16e) !important;
    box-shadow: 0 0 0 3px rgba(235, 177, 110, 0.1) !important;
    outline: none !important;
}

/* Enhanced select styling */
.swal2-select {
    border: 2px solid var(--corporate-border, #e2e8f0) !important;
    border-radius: 8px !important;
    padding: 0.75rem 1rem !important;
    font-size: 1rem !important;
    transition: border-color 0.3s ease !important;
}

.swal2-select:focus {
    border-color: var(--corporate-primary, #ebb16e) !important;
    box-shadow: 0 0 0 3px rgba(235, 177, 110, 0.1) !important;
    outline: none !important;
}

/* Enhanced range styling - corporate colors */
.swal2-range input {
    background: transparent !important;
}

.swal2-range input::-webkit-slider-thumb {
    background: var(--corporate-primary, #ebb16e) !important;
    border: 2px solid var(--swal2-popup-background, #fff) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

.swal2-range input::-moz-range-thumb {
    background: var(--corporate-primary, #ebb16e) !important;
    border: 2px solid var(--swal2-popup-background, #fff) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Enhanced checkbox styling - corporate colors */
.swal2-checkbox {
    margin: 1em 2em 0 !important;
}

.swal2-checkbox input[type="checkbox"] {
    width: 1.25em !important;
    height: 1.25em !important;
    border: 2px solid var(--corporate-border, #e2e8f0) !important;
    border-radius: 4px !important;
    margin-right: 0.5rem !important;
}

.swal2-checkbox input[type="checkbox"]:checked {
    background: var(--corporate-primary, #ebb16e) !important;
    border-color: var(--corporate-primary, #ebb16e) !important;
}

/* Enhanced radio button styling - corporate colors */
.swal2-radio {
    margin: 1em 2em 0 !important;
}

.swal2-radio label {
    margin-right: 2rem !important;
    font-weight: 500 !important;
}

.swal2-radio input[type="radio"] {
    width: 1.25em !important;
    height: 1.25em !important;
    border: 2px solid var(--corporate-border, #e2e8f0) !important;
    margin-right: 0.5rem !important;
}

.swal2-radio input[type="radio"]:checked {
    background: var(--corporate-primary, #ebb16e) !important;
    border-color: var(--corporate-primary, #ebb16e) !important;
}

/* Enhanced file input styling - corporate hover effects */
.swal2-file {
    border: 2px dashed var(--corporate-border, #e2e8f0) !important;
    border-radius: 8px !important;
    padding: 2rem !important;
    text-align: center !important;
    transition: all 0.3s ease !important;
}

.swal2-file:hover {
    border-color: var(--corporate-primary, #ebb16e) !important;
    background: rgba(235, 177, 110, 0.05) !important;
}

/* Loading spinner enhancement - corporate colors */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--corporate-border, #e2e8f0);
    border-radius: 50%;
    border-top-color: var(--corporate-primary, #ebb16e);
    animation: spin 1s ease-in-out infinite;
}

/* Toast Notification Styles - Corporate Theme */
.custom-swal-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    width: 360px;
    max-width: 90%;
    pointer-events: none;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

/* Remove backdrop from all SweetAlert2 containers */
.swal2-container.swal2-backdrop-show,
.swal2-container.swal2-noanimation,
.swal2-container.swal2-shown {
    background: transparent !important;
    pointer-events: none;
}

/* Force center positioning for regular SweetAlert popups */
.swal2-popup:not(.swal2-toast) {
    position: fixed !important;
    left: 50% !important;
    top: 50% !important;
    transform: translate(-50%, -50%) !important;
}

/* Base toast styles */
.swal2-toast {
    position: relative !important;
    display: flex !important;
    align-items: flex-start;
    width: 100% !important;
    min-height: 120px;
    margin: 0 0 1rem 0 !important;
    padding: 1rem 1.5rem 1rem 1.25rem !important;
    background: var(--white) !important;
    border: none !important;
    border-left: 4px solid var(--corporate-primary) !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12) !important;
    opacity: 0.98;
    transition: all 0.3s ease;
    overflow: hidden;
    font-size: 1.5rem;
    font-weight: 600;
}

/* Toast content container */
.swal2-toast .swal2-html-container {
    margin: 0 !important;
    padding: 0 !important;
    color: var(--dark) !important;
    font-size: 0.9375rem !important;
    line-height: 1.5;
    text-align: left;
    width: 100%;
}

/* Toast title */
.swal2-toast .swal2-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin: 0 0 0.25rem 0 !important;
    padding: 0 !important;
    color: var(--dark) !important;
    font-size: 1rem !important;
    font-weight: 600 !important;
    line-height: 1.4;
}

/* Toast icon */
.swal2-toast .swal2-icon {
    width: 24px !important;
    height: 24px !important;
    margin: 0 !important;
    border: none !important;
    background: none !important;
    color: inherit !important;
    flex-shrink: 0;
}

/* Close button */
.swal2-toast .swal2-close {
    position: absolute !important;
    top: 0.75rem !important;
    right: 0.75rem !important;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray) !important;
    opacity: 0.6;
    transition: all 0.2s ease;
    font-size: 1.25rem !important;
    font-weight: 400 !important;
    line-height: 1;
    padding: 0 !important;
    margin: 0 !important;
    background: none !important;
    border: none !important;
    border-radius: 4px;
}

.swal2-toast .swal2-close:hover {
    color: var(--dark) !important;
    opacity: 1;
    background: rgba(0, 0, 0, 0.05) !important;
}

/* Progress bar */
.swal2-toast .swal2-timer-progress-bar {
    height: 3px !important;
    background: var(--corporate-primary) !important;
    opacity: 0.4;
    border-radius: 0 0 0 4px;
}

/* Toast Types */
.swal2-toast.swal2-icon-success {
    border-left-color: var(--success) !important;
}

.swal2-toast.swal2-icon-success .swal2-title::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--success);
}

.swal2-toast.swal2-icon-error {
    border-left-color: var(--danger) !important;
}

.swal2-toast.swal2-icon-error .swal2-title::before {
    content: '\f06a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--danger);
}

.swal2-toast.swal2-icon-warning {
    border-left-color: var(--warning) !important;
}

.swal2-toast.swal2-icon-warning .swal2-title::before {
    content: '\f12a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--warning);
}

.swal2-toast.swal2-icon-info {
    border-left-color: var(--info) !important;
}

.swal2-toast.swal2-icon-info .swal2-title::before {
    content: '\f05a';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--info);
}

.swal2-toast.swal2-icon-question {
    border-left-color: var(--corporate-accent) !important;
}

.swal2-toast.swal2-icon-question .swal2-title::before {
    content: '\f059';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--corporate-accent);
}

/* Animations */
@keyframes toastSlideIn {
    from {
        transform: translateX(120%) translateY(0);
        opacity: 0;
    }

    to {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

@keyframes toastSlideOut {
    from {
        transform: translateX(0) translateY(0);
        opacity: 1;
        max-height: 200px;
        margin-bottom: 1rem;
    }

    to {
        transform: translateX(120%) translateY(-100%);
        opacity: 0;
        max-height: 0;
        margin-bottom: 0;
        padding-top: 0;
        padding-bottom: 0;
    }
}

/* Apply animations */
.swal2-toast.swal2-show {
    animation: toastSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.swal2-toast.swal2-hide {
    animation: toastSlideOut 0.4s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

/* Hover effects */
.swal2-toast:hover {
    transform: translateX(-4px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15) !important;
    opacity: 1 !important;
}

/* Responsive adjustments */
@media (max-width: 576px) {
    .custom-swal-container {
        width: 90%;
        max-width: 320px;
        right: 1rem;
        left: auto;
    }

    .swal2-toast {
        padding: 1rem !important;
    }

    .swal2-toast .swal2-title {
        font-size: 0.9375rem !important;
    }

    .swal2-toast .swal2-html-container {
        font-size: 0.875rem !important;
    }
}


@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive enhancements */
@media (max-width: 576px) {
    .swal2-popup.corporate-swal {
        margin: 1rem !important;
        max-width: calc(100vw - 2rem) !important;
    }

    .swal2-title.corporate-swal {
        font-size: 1.25rem !important;
    }

    .swal2-confirm.corporate-swal,
    .swal2-cancel.corporate-swal {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .swal2-popup.corporate-swal {
        border: 3px solid #000000 !important;
        background: #ffffff !important;
    }

    .swal2-confirm.corporate-swal {
        background: #000000 !important;
        color: #ffffff !important;
    }

    .swal2-cancel.corporate-swal {
        background: #ffffff !important;
        color: #000000 !important;
        border: 2px solid #000000 !important;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {

    .swal2-popup.corporate-swal,
    .swal2-icon.corporate-swal,
    .swal2-confirm.corporate-swal,
    .swal2-cancel.corporate-swal {
        animation: none !important;
        transition: none !important;
    }
}

/* ============================================= */
/* PROFESSIONAL CORPORATE SIDEBAR REDESIGN */
/* ============================================= */

/* Clean Professional Sidebar Base */
.sidebar {
    background: #ffffff;
    border-right: 1px solid #e9ecef;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.08);
}

/* Navigation Container */
.sidebar .nav {
    padding: 1.5rem 0;
}

/* Navigation Items */
.sidebar .nav-item {
    margin: 0.125rem 0;
}

/* Navigation Links - Clean Corporate Design */
.sidebar .nav-link {
    color: #495057;
    padding: 0.875rem 1.5rem;
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0;
    font-weight: 500;
    font-size: 0.875rem;
    letter-spacing: 0.025em;
    position: relative;
    overflow: hidden;
    border-left: 3px solid transparent;
}

/* Hover Effects */
.sidebar .nav-link:hover {
    background: #f8f9fa;
    color: #1F3BB3;
    transform: translateX(2px);
    box-shadow: 0 2px 8px rgba(31, 59, 179, 0.15);
    border-left-color: #1F3BB3;
}

/* Active State */
.sidebar .nav-link.active {
    background: linear-gradient(135deg, #1F3BB3 0%, #667eea 100%);
    color: #ffffff;
    font-weight: 600;
    border-left-color: #ffffff;
    box-shadow: 0 4px 16px rgba(31, 59, 179, 0.3);
}

/* Animated Icons */
.sidebar .nav-link i {
    font-size: 1.1rem;
    margin-right: 0.875rem;
    width: 20px;
    text-align: center;
    opacity: 0.8;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Hover animations for icons */
.sidebar .nav-link:hover i {
    opacity: 1;
    animation: iconFloat 2s ease-in-out infinite;
}

@keyframes iconFloat {

    0%,
    100% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-2px);
    }
}

/* =========================================
   RESPONSIVE HOME LAYOUT & ADS
   ========================================= */

/* Layout Wrapper */
.home-layout-wrapper {
    display: flex;
    width: 100%;
    max-width: 1820px;
    margin: 0 auto;
    overflow-x: clip;
}

/* Ad Sidebars (Default: Hidden on Mobile) */
.ad-sidebar {
    display: none !important;
    width: 260px;
    flex-shrink: 0;
    padding: 20px 16px;
    background: transparent;
}

/* Main Content Column */
.main-content-column {
    width: 100%;
    flex: 1;
    min-width: 0;
}

/* Sidebar visibility — hidden by default, shown only at 1400px+ (matching Bootstrap lg) */
.sidebar-permanent {
    display: none !important;
}

@media (min-width: 1400px) {
    .sidebar-permanent {
        display: block !important;
    }
}

/* When sidebar is hidden, main content takes full width */
@media (max-width: 1399.98px) {
    .sidebar-permanent+div[class*="col-"] {
        flex: 0 0 100% !important;
        max-width: 100% !important;
    }
}

/* Large Screens (> 1500px) */
@media (min-width: 1500px) {
    .home-layout-wrapper {
        max-width: 1820px;
        margin: 0 auto;
        background-color: #f4f6f9;
    }

    .ad-sidebar {
        display: flex !important;
        flex-direction: column;
        position: sticky;
        top: 80px;
        height: calc(100vh - 80px);
        overflow-y: auto;
        overscroll-behavior: contain;
        scrollbar-width: thin;
    }

    .left-sidebar {
        border-right: 1px solid rgba(0, 0, 0, 0.04);
        order: 1;
    }

    .right-sidebar {
        border-left: 1px solid rgba(0, 0, 0, 0.04);
        order: 3;
    }

    .main-content-column {
        order: 2;
        max-width: 1300px;
        background-color: #fff;
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.04);
    }
}

/* Sidebar scrollbar styling */
.ad-sidebar::-webkit-scrollbar {
    width: 5px;
}

.ad-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.ad-sidebar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 10px;
}

.ad-sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.2);
}

/* Ad Placeholders */
.ad-placeholder {
    background-color: #e9ecef;
    border: 2px dashed #ced4da;
    border-radius: 8px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #6c757d;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.ad-placeholder:hover {
    background-color: #dee2e6;
    border-color: #adb5bd;
    color: #495057;
}

/* Promo / Ad Card Styles — synced with backend admin/layouts/base.blade.php */
.promo-sidebar-card {
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.07);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    margin-bottom: 22px;
}

.promo-sidebar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.14);
}

.promo-sidebar-card .image-wrapper {
    position: relative;
    border-radius: 15px 15px 0 0;
    overflow: hidden;
}

/* Loading spinner shown IN FRONT of the promo image until it finishes loading.
   Same ring style as the product cards' loading spinner (see .loading-spinner).
   The spinner is removed by the image's onload handler once fully loaded. */
.promo-sidebar-card .image-wrapper .promo-img-spinner {
    position: absolute;
    inset: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    background: #f8fafc;
    pointer-events: none;
}

.promo-sidebar-card .image-wrapper .promo-img-spinner .spinner-border,
.promo-sidebar-card .image-wrapper .promo-img-spinner .loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--corporate-border, #e2e8f0);
    border-top-color: var(--corporate-primary, #ebb16e);
    border-right-color: var(--corporate-primary, #ebb16e);
    border-radius: 50%;
    color: transparent;
    background: transparent;
    animation: promoSpin 0.9s linear infinite;
    -webkit-animation: promoSpin 0.9s linear infinite;
}

@keyframes promoSpin {
    to {
        transform: rotate(360deg);
    }
}

@-webkit-keyframes promoSpin {
    to {
        transform: rotate(360deg);
    }
}

.promo-sidebar-card .card-img-top {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 1;
    background: transparent;
    transition: transform 0.4s ease, opacity 0.35s ease;
}

.promo-sidebar-card:hover .card-img-top {
    transform: scale(1.05);
}

.promo-sidebar-card .card-body {
    padding: 20px 20px 22px;
}

.promo-sidebar-card .card-title {
    font-size: 1.02rem;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 8px;
    line-height: 1.35;
}

.promo-sidebar-card .card-text {
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.55;
    margin-bottom: 16px;
}

.promo-sidebar-card .btn-promo {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 18px;
    font-size: 0.82rem;
    font-weight: 600;
    border-radius: 20px;
    border: none;
    background: linear-gradient(135deg, #ff8c00 0%, #cc7000 100%);
    color: #fff;
    transition: all 0.2s ease;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(255, 140, 0, 0.25);
}

.promo-sidebar-card .btn-promo:hover {
    background: linear-gradient(135deg, #e07b00 0%, #b86300 100%);
    transform: scale(1.03);
    box-shadow: 0 5px 16px rgba(255, 140, 0, 0.35);
    color: #fff;
}

.promo-sidebar-card.ad-card .card-img-top {
    height: auto;
}

.promo-sidebar-card.ad-card .card-body {
    padding: 18px 18px 20px;
}

.promo-sidebar-card.ad-card .card-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #334155;
}

/* Interactive promo card hover effects */
.promo-hover-trigger {
    position: relative;
    cursor: default;
}

.promo-hover-trigger .promo-hover-content {
    transition: box-shadow 0.3s ease;
}

.promo-type-badge {
    display: inline-block;
    background: transparent;
    color: #cc7000;
    font-size: 0.62rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    padding: 5px 12px;
    border: 1px solid #cc7000;
    border-radius: 20px;
}

.promo-countdown {
    display: inline-block;
    background: transparent;
    color: #e03131;
    font-size: 0.62rem;
    font-weight: 700;
    padding: 5px 12px;
    border: 1px solid #e03131;
    border-radius: 20px;
}

.promo-actions {
    opacity: 1;
    transition: opacity 0.2s ease;
}

.btn-promo-detail,
.btn-promo-shop {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 15px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: 18px;
    border: none;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
}

.btn-promo-detail {
    background: linear-gradient(135deg, #ff8c00 0%, #cc7000 100%);
    color: #fff;
    box-shadow: 0 3px 8px rgba(255, 140, 0, 0.22);
}

.btn-promo-detail:hover {
    background: linear-gradient(135deg, #e07b00 0%, #b86300 100%);
    transform: scale(1.04);
    color: #fff;
}

.btn-promo-shop {
    background: #f1f5f9;
    color: #475569;
    border: 1px solid rgba(0, 0, 0, 0.04);
}

.btn-promo-shop:hover {
    background: #e2e8f0;
    transform: scale(1.04);
    color: #1e293b;
    text-decoration: none;
}

.ad-placeholder-modern {
    border: 1px dashed #d0d5dd;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #6c757d;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    padding: 40px 20px;
}

.ad-placeholder-modern:hover {
    border-color: #adb5bd;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
}

.ad-placeholder-modern .placeholder-icon {
    font-size: 2.2rem;
    color: #adb5bd;
    margin-bottom: 12px;
}

.ad-placeholder-modern .placeholder-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.ad-placeholder-modern .placeholder-sub {
    font-size: 0.72rem;
    opacity: 0.7;
}

.sidebar-heading {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #adb5bd;
    margin-bottom: 18px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e9ecef;
}

.hot-deals-card {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    box-shadow: 0 4px 16px rgba(30, 60, 114, 0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.hot-deals-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 28px rgba(30, 60, 114, 0.35);
}

.hot-deals-card .card-body {
    padding: 24px 20px;
    text-align: center;
    color: #fff;
}

.hot-deals-card .deals-icon {
    font-size: 1.6rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.hot-deals-card h6 {
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 4px;
}

.hot-deals-card .deals-text {
    font-size: 0.8rem;
    opacity: 0.75;
    margin-bottom: 14px;
    line-height: 1.4;
}

.hot-deals-card .btn-deals {
    display: inline-block;
    padding: 6px 22px;
    font-size: 0.78rem;
    font-weight: 600;
    border-radius: 20px;
    background: #fff;
    color: #1e3c72;
    text-decoration: none;
    transition: all 0.2s ease;
}

.hot-deals-card .btn-deals:hover {
    background: #f0f4ff;
    transform: scale(1.03);
    color: #1e3c72;
}

.ad-sidebar>*:last-child {
    margin-bottom: 0;
}

.ad-sidebar>* {
    flex-shrink: 0;
}

/* Ensure container-fluid inside works well */
.main-content-column .container-fluid {
    padding-left: 15px;
    padding-right: 15px;
}

/* Corporate Hero - Shared across pages */
.corporate-hero {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.corporate-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.05) 0%, rgba(0, 0, 0, 0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.section-header-pill {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    background: linear-gradient(135deg, #1e3c72, #2a5298);
    color: #fff;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

/* Respect OS reduced-motion preference */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .wow {
        visibility: visible !important;
        animation-name: none !important;
    }
}

/* No Data Container - Moved from app.blade.php */
.no-data-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 450px;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.no-data-card {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 5px;
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
    max-width: 500px;
    width: 100%;
    animation: dataCardSlideUp 1s ease-out;
}

.icon-wrapper {
    position: relative;
    margin-bottom: 2rem;
}

.icon-container {
    position: relative;
    display: inline-block;
    animation: dataIconFloat 4s ease-in-out infinite;
}

.data-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid;
    animation: dataRingRotate 4s linear infinite;
}

.data-ring-1 {
    width: 100px;
    height: 100px;
    border-color: var(--corporate-primary, #667eea);
    opacity: 0.4;
    animation-duration: 3s;
}

.data-ring-2 {
    width: 120px;
    height: 120px;
    border-color: var(--corporate-accent, #ebb16e);
    opacity: 0.3;
    animation-duration: 4s;
    animation-direction: reverse;
}

.data-ring-3 {
    width: 140px;
    height: 140px;
    border-color: var(--corporate-secondary, #764ba2);
    opacity: 0.2;
    animation-duration: 5s;
}

.main-icon {
    font-size: 3rem;
    color: var(--corporate-primary, #667eea);
    background: linear-gradient(135deg, var(--corporate-primary, #667eea), var(--corporate-accent, #ebb16e));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 3;
    animation: dataIconPulse 2s ease-in-out infinite;
}

.title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 1rem;
    font-weight: 500;
}

.description p {
    color: #777;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #666;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: #dc3545;
    border-radius: 50%;
    animation: statusBlink 1.5s ease-in-out infinite;
}

@keyframes dataCardSlideUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes dataIconFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    33% {
        transform: translateY(-8px) rotate(1deg);
    }

    66% {
        transform: translateY(-5px) rotate(-1deg);
    }
}

@keyframes dataIconPulse {

    0%,
    100% {
        filter: drop-shadow(0 0 10px rgba(102, 126, 234, 0.3));
        transform: scale(1);
    }

    50% {
        filter: drop-shadow(0 0 20px rgba(102, 126, 234, 0.6));
        transform: scale(1.05);
    }
}

@keyframes dataRingRotate {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0px) scale(1);
        opacity: 0.7;
    }

    50% {
        transform: translateY(-15px) scale(1.2);
        opacity: 1;
    }
}

@keyframes dataContentFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes statusBlink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0.3;
    }
}

@keyframes bgShapeFloat {

    0%,
    100% {
        transform: translateY(0px) rotate(0deg);
    }

    25% {
        transform: translateY(-15px) rotate(90deg);
    }

    50% {
        transform: translateY(-10px) rotate(180deg);
    }

    75% {
        transform: translateY(-20px) rotate(270deg);
    }
}

@keyframes gridCellPulse {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Sticky Nav */
.main-nav-wrapper {
    position: sticky;
    top: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1020;
    background-color: #fff;
}

.main-nav-wrapper.is-sticky {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border-bottom: 3px solid var(--corporate-accent, #ebb16e);
}

.main-nav-wrapper.is-sticky #topbarSection {
    padding-top: 0.5rem !important;
    padding-bottom: 0.5rem !important;
    opacity: 0.95;
}

.main-nav-wrapper.is-sticky #navbarSection {
    margin-bottom: 0 !important;
}

.transition-all {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@media (max-width: 768px) {
    .no-data-container {
        padding: 1rem;
        min-height: 350px;
    }

    .no-data-card {
        padding: 2rem 1.5rem;
    }

    .main-icon {
        font-size: 2.5rem;
    }

    .title {
        font-size: 1.5rem;
    }

    .action-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn-corporate-primary,
    .btn-corporate-secondary {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .no-data-card {
        padding: 1.5rem 1rem;
    }

    .title {
        font-size: 1.3rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .data-ring {
        display: none;
    }
}