/*
Theme Name: Boxcar
Theme URI: https://themeforest.net/item/boxcar-automotive-car-dealer-wordpress-theme/36125002
Author: ApusTheme
Author URI: https://themeforest.net/user/apustheme
Description: Boxcar is clean theme, it's used Apus Framework.
Version: 1.1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: custom-background, custom-colors, custom-header, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: boxcar

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.
*/
img{
    max-width: 100%;
    height:auto;
 }
.alignnone {
    margin: 5px 20px 20px 0;
}

.aligncenter,
div.aligncenter {
    clear: both;
    display: block;
    margin: 5px auto 5px auto;
}

.alignright {
    float:right;
    clear: right;
    margin: 5px 0 32px 2em;
}
.wp-block-image .alignright{
    margin-left: 2em;
}
.alignleft {
    float: left;
    margin: 5px 2em 32px 0;
}
.wp-block-image .alignleft{
    margin-right: 2em;
}
a img.alignright {
    float: right;
    margin: 5px 0 20px 20px;
}

a img.alignnone {
    margin: 5px 20px 20px 0;
}

a img.alignleft {
    float: left;
    margin: 5px 20px 20px 0;
}

a img.aligncenter {
    display: block;
    margin-left: auto;
    margin-right: auto
}

.wp-caption {
    background: #fff;
    max-width: 96%; /* Image does not overflow the content area */
    padding: 5px 3px 10px;
    text-align: center;
}

.wp-caption.alignnone {
    margin: 5px 20px 5px 0;
}

.wp-caption.alignleft {
    margin: 5px 20px 5px 0;
}

.wp-caption.alignright {
    margin: 5px 0 5px 20px;
}

.wp-caption img {
    border: 0 none;
    height: auto;
    margin: 0;
    max-width: 98.5%;
    padding: 0;
    width: auto;
}

.wp-caption p.wp-caption-text {
    font-size: 11px;
    line-height: 17px;
    margin: 0;
    padding: 0 4px 5px;
}

/* Text meant only for screen readers. */
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

.screen-reader-text:focus {
    background-color: #f1f1f1;
    border-radius: 3px;
    box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
    clip: auto !important;
    color: #21759b;
    display: block;
    font-size: 14px;
    font-size: 0.875rem;
    font-weight: bold;
    height: auto;
    left: 5px;
    line-height: normal;
    padding: 15px 23px 14px;
    text-decoration: none;
    top: 5px;
    width: auto;
    z-index: 100000; /* Above WP toolbar. */
}
.gallery-caption {
    box-sizing: border-box;
}
.bypostauthor{
    box-sizing: border-box;
}
.wp-block-pullquote{
    border:none;
}
.wp-block-archives.aligncenter, .wp-block-categories.aligncenter, .wp-block-latest-posts.aligncenter {
    text-align: center;
}
.wp-block-cover{
    margin-bottom: 28px;
}
.wp-block-embed{
    margin-bottom: 30px;
}
.product-block.grid .product-image{
    width: 100%;
}
.product-block.grid .product-image img{
    width: 100%;
}
.bread-title{
    word-break: break-word;
    word-wrap: break-word;
}
.advane-search-wrapper-fields {
    display: none;
}

.wp-block-cover.has-background-dim .wp-block-cover-text{
    color: #fff;
}
.wp-block-button {
    margin-top: 15px;
    margin-bottom: 15px;
}
.logo-theme img{
    max-width: 150px;
}

/* fix */
p{
    margin-bottom: 20px;
}
.main-page.full-default {
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
    float: none;
}
.cmb-th span.required {
    color: red;
}
@media(max-width: 767px){
    .widget-listing-search-form.horizontal .form-group-location{
        flex-wrap: wrap;
    }
    .widget-listing-search-form.horizontal .form-group-location > div ~ div{
        margin-top: 15px;
    }
}
.contact-form-agent .agent-content .email {
    word-wrap: break-word;
}
.select2-container--open.select2-container{
    z-index: 999990;
}

/* Force primary text color to black */
:root {
    --boxcar-text-color: #000000 !important;
}
body {
    color: #000000 !important;
}

/* Fix footer rounded corners background showing black; change it to red */
.elementor-1407 .elementor-element.elementor-element-799bb5e:not(.elementor-motion-effects-element-type-background),
.elementor-1407 .elementor-element.elementor-element-799bb5e > .elementor-motion-effects-container > .elementor-motion-effects-layer {
    background-color: var(--boxcar-theme-color, #CF0F47) !important;
}

/* ===========================
   LIQUID GLASS HEADER FOR ALL PAGES
=========================== */

#apus-header, 
#apus-header-mobile,
.apus-header, 
.header-mobile {
    position: fixed !important;
    top: 18px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: calc(100% - 50px) !important;
    max-width: 1320px !important;
    z-index: 99999 !important;

    /* Translucent Red with Stronger Glassmorphism */
    background: rgba(207, 15, 71, 0.78) !important;
    backdrop-filter: blur(24px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(24px) saturate(180%) !important;

    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 22px !important;

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.2),
        inset 0 1px rgba(255, 255, 255, 0.35) !important;

    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1) !important;
    overflow: visible !important;
}

/* Hover Effect */
#apus-header:hover, 
#apus-header-mobile:hover,
.apus-header:hover, 
.header-mobile:hover {
    transform: translateX(-50%) translateY(-2px) !important;
    background: rgba(207, 15, 71, 0.88) !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.35),
        inset 0 1px rgba(255, 255, 255, 0.45) !important;
}

/* Make ALL inner Elementor containers transparent so glass shows through and prevent them from stretching beyond parent */
#apus-header .elementor-section,
#apus-header-mobile .elementor-section,
.apus-header .elementor-section,
.header-mobile .elementor-section,
#apus-header .e-con,
#apus-header-mobile .e-con,
.apus-header .e-con,
.header-mobile .e-con {
    left: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}
#apus-header .elementor-container,
#apus-header-mobile .elementor-container,
#apus-header .elementor-column,
#apus-header-mobile .elementor-column,
#apus-header .elementor-column-wrap,
#apus-header-mobile .elementor-column-wrap,
#apus-header .elementor-widget-wrap,
#apus-header-mobile .elementor-widget-wrap,
#apus-header .elementor-motion-effects-layer,
#apus-header-mobile .elementor-motion-effects-layer,
#apus-header .elementor-widget-container,
#apus-header-mobile .elementor-widget-container {
    background-color: transparent !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* Ensure default text in header is white on glass layouts */
#apus-header, 
#apus-header-mobile,
.apus-header, 
.header-mobile {
    color: #ffffff !important;
}

/* Ensure links in the glass header are white, but exclude buttons */
#apus-header a:not(.elementor-button), 
#apus-header-mobile a:not(.elementor-button),
.apus-header a:not(.elementor-button), 
.header-mobile a:not(.elementor-button) {
    color: #ffffff !important;
    transition: all 0.3s ease !important;
}

#apus-header a:not(.elementor-button):hover, 
#apus-header-mobile a:not(.elementor-button):hover,
.apus-header a:not(.elementor-button):hover, 
.header-mobile a:not(.elementor-button):hover {
    color: #FFD700 !important; /* Gold hover color for premium contrast */
}

/* Ensure dropdown menu links have dark text for readability on their white background */
#apus-header .sub-menu a,
#apus-header-mobile .sub-menu a,
.apus-header .sub-menu a,
.header-mobile .sub-menu a,
#apus-header .dropdown-menu a,
#apus-header-mobile .dropdown-menu a,
.apus-header .dropdown-menu a,
.header-mobile .dropdown-menu a,
#apus-header .elementor-nav-menu--dropdown a,
#apus-header-mobile .elementor-nav-menu--dropdown a,
.apus-header .elementor-nav-menu--dropdown a,
.header-mobile .elementor-nav-menu--dropdown a {
    color: #000000 !important;
}

#apus-header .sub-menu a:hover,
#apus-header-mobile .sub-menu a:hover,
.apus-header .sub-menu a:hover,
.header-mobile .sub-menu a:hover,
#apus-header .dropdown-menu a:hover,
#apus-header-mobile .dropdown-menu a:hover,
.apus-header .dropdown-menu a:hover,
.header-mobile .dropdown-menu a:hover,
#apus-header .elementor-nav-menu--dropdown a:hover,
#apus-header-mobile .elementor-nav-menu--dropdown a:hover,
.apus-header .elementor-nav-menu--dropdown a:hover,
.header-mobile .elementor-nav-menu--dropdown a:hover {
    color: #CF0F47 !important; /* Red hover color for dropdown menu items */
}

/* Ensure buttons keep their Elementor styling (colored text on white background) */
#apus-header .elementor-button,
#apus-header-mobile .elementor-button,
.apus-header .elementor-button,
.header-mobile .elementor-button {
    color: #CF0F47 !important;
    background-color: #FFFFFF !important;
    border-color: #E23125 !important;
}

#apus-header .elementor-button:hover,
#apus-header-mobile .elementor-button:hover,
.apus-header .elementor-button:hover,
.header-mobile .elementor-button:hover {
    color: #E23125 !important;
    background-color: #F9E0E2 !important;
    border-color: #E23125 !important;
}

/* Sticky Scroll State - Transitions to flat top header */
#apus-header.sticky-header,
#apus-header-mobile.sticky-header,
.apus-header.sticky-header,
.header-mobile.sticky-header,
#apus-header.elementor-sticky--effects,
#apus-header-mobile.elementor-sticky--effects,
.apus-header.elementor-sticky--effects,
.header-mobile.elementor-sticky--effects {
    top: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 0 !important;
    background: rgba(207, 15, 71, 0.90) !important;
    border: none !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35) !important;
    transform: translateX(-50%) translateY(0) !important;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    #apus-header, 
    #apus-header-mobile,
    .apus-header, 
    .header-mobile {
        width: calc(100% - 20px) !important;
        top: 10px !important;
        border-radius: 16px !important;
    }
}

/* Reset main wrapper margin globally so the background goes behind the header */
#apus-main-content {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Base static fallback for page content margins before JS runs */
#main-container {
    margin-top: 110px;
}

body.home #main-container,
body.header_transparent #main-container {
    margin-top: 0;
}

@media (max-width: 991px) {
    #main-container {
        margin-top: 100px;
    }
}

@media (max-width: 768px) {
    #main-container {
        margin-top: 85px;
    }
}/* Restrict Mobile Logo Size (Header and Off-canvas Menu) */
#apus-header-mobile .logo img,
.header-mobile .logo img,
#apus-mobile-menu .logo img,
.header-top-offcanvas .logo img {
    max-height: 40px !important;
    width: auto !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

/* Testimonial Active Review Stars Color Override */
.widget-testimonials .star2 .w-percent-active .star {
    background: #CF0F47 !important;
}

/* --- Premium Glassmorphism Header Override --- */
#apus-header .elementor-section,
#apus-header .main-sticky-header,
#apus-header.header-default,
#apus-header .header-default {
    background-color: rgba(203, 41, 87, 0.25) !important; /* Semi-transparent brand pink */
    backdrop-filter: blur(16px) !important; /* Standard blur */
    -webkit-backdrop-filter: blur(16px) !important; /* Safari support */
    border: 1px solid rgba(255, 255, 255, 0.18) !important; /* Subtle glass border */
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.25) !important; /* Soft depth shadow */
}

/* Ensure inner columns don't override background with solid colors */
#apus-header .elementor-column,
#apus-header .elementor-widget-wrap {
    background: transparent !important;
}

/* Fix header overlap with WordPress Admin Bar when logged in */
.admin-bar #apus-header {
    top: 32px !important;
}

@media (max-width: 782px) {
    .admin-bar #apus-header {
        top: 46px !important;
    }
}

/* ==========================================================================
   OUR GALLERY CAROUSEL CUSTOM STYLE ENHANCEMENTS
   ========================================================================== */

/* Add spacing (gap) between slides */
.elementor-element-982cfce .swiper-slide {
    padding: 0 12px !important;
    box-sizing: border-box !important;
}

/* Allow shadows to display without vertical clipping */
.elementor-element-982cfce .elementor-image-carousel-wrapper {
    padding: 15px 0 30px 0 !important;
    overflow: visible !important;
}

/* Keep the Swiper widget contained */
.elementor-element-982cfce.elementor-widget-image-carousel {
    overflow: hidden !important;
}

/* Premium Rounded Corners and Soft Depth Shadow on Gallery Images */
.elementor-element-982cfce .swiper-slide img {
    border-radius: 16px !important;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08) !important;
}

/* Subtle Hover Zoom Scale & Deep Shadow Effect */
.elementor-element-982cfce .swiper-slide img:hover {
    transform: scale(1.025) !important;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.16) !important;
}

/* Sleek Round Glassmorphic Navigation Buttons */
.elementor-element-982cfce .elementor-swiper-button-prev,
.elementor-element-982cfce .elementor-swiper-button-next {
    width: 44px !important;
    height: 44px !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border: 1px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 50% !important;
    color: #000000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Hover Accent color matching brand red */
.elementor-element-982cfce .elementor-swiper-button-prev:hover,
.elementor-element-982cfce .elementor-swiper-button-next:hover {
    background: #CF0F47 !important;
    color: #ffffff !important;
    transform: scale(1.08) !important;
    box-shadow: 0 8px 25px rgba(207, 15, 71, 0.35) !important;
    border-color: #CF0F47 !important;
}

/* Position offset for Navigation Arrows */
.elementor-element-982cfce .elementor-swiper-button-prev {
    left: 20px !important;
}
.elementor-element-982cfce .elementor-swiper-button-next {
    right: 20px !important;
}

/* Indicator Pagination Bullets Custom Design */
.elementor-element-982cfce .swiper-pagination-bullet {
    width: 8px !important;
    height: 8px !important;
    background: #cccccc !important;
    opacity: 0.6 !important;
    transition: all 0.3s ease !important;
    border-radius: 50% !important;
}

/* Stretch Active Bullet into a premium Pill Shape */
.elementor-element-982cfce .swiper-pagination-bullet-active {
    width: 24px !important;
    border-radius: 10px !important;
    background: #CF0F47 !important;
    opacity: 1 !important;
}

/* ==========================================================================
   SHOW ALL BUTTON MICRO-ANIMATION & HOVER OVERRIDE
   ========================================================================== */
.elementor-element-6fb999b .elementor-button {
    color: #CF0F47 !important;
    transition: all 0.3s ease !important;
}

.elementor-element-6fb999b .elementor-button:hover {
    color: #a80c39 !important;
}

.elementor-element-6fb999b .elementor-button-icon {
    transition: transform 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.elementor-element-6fb999b .elementor-button:hover .elementor-button-icon {
    transform: translate(3px, -3px) !important;
}

/* ==========================================================================
   HOMEPAGE HERO SECTION & MOBILE RESPONSIVE & MODAL SYSTEM (ULTRA-MODERN)
   ========================================================================== */
.elementor-element-3a47ca4 {
    position: relative;
    overflow: hidden;
}

/* 1. Headline Styling: Supercars (Bold) + for Superstars (Light) */
.hero-title-bold {
    font-weight: 800 !important;
    color: #FFFFFF !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    letter-spacing: -1.5px !important;
    text-shadow: 0 4px 30px rgba(207, 15, 71, 0.4), 0 2px 10px rgba(0, 0, 0, 0.8) !important;
}

.hero-title-thin {
    font-weight: 300 !important;
    color: #FFFFFF !important;
    font-family: 'Inter', system-ui, -apple-system, sans-serif !important;
    opacity: 0.95 !important;
    letter-spacing: -0.5px !important;
    text-shadow: 0 4px 25px rgba(0, 0, 0, 0.8) !important;
}

/* 2. Search & Action Row Container */
.hero-search-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.hero-search-bar-form {
    display: inline-block;
    margin: 0;
}

.hero-search-input-wrap {
    display: flex;
    align-items: center;
    background: rgba(18, 18, 24, 0.72);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    padding: 6px 16px 6px 20px;
    width: 380px;
    max-width: 90vw;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(207, 15, 71, 0.15);
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.hero-search-input-wrap:focus-within,
.hero-search-input-wrap:hover {
    border-color: #CF0F47;
    box-shadow: 0 10px 35px rgba(207, 15, 71, 0.45), 0 0 25px rgba(207, 15, 71, 0.3);
    background: rgba(25, 25, 35, 0.88);
}

.hero-search-icon {
    color: rgba(255, 255, 255, 0.75);
    font-size: 16px;
    margin-right: 12px;
}

.hero-search-field {
    background: transparent !important;
    border: none !important;
    outline: none !important;
    color: #FFFFFF !important;
    font-size: 15px !important;
    width: 100% !important;
    box-shadow: none !important;
    padding: 10px 0 !important;
}

.hero-search-field::placeholder {
    color: rgba(255, 255, 255, 0.7) !important;
    font-weight: 400 !important;
}

.hero-filter-btn {
    background: rgba(207, 15, 71, 0.2);
    border: 1px solid rgba(207, 15, 71, 0.5);
    border-radius: 50%;
    color: #FFFFFF;
    cursor: pointer;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.hero-filter-btn:hover {
    background: #CF0F47;
    color: #FFFFFF;
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(207, 15, 71, 0.6);
}

/* 3. Discover Collection Primary Button */
.hero-btn-discover-primary .elementor-button {
    background: linear-gradient(135deg, #FFFFFF 0%, #F1F5F9 100%) !important;
    color: #0F172A !important;
    border-radius: 50px !important;
    padding: 15px 34px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0.3px !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2), 0 0 15px rgba(255, 255, 255, 0.1) !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
}

.hero-btn-discover-primary .elementor-button:hover {
    background: linear-gradient(135deg, #CF0F47 0%, #E60040 100%) !important;
    color: #FFFFFF !important;
    border-color: #CF0F47 !important;
    transform: translateY(-3px) scale(1.04) !important;
    box-shadow: 0 12px 35px rgba(207, 15, 71, 0.5) !important;
}

/* 4. Bottom Glassmorphic Pill Buttons */
.hero-glass-pill-btn .elementor-button {
    background: rgba(30, 30, 38, 0.72) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 50px !important;
    padding: 14px 30px !important;
    color: #FFFFFF !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.35) !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    cursor: pointer !important;
}

.hero-glass-pill-btn .elementor-button:hover {
    background: rgba(207, 15, 71, 0.9) !important;
    border-color: #CF0F47 !important;
    color: #FFFFFF !important;
    transform: translateY(-3px) scale(1.04) !important;
    box-shadow: 0 12px 35px rgba(207, 15, 71, 0.5) !important;
}

/* 5. Mobile Phone Responsive Optimization (Phone View) */
@media (max-width: 767px) {
    .elementor-element-3a47ca4 {
        background-image: url('http://localhost/carsellingwebsite/wp-content/uploads/2026/07/supercar_hero_mobile_1785312944.jpg') !important;
        background-position: center top !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        min-height: 520px !important;
        padding-top: 10px !important;
        padding-bottom: 20px !important;
    }

    .hero-title-bold, 
    .hero-title-thin {
        display: block !important;
        font-size: 28px !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }

    .hero-search-row {
        flex-direction: column !important;
        width: 100% !important;
        gap: 12px !important;
        margin-top: 15px !important;
    }
    
    .hero-search-bar-form {
        width: 100% !important;
    }

    .hero-search-input-wrap {
        width: 100% !important;
        max-width: 100% !important;
        padding: 6px 14px 6px 16px !important;
        border-radius: 30px !important;
        background: rgba(15, 15, 20, 0.85) !important;
    }

    .hero-search-field {
        font-size: 14px !important;
    }

    .hero-btn-discover-primary {
        width: 100% !important;
    }
    
    .hero-btn-discover-primary .elementor-button {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px 20px !important;
        font-size: 14px !important;
        border-radius: 30px !important;
    }
    
    .hero-bottom-btns-wrap {
        flex-direction: column !important;
        align-items: stretch !important;
        width: 100% !important;
        gap: 10px !important;
        margin-top: 25px !important;
    }

    .hero-glass-pill-btn {
        width: 100% !important;
    }

    .hero-glass-pill-btn .elementor-button {
        width: 100% !important;
        justify-content: center !important;
        padding: 13px 20px !important;
        font-size: 14px !important;
        border-radius: 30px !important;
        text-align: center !important;
    }
}

/* 6. MODAL SYSTEM STYLING (INTERACTIVE POPUPS) */
.sdw-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(8, 9, 14, 0.82);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.sdw-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.sdw-modal-box {
    background: #13141C;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 24px;
    width: 100%;
    max-width: 540px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 35px rgba(207, 15, 71, 0.2);
    transform: scale(0.92) translateY(20px);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    color: #FFFFFF;
}

.sdw-modal-overlay.active .sdw-modal-box {
    transform: scale(1) translateY(0);
}

.sdw-modal-header {
    padding: 24px 28px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sdw-modal-title {
    margin: 0;
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    font-family: 'Inter', system-ui, sans-serif;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sdw-modal-title i {
    color: #CF0F47;
}

.sdw-modal-close {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #FFFFFF;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.25s ease;
}

.sdw-modal-close:hover {
    background: #CF0F47;
    border-color: #CF0F47;
    transform: rotate(90deg);
}

.sdw-modal-body {
    padding: 24px 28px 28px;
}

.sdw-form-group {
    margin-bottom: 20px;
}

.sdw-form-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.sdw-form-control {
    width: 100%;
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 12px !important;
    padding: 12px 16px !important;
    color: #FFFFFF !important;
    font-size: 15px !important;
    outline: none !important;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.sdw-form-control:focus {
    border-color: #CF0F47 !important;
    box-shadow: 0 0 15px rgba(207, 15, 71, 0.3) !important;
}

select.sdw-form-control option {
    background: #181924;
    color: #FFFFFF;
}

.sdw-brand-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 15px;
}

.sdw-chip {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: #CBD5E1;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sdw-chip:hover,
.sdw-chip.active {
    background: #CF0F47;
    border-color: #CF0F47;
    color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(207, 15, 71, 0.4);
}

.sdw-modal-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #CF0F47 0%, #E60040 100%);
    color: #FFFFFF;
    border: none;
    border-radius: 12px;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(207, 15, 71, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.sdw-modal-submit-btn:hover {
    background: linear-gradient(135deg, #E60040 0%, #B00C3B 100%);
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(207, 15, 71, 0.6);
}

@media (max-width: 576px) {
    .sdw-modal-overlay {
        padding: 12px;
        align-items: flex-end;
    }

    .sdw-modal-box {
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
        border-top-left-radius: 24px;
        border-top-right-radius: 24px;
        max-height: 85vh;
    }

    .sdw-modal-header {
        padding: 18px 20px 14px;
    }

    .sdw-modal-body {
        padding: 18px 20px 24px;
    }
}




