@import url('https://fonts.googleapis.com/css2?family=Google+Sans+Flex:wght@100..1000&family=JetBrains+Mono:wght@400;500;700&family=Oswald:wght@700&display=swap');

@font-face {
    font-family: 'Charles Wright';
    src: url('fonts/CharlesWright-Bold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

:root {
    --color-primary: #151515;
    /* Main structural dark tone (Charcoal) */
    --color-primary-light: #2A2A2A;
    /* Secondary layout panels */
    --color-secondary: #1B9BA2;
    /* Decal Color 2 (Vibrant Sea Teal) */
    --color-secondary-hover: #15516B;
    /* Decal Color 3 (Heavy Deep Blue) */
    --color-background: #F5F4EC;
    /* Warm off-white background (Cream) */
    --color-surface: #FAFAF7;
    /* Secondary white surface cards (Cream Light) */
    --color-surface-muted: #EBEAE1;
    /* Hover / Active background (Cream Dark) */
    --color-text: #151515;
    /* Main structural dark tone */
    --color-text-muted: #5F5F5F;
    /* Soft helper text */
    --color-border: rgba(21, 21, 21, 0.1);
    /* Charcoal Outline (10% opacity) */
    --color-border-focus: #1B9BA2;
    /* stripe.teal */
    --color-success: #8CC7B9;
    /* Decal Color 1 (Light Mint) */
    --color-error: #8b2626;

    --font-heading: 'Google Sans Flex', sans-serif;
    --font-sans: 'Google Sans Flex', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --shadow-sm: 0 2px 4px rgba(21, 21, 21, 0.05);
    --shadow-md: 0 8px 16px rgba(21, 21, 21, 0.08);
    --shadow-lg: 0 16px 32px rgba(21, 21, 21, 0.12);

    --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-background);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    padding-bottom: 60px;
    /* Space for PWA Nav Bar on mobile */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.25;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: var(--transition-smooth);
}

a:hover {
    color: var(--color-secondary);
}

/* Base Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Navigation */
.main-header {
    background-color: rgba(245, 244, 236, 0.9);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-text);
    border-bottom: 1px solid rgba(21, 21, 21, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: none;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--color-text);
}

.logo-text {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.logo-text span {
    color: var(--color-secondary);
}

.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: var(--color-text);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.nav-links a:hover,
.nav-links .active-link {
    color: var(--color-secondary);
    border-bottom: 2px solid var(--color-secondary);
}
/* Hero Grid & Column Styling (Replacing Tailwind grids) */
.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    align-items: center;
    width: 100%;
}
.hero-left-column {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 320px;
    width: 100%;
}
.hero-right-column {
    width: 100%;
}
@media (max-width: 992px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Hero Section & Smart Search */
.hero-section {
    padding: 80px 0 60px 0;
    text-align: center;
    background: radial-gradient(circle at top, var(--color-primary-light) 0%, var(--color-primary) 100%);
    color: #ffffff;
    border-bottom: 1px solid var(--color-border);
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: var(--color-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.hero-title {
    font-size: 48px;
    color: #ffffff;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.search-box-container {
    max-width: 650px;
    margin: 40px auto 0 auto;
    position: relative;
    padding: 0 16px;
}

.search-wrapper {
    position: relative;
    display: flex;
    background: var(--color-surface);
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    padding: 6px;
    border: 2px solid transparent;
    transition: var(--transition-smooth);
}

.search-wrapper:focus-within {
    border-color: var(--color-secondary);
}

.search-input-field {
    flex-grow: 1;
    border: none;
    background: transparent;
    padding: 14px 24px;
    font-size: 16px;
    font-family: var(--font-sans);
    outline: none;
    color: var(--color-text);
}

.search-input-field::placeholder {
    color: #9c9c9c;
}

.search-submit-btn {
    background-color: var(--color-primary);
    color: #ffffff;
    border: none;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-submit-btn:hover {
    background-color: var(--color-secondary);
    color: #ffffff;
}

.search-tagline {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 16px;
}

.search-tagline strong {
    color: var(--color-secondary);
}

/* Cards & Grid Lists */
.section-title-bar {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 32px;
    border-bottom: 2px solid var(--color-border);
    padding-bottom: 12px;
}

.section-title {
    font-size: 28px;
}

.parts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.part-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
}

.part-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-secondary);
}

.part-card-img-placeholder {
    height: 180px;
    background-color: var(--color-surface-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text-muted);
    border-bottom: 1px solid var(--color-border);
}

.part-card-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.part-card-badge {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-secondary);
    margin-bottom: 8px;
}

.part-card-title {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--color-primary);
}

.part-card-meta {
    font-size: 13px;
    color: var(--color-text-muted);
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.part-card-price {
    font-size: 20px;
    font-weight: 700;
    color: var(--color-primary);
    margin-top: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Forms & Wizard Styling */
.wizard-container {
    max-width: 750px;
    margin: 48px auto;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 40px;
}

.wizard-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 15px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-border);
    z-index: 1;
}

.wizard-step {
    position: relative;
    z-index: 2;
    background: var(--color-surface);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--color-border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-muted);
}

.wizard-step.active {
    border-color: var(--color-secondary);
    background: var(--color-secondary);
    color: #ffffff;
}

.wizard-step.completed {
    border-color: var(--color-primary);
    background: var(--color-primary);
    color: #ffffff;
}

.form-group {
    margin-bottom: 24px;
}

.form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-primary);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
    background-color: #ffffff;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-secondary);
    background-color: var(--color-surface);
    box-shadow: 0 0 0 3px rgba(27, 155, 162, 0.15);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: var(--transition-smooth);
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: #ffffff;
}

.btn-primary:hover {
    background-color: var(--color-secondary);
    color: #ffffff;
}

.btn-secondary {
    background-color: var(--color-surface-muted);
    color: var(--color-primary);
    border: 1px solid var(--color-border);
}

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

/* UK Plate Custom Visual Component */
.plate-preview-badge {
    background: #ffcc00;
    color: #000000;
    font-family: 'Inter', Impact, sans-serif;
    font-weight: 800;
    padding: 8px 16px;
    border-radius: 6px;
    border: 2px solid #000000;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 16px;
}

.plate-blue-strip {
    background: #003399;
    color: #ffffff;
    font-size: 9px;
    font-weight: 700;
    padding: 2px 4px;
    border-radius: 2px;
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

/* Details Page Components */
.details-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    margin: 48px 0;
}

.details-gallery {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    box-shadow: var(--shadow-sm);
}

.details-info {
    display: flex;
    flex-direction: column;
}

.compatibility-panel {
    background: var(--color-surface-muted);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-top: 32px;
}

.compatibility-title {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--color-primary);
    margin-bottom: 16px;
}

.compatibility-list {
    list-style: none;
    max-height: 250px;
    overflow-y: auto;
    padding-right: 8px;
}

.compatibility-list li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    justify-content: space-between;
    font-size: 14px;
}

.compatibility-list li:last-child {
    border-bottom: none;
}

.compatibility-list span.year {
    color: var(--color-text-muted);
    font-weight: 500;
}

.desktop-only-compatibility, .desktop-only-buy-box {
    display: block;
}
.mobile-only-compatibility, .mobile-only-buy-box {
    display: none;
}

/* Global Notifications/Alerts */
.alert {
    padding: 16px 24px;
    border-radius: var(--radius-sm);
    margin-bottom: 24px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-left: 4px solid transparent;
}

.alert-success {
    background-color: var(--color-surface-muted);
    color: var(--color-primary);
    border-left-color: var(--color-secondary);
}

.alert-error {
    background-color: #fce8e6;
    color: var(--color-error);
    border-left-color: var(--color-error);
}

.alert-warning {
    background-color: #fef7e0;
    color: #b06000;
    border-left-color: #fbbc04;
}

/* Mobile Bottom Navigation Bar for PWA */
.mobile-pwa-nav, .mobile-tab-bar {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--color-primary);
    border-top: 2px solid var(--color-secondary);
    height: 60px;
    z-index: 1000;
    box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

.mobile-pwa-nav-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 100%;
}

.mobile-pwa-nav-item {
    color: rgba(255, 255, 255, 0.7);
    font-size: 11px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.mobile-pwa-nav-item.active {
    color: var(--color-secondary);
}

.mobile-pwa-nav-item svg, .mobile-pwa-nav-item .material-symbols-outlined {
    width: 20px;
    height: 20px;
    font-size: 20px;
}

/* Header Search Container General Rule */
.header-search-container {
    display: flex;
    flex: 1;
    max-width: 500px;
    margin: 0 24px;
}

/* Mobile Menu Drawer & Overlay Base Rules */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 1001;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}
.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background: var(--color-surface);
    z-index: 1002;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    transition: right 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.mobile-menu-drawer.active {
    right: 0;
}
.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--color-border);
}
.mobile-menu-title {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 900;
    letter-spacing: 0.5px;
}
.mobile-menu-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text);
    display: flex;
    align-items: center;
}
.mobile-menu-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow-y: auto;
}
.mobile-drawer-link {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    padding: 8px 0;
    transition: var(--transition-smooth);
}
.mobile-drawer-link:hover {
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    body {
        padding-bottom: 0 !important;
    }

    .header-search-container {
        display: none !important;
    }

    .nav-links, .header-nav-link {
        display: none !important;
        /* Hide standard nav on mobile */
    }

    .header-nav {
        gap: 8px !important;
    }

    .mobile-hamburger-btn {
        display: flex !important;
    }

    .header-profile-name {
        display: none !important;
    }

    .header-list-part-btn span:not(.material-symbols-outlined) {
        display: none !important;
    }

    .header-list-part-btn {
        padding: 8px 12px !important;
        border-radius: 50%;
    }

    .mobile-pwa-nav {
        display: block !important;
        position: fixed !important;
        left: -9999px !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

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

    .hero-title {
        font-size: 32px;
    }

    .desktop-only-compatibility, .desktop-only-buy-box {
        display: none !important;
    }
    .mobile-only-compatibility, .mobile-only-buy-box {
        display: block !important;
    }
}

/* Sell Now Header CTA */
.btn-sell-now {
    background-color: #151515 !important;
    color: #ffffff !important;
    border: 2px solid #151515 !important;
    border-radius: 50px;
    padding: 6px 16px !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

.btn-sell-now:hover {
    background-color: var(--color-secondary) !important;
    color: #ffffff !important;
    border-color: var(--color-secondary) !important;
    text-decoration: none;
}

.btn-view-details {
    background-color: #151515 !important;
    color: #ffffff !important;
    border: 2px solid #151515 !important;
}

.btn-view-details:hover {
    background-color: var(--color-secondary) !important;
    border-color: var(--color-secondary) !important;
    color: #ffffff !important;
}

/* Part Card Grid Filter & Unverified Styles */
.grid-filter-bar {
    background-color: var(--color-surface-muted);
    padding: 10px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    margin-bottom: 24px;
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
}
.filter-btn {
    background: transparent;
    border: 1px solid var(--color-border);
    color: var(--color-text-muted);
    padding: 6px 16px;
    font-size: 12.5px;
    font-weight: 600;
    border-radius: 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    font-family: var(--font-sans);
}
.filter-btn:hover {
    border-color: var(--color-secondary);
    color: var(--color-primary);
}
.filter-btn.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    color: #ffffff;
}
.part-card.is-unverified {
    border: 1.5px dashed var(--color-secondary) !important;
    background-color: rgba(27, 155, 162, 0.05) !important;
}
.part-card-badge.unverified-badge {
    background-color: var(--color-surface-muted) !important;
    color: var(--color-secondary) !important;
    border: 1px solid var(--color-border);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    display: inline-block;
}

/* Custom retro decal stripe effect (vintage paddock graphics) */
.retro-stripe-bar {
    height: 6px;
    background: linear-gradient(to right, #8CC7B9 0%, #8CC7B9 33%, #1B9BA2 33%, #1B9BA2 66%, #15516B 66%, #15516B 100%);
}

/* Custom interactive transition states */
.slide-fade-active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
    position: relative;
}
.slide-fade-inactive {
    opacity: 0;
    transform: translateX(12px);
    pointer-events: none;
    position: absolute;
}

.slider-progress-bar {
    transition: width 6000ms linear;
}

/* Pulse indicators for live API logs */
.api-pulse {
    animation: pulse-green 1.5s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulse-green {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .4; transform: scale(1.1); }
}

/* Slanted logo helper styles for The Parts Shop theme */
.logo-container-slanted {
    background: #151515;
    color: #F5F4EC;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 8px 16px;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    transform: skew(-10deg);
    min-width: 130px;
    border-radius: 4px;
}
.logo-container-slanted:hover {
    transform: skew(-10deg) scale(1.05);
}
.logo-container-slanted-inner {
    transform: skew(10deg);
    text-align: center;
}
.logo-container-slanted-inner .the-text {
    display: block;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    opacity: 0.8;
    line-height: 1;
}
.logo-container-slanted-inner .parts-text {
    display: block;
    font-size: 20px;
    font-weight: 700;
    font-style: italic;
    letter-spacing: -0.05em;
    line-height: 1;
    margin: 2px 0;
}
.logo-container-slanted-inner .stripes {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    margin: 2px 0;
}
.logo-container-slanted-inner .stripe-1 {
    height: 2px;
    width: 24px;
    background-color: #8CC7B9;
}
.logo-container-slanted-inner .stripe-2 {
    height: 2px;
    width: 24px;
    background-color: #1B9BA2;
}
.logo-container-slanted-inner .stripe-3 {
    height: 2px;
    width: 24px;
    background-color: #15516B;
}
.logo-container-slanted-inner .shop-text {
    display: block;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    line-height: 1;
}
.logo-container-slanted-inner .shop-text span {
    color: #8CC7B9;
}

/* Redesigned Header Elements */
.header-nav {
    display: flex;
    align-items: center;
    gap: 20px;
}
.header-nav-link {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted) !important;
    transition: var(--transition-smooth);
    border-bottom: none !important;
    padding: 0 !important;
}
.header-nav-link:hover {
    color: var(--color-text) !important;
    border-bottom: none !important;
}
.header-notification-btn {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
    border-radius: 50%;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-text);
    transition: var(--transition-smooth);
}
.header-notification-btn:hover {
    background-color: var(--color-surface-muted);
}
.header-notification-dot {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 8px;
    height: 8px;
    background-color: var(--color-secondary);
    border-radius: 50%;
}
.header-profile-block {
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition-smooth);
}
.header-profile-block:hover {
    opacity: 0.8;
}
.header-profile-avatar {
    background-color: #000000;
    color: #ffffff;
    font-family: 'Charles Wright', sans-serif;
    font-size: 15px;
    font-weight: bold;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 4px;
    box-shadow: inset 0 0 0 0.5px #000000, 0 1px 2px rgba(0,0,0,0.15);
    border: 1.5px solid #000000;
    min-height: 26px;
    min-width: 28px;
    width: auto;
    height: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
.header-profile-name {
    font-size: 12px;
    font-weight: bold;
    color: var(--color-text);
}
.header-list-part-btn {
    background-color: var(--color-primary);
    color: var(--color-background);
    padding: 10px 20px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}
.header-list-part-btn:hover {
    background-color: var(--color-secondary);
    color: #ffffff;
}
.search-input-container:focus-within {
    border-color: var(--color-secondary) !important;
    box-shadow: 0 0 0 1px var(--color-secondary) !important;
}

/* Wanted Board Layout Responsive Styling */
.wanted-board-layout {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 48px;
    width: 100%;
}
@media (max-width: 992px) {
    .wanted-board-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Sticky Developer Testing Toolbar */
.sticky-dev-toolbar {
    position: fixed;
    right: 20px;
    top: 100px;
    width: 280px;
    background: rgba(250, 250, 247, 0.98);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1.5px solid var(--color-secondary);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 16px;
    z-index: 99999;
    font-family: var(--font-sans);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sticky-dev-toolbar.collapsed {
    transform: translateX(340px);
    opacity: 0;
    pointer-events: none;
}
.sticky-dev-toolbar-trigger {
    position: fixed;
    right: 20px;
    top: 100px;
    width: 48px;
    height: 48px;
    background: var(--color-primary);
    color: #ffffff;
    border: 1.5px solid var(--color-secondary);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 99998;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease;
}
.sticky-dev-toolbar-trigger:hover {
    background: var(--color-secondary);
    transform: scale(1.08);
}
.sticky-dev-toolbar-trigger.hidden {
    transform: scale(0);
    pointer-events: none;
}
.sticky-dev-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    font-weight: 800;
    color: var(--color-primary);
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 8px;
    margin-bottom: 4px;
}
.sticky-dev-close {
    background: none;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px;
    border-radius: 50%;
    transition: background-color 0.2s;
}
.sticky-dev-close:hover {
    background: var(--color-border);
    color: var(--color-primary);
}
.sticky-dev-section-title {
    font-size: 11px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--color-text-muted);
    margin-top: 4px;
    margin-bottom: 2px;
}
.sticky-dev-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.sticky-dev-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 700;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
    background: #ffffff;
    color: var(--color-primary);
}
.sticky-dev-btn:hover {
    border-color: var(--color-secondary);
    background: var(--color-surface-muted);
    color: var(--color-secondary);
}
.sticky-dev-btn.active-user {
    border-color: var(--color-secondary);
    background: rgba(27, 155, 162, 0.1);
    color: var(--color-secondary);
    pointer-events: none;
}

/* Custom Filter Button Mappings */
.filter-btn.verified-filter {
    border-color: #1B9BA2;
    color: #1B9BA2;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    padding: 6px 12px;
}
.filter-btn.verified-filter:hover, .filter-btn.verified-filter.active {
    background-color: #1B9BA2 !important;
    border-color: #1B9BA2 !important;
    color: #ffffff !important;
}

.filter-btn.unverified-filter {
    border-color: #FFCC00;
    color: #151515;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 4px;
    padding: 6px 12px;
}
.filter-btn.unverified-filter:hover, .filter-btn.unverified-filter.active {
    background-color: #FFCC00 !important;
    border-color: #FFCC00 !important;
    color: #151515 !important;
}

/* Wanted Board Card Hover Interaction */
.wanted-grid .compatibility-panel {
    transition: var(--transition-smooth);
    border: 1px solid var(--color-border);
}
.wanted-grid .compatibility-panel:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md) !important;
    border-color: var(--color-secondary) !important;
}

/* Custom Search Help Tooltip Layer */
.search-help-container {
    position: relative;
    display: inline-flex;
    align-items: center;
}
.search-help-tooltip {
    visibility: hidden;
    position: absolute;
    top: 135%;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--color-primary, #15516B);
    color: #ffffff;
    text-align: left;
    padding: 12px 16px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg, 0 10px 15px -3px rgba(0,0,0,0.2));
    z-index: 10000;
    width: 260px;
    font-size: 12px;
    line-height: 1.4;
    font-family: var(--font-sans), sans-serif;
    opacity: 0;
    transition: opacity 0.25s, visibility 0.25s;
    pointer-events: none;
    border: 1px solid rgba(255,255,255,0.15);
    white-space: normal;
    text-transform: none;
    font-weight: normal;
}
/* Tooltip arrow */
.search-help-tooltip::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -6px;
    border-width: 6px;
    border-style: solid;
    border-color: transparent transparent var(--color-primary, #15516B) transparent;
}
.search-help-container:hover .search-help-tooltip {
    visibility: visible;
    opacity: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Registration Grid Desktop Layout */
.register-grid-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
}
.platform-guide-box {
    grid-column: 1 / span 2;
    grid-row: 1;
    margin-bottom: -16px;
}
.login-column {
    grid-column: 1;
    grid-row: 2;
}
.register-column {
    grid-column: 2;
    grid-row: 2;
}

.wanted-accordion-container,
.buying-accordion-container,
.selling-accordion-container {
    display: none;
}

/* Unified Status Badges Style System */
.status-badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
    line-height: 1;
}
.status-active, .status-accepted, .status-paid, .status-shipped, .status-delivered, .status-published, .status-open {
    background: #eef7f2 !important;
    color: #1e7e34 !important;
    border-color: #c3e6cb !important;
}
.status-pending, .status-processing, .status-countered, .status-paused {
    background: #fef7e0 !important;
    color: #b06000 !important;
    border-color: #ffe8b6 !important;
}
.status-disputed, .status-failed, .status-cancelled, .status-declined, .status-escalated {
    background: #fce8e6 !important;
    color: #c53929 !important;
    border-color: #fad2cf !important;
}
.status-completed, .status-sold, .status-resolved, .status-removed, .status-expired, .status-draft {
    background: #f1f3f4 !important;
    color: #5f6368 !important;
    border-color: #dadce0 !important;
}

/* Completed Items Muting System */
.completed-item-muted {
    opacity: 0.55 !important;
}
.completed-item-muted .buying-accordion-header,
.completed-item-muted .selling-accordion-header,
.completed-item-muted .wanted-accordion-header {
    background: #f1f3f4 !important;
}




