/**
 * Marketplace Complete CSS
 * Consolidated styles for all marketplace pages
 * Version: 2.0.0
 */

/* ========================================
   TABLE OF CONTENTS
   ========================================
   1. Base & Typography
   2. Layout & Containers
   3. Headers & Navigation
   4. Buttons & Forms
   5. Cards & Components
   6. Stats & Data Display
   7. Tables & Lists
   8. Modals & Overlays
   9. Vendor Specific
   10. Customer Specific
   11. Messages & Notifications
   12. Responsive Design
   13. Utilities
   ======================================== */

/* ========================================
   1. BASE & TYPOGRAPHY
   ======================================== */

/* Import modern fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* Global reset and base */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #222325;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background: #f5f5f5;
}

/* Typography scale */
h1, h2, h3, h4, h5, h6 {
    color: #333333;
    font-weight: 700;
    line-height: 1.3;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

h1 { font-size: 32px; margin: 0 0 16px; }
h2 { font-size: 24px; margin: 0 0 16px; }
h3 { font-size: 20px; margin: 0 0 12px; }
h4 { font-size: 18px; margin: 0 0 12px; }
h5 { font-size: 16px; margin: 0 0 8px; }
h6 { font-size: 14px; margin: 0 0 8px; }

p {
    color: #666666;
    line-height: 1.6;
    margin: 0 0 16px;
}

a {
    color: #2563eb;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1d4ed8;
}

/* ========================================
   2. LAYOUT & CONTAINERS
   ======================================== */

/* Main wrappers */
.marketplace-wrapper,
.marketplace-page-wrapper,
.vendor-dashboard-wrapper,
.customer-dashboard-wrapper,
.services-grid-wrapper,
.service-details-wrapper,
.vendor-settings-wrapper,
.checkout-wrapper,
.messages-wrapper {
    background: #f5f5f5;
    min-height: 100vh;
    padding-bottom: 60px;
}

/* Marketplace page wrapper specific */
.marketplace-page-wrapper {
    display: flex;
    flex-direction: column;
    position: relative;
    width: 100%;
}

/* Ensure proper stacking order on vendor settings */
.vendor-settings-page .marketplace-page-wrapper {
    gap: 0;
}

.vendor-settings-page .marketplace-user-status-bar {
    order: 1;
}

.vendor-settings-page .dashboard-container {
    order: 2;
}

/* Container system */
.container,
.dashboard-container,
.settings-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Content layout */
.dashboard-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Single column layout for settings pages */
.vendor-settings-page .dashboard-content,
.customer-settings-page .dashboard-content,
.settings-page .dashboard-content,
.dashboard-container:has(#vendor-settings-form) .dashboard-content {
    display: block;
    grid-template-columns: none;
    max-width: 100%;
    padding: 0;
}

/* Settings Page Specific Container */
.vendor-settings-page {
    width: 100%;
}

.vendor-settings-page .dashboard-container {
    padding-top: 0;
    margin-top: 0;
    max-width: 100%;
    padding: 0;
    background: transparent;
}

/* Settings page main content area */
.vendor-settings-page #vendor-settings-form {
    max-width: calc(100% - 40px);
    margin: 20px 20px 0;
    padding: 0;
    margin-top:0;
}

.settings-tab-container {
    max-width: calc(100% - 40px);
    margin: 20px 20px 0;
    padding: 0;
    margin-top:20px;
}



@media (min-width: 1440px) {
    .vendor-settings-page #vendor-settings-form {
        max-width: 1400px;
        margin: 20px auto 0;
        margin-top:0;
    }

    .settings-tab-container {
        max-width: 1400px;
        margin: 20px auto 0;
        margin-top:20px;
    }
}

/* Settings Page Header Styling */
.vendor-settings-page .dashboard-header {
    background: linear-gradient(135deg, #333333 0%, #4a4a4a 100%);
    padding: 40px 0;
    margin-bottom: 0;
    min-height: 150px;
    margin-top: 0;
    position: relative;
    width: 100%;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-bottom: 3px solid #9b9b9b;
}

.vendor-settings-page .header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.vendor-settings-page .dashboard-header h1 {
    color: #ffffff !important;
    font-size: 32px;
    font-weight: 700;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Back Link Styling */
.back-link {
    color: #ffffff !important;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateX(-2px);
    color: #ffffff !important;
}

.back-link i {
    font-size: 18px;
}

/* Vendor Settings Form Specific */
#vendor-settings-form {
    width: 100%;
    margin-top: 20px;
    position: relative;
}

#vendor-settings-form .settings-tabs {
    background: #ffffff;
    border-radius: 12px 12px 0 0;
    padding: 0;
    margin: 0 0 2px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-bottom: none;
    position: relative;
    z-index: 1;
}


.settings-tab-content {
    background: #ffffff;
    border-radius: 0 0 12px 12px;
    padding: 40px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 24px;
}

/* Make tab content connect seamlessly with tabs */
#vendor-settings-form .settings-tab-content {
    margin-top: 0;
    border-radius: 0 0 12px 12px;
    width: 100%;
}

/* Tab content visibility */
#vendor-settings-form .settings-tab-content {
    display: none !important;
}

#vendor-settings-form .settings-tab-content.active {
    display: block !important;
}

/* Responsive padding for smaller screens */
@media (max-width: 768px) {
    .settings-tab-content {
        padding: 20px;
    }
}

/* Form Sections for Settings */
.form-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f0f0 100%);
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
    border: 2px solid #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    position: relative;
}

.form-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #666666, #9b9b9b, #666666);
}

.form-section h3 {
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Store Visuals Section */
.store-visuals {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.banner-section {
    flex: 1;
    min-width: 300px;
}

.banner-preview {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e9ecef 0%, #cbd5e1 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    margin-bottom: 16px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #9b9b9b;
    box-shadow: inset 0 2px 6px rgba(0,0,0,0.1);
}

.banner-preview .placeholder {
    text-align: center;
    color: #6c757d;
}

.banner-preview .placeholder i {
    font-size: 48px;
    display: block;
    margin-bottom: 8px;
}

.banner-preview .btn-upload {
    position: absolute;
    bottom: 16px;
    right: 16px;
}

.logo-section {
    width: 200px;
    text-align: center;
}

.logo-preview {
    width: 120px;
    height: 120px;
    margin: 0 auto 16px;
    background: linear-gradient(135deg, #e9ecef 0%, #cbd5e1 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid #9b9b9b;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.logo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-preview .placeholder {
    color: #6c757d;
    font-size: 48px;
}

/* Hidden File Inputs */
.hidden-input {
    display: none !important;
}

/* Form Actions */
.form-actions {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e9ecef;
    display: flex;
    justify-content: flex-end;
    gap: 16px;
}

/* Business Hours */
.business-hours {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.day-hours {
    display: flex;
    align-items: center;
    gap: 24px;
}

.day-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 120px;
    cursor: pointer;
}

.day-toggle input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.time-inputs {
    display: flex;
    align-items: center;
    gap: 12px;
}

.time-inputs input[type="time"] {
    width: 120px;
}

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

/* URL Input Group */
.url-input {
    display: flex;
    align-items: center;
    border: 1px solid #ced4da;
    border-radius: 8px;
    overflow: hidden;
}

.url-prefix {
    background: #e9ecef;
    padding: 12px 16px;
    color: #6c757d;
    font-size: 14px;
    border-right: 1px solid #ced4da;
}

.url-input input {
    border: none;
    flex: 1;
}

/* Character Counter */
.char-count {
    text-align: right;
    font-size: 13px;
    color: #666666;
    margin-top: 4px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Form Row for Multi-column layouts */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    padding: 16px;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    border-radius: 8px;
    margin-bottom: 16px;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .store-visuals {
        flex-direction: column;
    }
    
    .logo-section {
        width: 100%;
    }
}

.content-main {
    min-width: 0;
}

.content-sidebar {
    min-width: 0;
}

/* ========================================
   3. HEADERS & NAVIGATION
   ======================================== */

/* Dashboard headers */
.dashboard-header,
.page-header {
    background: linear-gradient(135deg, #333333 0%, #4a4a4a 100%);
    padding: 40px 0;
    color: white;
    margin-bottom: 40px;
    min-height: 200px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-bottom: 3px solid #9b9b9b;
}

/* Keep gradient colors specific to each dashboard */
.vendor-dashboard-wrapper .dashboard-header {
    background: linear-gradient(135deg, #333333 0%, #4a4a4a 100%);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    border-bottom: 3px solid #9b9b9b;
}

.customer-dashboard-wrapper .dashboard-header {
    background: #f5f5f5;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-bottom: 1px solid #cbd5e1;
    padding: 20px 0;
}

.customer-dashboard-wrapper .dashboard-header h1,
.customer-dashboard-wrapper .dashboard-header p {
    color: #333333;
}

.customer-dashboard-wrapper .header-actions {
    display: none;
}

.header-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 24px;
    width: 100%;
}

/* User info in headers */
.vendor-info,
.customer-info,
.customer-info-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Avatar system */
.vendor-avatar,
.customer-avatar,
.user-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    background: #f0f0f0;
    position: relative;
}

.vendor-avatar img,
.customer-avatar img,
.user-avatar-large img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    display: block !important;
    position: absolute;
    top: 0;
    left: 0;
}

/* Override WordPress avatar classes */
.vendor-avatar img.avatar,
.customer-avatar img.avatar,
.user-avatar-large img.avatar {
    width: 80px !important;
    height: 80px !important;
    max-width: none !important;
    max-height: none !important;
    position: static !important;
}

/* Fix dashboard header avatars to be consistent */
.dashboard-header .vendor-avatar,
.dashboard-header .customer-avatar {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    border-radius: 50%;
    overflow: hidden;
    background: #f0f0f0;
    flex-shrink: 0;
}

.dashboard-header .vendor-avatar img,
.dashboard-header .customer-avatar img {
    width: 80px !important;
    height: 80px !important;
    min-width: 80px !important;
    min-height: 80px !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
}

/* Ensure WordPress avatar classes don't override our styles */
.dashboard-header img.avatar.avatar-80 {
    width: 80px !important;
    height: 80px !important;
    max-width: 80px !important;
    max-height: 80px !important;
}

/* Header details */
.vendor-details h1,
.customer-details h1 {
    font-size: 32px;
    margin: 0 0 8px;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.vendor-meta,
.customer-meta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.member-since {
    margin: 0;
    opacity: 0.9;
    font-size: 16px;
    color: white;
}

/* Vendor level badges */
.vendor-level {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.3);
    padding: 8px 18px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.vendor-level.level-new { 
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.3), rgba(156, 163, 175, 0.5)); 
    border-color: rgba(156, 163, 175, 0.6);
}
.vendor-level.level-bronze { 
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.3), rgba(205, 127, 50, 0.5)); 
    border-color: rgba(205, 127, 50, 0.6);
}
.vendor-level.level-silver { 
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.3), rgba(192, 192, 192, 0.5)); 
    border-color: rgba(192, 192, 192, 0.6);
}
.vendor-level.level-gold { 
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.3), rgba(255, 215, 0, 0.5)); 
    border-color: rgba(255, 215, 0, 0.6);
}
.vendor-level.level-platinum { 
    background: linear-gradient(135deg, rgba(229, 228, 226, 0.3), rgba(229, 228, 226, 0.5)); 
    border-color: rgba(229, 228, 226, 0.6);
}

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

/* ========================================
   4. BUTTONS & FORMS
   ======================================== */

/* Button system */
.btn,
.btn-primary,
.btn-secondary,
.btn-success,
.btn-danger,
.btn-warning {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary {
    background: #2563eb;
    color: white;
}

.btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    color: white;
}

/* CTA Button - Orange accent for important actions */
.btn-cta,
.btn-primary.btn-cta {
    background: #f97316;
    color: white;
    font-weight: 600;
}

.btn-cta:hover,
.btn-primary.btn-cta:hover {
    background: #ea580c;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.3);
    color: white;
}

.btn-secondary {
    background: linear-gradient(135deg, #f5f5f5 0%, #cbd5e1 100%);
    color: #333333;
    border: 2px solid #9b9b9b;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, #cbd5e1 0%, #d0d0d0 100%);
    color: #222325;
    border-color: #666666;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.btn-switch-role {
    background: #f0f0f0;
    color: #62646a;
    border: 2px solid #cbd5e1;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-switch-role:hover {
    background: #fff;
    color: #2563eb;
    border-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* Form elements */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #333333;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.form-control,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
textarea,
select {
    width: 100%;
    padding: 12px 16px;
    border: 3px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: #ffffff;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.05);
}

.form-control:focus,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #666666;
    box-shadow: 0 0 0 3px rgba(102, 102, 102, 0.2), inset 0 2px 4px rgba(0,0,0,0.1);
}

/* ========================================
   5. CARDS & COMPONENTS
   ======================================== */

/* Section cards */
.dashboard-section,
.content-section,
.card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #cbd5e1;
    position: relative;
    overflow: hidden;
}

.dashboard-section::before,
.content-section::before,
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #666666, #9b9b9b, #666666);
}

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

.section-header h2,
.section-header h3 {
    font-size: 20px;
    margin: 0;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* Widgets */
.dashboard-widget {
    background: white;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #cbd5e1;
    position: relative;
    overflow: hidden;
}

.dashboard-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #666666, #9b9b9b, #666666);
}

.dashboard-widget h3 {
    font-size: 18px;
    margin: 0 0 20px;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

/* ========================================
   5.5 BUTTONS & FORM ELEMENTS
   ======================================== */

/* Reset default button styles */
button,
input[type="submit"],
input[type="button"],
.button,
.btn,
.btn-primary,
.btn-secondary,
.btn-danger,
.btn-success,
.btn-warning {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    border: none;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    outline: none !important;
    box-shadow: none !important;
}

/* Primary Button */
.btn-primary,
input[type="submit"],
button[type="submit"] {
    all: unset !important; /* Reset ALL inherited styles from Hello Elementor */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: linear-gradient(135deg, #666666 0%, #4a4a4a 100%) !important;
    color: #ffffff !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.25) !important;
    position: relative !important;
    overflow: hidden !important;
    border: 2px solid transparent !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    height: auto !important;
    line-height: 1.5 !important;
    min-height: auto !important;
    max-height: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    vertical-align: middle !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.btn-primary:hover,
input[type="submit"]:hover,
button[type="submit"]:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #158752 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35) !important;
    color: #ffffff !important;
    text-decoration: none !important;
    border: 2px solid transparent !important;
}

.btn-primary:active,
input[type="submit"]:active,
button[type="submit"]:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(108, 99, 255, 0.25) !important;
}

.btn-primary:focus,
input[type="submit"]:focus,
button[type="submit"]:focus {
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.35) !important;
}

/* Secondary Button */
.btn-secondary,
.button-secondary {
    all: unset !important; /* Reset ALL inherited styles from Hello Elementor */
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #f8f9fa !important;
    color: #495057 !important;
    padding: 12px 24px !important;
    border-radius: 8px !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    border: 1px solid #e9ecef !important;
    box-shadow: none !important;
    outline: none !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    height: auto !important;
    line-height: 1.5 !important;
    min-height: auto !important;
    max-height: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    vertical-align: middle !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.btn-secondary:hover,
.button-secondary:hover {
    background: #e9ecef !important;
    border: 1px solid #cbd5e1 !important;
    transform: translateY(-1px);
    color: #495057 !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05) !important;
    text-decoration: none !important;
}

.btn-secondary:active,
.button-secondary:active {
    transform: translateY(0) !important;
    box-shadow: none !important;
}

.btn-secondary:focus,
.button-secondary:focus {
    outline: none !important;
    border: 1px solid #2563eb !important;
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.25) !important;
}

.btn-secondary:focus,
.button-secondary:focus {
    outline: none !important;
    box-shadow: 0 0 0 2px rgba(108, 99, 255, 0.25) !important;
    border-color: #2563eb !important;
}

/* Success Button */
.btn-success {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
}

.btn-success:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.35);
    color: #ffffff !important;
}

/* Danger Button */
.btn-danger {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: #ffffff !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(220, 53, 69, 0.25);
    border: none !important;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.35);
    color: #ffffff !important;
}

/* Specific style for cancel subscription button */
.btn-cancel-subscription {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%) !important;
    color: #ffffff !important;
    border: none !important;
}

.btn-cancel-subscription:disabled {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Specific style for reactivate subscription button */
.btn-reactivate-subscription {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 10px 16px !important;
    border-radius: 8px;
    font-size: 14px !important;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.25);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.btn-reactivate-subscription:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%) !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
    color: #ffffff !important;
}

.btn-reactivate-subscription:disabled {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Widget actions container */
.widget-actions {
    margin-top: 15px;
}

/* Specific style for upgrade subscription button in widget */
.widget-actions .btn-upgrade-subscription {
    padding: 10px 16px !important;
    font-size: 14px !important;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Ensure icons in widget action buttons are properly sized */
.widget-actions button i {
    font-size: 12px !important;
    margin-right: 6px;
}

/* Warning Button */
.btn-warning {
    background: linear-gradient(135deg, #ffc107 0%, #e0a800 100%);
    color: #212529 !important;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    box-shadow: 0 4px 14px rgba(255, 193, 7, 0.25);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e0a800 0%, #d39e00 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.35);
    color: #212529 !important;
}

/* Small Buttons */
.btn-sm {
    padding: 8px 16px;
    font-size: 14px;
}

/* Large Buttons */
.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* Icon Buttons */
.btn-icon {
    width: 40px;
    height: 40px;
    padding: 0;
    border-radius: 50%;
}

/* Button Groups */
.btn-group {
    display: inline-flex;
    gap: 8px;
}

/* Disabled State */
button:disabled,
input[type="submit"]:disabled,
.btn:disabled,
.btn-primary:disabled,
.btn-secondary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Loading State */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    top: 50%;
    left: 50%;
    margin-left: -8px;
    margin-top: -8px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: btn-spin 0.6s linear infinite;
}

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

/* Special Buttons */
.btn-switch-role {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: #ffffff !important;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    box-shadow: 0 3px 10px rgba(0, 119, 182, 0.25);
}

.btn-switch-role:hover {
    background: linear-gradient(135deg, #0077b6 0%, #005f8a 100%);
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(0, 119, 182, 0.35);
    color: #ffffff !important;
}

/* Upload Buttons */
.btn-upload {
    all: unset !important; /* Reset ALL inherited styles from Hello Elementor */
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%) !important;
    color: #333333 !important;
    padding: 10px 20px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    border: 3px solid #9b9b9b !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1) !important;
    outline: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    height: auto !important;
    line-height: 1.5 !important;
    min-height: auto !important;
    max-height: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    vertical-align: middle !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.btn-upload:hover {
    background: linear-gradient(135deg, #cbd5e1 0%, #d0d0d0 100%) !important;
    color: #222325 !important;
    transform: translateY(-1px);
    border: 3px solid #666666 !important;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15) !important;
    text-decoration: none !important;
}

.btn-upload:active {
    transform: translateY(0) !important;
    box-shadow: none !important;
}

.btn-upload:focus {
    outline: none !important;
    border: 2px solid #5a52e0 !important;
    box-shadow: 0 0 0 3px rgba(108, 99, 255, 0.25) !important;
}

/* Form Controls */
input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="time"],
select,
textarea,
.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 1.5;
    color: #495057;
    background-color: #ffffff;
    border: 1px solid #ced4da;
    border-radius: 8px;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
input[type="number"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
input[type="date"]:focus,
input[type="time"]:focus,
select:focus,
textarea:focus,
.form-control:focus {
    color: #495057;
    background-color: #ffffff;
    border-color: #2563eb;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(108, 99, 255, 0.25);
}

/* Form Groups */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.form-group .required {
    color: #dc3545;
}

.form-group .help-text {
    margin-top: 5px;
    font-size: 13px;
    color: #6c757d;
}

/* Radio and Checkbox */
input[type="radio"],
input[type="checkbox"] {
    margin-right: 8px;
}

.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.radio-group label,
.checkbox-group label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-weight: 400;
}

/* ========================================
   6. STATS & DATA DISPLAY
   ======================================== */

/* Stats grid */
.stats-grid {
    max-width: 1400px;
    margin: 0 auto 40px;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Stat cards - Modern Tech Design */
.stat-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.15s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #666666, #9b9b9b, #666666);
    opacity: 0.8;
    transition: opacity 0.15s ease;
}

.stat-card:hover {
    border-color: #9b9b9b;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.stat-card:hover::before {
    opacity: 1;
}

/* Stat icons */
.stat-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    flex-shrink: 0;
    position: relative;
}

.stat-icon.earnings,
.stat-icon.wallet {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(37, 99, 235, 0.2);
}

.stat-icon.orders {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(59, 130, 246, 0.2);
}

.stat-icon.services {
    background: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(249, 115, 22, 0.2);
}

.stat-icon.messages {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: white;
    box-shadow: 0 2px 6px rgba(96, 165, 250, 0.2);
}

.stat-icon.saved {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
}

.stat-icon.spent {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    color: white;
}

/* Stat content */
.stat-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* More specific selector to override any conflicts */
.stat-card .stat-content h3,
.stats-grid .stat-content h3,
.dashboard-widget .stat-content h3 {
    font-size: 13px !important;
    color: #666666 !important;
    margin: 0 0 6px 0 !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    line-height: 1 !important;
    opacity: 0.8 !important;
}

/* UNIFIED stat value - no more duplicates */
.stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #222325;
    margin: 0 0 8px 0;
    display: block;
    line-height: 1;
    letter-spacing: -0.5px;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.stat-change {
    font-size: 11px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
    color: #6c757d;
}

.stat-change i {
    font-size: 9px;
}

.stat-change.positive {
    color: #3b82f6;
}

.stat-change.negative {
    color: #ef4444;
}

.stat-subtext {
    font-size: 11px;
    color: #a0a0a0;
    margin: 2px 0 0;
    font-weight: 400;
}

/* ========================================
   7. TABLES & LISTS
   ======================================== */

/* Data tables */
.data-table,
.orders-table table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    border: 1px solid #cbd5e1;
}

.data-table th,
.orders-table th {
    text-align: left;
    padding: 12px;
    font-weight: 700;
    color: #ffffff;
    font-size: 14px;
    background: linear-gradient(135deg, #333333 0%, #4a4a4a 100%);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 3px solid #9b9b9b;
}

.data-table td,
.orders-table td {
    padding: 16px 12px;
    border-bottom: 2px solid #f5f5f5;
    color: #666666;
}

/* Status badges */
.status,
.order-status,
.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.status-pending,
.status-pending_requirements {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    color: #856404;
    border: 1px solid #ffeaa7;
}

.status-in_progress {
    background: linear-gradient(135deg, #cce5ff 0%, #b8daff 100%);
    color: #004085;
    border: 1px solid #b8daff;
}

.status-completed,
.status-active {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    color: #1e3a8a;
    border: 1px solid #bfdbfe;
}

.status-cancelled,
.status-rejected {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.status-disputed {
    background: #ffe0e0;
    color: #c62828;
}

/* ========================================
   8. MODALS & OVERLAYS
   ======================================== */

/* Alerts */
.alert {
    padding: 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-width: 2px;
    border-style: solid;
}

.alert-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #ffeaa7;
    color: #856404;
}

.alert-success {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid #bfdbfe;
    color: #1e3a8a;
}

.alert-error,
.alert-danger {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #f5c6cb;
    color: #721c24;
}

.alert-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 2px solid #bee5eb;
    color: #0c5460;
}

/* Empty states */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #666666;
    background: linear-gradient(135deg, #f5f5f5 0%, #cbd5e1 100%);
    border-radius: 12px;
    border: 2px dashed #9b9b9b;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 16px;
    opacity: 0.4;
    color: #9b9b9b;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.empty-state h3 {
    color: #333333;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ========================================
   9. VENDOR SPECIFIC
   ======================================== */

/* Quick actions */
.quick-actions {
    display: grid;
    gap: 12px;
    padding: 4px;
    background: linear-gradient(135deg, #f5f5f5 0%, #cbd5e1 100%);
    border-radius: 8px;
}

.quick-action {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: 8px;
    text-decoration: none;
    color: #333333;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid #cbd5e1;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.quick-action:hover {
    background: linear-gradient(135deg, #f5f5f5 0%, #cbd5e1 100%);
    color: #2563eb;
    transform: translateX(4px);
    border-color: #9b9b9b;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Service cards */
.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    position: relative;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
    border-color: #9b9b9b;
}

/* ========================================
   10. CUSTOMER SPECIFIC
   ======================================== */

/* Become vendor widget */
.become-vendor-widget {
    background: linear-gradient(135deg, #333333 0%, #4a4a4a 100%);
    color: white;
    text-align: center;
    padding: 32px 24px;
    border: 3px solid #9b9b9b;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.become-vendor-widget h3 {
    color: white;
    font-size: 24px;
    margin: 0 0 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

/* Order cards */
.order-card {
    display: flex;
    gap: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #ffffff 0%, #f5f5f5 100%);
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.order-card:hover {
    background: linear-gradient(135deg, #f5f5f5 0%, #cbd5e1 100%);
    border-color: #9b9b9b;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

/* ========================================
   11. MESSAGES & NOTIFICATIONS
   ======================================== */

/* Notifications */
.notification-item {
    display: flex;
    gap: 12px;
    padding: 16px 0;
    border-bottom: 2px solid #f5f5f5;
    transition: all 0.3s ease;
}

.notification-item:hover {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding-left: 12px;
    border-left: 3px solid #2563eb;
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: linear-gradient(135deg, #ff5e3a 0%, #ff4729 100%);
    color: white;
    font-size: 10px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 8px;
    min-width: 16px;
    text-align: center;
    box-shadow: 0 2px 6px rgba(255,94,58,0.4);
}

/* ========================================
   12. RESPONSIVE DESIGN
   ======================================== */

@media (max-width: 1024px) {
    .dashboard-content {
        grid-template-columns: 1fr;
    }
    
    .content-sidebar {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 24px;
    }
    
    /* Hide status bar navigation on tablet */
    .quick-nav {
        display: none;
    }
    
    .quick-stats {
        display: none;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .header-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        padding: 20px;
    }
    
    .stat-value {
        font-size: 24px;
    }
    
    h1 { font-size: 24px; }
    h2 { font-size: 20px; }
    h3 { font-size: 18px; }
    
    /* Dashboard specific H2 size reduction */
    .dashboard-content h2,
    .dashboard-section h2,
    .section-header h2 {
        font-size: 15px;
    }
    
    /* Remove side padding from dashboard content on mobile */
    .dashboard-content {
        padding: 0;
    }
    
    /* Status bar mobile adjustments */
    .status-bar-container {
        padding: 0 15px;
    }
    
    .marketplace-logo span {
        display: none;
    }
    
    .user-name {
        display: none;
    }
    
    .dropdown-menu {
        position: fixed;
        top: 60px;
        right: 15px;
        left: 15px;
        width: auto;
    }
    
    /* Dashboard specific mobile */
    .vendor-details h1,
    .customer-details h1 {
        font-size: 24px;
    }
    
    .vendor-avatar,
    .customer-avatar {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
    }
    
    .dashboard-header .vendor-avatar img,
    .dashboard-header .customer-avatar img {
        width: 60px !important;
        height: 60px !important;
    }
}

/* ========================================
   12.5 STATUS BAR
   ======================================== */

/* User Status Bar */
.marketplace-user-status-bar {
    background: linear-gradient(to bottom, #ffffff, #f5f5f5);
    border-bottom: 3px solid #9b9b9b;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 100;
    margin-bottom: 0;
}

/* Ensure status bar is visible on vendor settings page */
.vendor-settings-page .marketplace-user-status-bar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    z-index: 100 !important;
    margin-bottom: 0 !important;
}

/* Ensure proper spacing after status bar */
.vendor-settings-page .marketplace-user-status-bar + .dashboard-container {
    margin-top: 0;
}

.status-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

/* Status bar left side */
.status-bar-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.marketplace-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #333333;
    font-weight: 700;
    font-size: 18px;
}

.marketplace-logo .logo-text {
    text-transform: lowercase;
    letter-spacing: 0;
}

.marketplace-logo .logo-fr {
    font-family: 'Brush Script MT', cursive;
    font-size: 20px;
    color: #2563eb;
    font-weight: 400;
    font-style: italic;
    margin-left: -2px;
}

.marketplace-logo i {
    color: #2563eb;
    font-size: 24px;
}

.marketplace-logo:hover {
    color: #2563eb;
}

.marketplace-logo:hover .logo-fr {
    color: #1d4ed8;
}

.quick-nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #666666;
    font-weight: 600;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.nav-link i {
    font-size: 16px;
}

.nav-link:hover {
    color: #2563eb;
}

.nav-link-primary {
    background: #2563eb;
    color: white !important;
    padding: 8px 16px;
    border-radius: 6px;
    margin-left: 10px;
}

.nav-link-primary:hover {
    background: #1d4ed8;
    color: white !important;
    transform: translateY(-1px);
}

/* Status bar right side */
.status-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* User profile link in navbar */
.user-profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.user-profile-link:hover {
    border-color: #2563eb;
    transform: scale(1.05);
}

.user-profile-link .user-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Quick stats in status bar */
.quick-stats {
    display: flex;
    gap: 20px;
    margin-right: 20px;
    padding-right: 20px;
    border-right: 2px solid #cbd5e1;
}

.quick-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #666666;
    text-decoration: none;
    position: relative;
    font-weight: 600;
}

.quick-stats .stat-item i {
    color: #2563eb;
    font-size: 18px;
}

.quick-stats .stat-value {
    font-weight: 700;
    color: #333333;
    font-size: 16px;
    margin: 0;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.05);
}

.quick-stats .stat-label {
    font-size: 12px;
    color: #95979d;
    margin-left: 4px;
}

/* Icon links */
.icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid transparent;
    color: #666666;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.icon-link:hover {
    background: linear-gradient(135deg, #f5f5f5 0%, #cbd5e1 100%);
    color: #333333;
    border-color: #9b9b9b;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.icon-link i {
    font-size: 18px;
}

/* Wallet link special case */
.wallet-link {
    width: auto;
    padding: 0 12px;
    border-radius: 20px;
    gap: 6px;
    background: linear-gradient(135deg, #f5f5f5 0%, #cbd5e1 100%);
    border: 2px solid #cbd5e1;
}

.wallet-link:hover {
    background: #e8f5e9;
}

.wallet-amount {
    font-size: 14px;
    font-weight: 600;
    color: #222325;
}

.wallet-link:hover .wallet-amount {
    color: #2563eb;
}

/* Dropdowns */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    min-width: 280px;
    display: none;
    z-index: 1001;
    overflow: hidden;
}

.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-header {
    padding: 16px 20px;
    border-bottom: 2px solid #cbd5e1;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
}

.dropdown-header h4 {
    margin: 0;
    font-size: 16px;
    color: #333333;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 700;
}

.dropdown-divider {
    height: 1px;
    background: #cbd5e1;
    margin: 8px 0;
}

/* User menu */
.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.user-menu-toggle:hover {
    background: #f0f0f0;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-weight: 500;
    color: #222325;
}

.user-menu-toggle i {
    font-size: 12px;
    color: #95979d;
}

/* User info in dropdown */
.user-info {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
}

.user-info img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.user-info div {
    display: flex;
    flex-direction: column;
}

.user-info strong {
    color: #222325;
    font-size: 14px;
}

.user-info span {
    color: #62646a;
    font-size: 12px;
}

/* Dropdown items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #222325;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: #f7f7f7;
    color: #2563eb;
}

.dropdown-item i {
    width: 20px;
    color: #62646a;
}

.dropdown-item:hover i {
    color: #2563eb;
}

.dropdown-item.highlight {
    background: #e8f5e9;
}

.dropdown-item.highlight:hover {
    background: #dbeafe;
}

.dropdown-item.logout {
    color: #ff5e3a;
}

.dropdown-item.logout i {
    color: #ff5e3a;
}

/* Notification list */
.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.no-notifications {
    padding: 40px 20px;
    text-align: center;
    color: #95979d;
    margin: 0;
}

/* ========================================
   13. UTILITIES
   ======================================== */

/* Text utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-muted { color: #95979d; }
.text-primary { color: #2563eb; }
.text-danger { color: #ff5e3a; }
.text-success { color: #2563eb; }

/* Spacing utilities */
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* Display utilities */
.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.align-items-center { align-items: center; }
.justify-content-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }

/* Loading states */
.loading {
    opacity: 0.6;
    pointer-events: none;
    filter: grayscale(100%);
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #cbd5e1;
    border-top-color: #333333;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

/* Steps Grid for Become Vendor Page */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-top: 20px;
    padding: 20px;
    background: linear-gradient(135deg, #f5f5f5 0%, #cbd5e1 100%);
    border-radius: 12px;
}

.step-card {
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #cbd5e1;
    position: relative;
    overflow: hidden;
}

.step-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #666666, #9b9b9b, #666666);
}

.step-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(135deg, #333333 0%, #4a4a4a 100%);
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    border-radius: 50%;
    margin-bottom: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    border: 2px solid #9b9b9b;
}

.step-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* FAQ Items */
.faq-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f0f0 100%);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 15px;
    border: 2px solid #cbd5e1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #9b9b9b;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0,0,0,0.1);
}

.faq-item h3 {
    font-size: 16px;
    font-weight: 700;
    color: #333333;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.faq-item h3 i {
    color: #2563eb;
    margin-right: 10px;
}

.faq-item p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* Registration Form in Dashboard */
.registration-form,
.upgrade-to-vendor {
    max-width: 500px;
    margin: 0 auto;
}

.registration-form form,
.upgrade-to-vendor form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 8px;
}

/* Hidden File Inputs */
.hidden-input {
    display: none !important;
}

/* Banner Preview */
.banner-preview {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    position: relative;
}

.banner-preview[data-banner-url] {
    background-image: var(--banner-url);
}

/* Alert Styles */
.alert {
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.alert-warning {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
}

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

.alert i {
    font-size: 24px;
    flex-shrink: 0;
}

.alert-content {
    flex: 1;
}

.alert-content h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
}

.alert-content p {
    margin: 0;
    font-size: 14px;
}

.btn-connect-payment {
    background: #2563eb;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
    transition: background 0.3s ease;
}

.btn-connect-payment:hover {
    background: #5a52e0;
    color: #fff;
    text-decoration: none;
}

/* Fix for all buttons to override Hello Elementor */
button,
input[type="button"],
input[type="submit"],
.button,
a.button {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 12px 24px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    height: auto !important;
    line-height: 1.5 !important;
    min-height: auto !important;
    max-height: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    vertical-align: middle !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border-radius: 8px !important;
}

/* Specific fixes for vendor settings buttons */
.vendor-settings-form button[data-target],
.vendor-dashboard-wrapper button[data-target],
.dashboard-container button[data-target] {
    margin: 0 !important;
}

/* Fix button icons alignment */
button i,
.btn-primary i,
.btn-secondary i,
.btn-upload i,
.tab-btn i,
.quick-action i {
    margin-right: 8px !important;
    line-height: 1 !important;
    vertical-align: middle !important;
}

/* Reset button widths in forms */
.form-actions button,
.form-group button,
.settings-tab-content button {
    width: auto !important;
    min-width: 120px !important;
}

/* Quick Actions */
.quick-actions {
    display: grid;
    gap: 12px;
}

.quick-action {
    display: flex;
    align-items: center;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 8px;
    text-decoration: none !important;
    color: #495057 !important;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-action::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(108, 99, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.quick-action:hover {
    background: #e9ecef;
    transform: translateX(4px);
    color: #2563eb !important;
}

.quick-action:hover::before {
    left: 100%;
}

.quick-action i {
    font-size: 18px;
    margin-right: 12px;
    color: #2563eb;
}

.quick-action .badge {
    margin-left: auto;
    background: #2563eb;
    color: #fff;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

/* View All Links */
.view-all {
    color: #2563eb !important;
    text-decoration: none !important;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
}

.view-all:hover {
    color: #5a52e0 !important;
    transform: translateX(3px);
}

/* Tab Buttons */
.settings-tabs,
.nav-tabs,
.tab-buttons {
    display: flex;
    gap: 2px;
    border-bottom: none;
    margin-bottom: 0;
    overflow-x: auto;
    background: linear-gradient(to bottom, #f5f5f5, #cbd5e1);
    padding: 0;
    border-radius: 8px 8px 0 0;
    box-shadow: inset 0 -2px 4px rgba(0,0,0,0.05);
}

#vendor-settings-form .settings-tabs {
    padding: 20px 20px 0 20px;
    gap: 4px;
}

.tab-btn,
.tab-button,
.nav-tab {
    all: unset !important; /* Reset ALL inherited styles */
    background: linear-gradient(135deg, #f5f5f5 0%, #cbd5e1 100%) !important;
    border: none !important;
    border-bottom: 3px solid transparent !important;
    padding: 16px 24px !important;
    color: #666666 !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    position: relative !important;
    white-space: nowrap !important;
    height: auto !important;
    line-height: 1.5 !important;
    min-height: auto !important;
    max-height: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05) !important;
    outline: none !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin: 0 2px !important;
    vertical-align: middle !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border-radius: 8px 8px 0 0 !important;
}

.tab-btn i,
.tab-button i,
.nav-tab i {
    margin-right: 8px !important;
    font-size: 14px !important;
}

.tab-btn:hover,
.tab-button:hover,
.nav-tab:hover {
    color: #333333 !important;
    background: linear-gradient(135deg, #cbd5e1 0%, #d0d0d0 100%) !important;
    border: none !important;
    border-bottom: 3px solid #9b9b9b !important;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1) !important;
    text-decoration: none !important;
}

.tab-btn.active,
.tab-button.active,
.nav-tab.active {
    color: #333333 !important;
    background: #ffffff !important;
    border: none !important;
    border-bottom: 3px solid #2563eb !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
    font-weight: 700 !important;
}

.tab-btn.active::after,
.tab-button.active::after,
.nav-tab.active::after {
    display: none;
}

/* Action Buttons in Tables */
.action-buttons {
    display: flex;
    gap: 8px;
}

.action-btn {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    text-decoration: none !important;
    font-weight: 500;
    transition: all 0.2s ease;
}

.action-btn.view {
    background: #e3f2fd;
    color: #1976d2 !important;
}

.action-btn.view:hover {
    background: #bbdefb;
}

.action-btn.edit {
    background: #fff3e0;
    color: #f57c00 !important;
}

.action-btn.edit:hover {
    background: #ffe0b2;
}

.action-btn.delete {
    background: #ffebee;
    color: #d32f2f !important;
}

.action-btn.delete:hover {
    background: #ffcdd2;
}

/* Avatar Section */
.avatar-section {
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 32px;
}

.current-avatar {
    flex-shrink: 0;
}

.current-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
}

.avatar-actions {
    flex: 1;
}

/* Languages Input */
.languages-input {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
    margin-top: 8px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

/* Skills Management */
.skills-input {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
}

.skills-input input {
    flex: 1;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e9ecef;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
}

.remove-skill {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    font-size: 16px;
    line-height: 1;
}

.remove-skill:hover {
    color: #dc3545;
}

/* Payment Status Sections */
.payment-status {
    border-radius: 8px;
    padding: 24px;
    margin-bottom: 24px;
}

.payment-status.not_created {
    background: #f8f9fa;
    border: 1px solid #cbd5e1;
}

.payment-status.active {
    background: #dbeafe;
    border: 1px solid #bfdbfe;
}

.payment-status.incomplete,
.payment-status.restricted {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
}

.status-setup,
.status-active,
.status-warning,
.status-error {
    display: flex;
    align-items: center;
    gap: 20px;
}

.status-setup i,
.status-active i,
.status-warning i,
.status-error i {
    font-size: 48px;
    flex-shrink: 0;
}

.status-active i {
    color: #3b82f6;
}

.status-warning i {
    color: #ffc107;
}

.status-error i {
    color: #dc3545;
}

.commission-info {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #6c757d;
    margin-top: 8px;
}

/* Additional Button Fixes for Hello Elementor Override */
.alert .btn-connect-payment,
.alert a[class*="btn-"],
.payment-status button,
.btn-setup-payment,
.btn-repair-account,
.btn-enable-2fa,
.btn-disable-2fa,
.btn-revoke-session,
.btn-revoke-all,
.btn-enable-push,
.btn-switch-role,
.btn-view,
.btn-add-skill,
.btn-remove-skill,
.action-btn,
.period-selector button {
    all: unset !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    padding: 10px 20px !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    cursor: pointer !important;
    text-decoration: none !important;
    transition: all 0.3s ease !important;
    height: auto !important;
    line-height: 1.5 !important;
    min-height: auto !important;
    max-height: none !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    vertical-align: middle !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    border-radius: 6px !important;
    margin: 0 !important;
    background: #2563eb !important;
    color: #ffffff !important;
    border: none !important;
}

.alert .btn-connect-payment:hover,
.btn-setup-payment:hover,
.btn-repair-account:hover,
.btn-switch-role:hover {
    background: #5a52e0 !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(108, 99, 255, 0.25) !important;
}

/* Period Selector Specific */
.period-selector button {
    background: transparent !important;
    color: #6c757d !important;
    padding: 8px 16px !important;
    border: 1px solid #e9ecef !important;
}

.period-selector button:hover {
    color: #495057 !important;
    background: #f8f9fa !important;
    border-color: #cbd5e1 !important;
}

.period-selector button.active {
    background: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

/* Small Action Buttons */
.btn-view,
.btn-remove-skill,
.remove-skill {
    padding: 6px 12px !important;
    font-size: 13px !important;
    background: transparent !important;
    color: #6c757d !important;
    border: 1px solid #e9ecef !important;
}

.btn-view:hover,
.btn-remove-skill:hover,
.remove-skill:hover {
    color: #2563eb !important;
    border-color: #2563eb !important;
    background: #f8f9fa !important;
}

/* Add Skill Button */
.btn-add-skill {
    padding: 8px 16px !important;
    background: #3b82f6 !important;
    color: #ffffff !important;
    border: none !important;
}

.btn-add-skill:hover {
    background: #1d4ed8 !important;
}

/* Fix for specific form buttons */
.form-actions button[type="submit"],
.vendor-settings-form button[type="submit"],
#vendor-settings-form button[type="submit"] {
    min-width: 180px !important;
}

/* Ensure action buttons keep their specific styling */
.action-btn.view,
.action-btn.edit,
.action-btn.delete {
    padding: 6px 12px !important;
    font-size: 13px !important;
    border: none !important;
}

.action-btn.view {
    background: #e3f2fd !important;
    color: #1976d2 !important;
}

.action-btn.view:hover {
    background: #bbdefb !important;
}

.action-btn.edit {
    background: #fff3e0 !important;
    color: #f57c00 !important;
}

.action-btn.edit:hover {
    background: #ffe0b2 !important;
}

.action-btn.delete {
    background: #ffebee !important;
    color: #d32f2f !important;
}

.action-btn.delete:hover {
    background: #ffcdd2 !important;
}

/* Form validation states */
input.error,
select.error,
textarea.error {
    border-color: #dc3545 !important;
}

input.success,
select.success,
textarea.success {
    border-color: #3b82f6 !important;
}

.help-text.text-success {
    color: #3b82f6 !important;
}

.help-text.text-danger {
    color: #dc3545 !important;
}

/* Skills management */
.skills-input {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.skills-input input {
    flex: 1;
}

.btn-add-skill {
    padding: 10px 20px;
    background: #667eea;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.btn-add-skill:hover {
    background: #5a67d8;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: #e9ecef;
    border-radius: 20px;
    font-size: 14px;
}

.skill-item .btn-remove-skill {
    background: none;
    border: none;
    color: #6c757d;
    cursor: pointer;
    padding: 0;
    width: 16px;
    height: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.skill-item .btn-remove-skill:hover {
    color: #dc3545;
}

/* Order Cards - Improved Style */
.orders-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.order-card {
    background: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 20px;
    transition: all 0.2s ease;
}

.order-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.order-content h3 {
    margin: 0 0 12px 0;
    font-size: 18px;
    font-weight: 600;
}

.order-content h3 a {
    color: #222325;
    text-decoration: none;
    transition: color 0.2s ease;
}

.order-content h3 a:hover {
    color: #2563eb;
}

.order-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 16px;
    padding-bottom: 16px;
    border-bottom: 1px solid #f7f7f7;
}

.order-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #62646a;
}

.order-meta i {
    font-size: 12px;
    color: #95979d;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.order-status {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-transform: capitalize;
}

.order-status.status-pending_payment {
    background: #fff3cd;
    color: #856404;
}

.order-status.status-pending_requirements {
    background: #d1ecf1;
    color: #0c5460;
}

.order-status.status-in_progress {
    background: linear-gradient(135deg, #cce5ff 0%, #b8daff 100%);
    color: #004085;
    border: 1px solid #b8daff;
}

.order-status.status-delivered {
    background: #dbeafe;
    color: #1e3a8a;
}

.order-status.status-completed {
    background: #dbeafe;
    color: #1e3a8a;
}

.order-status.status-cancelled,
.order-status.status-refunded {
    background: #f8d7da;
    color: #721c24;
}

.order-actions {
    display: flex;
    gap: 8px;
}

.order-actions .btn-sm {
    padding: 6px 16px;
    font-size: 13px;
}

/* Empty States */
.empty-state {
    text-align: center;
    padding: 60px 20px;
}

.empty-state i {
    font-size: 64px;
    color: #95979d;
    margin-bottom: 16px;
}

.empty-state p {
    font-size: 16px;
    color: #95979d;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .order-meta {
        gap: 12px;
    }
    
    .order-footer {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .order-actions {
        width: 100%;
    }
    
    .order-actions .btn-sm {
        flex: 1;
        justify-content: center;
    }
}

/* Order Details Page */
.order-details-wrapper {
    background: #f7f7f7;
    min-height: 100vh;
}

.order-status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
}

.order-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 24px;
}

.info-item label {
    display: block;
    font-size: 12px;
    color: #95979d;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.info-item p {
    margin: 0;
    font-size: 16px;
    color: #222325;
}

.order-description {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #cbd5e1;
}

.order-description label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #222325;
}

.financial-breakdown {
    background: #f7f7f7;
    border-radius: 8px;
    padding: 20px;
}

.breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    font-size: 14px;
}

.breakdown-item.total {
    border-top: 2px solid #cbd5e1;
    margin-top: 8px;
    padding-top: 16px;
    font-weight: 600;
    font-size: 16px;
}

.amount {
    font-weight: 500;
}

.amount.negative {
    color: #ff5e3a;
}

.order-timeline {
    position: relative;
    padding-left: 30px;
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-item:not(:last-child)::before {
    content: '';
    position: absolute;
    left: -22px;
    top: 20px;
    bottom: 0;
    width: 1px;
    background: #cbd5e1;
}

.timeline-marker {
    position: absolute;
    left: -26px;
    top: 4px;
    width: 8px;
    height: 8px;
    background: #2563eb;
    border-radius: 50%;
}

.timeline-date {
    font-size: 12px;
    color: #95979d;
    margin-bottom: 4px;
}

.timeline-event {
    font-size: 14px;
    color: #222325;
}

/* Quote Items Styling for Vendor Dashboard */
.quotes-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.quote-item {
    background: #f5f7fa;
    border: 1px solid #cbd5e1;
    border-radius: 12px;
    padding: 24px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.quote-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-color: #d0d1d4;
}

.quote-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 16px;
}

.quote-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #222325;
}

.quote-header h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.quote-header h3 a:hover {
    color: #2563eb;
}

.quote-category {
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.quote-description {
    color: #62646a;
    line-height: 1.6;
    margin-bottom: 16px;
    font-size: 15px;
}

.quote-meta {
    display: flex;
    align-items: center;
    gap: 24px;
    color: #95979d;
    font-size: 14px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #cbd5e1;
}

.quote-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.quote-meta i {
    font-size: 14px;
}

.quote-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-send-proposal {
    background: #2563eb;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-send-proposal:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.btn-view-conversation {
    background: #007bff;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-view-conversation:hover {
    background: #0056b3;
    transform: translateY(-1px);
    color: white;
}

.proposal-sent {
    color: #3b82f6;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quote-action-buttons {
    display: flex;
    gap: 12px;
}

.btn-ignore,
.btn-request-info,
.btn-make-offer {
    padding: 8px 16px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    border: 1px solid;
}

.btn-ignore {
    background: transparent;
    color: #95979d;
    border-color: #cbd5e1;
}

.btn-ignore:hover {
    background: #f7f7f7;
    border-color: #d0d1d4;
}

.btn-request-info {
    background: transparent;
    color: #2563eb;
    border-color: #2563eb;
}

.btn-request-info:hover {
    background: #e8f5e9;
}

.btn-make-offer {
    background: #2563eb;
    color: white;
    border-color: #2563eb;
}

.btn-make-offer:hover {
    background: #2563eb;
    border-color: #2563eb;
}

/* ========================================
   MASQUAGE ET FLOU DES INFOS CLIENTS v3.0
   ======================================== */

.client-info-masked {
    position: relative;
    background: #fff;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.masked-content {
    position: relative;
    overflow: hidden;
}

.fake-info {
    filter: blur(0);
    transition: filter 0.3s ease;
}

.fake-info p {
    margin: 5px 0;
    color: #666;
}

.fake-info strong {
    color: #333;
}

.blur-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    background: rgba(255,255,255,0.8);
    pointer-events: none;
}

.blur-overlay::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(0,0,0,0.03) 10px,
        rgba(0,0,0,0.03) 20px
    );
}

.btn-reveal-client {
    margin-top: 15px;
    background: #2563eb;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-reveal-client:hover {
    background: #17a05d;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-reveal-client:disabled {
    background: #95979d;
    cursor: not-allowed;
    transform: none;
}

/* ========================================
   BADGES ABONNEMENT
   ======================================== */

.subscription-badge {
    background: #2563eb;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    display: inline-block;
}

.subscription-badge.starter { 
    background: #6c757d; 
}

.subscription-badge.professional { 
    background: #17a2b8; 
}

.subscription-badge.business { 
    background: #ffc107; 
    color: #333; 
}

.subscription-badge.unlimited { 
    background: #6f42c1; 
}

/* ========================================
   PLANS ABONNEMENT
   ======================================== */

.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.plan-card {
    background: #fff;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
}

.plan-card:hover {
    border-color: #2563eb;
    transform: translateY(-4px);
    box-shadow: 0 10px 15px rgba(0,0,0,0.1);
}

.plan-card.featured {
    border-color: #2563eb;
    transform: scale(1.05);
}

.plan-card.featured::before {
    content: "POPULAIRE";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: #fff;
    padding: 4px 20px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.plan-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #222325;
}

.plan-price {
    font-size: 48px;
    font-weight: 700;
    color: #2563eb;
    margin: 20px 0;
}

.plan-price sup {
    font-size: 24px;
}

.plan-price span {
    font-size: 16px;
    color: #95979d;
    font-weight: 400;
}

.reveal-limit {
    background: #f5f5f5;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.reveal-limit strong {
    display: block;
    font-size: 28px;
    color: #222325;
    margin-bottom: 5px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features i {
    color: #3b82f6;
    font-size: 14px;
}

.btn-choose-plan {
    width: 100%;
    padding: 15px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: block;
    text-align: center;
}

.btn-choose-plan:hover {
    background: #17a05d;
    color: #fff;
    text-decoration: none;
}

.btn-choose-plan:disabled {
    background: #95979d;
    cursor: not-allowed;
}

/* ========================================
   MASQUAGE COMPLET DES INFOS CLIENTS v3.1
   ======================================== */

.client-info-masked {
    position: relative;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.masked-content {
    position: relative;
}

.fake-info {
    font-family: monospace;
    color: #999;
}

.fake-info p {
    margin: 5px 0;
    letter-spacing: 2px;
}

.fake-info strong {
    color: #777;
    font-weight: normal;
}

/* Suppression du flou overlay pour un look plus clean avec astérisques */
.client-info-masked .blur-overlay {
    display: none;
}

/* Style spécifique pour les cartes de devis */
.quote-card .client-info-masked {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.quote-card .fake-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quote-card .fake-info p {
    margin: 0;
    display: inline;
}

.quote-card .fake-info p:first-child {
    font-weight: 600;
}

/* Avatar masqué */
.customer-info.customer-masked .avatar-placeholder {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Détails client masqués */
.customer-info.customer-masked .customer-details {
    flex: 1;
}

.customer-info.customer-masked .customer-name {
    display: block;
    font-weight: 600;
    color: #777;
    font-family: monospace;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.customer-info.customer-masked .customer-location {
    display: block;
    font-size: 13px;
    color: #999;
    font-family: monospace;
    letter-spacing: 2px;
}

.customer-info.customer-masked .customer-link {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: default;
}

/* Bouton de révélation dans les cartes */
.quote-card .btn-reveal-client {
    margin-top: 15px;
    font-size: 13px;
    padding: 8px 16px;
}

.client-info-masked {
    position: relative;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    padding: 20px;
    margin: 15px 0;
}

.masked-content {
    position: relative;
}

.fake-info {
    font-family: monospace;
    color: #999;
}

.fake-info p {
    margin: 5px 0;
    letter-spacing: 2px;
}

.fake-info strong {
    color: #777;
    font-weight: normal;
}

/* Suppression du flou overlay pour un look plus clean avec astérisques */
.client-info-masked .blur-overlay {
    display: none;
}

/* Style spécifique pour les cartes de devis */
.quote-card .client-info-masked {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}

.quote-card .fake-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.quote-card .fake-info p {
    margin: 0;
    display: inline;
}

.quote-card .fake-info p:first-child {
    font-weight: 600;
}

/* Avatar masqué */
.customer-info.customer-masked .avatar-placeholder {
    width: 40px;
    height: 40px;
    background: #e0e0e0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}
EOF < /dev/null


/* ========================================
   14. VENDOR REGISTRATION
   ======================================== */

/* Container and Wrapper - Industrial Theme */
.vendor-registration-wrapper {
    min-height: 100vh;
    background: #f5f5f5;
    padding: 40px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vendor-registration-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 1200px;
    width: 100%;
    padding: 48px;
    position: relative;
    overflow: hidden;
    border-top: 4px solid #2563eb;
}

/* Progress Bar */
.registration-progress {
    margin-bottom: 48px;
}

.progress-bar {
    height: 6px;
    background: #cbd5e1;
    border-radius: 3px;
    margin-bottom: 32px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: #2563eb;
    border-radius: 3px;
    transition: width 0.4s ease;
}

.progress-steps {
    display: flex;
    justify-content: space-between;
}

.step {
    text-align: center;
    flex: 1;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}


.step.active ~ .step::after {
    background: #cbd5e1;
}

.step.completed::after {
    background: #2563eb;
}

.step-number {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f5f5f5;
    color: #666666;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.step.active .step-number {
    background: #2563eb;
    color: white;
    transform: scale(1.1);
}

.step.completed .step-number {
    background: #2563eb;
    color: white;
}

.step span {
    display: block;
    font-size: 14px;
    color: #666666;
    font-weight: 500;
}

.step.active span,
.step.completed span {
    color: #333333;
}

/* Form Steps */
.multi-step-form {
    position: relative;
}

.form-step {
    display: none;
    animation: fadeIn 0.4s ease;
}

.form-step.active {
    display: block;
}

.form-step h2 {
    font-size: 28px;
    color: #333333;
    margin-bottom: 12px;
    font-weight: 700;
}

.step-description {
    color: #666666;
    font-size: 16px;
    margin-bottom: 32px;
}

/* Categories Selection */
.categories-selection.error {
    padding: 10px;
    border: 2px solid #ef4444;
    border-radius: 8px;
}

/* Step Actions */
.step-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
}

.step-actions button {
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-prev {
    background: white;
    color: #666666;
    border: 2px solid #cbd5e1;
}

.btn-prev:hover {
    border-color: #666666;
    color: #333333;
}

.btn-next,
.btn-submit {
    background: #2563eb;
    color: white;
    margin-left: auto;
}

.btn-next:hover,
.btn-submit:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}


/* Reveal Client Button */
.btn-reveal-client {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-reveal-client:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
    color: white;
}

.btn-reveal-client.disabled {
    background: #cbd5e1;
    color: #9ca3af;
    cursor: not-allowed;
}

.btn-reveal-client.disabled:hover {
    transform: none;
}

.customer-info.customer-masked {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.customer-info.customer-masked .customer-link {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Department restriction badge */
.restriction-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: linear-gradient(135deg, #ff0000, #dc143c);
    color: #ffffff;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 12px;
    vertical-align: middle;
    box-shadow: 0 2px 8px rgba(220, 20, 60, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.restriction-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 5px,
        rgba(255, 255, 255, 0.1) 5px,
        rgba(255, 255, 255, 0.1) 10px
    );
    border-radius: 20px;
    pointer-events: none;
}

.restriction-badge i {
    font-size: 12px;
}

/* Quote preferences - Soft display */
.quote-preferences {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.preference-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: #f3f4f6;
    color: #6b7280;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.3;
}

.preference-tag i {
    font-size: 12px;
    color: #9ca3af;
}

/* Preference artisan - Green badge */
.preference-tag.preference-artisan {
    background: #d1fae5;
    color: #065f46;
    border-color: #a7f3d0;
}

.preference-tag.preference-artisan i {
    color: #10b981;
}

/* Responsive preferences */
@media (max-width: 768px) {
    .quote-preferences {
        gap: 6px;
    }
    
    .preference-tag {
        font-size: 12px;
        padding: 5px 12px;
    }
}

/* ==========================================================================
   15. Subscription Styles  
   ========================================================================== */

.vendor-subscription-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.subscription-header {
    text-align: center;
    margin-bottom: 40px;
}

.subscription-header h1 {
    color: #333;
    margin-bottom: 10px;
}

.subscription-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.subscription-plans-section .back-link {
    text-align: center;
    margin-bottom: 20px;
}

.subscription-plans-section .back-link a {
    color: #666;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.subscription-plans-section .back-link a:hover {
    color: #333;
}

.subscription-plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.subscription-plan {
    background: white;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.subscription-plan:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.15);
}

/* ==========================================================================
   13. Authentication Pages (Login/Register)
   ========================================================================== */

.auth-page-wrapper {
    min-height: 100vh;
    background: #f5f5f5;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-container {
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    max-width: 480px;
    width: 100%;
    padding: 40px;
}

/* Header */
.auth-header {
    text-align: center;
    margin-bottom: 40px;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 28px;
    font-weight: 700;
    color: #333;
    text-decoration: none;
    margin-bottom: 12px;
}

.auth-logo i {
    color: #666;
}

.auth-subtitle {
    color: #666;
    font-size: 14px;
    margin: 0;
}

/* Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid #cbd5e1;
    margin-bottom: 30px;
}

.auth-tab {
    flex: 1;
    padding: 15px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

.auth-tab:hover {
    color: #333;
}

.auth-tab.active {
    color: #2563eb;
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #2563eb;
}

/* Forms */
.auth-form-wrapper {
    animation: fadeIn 0.3s ease;
}

.auth-form-wrapper .form-group {
    margin-bottom: 20px;
}

.auth-form-wrapper .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
}

.auth-form-wrapper .form-group label i {
    width: 20px;
    color: #6b7280;
}

.auth-form-wrapper .form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.auth-form-wrapper .form-control:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.auth-form-wrapper .form-text {
    display: block;
    margin-top: 6px;
    font-size: 13px;
    color: #6b7280;
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #4b5563;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.forgot-link {
    font-size: 14px;
    color: #2563eb;
    text-decoration: none;
}

.forgot-link:hover {
    text-decoration: underline;
}

/* Password Strength */
.password-strength-meter {
    height: 4px;
    background: #cbd5e1;
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.password-strength-bar {
    height: 100%;
    width: 0;
    background: #dc2626;
    transition: width 0.3s ease, background-color 0.3s ease;
}

/* Buttons */
.btn-block {
    width: 100%;
    padding: 14px 24px;
    font-size: 16px;
    justify-content: center;
}

/* Vendor Upgrade Info */
.vendor-upgrade-info {
    background: #eff6ff;
    border: 1px solid #86efac;
    border-radius: 8px;
    padding: 16px;
    margin-top: 20px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.vendor-upgrade-info i {
    color: #2563eb;
    margin-top: 2px;
}

.vendor-upgrade-info p {
    margin: 0;
    color: #1e40af;
    font-size: 14px;
}

/* Info Section */
.auth-info-section {
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #cbd5e1;
}

.info-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 20px;
}

.info-card i {
    font-size: 24px;
    color: #6b7280;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.info-card h3 {
    margin: 0 0 6px 0;
    font-size: 16px;
    color: #1f2937;
}

.info-card p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
    line-height: 1.5;
}

.info-card.vendor-highlight {
    background: #eff6ff;
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
}

.info-card.vendor-highlight i {
    color: #2563eb;
}

/* Messages */
#auth-messages {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 400px;
}

.auth-alert {
    padding: 16px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: slideIn 0.3s ease;
    margin-bottom: 10px;
}

.alert-error {
    background: #fee2e2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-success {
    background: #dbeafe;
    border: 1px solid #93c5fd;
    color: #1e40af;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive Auth Pages */
@media (max-width: 480px) {
    .auth-container {
        padding: 30px 20px;
    }
    
    .auth-logo {
        font-size: 24px;
    }
    
    .form-options {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    #auth-messages {
        left: 20px;
        right: 20px;
        max-width: none;
    }
}

/* Reveal Button - Styled prominently */
.btn-reveal {
    background: #3b82f6 !important;
    color: white !important;
    border: none;
    padding: 14px 28px !important;
    border-radius: 8px;
    font-size: 17px !important;
    font-weight: 700 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-reveal:hover:not(:disabled) {
    background: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-reveal.btn-disabled,
.btn-reveal:disabled {
    background: #cbd5e1 !important;
    color: #999 !important;
    cursor: not-allowed;
    box-shadow: none;
}

/* SweetAlert2 Customizations */
.swal2-deny {
    display: none !important;
}

.swal2-actions {
    gap: 10px;
}

.swal2-confirm {
    order: 2;
}

.swal2-cancel {
    order: 1;
}


/* ========================================
   14. MARKETPLACE HOME PAGE
   ======================================== */

/* Home page wrapper */
.marketplace-home-wrapper {
    background: #f5f5f5;
    min-height: 100vh;
}

/* Hero Section */
.marketplace-home-wrapper .hero-section {
    background: linear-gradient(135deg, #333333 0%, #222325 100%);
    padding: 100px 20px 80px;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -100%;
    left: -100%;
    background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="%23ffffff" fill-opacity="0.03"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/svg%3E');
}

.marketplace-home-wrapper .hero-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.marketplace-home-wrapper .hero-content h1 {
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.marketplace-home-wrapper .hero-subtitle {
    font-size: 20px;
    color: #cbd5e1;
    margin-bottom: 40px;
    line-height: 1.6;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.hero-buttons .btn-lg {
    padding: 18px 36px;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

/* Hero Features */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-features .feature {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #cbd5e1;
    font-size: 16px;
}

.hero-features .feature i {
    color: #2563eb;
    font-size: 20px;
}

/* How it Works Section */
.how-it-works {
    padding: 60px 20px;
    background: #f8f9fa;
    position: relative;
}

.how-it-works h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #333333;
    font-weight: 700;
}

.how-it-works .steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    max-width: 1100px;
    margin: 0 auto;
    position: relative;
    justify-items: center;
    align-items: start;
}

.how-it-works .step {
    text-align: center;
    padding: 30px 20px;
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 2;
    width: 100%;
    max-width: 250px;
}

.how-it-works .step:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.how-it-works .step-number {
    width: 60px;
    height: 60px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: 700;
    margin: 0 auto 20px;
    box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
    cursor: default;
}

.how-it-works .step h3 {
    font-size: 20px;
    margin-bottom: 12px;
    color: #333333;
    font-weight: 600;
}

.how-it-works .step p {
    color: #666666;
    line-height: 1.5;
    font-size: 15px;
    margin: 0;
}


/* Media query pour tablettes */
@media (max-width: 992px) {
    .how-it-works .steps-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .how-it-works .steps-grid::before {
        display: none;
    }
}

/* Categories Section */
.marketplace-home-wrapper .categories-section {
    padding: 80px 20px;
    background: #f9f9f9;
}

.marketplace-home-wrapper .categories-section h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 20px;
    color: #333333;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #666666;
    margin-bottom: 50px;
}

.marketplace-home-wrapper .categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.marketplace-home-wrapper .category-card {
    background: white;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.marketplace-home-wrapper .category-card:hover {
    transform: translateY(-5px);
    border-color: #2563eb;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.marketplace-home-wrapper .category-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.marketplace-home-wrapper .category-icon i {
    font-size: 32px;
    color: white;
}

.marketplace-home-wrapper .category-card h3 {
    font-size: 20px;
    color: #333333;
    margin-bottom: 10px;
}

.category-description {
    color: #666666;
    font-size: 14px;
    line-height: 1.5;
}

/* Plans Section */
.plans-section {
    padding: 80px 20px;
    background: #ffffff;
}

.plans-header {
    text-align: center;
    margin-bottom: 60px;
}

.plans-header h2 {
    font-size: 36px;
    color: #333333;
    margin-bottom: 15px;
}

.plans-header p {
    font-size: 18px;
    color: #666666;
}

.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 0 auto;
}

.plan-card {
    background: white;
    border: 2px solid #cbd5e1;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.plan-card.featured {
    border-color: #2563eb;
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(37, 99, 235, 0.2);
}

.badge-recommended {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: #2563eb;
    color: white;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

.plan-card h3 {
    font-size: 24px;
    color: #333333;
    margin-bottom: 20px;
}

.plan-price {
    margin-bottom: 20px;
}

.plan-price .amount {
    font-size: 48px;
    font-weight: 800;
    color: #333333;
}

.plan-price .period {
    font-size: 18px;
    color: #666666;
}

.plan-description {
    color: #666666;
    margin-bottom: 30px;
    font-size: 16px;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
}

.plan-features li {
    padding: 10px 0;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li i {
    color: #2563eb;
    flex-shrink: 0;
}

.btn-block {
    width: 100%;
}

.plans-footer {
    text-align: center;
    margin-top: 40px;
    color: #666666;
}

/* Benefits Section */
.benefits-section {
    padding: 80px 20px;
    background: #f9f9f9;
}

.benefits-section h2 {
    text-align: center;
    font-size: 36px;
    color: #333333;
    margin-bottom: 60px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.benefit {
    text-align: center;
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

.benefit-icon i {
    font-size: 36px;
    color: white;
}

.benefit h3 {
    font-size: 22px;
    color: #333333;
    margin-bottom: 15px;
}

.benefit p {
    color: #666666;
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .marketplace-home-wrapper .hero-content h1 {
        font-size: 32px;
    }
    
    .marketplace-home-wrapper .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
        margin: 0 auto 40px;
    }
    
    .hero-buttons .btn-lg {
        width: 100%;
        justify-content: center;
        padding: 10px !important;
        font-size: 13px !important;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 20px;
    }
    
    .how-it-works .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    
    .how-it-works {
        padding: 40px 15px;
    }
    
    .how-it-works h2 {
        font-size: 28px;
        margin-bottom: 35px;
    }
    
    .how-it-works .step {
        padding: 25px 20px;
    }
    
    .how-it-works .step-number {
        width: 50px;
        height: 50px;
        font-size: 24px;
        margin-bottom: 15px;
    }
    
    .how-it-works .step h3 {
        font-size: 18px;
    }
    
    .how-it-works .step p {
        font-size: 14px;
    }
    
    .marketplace-home-wrapper .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .subscription-plans {
        grid-template-columns: 1fr;
    }
    
    .plan-card.featured {
        transform: none;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
}


/* Extra large button for hero CTA */
.btn-xl {
    padding: 24px 48px !important;
    font-size: 20px !important;
    font-weight: 700 !important;
    border-radius: 10px;
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-xl:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(37, 99, 235, 0.5);
}


/* ============================================ */
/*        USER STATUS BAR STYLES               */
/* ============================================ */

/**
 * User Status Bar Styles
 */

.marketplace-user-status-bar {
    background: #fff;
    border-bottom: 1px solid #cbd5e1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
    position: sticky;
    top: 0;
    z-index: 1000;
    margin-bottom: 0;
}

.status-bar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

/* Left side */
.status-bar-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.marketplace-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #222325;
    font-weight: 700;
    font-size: 18px;
}

.marketplace-logo i {
    color: #2563eb;
    font-size: 24px;
}

.marketplace-logo:hover {
    color: #2563eb;
}

.quick-nav {
    display: flex;
    gap: 24px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    color: #62646a;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link i {
    font-size: 16px;
}

.nav-link:hover {
    color: #2563eb;
}

/* Right side */
.status-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* User profile link in navbar */
.user-profile-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.2s ease;
    border: 2px solid transparent;
}

.user-profile-link:hover {
    border-color: #2563eb;
    transform: scale(1.05);
}

.user-profile-link .user-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Quick stats */
.quick-stats {
    display: flex;
    gap: 20px;
    margin-right: 20px;
    padding-right: 20px;
    border-right: 1px solid #cbd5e1;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #62646a;
    text-decoration: none;
    position: relative;
}

.stat-item i {
    color: #2563eb;
}

.stat-value {
    font-weight: 600;
    color: #222325;
}

.stat-label {
    font-size: 12px;
    color: #95979d;
    margin-left: 4px;
}

.stat-item.has-badge .stat-value {
    background: #ff5e3a;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
}

/* Icon links */
.icon-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: #62646a;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.icon-link:hover {
    background: #f0f0f0;
    color: #2563eb;
}

.icon-link i {
    font-size: 18px;
}

/* Wallet link - special case with amount */
.wallet-link {
    width: auto;
    padding: 0 12px;
    border-radius: 20px;
    gap: 6px;
    background: #f0f0f0;
}

.wallet-link:hover {
    background: #e8f5e9;
}

.wallet-amount {
    font-size: 14px;
    font-weight: 600;
    color: #222325;
}

.wallet-link:hover .wallet-amount {
    color: #2563eb;
}

.notification-badge {
    position: absolute;
    top: 4px;
    right: 4px;
    background: #ff5e3a;
    color: white;
    font-size: 10px;
    font-weight: 600;
    padding: 2px 4px;
    border-radius: 8px;
    min-width: 16px;
    text-align: center;
}

/* Dropdowns */
.dropdown {
    position: relative;
}

.dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 8px;
    background: white;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    min-width: 280px;
    display: none;
    z-index: 1001;
}

.dropdown.active .dropdown-menu {
    display: block;
}

.dropdown-header {
    padding: 16px 20px;
    border-bottom: 1px solid #cbd5e1;
}

.dropdown-header h4 {
    margin: 0;
    font-size: 16px;
    color: #222325;
}

.dropdown-divider {
    height: 1px;
    background: #cbd5e1;
    margin: 8px 0;
}

/* User menu */
.user-menu-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    border-radius: 24px;
    transition: all 0.3s ease;
}

.user-menu-toggle:hover {
    background: #f0f0f0;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.user-name {
    font-weight: 500;
    color: #222325;
}

.user-menu-toggle i {
    font-size: 12px;
    color: #95979d;
}

/* User info in dropdown */
.user-info {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
}

.user-info img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.user-info div {
    display: flex;
    flex-direction: column;
}

.user-info strong {
    color: #222325;
    font-size: 14px;
}

.user-info span {
    color: #62646a;
    font-size: 12px;
}

/* Dropdown items */
.dropdown-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #222325;
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: #f7f7f7;
    color: #2563eb;
}

.dropdown-item i {
    width: 20px;
    color: #62646a;
}

.dropdown-item:hover i {
    color: #2563eb;
}

.dropdown-item.highlight {
    background: #e8f5e9;
}

.dropdown-item.highlight:hover {
    background: #dbeafe;
}

.dropdown-item.logout {
    color: #ff5e3a;
}

.dropdown-item.logout i {
    color: #ff5e3a;
}

/* Notification list */
.notification-list {
    max-height: 400px;
    overflow-y: auto;
}

.no-notifications {
    padding: 40px 20px;
    text-align: center;
    color: #95979d;
    margin: 0;
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .quick-nav {
        display: none;
    }
    
    .quick-stats {
        display: none;
    }
}

@media (max-width: 768px) {
    .status-bar-container {
        padding: 0 15px;
    }
    
    .marketplace-logo span {
        display: none;
    }
    
    .user-name {
        display: none;
    }
    
    .dropdown-menu {
        position: fixed;
        top: 60px;
        right: 15px;
        left: 15px;
        width: auto;
    }
    
    /* Rendre les boutons de connexion/inscription plus compacts */
    .btn-login,
    .btn-register {
        padding: 6px 12px !important;
        font-size: 13px !important;
    }
    
    /* Afficher uniquement l'icône sur mobile pour gagner de l'espace */
    .btn-login i,
    .btn-register i {
        margin-right: 0 !important;
    }
    
    /* Masquer toute la navigation quick-nav sur mobile */
    .quick-nav {
        display: none !important;
    }
    
    /* Show mobile burger menu button on mobile */
    .mobile-menu-toggle {
        display: inline-flex !important;
        position: relative !important;
        z-index: 1001 !important;
    }
    
    /* For logged in users: hide right menu on mobile since we have burger menu */
    /* For non-logged in users: keep showing Connexion/Inscription buttons */
    .logged-in .status-bar-right .user-menu,
    .logged-in .status-bar-right .logout-btn {
        display: none !important;
    }
    
    /* Hide dashboard tabs navigation on mobile since we have burger menu */
    .dashboard-tabs {
        display: none !important;
    }
    
    /* Dashboard H2 titles on mobile */
    .dashboard-content h2,
    .dashboard-section h2,
    .section-header h2 {
        font-size: 15px !important;
    }
    
    /* Dashboard container padding on mobile */
    .dashboard-container {
        padding: 0 5px !important;
    }
    
    /* Dashboard section padding on mobile */
    .dashboard-section {
        padding: 10px !important;
    }
    
    /* Fix quote title overflow on mobile */
    .quote-title,
    .quote-title a {
        word-wrap: break-word !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
        white-space: normal !important;
        max-width: 100% !important;
        display: block !important;
    }
    
    /* Container padding for quote details page */
    .container {
        padding: 0 5px !important;
    }
    
    /* Reorder quote detail wrapper content on mobile */
    .quote-detail-wrapper {
        display: flex !important;
        flex-direction: column-reverse !important;
    }
    
    /* H1 font size on mobile */
    h1 {
        font-size: 20px !important;
    }
    
    /* Quote main content padding on mobile */
    .quote-main-content {
        padding: 10px !important;
    }
    
    /* Sidebar card padding on mobile */
    .sidebar-card {
        padding: 10px !important;
    }
    
    /* Réduire le padding et la taille de police des boutons btn-xl sur mobile */
    .btn-xl,
    .btn-primary.btn-xl,
    .btn-secondary.btn-xl {
        padding: 10px 16px !important;
        font-size: 13px !important;
    }
    
    /* Ajuster padding et margins de how-it-works client-steps sur mobile */
    .how-it-works.client-steps {
        padding: 20px 0 !important;
    }
    
    .how-it-works.client-steps .container {
        margin: 0 !important;
        padding: 0 !important;
    }
}

/* Dark mode support removed - site uses light theme only */
/* Force light color scheme even if device is in dark mode */
:root {
    color-scheme: light only;
}

html {
    color-scheme: light;
}


/* ============================================ */
/*        NOTIFICATIONS STYLES                  */
/* ============================================ */

/* Notifications CSS */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    min-width: 300px;
    max-width: 400px;
    padding: 16px 20px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    transform: translateX(420px);
    transition: transform 0.3s ease;
    z-index: 9999;
}

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

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

.notification span {
    flex: 1;
    font-size: 14px;
    line-height: 1.4;
}

/* Types de notifications */
.notification.success {
    border-left: 4px solid #3b82f6;
}

.notification.success i {
    color: #3b82f6;
}

.notification.error {
    border-left: 4px solid #e53e3e;
}

.notification.error i {
    color: #e53e3e;
}

.notification.info {
    border-left: 4px solid #4299e1;
}

.notification.info i {
    color: #4299e1;
}

.notification.warning {
    border-left: 4px solid #ed8936;
}

.notification.warning i {
    color: #ed8936;
}

/* Tooltip personnalisé */
.custom-tooltip {
    position: absolute;
    background: #2d3748;
    color: #fff;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 13px;
    white-space: nowrap;
    z-index: 9999;
    pointer-events: none;
}

.custom-tooltip::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #2d3748;
}

/* Chart loader */
.chart-loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* Loading spinner */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 3px solid #e2e8f0;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

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


/* ============================================ */
/*        VENDOR PAYMENT SETUP STYLES          */
/* ============================================ */

/* Payment Status Styles */
.payment-status {
    margin: 20px 0;
    border-radius: 12px;
    overflow: hidden;
}

.payment-status > div {
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Status Active */
.status-active {
    background: #dbeafe;
    border: 1px solid #bfdbfe;
}

.status-active i {
    font-size: 48px;
    color: #3b82f6;
}

.status-active h4 {
    margin: 0 0 8px;
    color: #1e3a8a;
    font-size: 20px;
}

.status-active p {
    margin: 0;
    color: #1e3a8a;
}

/* Commission Info */
.commission-info {
    margin-top: 12px !important;
    padding: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.commission-info i {
    font-size: 16px !important;
    color: #666;
}

/* Status Warning */
.status-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
}

.status-warning i {
    font-size: 48px;
    color: #f39c12;
}

.status-warning h4 {
    margin: 0 0 8px;
    color: #856404;
    font-size: 20px;
}

.status-warning p {
    margin: 0 0 12px;
    color: #856404;
}

/* Missing Requirements */
.missing-requirements {
    list-style: none;
    padding: 0;
    margin: 0;
}

.missing-requirements li {
    padding: 6px 0;
    color: #856404;
    display: flex;
    align-items: center;
    gap: 8px;
}

.missing-requirements li i {
    font-size: 10px !important;
    color: #f39c12;
}

/* Status Setup */
.status-setup {
    background: #e8f4fd;
    border: 1px solid #bee5eb;
}

.status-setup i {
    font-size: 48px;
    color: #17a2b8;
}

.status-setup h4 {
    margin: 0 0 8px;
    color: #0c5460;
    font-size: 20px;
}

.status-setup p {
    margin: 0;
    color: #0c5460;
}

/* Status Error */
.status-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
}

.status-error i {
    font-size: 48px;
    color: #dc3545;
}

.status-error h4 {
    margin: 0 0 8px;
    color: #721c24;
    font-size: 20px;
}

.status-error p {
    margin: 0;
    color: #721c24;
}

/* Action Buttons */
.btn-setup-payment,
.btn-repair-account {
    background: #667eea;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: auto;
    white-space: nowrap;
}

.btn-setup-payment:hover,
.btn-repair-account:hover {
    background: #5a54d8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.btn-setup-payment:disabled,
.btn-repair-account:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-repair-account {
    background: #f39c12;
}

.btn-repair-account:hover {
    background: #e67e22;
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

/* Payment Settings Form */
.payment-settings-section {
    margin-top: 40px;
}

.amount-input {
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 200px;
}

.amount-input .currency {
    font-size: 18px;
    font-weight: 600;
    color: #666;
}

.amount-input input {
    flex: 1;
}

/* Payment Guide Modal */
.payment-guide {
    max-width: 600px;
    padding: 32px;
}

.payment-guide h2 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 32px;
    color: #333;
}

.payment-guide h2 i {
    color: #667eea;
}

.guide-steps {
    margin-bottom: 32px;
}

.guide-steps .step {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #cbd5e1;
}

.guide-steps .step:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #667eea;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    flex-shrink: 0;
}

.step-content h3 {
    margin: 0 0 8px;
    font-size: 18px;
    color: #333;
}

.step-content p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.guide-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.guide-info p {
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666;
}

.guide-info p:last-child {
    margin-bottom: 0;
}

.guide-info i {
    color: #667eea;
    width: 20px;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
}

.modal-content {
    background: white;
    border-radius: 12px;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    background: transparent;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
    padding: 8px;
    line-height: 1;
}

.modal-close:hover {
    color: #666;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-close-modal {
    background: #6c757d;
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 6px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close-modal:hover {
    background: #5a6268;
}

/* Link for payment guide */
.show-payment-guide {
    color: #667eea;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.show-payment-guide:hover {
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .payment-status > div {
        flex-direction: column;
        text-align: center;
    }
    
    .btn-setup-payment,
    .btn-repair-account {
        margin: 20px auto 0;
    }
    
    .guide-steps .step {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}


/* ============================================ */
/*        MESSAGES CENTER STYLES               */
/* ============================================ */

/**
 * Messages Center Styles
 */

.messages-wrapper {
    background: #f7f7f7;
    min-height: 100vh;
}

.messages-container {
    margin: 0;
}

/* Page Header */
.page-header {
    margin-bottom: 32px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #62646a;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #2563eb;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #222325;
    margin: 0;
}

/* Messages Layout */
.messages-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 0;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    height: calc(100vh - 200px);
    min-height: 600px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

/* Conversations Sidebar */
.conversations-sidebar {
    background: #fff;
    border-right: 1px solid #cbd5e1;
    display: flex;
    flex-direction: column;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 18px;
    color: #222325;
}

.sidebar-header .count {
    background: #f0f0f0;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #62646a;
}

.conversations-list {
    flex: 1;
    overflow-y: auto;
}

.conversation-item {
    display: flex;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
    border-bottom: 1px solid #f0f0f0;
    transition: background 0.2s ease;
    position: relative;
}

.conversation-item:hover {
    background: #f7f7f7;
}

.conversation-item.active {
    background: #e8f5f0;
    border-left: 3px solid #2563eb;
    padding-left: 17px;
}

.conversation-item.has-unread {
    background: #fafafa;
}

.conversation-avatar {
    position: relative;
    flex-shrink: 0;
}

.conversation-avatar img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.online-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #2563eb;
    border: 2px solid white;
    border-radius: 50%;
}

.conversation-content {
    flex: 1;
    min-width: 0;
}

.conversation-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 4px;
}

.conversation-header h4 {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #222325;
}

.conversation-header .time {
    font-size: 12px;
    color: #95979d;
}

.service-name {
    font-size: 13px;
    color: #62646a;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.last-message {
    font-size: 14px;
    color: #62646a;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.last-message .you {
    color: #95979d;
}

.unread-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #2563eb;
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 20px;
    text-align: center;
}

.no-conversations {
    text-align: center;
    padding: 60px 20px;
    color: #95979d;
}

.no-conversations i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-conversations p {
    margin: 0 0 8px;
    font-size: 16px;
    color: #62646a;
}

.no-conversations span {
    font-size: 14px;
}

/* Chat Area */
.chat-area {
    display: flex;
    flex-direction: column;
    position: relative;
    background: #fafafa;
}

.chat-header {
    background: white;
    padding: 16px 24px;
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chat-user-info img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.chat-user-info h3 {
    margin: 0;
    font-size: 16px;
    color: #222325;
}

.chat-user-info .status {
    font-size: 13px;
    color: #62646a;
}

.chat-user-info .status.online {
    color: #2563eb;
}

.chat-actions {
    display: flex;
    gap: 8px;
}

.btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: 1px solid #cbd5e1;
    border-radius: 50%;
    color: #62646a;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-icon:hover {
    background: #f0f0f0;
    color: #222325;
}

/* Messages Area */
.messages-area {
    flex: 1;
    overflow-y: auto;
    padding: 20px 24px;
    display: flex;
    flex-direction: column;
}

.messages-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.date-separator {
    text-align: center;
    margin: 16px 0;
}

.date-separator span {
    background: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 13px;
    color: #62646a;
    display: inline-block;
}

.message-item {
    display: flex;
    gap: 8px;
    align-items: flex-end;
    max-width: 70%;
}

.message-item.mine {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-item.theirs {
    align-self: flex-start;
}

.message-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.message-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.message-item.mine .message-content {
    align-items: flex-end;
}

.message-bubble {
    padding: 12px 16px;
    border-radius: 18px;
    max-width: 400px;
    word-wrap: break-word;
}

.message-item.mine .message-bubble {
    background: #2563eb;
    color: white;
    border-bottom-right-radius: 4px;
}

.message-item.theirs .message-bubble {
    background: white;
    color: #222325;
    border-bottom-left-radius: 4px;
}

.message-attachment {
    margin-top: 8px;
}

.message-attachment img {
    max-width: 200px;
    border-radius: 8px;
    cursor: pointer;
}

.message-attachment a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    color: inherit;
    text-decoration: none;
    font-size: 14px;
}

.message-item.mine .message-attachment a {
    background: rgba(255, 255, 255, 0.2);
}

.message-time {
    font-size: 12px;
    color: #95979d;
    display: flex;
    align-items: center;
    gap: 4px;
}

.message-time i {
    color: #2563eb;
}

/* Typing Indicator */
.typing-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.typing-avatar img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.typing-dots {
    background: white;
    padding: 12px 16px;
    border-radius: 18px;
    border-bottom-left-radius: 4px;
    display: flex;
    gap: 4px;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: #95979d;
    border-radius: 50%;
    animation: typing 1.4s infinite;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

/* Message Input */
.message-input-area {
    background: white;
    border-top: 1px solid #cbd5e1;
    padding: 16px 24px;
}

.message-form .input-group {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.btn-attach {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: #62646a;
    cursor: pointer;
    transition: color 0.3s ease;
    flex-shrink: 0;
}

.btn-attach:hover {
    color: #2563eb;
}

.message-form textarea {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #cbd5e1;
    border-radius: 24px;
    resize: none;
    font-size: 14px;
    line-height: 1.5;
    max-height: 120px;
    transition: border-color 0.3s ease;
}

.message-form textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.btn-send {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.btn-send:hover {
    background: #1d4ed8;
    transform: scale(1.1);
}

.btn-send:disabled {
    background: #cbd5e1;
    cursor: not-allowed;
    transform: scale(1);
}

.file-preview {
    margin-top: 8px;
    padding: 8px 12px;
    background: #f0f0f0;
    border-radius: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.file-preview .file-name {
    font-size: 14px;
    color: #62646a;
}

.file-preview .remove-file {
    background: none;
    border: none;
    color: #95979d;
    cursor: pointer;
    padding: 4px;
}

.file-preview .remove-file:hover {
    color: #ff5e3a;
}

/* Conversation Closed */
.conversation-closed {
    text-align: center;
    padding: 24px;
    color: #95979d;
}

.conversation-closed i {
    font-size: 24px;
    margin-bottom: 8px;
}

.conversation-closed p {
    margin: 0;
    font-size: 14px;
}

/* Order Info Sidebar */
.order-info-sidebar {
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 320px;
    background: white;
    border-left: 1px solid #cbd5e1;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.04);
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.info-header {
    padding: 20px;
    border-bottom: 1px solid #cbd5e1;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-header h4 {
    margin: 0;
    font-size: 16px;
    color: #222325;
}

.close-info {
    background: none;
    border: none;
    font-size: 20px;
    color: #62646a;
    cursor: pointer;
}

.info-content {
    padding: 20px;
    overflow-y: auto;
}

.info-section {
    margin-bottom: 24px;
}

.info-section h5 {
    margin: 0 0 8px;
    font-size: 13px;
    color: #95979d;
    text-transform: uppercase;
}

.info-section p {
    margin: 0;
    color: #222325;
}

.btn-block {
    width: 100%;
    padding: 12px;
    background: #2563eb;
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: background 0.3s ease;
}

.btn-block:hover {
    background: #1d4ed8;
}

/* Chat Empty State */
.chat-empty {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px;
    color: #95979d;
}

.chat-empty i {
    font-size: 64px;
    margin-bottom: 24px;
    opacity: 0.3;
}

.chat-empty h3 {
    font-size: 20px;
    color: #62646a;
    margin: 0 0 8px;
}

.chat-empty p {
    margin: 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 1024px) {
    .messages-layout {
        grid-template-columns: 300px 1fr;
    }
}

@media (max-width: 768px) {
    .messages-layout {
        grid-template-columns: 1fr;
        height: calc(100vh - 140px);
    }
    
    .conversations-sidebar {
        display: none;
    }
    
    .conversations-sidebar.mobile-visible {
        display: flex;
        position: absolute;
        left: 0;
        top: 0;
        bottom: 0;
        width: 100%;
        z-index: 20;
    }
    
    .message-item {
        max-width: 85%;
    }
    
    .order-info-sidebar {
        width: 100%;
    }
}


/* ============================================ */
/*        SAVED SERVICES PAGE STYLES           */
/* ============================================ */

/**
 * Saved Services Page Styles
 */

.saved-services-wrapper {
    background: #f7f7f7;
    min-height: 100vh;
    padding: 40px 0;
}

.saved-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    margin-bottom: 32px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #62646a;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #2563eb;
}

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

.header-content h1 {
    font-size: 32px;
    font-weight: 700;
    color: #222325;
    margin: 0;
}

.saved-count {
    background: #cbd5e1;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #62646a;
    font-weight: 500;
}

/* Filters Bar */
.filters-bar {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    margin-bottom: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.filters-section {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: #f7f7f7;
    border: none;
    border-radius: 24px;
    color: #62646a;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.filter-btn:hover {
    background: #cbd5e1;
    color: #222325;
}

.filter-btn.active {
    background: #2563eb;
    color: white;
}

.filter-btn i {
    font-size: 12px;
}

.sort-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sort-section label {
    font-size: 14px;
    color: #62646a;
}

.sort-section select {
    padding: 8px 16px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    color: #222325;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.sort-section select:focus {
    outline: none;
    border-color: #2563eb;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

/* Service Image */
.service-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
    transform: scale(1.05);
}

.service-image .no-image {
    width: 100%;
    height: 100%;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #95979d;
    font-size: 48px;
}

.btn-remove-saved {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    background: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-remove-saved i {
    color: #ff4757;
    font-size: 18px;
}

.btn-remove-saved:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.featured-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: #ffba00;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Service Content */
.service-content {
    padding: 20px;
}

.vendor-info {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    font-size: 14px;
    color: #62646a;
}

.vendor-info img {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.service-content h3 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
}

.service-content h3 a {
    color: #222325;
    text-decoration: none;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.service-content h3 a:hover {
    color: #2563eb;
}

.service-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    font-size: 14px;
}

.rating {
    display: flex;
    align-items: center;
    gap: 4px;
}

.rating i {
    color: #cbd5e1;
    font-size: 12px;
}

.rating i.filled {
    color: #ffb800;
}

.rating .count {
    color: #95979d;
    margin-left: 4px;
}

.delivery {
    display: flex;
    align-items: center;
    gap: 4px;
    color: #62646a;
}

.delivery i {
    font-size: 12px;
}

.service-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f0f0f0;
}

.price span {
    display: block;
    font-size: 12px;
    color: #95979d;
    margin-bottom: 2px;
}

.price strong {
    font-size: 18px;
    color: #222325;
}

.btn-view {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-view:hover {
    background: #1d4ed8;
    transform: translateX(2px);
}

/* Collections Section */
.collections-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
}

.collections-section h2 {
    font-size: 24px;
    color: #222325;
    margin: 0 0 12px;
}

.collections-section p {
    color: #62646a;
    margin: 0 0 24px;
}

.btn-create-collection {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-create-collection:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.collections-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 20px;
    margin-top: 32px;
}

.collection-card {
    background: #f7f7f7;
    padding: 24px;
    border-radius: 12px;
    text-align: left;
    transition: all 0.3s ease;
}

.collection-card:hover {
    background: #f0f0f0;
}

.collection-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.collection-header i {
    font-size: 24px;
    color: #2563eb;
}

.collection-header h4 {
    margin: 0;
    font-size: 16px;
    color: #222325;
}

.collection-card p {
    margin: 0 0 16px;
    color: #62646a;
    font-size: 14px;
}

.btn-edit-collection {
    background: none;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 6px;
    color: #62646a;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-edit-collection:hover {
    border-color: #2563eb;
    color: #2563eb;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 12px;
}

.empty-state > i {
    font-size: 80px;
    color: #cbd5e1;
    margin-bottom: 24px;
}

.empty-state h2 {
    font-size: 28px;
    color: #222325;
    margin: 0 0 12px;
}

.empty-state > p {
    font-size: 16px;
    color: #62646a;
    margin: 0 0 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.empty-state .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.empty-state .btn-primary:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

.how-to-save {
    margin-top: 60px;
    padding-top: 60px;
    border-top: 1px solid #cbd5e1;
}

.how-to-save h3 {
    font-size: 20px;
    color: #222325;
    margin: 0 0 32px;
}

.steps {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.step {
    max-width: 200px;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: #2563eb;
    color: white;
    border-radius: 50%;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 16px;
}

.step p {
    margin: 0;
    color: #62646a;
    font-size: 14px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #cbd5e1;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #222325;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #62646a;
    cursor: pointer;
}

#collection-form {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #222325;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.color-picker {
    display: flex;
    gap: 12px;
}

.color-option {
    width: 40px;
    height: 40px;
    border: 3px solid transparent;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.color-option.active {
    border-color: #222325;
    transform: scale(1.1);
}

#collection-form .btn-primary {
    width: 100%;
    padding: 14px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

#collection-form .btn-primary:hover {
    background: #1d4ed8;
}

/* Responsive */
@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 16px;
    }
    
    .filters-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filters-section {
        order: 2;
    }
    
    .sort-section {
        order: 1;
        justify-content: space-between;
    }
    
    .steps {
        gap: 24px;
    }
}


/* ============================================ */
/*        SUPPORT PAGE STYLES                  */
/* ============================================ */

/**
 * Support Page Styles
 */

.support-wrapper {
    background: #f7f7f7;
    min-height: 100vh;
    padding: 40px 0;
}

.support-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Page Header */
.page-header {
    margin-bottom: 32px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #62646a;
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #2563eb;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #222325;
    margin: 0;
}

/* Quick Help Section */
.quick-help-section {
    background: white;
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 40px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.quick-help-section h2 {
    font-size: 24px;
    color: #222325;
    margin: 0 0 24px;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    position: relative;
}

.search-box i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #95979d;
    font-size: 18px;
}

.search-box input {
    width: 100%;
    padding: 16px 20px 16px 52px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.search-box input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

/* Help Categories */
.help-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 60px;
}

.category-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.category-icon {
    width: 60px;
    height: 60px;
    background: #e8f5f0;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    font-size: 28px;
    color: #2563eb;
}

.category-card h3 {
    font-size: 18px;
    color: #222325;
    margin: 0 0 16px;
}

.category-card ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.category-card li {
    margin-bottom: 12px;
}

.help-link {
    color: #62646a;
    text-decoration: none;
    font-size: 14px;
    display: flex;
    align-items: center;
    transition: color 0.3s ease;
}

.help-link:hover {
    color: #2563eb;
}

.help-link::before {
    content: '→';
    margin-right: 8px;
    opacity: 0;
    transition: all 0.3s ease;
}

.help-link:hover::before {
    opacity: 1;
    margin-right: 12px;
}

/* Popular Articles */
.popular-articles {
    margin-bottom: 60px;
}

.popular-articles h2 {
    font-size: 24px;
    color: #222325;
    margin: 0 0 24px;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.help-article {
    background: white;
    padding: 24px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.help-article:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.help-article h4 {
    margin: 0 0 12px;
    font-size: 16px;
}

.help-article h4 a {
    color: #222325;
    text-decoration: none;
    transition: color 0.3s ease;
}

.help-article h4 a:hover {
    color: #2563eb;
}

.help-article p {
    margin: 0;
    color: #62646a;
    font-size: 14px;
    line-height: 1.6;
}

/* Support Tickets Section */
.support-tickets-section {
    background: white;
    padding: 32px;
    border-radius: 12px;
    margin-bottom: 60px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

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

.section-header h2 {
    font-size: 20px;
    color: #222325;
    margin: 0;
}

.btn-create-ticket {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-create-ticket:hover {
    background: #1d4ed8;
    transform: translateY(-2px);
}

/* Tickets List */
.tickets-list {
    display: grid;
    gap: 16px;
}

.ticket-item {
    padding: 20px;
    background: #f7f7f7;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ticket-item:hover {
    background: #f0f0f0;
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 8px;
}

.ticket-info h4 {
    margin: 0 0 8px;
    font-size: 16px;
}

.ticket-info h4 a {
    color: #222325;
    text-decoration: none;
    transition: color 0.3s ease;
}

.ticket-info h4 a:hover {
    color: #2563eb;
}

.ticket-meta {
    display: flex;
    gap: 16px;
    font-size: 13px;
    color: #62646a;
}

.ticket-id {
    font-weight: 600;
}

.ticket-badges {
    display: flex;
    gap: 8px;
    align-items: center;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-open {
    background: #cce5ff;
    color: #004085;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-resolved {
    background: #dbeafe;
    color: #1e3a8a;
}

.status-closed {
    background: #e2e3e5;
    color: #383d41;
}

.priority-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.priority-badge.high {
    background: #f8d7da;
    color: #721c24;
}

.last-activity {
    margin: 0;
    font-size: 13px;
    color: #95979d;
    display: flex;
    align-items: center;
    gap: 6px;
}

.no-tickets {
    text-align: center;
    padding: 40px;
    color: #95979d;
}

.no-tickets i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-tickets p {
    margin: 0 0 8px;
    font-size: 16px;
    color: #62646a;
}

/* Contact Section */
.contact-section {
    margin-bottom: 40px;
}

.contact-section h2 {
    font-size: 24px;
    color: #222325;
    margin: 0 0 24px;
    text-align: center;
}

.contact-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.contact-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.contact-card > i {
    font-size: 48px;
    color: #2563eb;
    margin-bottom: 20px;
}

.contact-card h3 {
    font-size: 20px;
    color: #222325;
    margin: 0 0 12px;
}

.contact-card p {
    color: #62646a;
    margin: 0 0 20px;
}

.availability {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 20px;
}

.availability.online {
    background: #dbeafe;
    color: #1e3a8a;
}

.availability i {
    font-size: 8px;
}

.btn-start-chat {
    padding: 12px 24px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-start-chat:hover {
    background: #1d4ed8;
}

.contact-link {
    display: inline-block;
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 12px;
}

.contact-link:hover {
    text-decoration: underline;
}

.response-time {
    font-size: 13px;
    color: #95979d;
}

.btn-secondary {
    display: inline-block;
    padding: 10px 20px;
    background: white;
    color: #2563eb;
    border: 2px solid #2563eb;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #2563eb;
    color: white;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
}

.modal-content.large {
    max-width: 800px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px;
    border-bottom: 1px solid #cbd5e1;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    color: #222325;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #62646a;
    cursor: pointer;
}

/* Ticket Form */
#ticket-form {
    padding: 24px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #222325;
}

.required {
    color: #ff5e3a;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.file-upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload-area:hover {
    border-color: #2563eb;
    background: #fafafa;
}

.btn-upload {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: white;
    color: #62646a;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-upload:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.help-text {
    margin: 8px 0 0;
    font-size: 13px;
    color: #95979d;
}

.attachments-preview {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.checkbox input {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#ticket-form .btn-primary {
    width: 100%;
    padding: 14px;
    background: #2563eb;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

#ticket-form .btn-primary:hover {
    background: #1d4ed8;
}

/* Article Content */
.article-content {
    padding: 24px;
    color: #222325;
    line-height: 1.8;
}

.article-content h4 {
    font-size: 18px;
    margin: 24px 0 16px;
    color: #222325;
}

.article-content p {
    margin: 0 0 16px;
}

.article-content ul,
.article-content ol {
    margin: 0 0 16px;
    padding-left: 24px;
}

.article-footer {
    padding: 24px;
    border-top: 1px solid #cbd5e1;
    text-align: center;
}

.article-footer p {
    margin: 0 0 16px;
    color: #62646a;
}

.feedback-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
}

.btn-feedback {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: white;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    color: #62646a;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-feedback:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.btn-feedback.selected {
    background: #2563eb;
    border-color: #2563eb;
    color: white;
}

/* Billing Period Toggle */
.billing-period-toggle {
    display: flex;
    justify-content: center;
    margin: 30px 0;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    user-select: none;
}

.toggle-option {
    font-size: 16px;
    color: #666;
    transition: color 0.3s ease;
}

.toggle-option[data-period="monthly"] {
    color: #2563eb;
}

.toggle-switch {
    position: relative;
    width: 60px;
    height: 30px;
}

.toggle-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s;
    border-radius: 30px;
}

.toggle-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
}

.toggle-input:checked + .toggle-slider {
    background-color: #2563eb;
}

.toggle-input:checked + .toggle-slider:before {
    transform: translateX(30px);
}

.toggle-input:checked ~ .toggle-option[data-period="annual"] {
    color: #2563eb;
}

.toggle-input:checked ~ .toggle-option[data-period="monthly"] {
    color: #666;
}

.discount-badge {
    background: #f97316;
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 5px;
}

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

.annual-total {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 768px) {
    .help-categories {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .ticket-header {
        flex-direction: column;
        gap: 12px;
    }
    
    .ticket-badges {
        justify-content: flex-start;
    }
}

/* Spots remaining info styles */
.spots-remaining-info,
.spots-remaining-notice {
    margin-top: 15px;
    padding: 12px 16px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 8px;
    font-size: 14px;
    color: #1e40af;
    display: flex;
    align-items: center;
    gap: 10px;
}

.spots-remaining-info i,
.spots-remaining-notice i {
    font-size: 16px;
    color: #3b82f6;
}

.spots-remaining-info.spots-full,
.spots-remaining-notice.spots-full {
    background: #fef2f2;
    border-color: #fee2e2;
    color: #991b1b;
}

.spots-remaining-info.spots-full i,
.spots-remaining-notice.spots-full i {
    color: #dc2626;
}

/* Quote listing interested count styles */
.quote-meta-right {
    display: flex;
    align-items: center;
    gap: 12px;
}

.interested-count {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: #eff6ff;
    color: #2563eb;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.interested-count i {
    font-size: 12px;
}

.interested-count.spots-full {
    background: #fef2f2;
    color: #dc2626;
}

/* Dashboard my requests spots full style */
.stat-item.interested.spots-full {
    color: #dc2626;
}

.stat-item.interested.spots-full small {
    font-weight: 600;
    margin-left: 4px;
}

/* Button success (green) for unlock */
.btn-use-credit.btn-success {
    background: #10b981 !important;
    color: white !important;
    border: none;
    padding: 14px 24px;
    font-size: 16px;
    font-weight: 600;
    width: 100%;
    margin-top: 15px;
    box-shadow: 0 4px 6px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

.btn-use-credit.btn-success:hover {
    background: #059669 !important;
    transform: translateY(-1px);
    box-shadow: 0 6px 12px rgba(16, 185, 129, 0.3);
}

/* No subscription message */
.no-subscription-message {
    text-align: center;
    padding: 20px;
    background: #f9fafb;
    border-radius: 8px;
    margin-top: 15px;
}

.no-subscription-message i {
    font-size: 32px;
    color: #9ca3af;
    margin-bottom: 10px;
}

.no-subscription-message p {
    color: #6b7280;
    margin: 10px 0 15px 0;
    font-size: 14px;
}

.no-subscription-message .btn-primary {
    margin-top: 10px;
}

/* =====================================================
   FOOTER STYLES
   ===================================================== */
.marketplace-footer {
    background-color: #f8f9fa;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #e4e5e7;
}

.marketplace-footer .footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.marketplace-footer .footer-links {
    text-align: center;
    font-size: 14px;
}

.marketplace-footer .footer-links a {
    color: #666666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.marketplace-footer .footer-links a:hover {
    color: #007bff;
    text-decoration: underline;
}

.marketplace-footer .separator {
    color: #cccccc;
    margin: 0 15px;
}

/* =====================================================
   LEGAL PAGES STYLES
   ===================================================== */
.legal-page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px 80px;
    background: white;
    min-height: 80vh;
}

.legal-content {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.legal-content h1 {
    font-size: 36px;
    color: #111827;
    margin-bottom: 10px;
    font-weight: 700;
    border-bottom: 3px solid #3b82f6;
    padding-bottom: 15px;
}

.legal-content .last-update {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 40px;
    font-style: italic;
}

.legal-content section {
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 24px;
    color: #111827;
    margin-bottom: 20px;
    margin-top: 40px;
    font-weight: 600;
}

.legal-content h3 {
    font-size: 20px;
    color: #374151;
    margin-bottom: 15px;
    margin-top: 25px;
    font-weight: 600;
}

.legal-content p {
    line-height: 1.8;
    color: #4b5563;
    margin-bottom: 15px;
}

.legal-content ul {
    list-style: none;
    padding-left: 0;
    margin: 15px 0;
}

.legal-content ul li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
    line-height: 1.8;
    color: #4b5563;
}

.legal-content ul li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #3b82f6;
    font-weight: bold;
    font-size: 20px;
    line-height: 1;
}

.legal-content ul li strong {
    color: #111827;
    font-weight: 600;
}

.legal-content a {
    color: #3b82f6;
    text-decoration: underline;
}

.legal-content a:hover {
    color: #2563eb;
    text-decoration: none;
}

/* Legal Pages Responsive */
@media (max-width: 768px) {
    .legal-page-container {
        padding: 20px 15px 60px;
    }
    
    .legal-content {
        padding: 30px 20px;
    }
    
    .legal-content h1 {
        font-size: 28px;
    }
    
    .legal-content h2 {
        font-size: 20px;
    }
}

/* Category Filter Buttons for All Quotes */
.category-filters {
    margin-bottom: 30px;
}

.category-filters h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #333;
}

.category-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

/* =====================================================
   MOBILE BURGER MENU STYLES
   ===================================================== */

/* Mobile burger menu button - always hidden on desktop */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 8px 12px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    align-items: center;
    gap: 8px;
    margin-right: 15px;
    transition: all 0.2s ease;
    position: relative;
    z-index: 1001; /* Above everything */
}

.mobile-menu-toggle:hover {
    background-color: #f5f5f5;
    border-color: #999;
}

.mobile-menu-toggle i {
    font-size: 18px;
}

/* Mobile menu dropdown */
.mobile-menu-dropdown {
    display: none;
    position: fixed;
    top: 60px; /* Below status bar */
    left: 0;
    width: 100%;
    max-width: 300px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 9999; /* Higher than overlay (9998) */
    opacity: 0;
    transform: translateX(-100%);
    transition: all 0.3s ease;
}

.mobile-menu-dropdown.active {
    display: block !important;
    opacity: 1;
    transform: translateX(0);
}

/* Mobile menu navigation */
.mobile-dashboard-nav {
    padding: 10px 0;
}

.mobile-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.2s ease;
    position: relative;
}

.mobile-menu-item:hover {
    background-color: #f5f5f5;
}

.mobile-menu-item i {
    width: 20px;
    text-align: center;
    color: #666;
    font-size: 16px;
}

.mobile-menu-item span {
    flex: 1;
}

.menu-badge {
    background: #1dbf73;
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 10px;
    font-weight: 600;
    position: absolute;
    right: 20px;
}

.mobile-menu-divider {
    height: 1px;
    background: #e4e5e7;
    margin: 10px 0;
}

.mobile-menu-logout {
    color: #e74c3c;
}

.mobile-menu-logout i {
    color: #e74c3c;
}

/* Mobile overlay */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

.category-checkbox-btn {
    display: inline-block;
    position: relative;
    cursor: pointer;
    user-select: none;
}

.category-checkbox-btn input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.category-checkbox-btn span {
    display: inline-block;
    padding: 10px 20px;
    background: #f5f5f5;
    border: 2px solid #e4e5e7;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    color: #666;
    transition: all 0.3s ease;
}

.category-checkbox-btn:hover span {
    background: #e9e9e9;
    border-color: #d4d5d7;
}

.category-checkbox-btn input[type="radio"]:checked + span,
.category-checkbox-btn.active span {
    background: #333;
    color: white;
    border-color: #333;
}

.reset-filters {
    margin-top: 10px;
}

.reset-filters .btn-link {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    transition: color 0.3s ease;
}

.reset-filters .btn-link:hover {
    color: #333;
}

/* Responsive pour les boutons catégories */
@media (max-width: 768px) {
    .category-buttons {
        gap: 8px;
    }
    
    .category-checkbox-btn span {
        padding: 8px 16px;
        font-size: 13px;
    }
}

.client-benefits, .faq-section {
    padding-top:30px;
    padding-bottom: 30px;
}


/* Force navbar to stay visible on Messages tab mobile */
@media (max-width: 768px) {
    /* Ensure navbar stays on top when messages tab is active */
    .marketplace-user-status-bar {
        z-index: 99999 !important;
        position: sticky !important;
        top: 0 !important;
    }
    
    /* Make sure mobile menu elements are visible */
    .status-bar-left {
        z-index: 99999 !important;
        position: relative;
    }
    
    .mobile-menu-toggle {
        z-index: 100000 !important;
        position: relative !important;
    }
    
    /* Messages tab should not cover navbar */
    .dashboard-content:has(.messages-tab-wrapper) {
        margin-top: 0;
        position: relative;
        z-index: 1;
    }
    
    /* Ensure messages wrapper doesn't overlap navbar */
    .messages-tab-wrapper {
        position: relative !important;
        z-index: 10 !important;
        margin-top: 0 !important;
    }
    
    /* Keep modals on top */
    .messages-tab-wrapper .modal,
    .messages-tab-wrapper .modal-backdrop {
        z-index: 100001 !important;
    }
    
    /* Extra fix for messages tab - ensure burger menu is clickable */
    body:has(.messages-tab-wrapper) .mobile-menu-toggle {
        display: inline-flex !important;
        z-index: 100000 !important;
        position: relative !important;
        pointer-events: auto !important;
    }
    
    body:has(.messages-tab-wrapper) .marketplace-user-status-bar {
        z-index: 99999 !important;
        pointer-events: auto !important;
    }
    
    body:has(.messages-tab-wrapper) .status-bar-left {
        z-index: 99999 !important;
        pointer-events: auto !important;
    }
    
    /* Ensure mobile menu works on messages tab */
    body:has(.messages-tab-wrapper) .mobile-menu-dropdown {
        z-index: 100010 !important; /* Much higher than overlay */
        position: fixed !important;
    }
    
    body:has(.messages-tab-wrapper) .mobile-menu-dropdown.active {
        display: block !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
        visibility: visible !important;
    }
    
    body:has(.messages-tab-wrapper) .mobile-menu-overlay {
        z-index: 100000 !important; /* Lower than dropdown */
        position: fixed !important;
    }
    
    /* Force mobile menu to show on mobile devices */
    .mobile-menu-dropdown {
        display: none;
    }
    
    .mobile-menu-dropdown.active {
        display: block !important;
        opacity: 1 !important;
        transform: translateX(0) !important;
    }
}

/* Mobile Messaging Optimization */
@media (max-width: 768px) {
    /* Remove min-height from dashboard wrapper on messages tab */
    body:has(.messages-tab-wrapper) .unified-dashboard-wrapper,
    .messages-tab-wrapper .unified-dashboard-wrapper {
        min-height: auto !important;
        height: 100% !important;
    }
    
    /* Remove padding from dashboard container on messages tab */
    body:has(.messages-tab-wrapper) .dashboard-container {
        padding: 0 !important;
        height: 100% !important;
    }
    
    /* Ensure dashboard-content has no padding for messages */
    body:has(.messages-tab-wrapper) .dashboard-content {
        padding: 0 !important;
        margin: 0 !important;
        width: 100vw !important;
        height: 100% !important;
    }
    
    /* Fix page-content height on messages */
    body:has(.messages-tab-wrapper) .page-content {
        height: 100% !important;
        overflow: hidden !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* Messages Tab Mobile Layout */
    .messages-tab-wrapper {
        position: relative !important; /* Use relative positioning */
        width: 100vw !important;
        height: 100% !important;
        margin-left: calc(-50vw + 50%) !important; /* Center and extend to edges */
        margin-right: calc(-50vw + 50%) !important;
        padding: 0 !important;
        max-width: none !important;
        background: white;
        z-index: 1 !important;
    }
    
    /* All message items padding 0 on mobile */
    .messages-tab-wrapper .message-item {
        padding: 0 !important;
    }
    
    .messages-tab-wrapper .messages-container {
        height: 100% !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        overflow: hidden;
        padding: 10px !important;
    }
    
    /* Ensure panels slide properly */
    .messages-tab-wrapper .conversations-sidebar,
    .messages-tab-wrapper .messages-area,
    .messages-tab-wrapper .conversation-info-sidebar {
        position: absolute !important;
        width: 100% !important;
        height: 100% !important;
        top: 0 !important;
    }
    
    /* Messages area mobile padding */
    .messages-tab-wrapper .messages-area {
        padding: 0 !important;
    }
    
    /* Remove border radius from messages header on mobile */
    .messages-tab-wrapper .messages-header {
        border-radius: 0 !important;
    }
    
    /* Remove all border radius from messages elements on mobile */
    .messages-tab-wrapper,
    .messages-tab-wrapper .messages-container,
    .messages-tab-wrapper .messages-area,
    .messages-tab-wrapper .conversations-sidebar,
    .messages-tab-wrapper .conversation-info-sidebar {
        border-radius: 0 !important;
    }
    
    /* Fix page height to prevent double scrolling */
    body:has(.messages-tab-wrapper) {
        height: 100vh !important;
        height: 100dvh !important; /* Dynamic viewport height for mobile browsers */
        overflow: hidden !important;
    }
    
    /* Hide footer on messages page */
    body:has(.messages-tab-wrapper) .marketplace-footer,
    body:has(.messages-tab-wrapper) footer {
        display: none !important;
    }
    
    body:has(.messages-tab-wrapper) .site-content,
    body:has(.messages-tab-wrapper) #content,
    body:has(.messages-tab-wrapper) .content-area {
        height: 100% !important;
        overflow: hidden !important;
    }
    
    /* Messages container takes remaining height */
    .messages-tab-wrapper .messages-container {
        height: calc(100vh - 60px) !important; /* Subtract navbar height */
        height: calc(100dvh - 60px) !important; /* Dynamic viewport height for mobile browsers */
        overflow: hidden !important;
        margin-bottom: 0 !important;
        padding-bottom: env(safe-area-inset-bottom) !important; /* Safe area for iOS */
    }
    
    /* Messages area scrollable */
    .messages-tab-wrapper .messages-area {
        height: calc(100% - 70px) !important; /* Subtract header height */
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch !important;
    }
    
    /* Messages area mobile-active full height */
    .messages-tab-wrapper .messages-area.mobile-active {
        height: 100% !important;
    }
    
    /* Message form safe area for mobile browsers */
    .messages-tab-wrapper .message-form {
        padding-bottom: calc(16px + env(safe-area-inset-bottom)) !important;
    }
    
    /* Messages section with safe area */
    .messages-tab-wrapper #messages-section {
        padding-bottom: env(safe-area-inset-bottom) !important;
    }
    
    /* Adjust messages area to account for browser navbar */
    .messages-tab-wrapper .messages-area {
        padding-bottom: calc(60px + env(safe-area-inset-bottom)) !important; /* Extra space for browser navbar */
    }
    
    /* Mobile round navigation buttons */
    .messages-tab-wrapper .mobile-btn-round {
        display: flex !important;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: white;
        border: 1px solid #e5e7eb;
        align-items: center;
        justify-content: center;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
        transition: all 0.2s ease;
        cursor: pointer;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 10;
        padding: 0;
    }
    
    .messages-tab-wrapper .mobile-btn-round:active {
        transform: translateY(-50%) scale(0.95);
        box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
    }
    
    .messages-tab-wrapper .mobile-btn-round i {
        font-size: 18px;
        color: #333;
    }
    
    /* Position buttons on opposite sides */
    .messages-tab-wrapper #mobile-conversations-btn {
        position: relative;
        left: auto;
        transform: none;
        margin-left: 12px;
    }
    
    .messages-tab-wrapper #mobile-info-btn {
        position: relative;
        right: auto;
        transform: none;
        margin-right: 12px;
    }
    
    /* Messages header mobile with centered user */
    .messages-tab-wrapper .messages-header {
        padding: 0;
        height: 60px;
        border-bottom: 1px solid #e4e5e7;
        background: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    /* Mobile centered user info */
    .messages-tab-wrapper .header-user-info.mobile-center {
        display: flex !important;
        align-items: center;
        gap: 10px;
        padding: 0;
        flex: none;
    }
    
    .messages-tab-wrapper .mobile-center .user-avatar {
        width: 32px;
        height: 32px;
        border-radius: 50%;
        object-fit: cover;
    }
    
    .messages-tab-wrapper .mobile-center .user-name {
        font-size: 16px;
        font-weight: 600;
        color: #1f2937;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 180px;
    }
    
    /* Hide desktop user info on mobile */
    .messages-tab-wrapper .header-profile-link,
    .messages-tab-wrapper .user-details {
        display: none !important;
    }
    
    .messages-tab-wrapper .header-user-info .user-avatar {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }
    
    .messages-tab-wrapper .user-details {
        min-width: 0;
        flex: 1;
    }
    
    .messages-tab-wrapper .user-details h3 {
        font-size: 16px;
        margin: 0;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
    .messages-tab-wrapper .user-details .user-role {
        font-size: 12px;
        color: #6b7280;
    }
    
    /* Messages content area mobile */
    .messages-tab-wrapper .messages-content {
        height: calc(100% - 140px) !important; /* Header + input area */
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    /* Message input area mobile */
    .messages-tab-wrapper .message-input-area {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e5e7eb;
        padding: 10px;
        height: 80px;
    }
    
    .messages-tab-wrapper .message-input {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    /* Conversation sidebar mobile */
    .messages-tab-wrapper .conversations-sidebar {
        background: white;
        z-index: 20;
    }
    
    .messages-tab-wrapper .conversation-item {
        padding: 12px 15px;
        border-bottom: 1px solid #f0f0f0;
    }
    
    .messages-tab-wrapper .conversation-item:active {
        background: #f3f4f6;
    }
    
    .messages-tab-wrapper .conversation-item .user-avatar {
        width: 40px;
        height: 40px;
    }
    
    /* Info sidebar mobile */
    .messages-tab-wrapper .conversation-info-sidebar {
        background: white;
        z-index: 30;
    }
    
    .messages-tab-wrapper .info-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 15px;
        border-bottom: 1px solid #e4e5e7;
    }
    
    .messages-tab-wrapper .info-content {
        padding: 15px;
        overflow-y: auto;
        height: calc(100% - 60px);
    }
    
    /* Center info section elements on mobile */
    .messages-tab-wrapper .info-section {
        text-align: center;
    }
    
    .messages-tab-wrapper .info-section .info-profile-link {
        display: inline-block;
        margin: 0 auto;
    }
    
    .messages-tab-wrapper .info-section .user-avatar-large {
        margin: 0 auto;
        display: block;
    }
    
    .messages-tab-wrapper .info-section h4 {
        text-align: center;
        margin: 15px 0 5px;
    }
    
    .messages-tab-wrapper .info-section .user-role-badge {
        justify-content: center;
    }
    
    .messages-tab-wrapper .info-section .user-info-item {
        justify-content: center;
        text-align: center;
    }
    
    .messages-tab-wrapper .info-section .btn-primary {
        margin: 15px auto 0;
        display: block;
        width: auto;
        max-width: 200px;
    }
    
    /* Message bubbles mobile */
    .messages-tab-wrapper .message {
        max-width: 80%;
    }
    
    /* Align own messages to the right on mobile */
    .messages-tab-wrapper .message-item.own {
        padding: 0 !important;
        justify-content: end !important;
    }
    
    .messages-tab-wrapper .message-item.mine {
        padding: 0;
        justify-content: flex-end !important;
        padding-right: 10px !important;
        align-self: flex-end !important;
        margin-left: auto !important;
        max-width: 85% !important;
    }
    
    /* Hide avatar for own messages on mobile */
    .messages-tab-wrapper .message-item.own .message-avatar,
    .messages-tab-wrapper .message-item.own .message-avatar-placeholder,
    .messages-tab-wrapper .message-item.mine .message-avatar,
    .messages-tab-wrapper .message-item.mine .message-avatar-placeholder {
        display: none !important;
    }
    
    /* Grouped messages padding and content */
    .messages-tab-wrapper .message-item.grouped,
    .messages-tab-wrapper .message-item.grouped.last-in-group {
        padding: 0 !important;
    }
    
    .messages-tab-wrapper .message-item.grouped .message-content {
        padding: 0 !important;
    }
    
    .messages-tab-wrapper .message-item.grouped .message-avatar {
        margin-right: 0 !important;
    }
    
    /* Make received messages more compact */
    .messages-tab-wrapper .message-avatar {
        width: 28px !important;
        height: 28px !important;
        min-width: 28px !important;
        margin-right: 6px !important;
    }
    
    .messages-tab-wrapper .message-avatar img {
        width: 28px !important;
        height: 28px !important;
    }
    
    .messages-tab-wrapper .message-avatar-placeholder {
        width: 28px !important;
        min-width: 28px !important;
        margin-right: 0 !important;
    }
    
    .messages-tab-wrapper .message-content {
        font-size: 14px;
        padding: 0 !important;
    }
    
    /* Specific padding for own messages content */
    .messages-tab-wrapper .message-item.own .message-content {
        padding: 0 !important;
    }
    
    /* No margin for own messages avatar (even though it's hidden) */
    .messages-tab-wrapper .message-item.own .message-avatar {
        margin-right: 0 !important;
    }
    
    .messages-tab-wrapper .message-time {
        font-size: 11px;
    }
    
    /* Mobile close buttons */
    .messages-tab-wrapper .mobile-close-sidebar {
        display: flex !important;
        background: none;
        border: none;
        font-size: 22px;
        color: #666;
        padding: 8px;
    }
    
    /* Hide desktop elements */
    .messages-tab-wrapper .desktop-only {
        display: none !important;
    }
    
    /* Touch-friendly sizes */
    .messages-tab-wrapper .btn-attach {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important; /* Zero padding for attachment button */
        margin: 0 !important;
    }
    
    .messages-tab-wrapper .btn-send {
        width: 32px !important; /* More compact send button */
        height: 32px !important;
        min-width: 32px !important;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0 !important;
        font-size: 14px !important;
    }
    
    .messages-tab-wrapper .btn-send i.fa-paper-plane {
        margin-right: 0 !important;
    }
    
    /* Ensure vertical centering in input group */
    .messages-tab-wrapper .input-group {
        align-items: center !important; /* Center vertically */
    }
    
    /* Simplify attachments */
    .messages-tab-wrapper .message-attachments {
        margin-top: 8px;
    }
    
    .messages-tab-wrapper .attachment-item {
        padding: 8px;
        font-size: 12px;
    }

/* ========================================
   QUOTE COMPLETION SUMMARY STYLES
   ======================================== */

/* Completion banner for finished quotes */
.quote-completed-banner {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.completion-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.completion-info h3 {
    color: white;
    margin: 0 0 8px 0;
    font-size: 18px;
    font-weight: 600;
}

.completion-info p {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 14px;
}

/* Completion summary section */
.quote-completion-summary {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.completion-vendor-section {
    margin-bottom: 32px;
}

.completion-vendor-section h3 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.completion-vendor-section h3 i {
    color: #059669;
}

.completion-vendor-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.completion-vendor-card .vendor-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.completion-vendor-card .vendor-avatar.default {
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #64748b;
    font-size: 20px;
}

.completion-vendor-card .vendor-info h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.completion-vendor-card .vendor-info p {
    margin: 0;
    font-size: 14px;
    color: #64748b;
}

/* Review section */
.completion-review-section {
    border-top: 1px solid #e2e8f0;
    padding-top: 24px;
}

.completion-review-section h3 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.completion-review-section h3 i {
    color: #f59e0b;
}

.client-rating-summary {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px;
}

.client-rating-summary p {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #1e293b;
    font-weight: 500;
}

.rating-stars {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-bottom: 12px;
}

.rating-stars i {
    color: #f59e0b;
    font-size: 18px;
}

.rating-stars .star-empty {
    color: #e2e8f0;
}

.review-comment {
    font-style: italic;
    color: #64748b;
    background: #f8fafc;
    padding: 12px;
    border-radius: 6px;
    border-left: 3px solid #e2e8f0;
}

/* No vendor section */
.completion-no-vendor-section {
    margin-bottom: 32px;
}

.completion-no-vendor-section h2 {
    color: #1e293b;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.completion-no-vendor-section h2 i {
    color: #6366f1;
}

/* Own means resolution styling */
.own-means-resolution {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px;
}

.resolution-info {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.resolution-icon {
    width: 50px;
    height: 50px;
    background: #f1f5f9;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.resolution-icon i {
    font-size: 20px;
    color: #6366f1;
}

.resolution-content h3 {
    margin: 0 0 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #1e293b;
}

.resolution-reason {
    margin: 8px 0 0 0;
    padding: 12px;
    background: #f8fafc;
    border-radius: 6px;
    border-left: 3px solid #6366f1;
    font-size: 14px;
}

.resolution-reason strong {
    color: #1e293b;
}

.resolution-description {
    margin: 0;
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}


/* Vendor Reach Indicator - Admin only */
.vendor-reach-indicator {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    cursor: default;
    transition: all 0.3s ease;
}

/* Reach classes */
.vendor-reach-indicator.no-reach {
    background: #fee2e2;
    color: #dc2626;
    border: 1px solid #fecaca;
}

.vendor-reach-indicator.no-reach:hover {
    background: #fecaca;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vendor-reach-indicator.low-reach {
    background: #fed7aa;
    color: #ea580c;
    border: 1px solid #fdba74;
}

.vendor-reach-indicator.low-reach:hover {
    background: #fdba74;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vendor-reach-indicator.medium-reach {
    background: #bfdbfe;
    color: #2563eb;
    border: 1px solid #93c5fd;
}

.vendor-reach-indicator.medium-reach:hover {
    background: #93c5fd;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.vendor-reach-indicator.high-reach {
    background: #bbf7d0;
    color: #16a34a;
    border: 1px solid #86efac;
}

.vendor-reach-indicator.high-reach:hover {
    background: #86efac;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Icon animation */
.vendor-reach-indicator i {
    font-size: 12px;
}

.vendor-reach-indicator.high-reach i {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Quote card */
.quote-card {
    position: relative;
}

.quote-card-header {
    padding: 15px;
}

/* Quote meta top - flexbox container */
.quote-meta-top {
    margin-bottom: 15px;
}

/* Alert button for admins */
.btn-alert-reach {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-alert-reach:hover {
    background: #d97706;
    transform: scale(1.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.btn-alert-reach i {
    font-size: 10px;
}

.btn-alert-sent {
    background: #10b981;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 600;
    cursor: default;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    opacity: 0.9;
}
