/* Header customizations */
.header-compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    position: relative;
    z-index: 100;
}

/* Mobile header - always visible */
@media (max-width: 1024px) {
    .header-compact {
        width: 100% !important;
        position: relative !important;
        z-index: 150 !important;
        display: flex !important;
    }
    
    .header-compact .lang-wrapper {
        margin-left: auto !important;
        position: relative !important;
        z-index: 200 !important;
    }
    
    .header-compact .lang-btn,
    .header-compact #langBtn {
        font-weight: 700 !important;
        text-transform: uppercase !important;
        color: #000 !important;
    }
    
    /* Hide navigation on mobile */
    .header-compact .auth-buttons {
        display: none !important;
    }
    
    /* Make header always show logo + language on mobile */
    header > div {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
    }
    
    header .hidden.flex-1 {
        display: none !important;
    }
}

.lang-wrapper {
    position: relative !important;
    display: inline-block;
    z-index: 1000;
}

.header-compact .lang-wrapper {
    flex: 0 0 auto;
    position: relative;
}

/* Language button - unified styles for ALL pages */
.lang-btn,
.header-compact .lang-btn,
#langBtn,
button#langBtn {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #000 !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    transition: background 0.2s !important;
}

.lang-btn:hover,
.header-compact .lang-btn:hover,
#langBtn:hover,
button#langBtn:hover {
    background: #f5f5f5 !important;
}

.lang-btn img,
.header-compact .lang-btn img,
#langBtn img,
button#langBtn img {
    width: 24px !important;
    height: 24px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

.header-compact .auth-buttons {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.header-compact .btn-get-report-new {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    --tw-text-opacity: 1;
    color: rgb(0 0 0/var(--tw-text-opacity,1));
    background: #FFD700;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-block;
}

.header-compact .btn-get-report-new:hover {
    background: #FFC700;
    transform: translateY(-1px);
}

.header-compact .btn-get-report {
    padding: 10px 24px;
    font-size: 14px;
    font-weight: 700;
    color: #fff;
    background: #2563eb;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.header-compact .btn-get-report:hover {
    background: #1d4ed8;
    transform: translateY(-1px);
}

/* Language dropdown */
.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: auto;
    min-width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 8px;
    z-index: 99999 !important;
    overflow: visible;
}

.lang-dropdown.active {
    display: block !important;
}

.header-compact .lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 8px;
    z-index: 99999 !important;
}

.header-compact .lang-dropdown.active {
    display: block !important;
}

.lang-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s;
    white-space: nowrap;
}

.lang-item:hover {
    background: #f3f3f3;
}

.lang-item.active {
    background: #e5e7eb;
}

.lang-item img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.header-compact .lang-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 700;
    --tw-text-opacity: 1;
    color: rgb(0 0 0/var(--tw-text-opacity,1));
    cursor: pointer;
    transition: background 0.2s;
    white-space: nowrap;
}

.header-compact .lang-item:hover {
    background: #f5f5f5;
}

.header-compact .lang-item.active {
    background: #e5e7eb;
}

.header-compact .lang-item img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.accordion-content {
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.accordion-content.open {
    max-height: 500px;
    opacity: 1;
}

.accordion-content p {
    margin: 0;
    padding: 16px;
    border-top: 1px solid #e5e7eb;
}

.newsletter-success-inline {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #d1fae5;
    border-radius: 12px;
    padding: 16px;
    animation: fadeIn 0.3s ease;
}

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

.success-inline-icon {
    width: 32px;
    height: 32px;
    background: #10b981;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.success-inline-icon svg {
    fill: white;
}

.success-inline-content {
    flex: 1;
}

.success-inline-content h4 {
    font-size: 16px;
    font-weight: 700;
    color: #000;
    margin: 0 0 8px 0;
}

.success-inline-content p {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    color: #000;
}

.success-inline-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: opacity 0.2s;
    flex-shrink: 0;
}

.success-inline-close:hover {
    opacity: 1;
}

.success-inline-close svg {
    fill: #000;
}

._inputWrapper_1khao_95.email-error {
    border: 2px solid #ef4444 !important;
    animation: shake 0.3s ease;
}

._inputWrapper_1khao_95.email-error input::placeholder {
    color: #ef4444;
}

@keyframes shake {
    0%, 100% {
        transform: translateX(0);
    }
    25% {
        transform: translateX(-5px);
    }
    75% {
        transform: translateX(5px);
    }
}

/* VIN Input Error Styling - highlight entire container */
.IdentifierInput_root__2e03a.IdentifierInput_error__fvVEx.IdentifierInput_l__q5giJ,
.IdentifierInput_root__2e03a.IdentifierInput_error__fvVEx.IdentifierInput_m__OgsIz {
    --outlineColor: #ef4444 !important;
    --textColor: #ef4444 !important;
    animation: shake 0.3s ease;
}

.IdentifierInput_root__2e03a.IdentifierInput_error__fvVEx .IdentifierInput_container__20aMN {
    --outlineColor: #ef4444 !important;
}

.IdentifierInput_root__2e03a.IdentifierInput_error__fvVEx .IdentifierInput_input__gfgg0 {
    color: #ef4444 !important;
}

.IdentifierInput_root__2e03a.IdentifierInput_error__fvVEx .IdentifierInput_placeholder__n5GXP {
    color: #ef4444 !important;
}

/* Mobile VIN Input Error */
@media (max-width: 679px) {
    .IdentifierInput_root__2e03a.IdentifierInput_error__fvVEx .IdentifierInput_container__20aMN {
        box-shadow: 0 0 0 2px #ef4444 !important;
        animation: shake 0.3s ease;
    }
}

/* Email input wrapper styling */
._inputWrapper_1khao_95 {
    position: relative;
    display: flex;
    align-items: center;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 12px 16px;
    background: white;
    transition: all 0.2s ease;
}

._inputWrapper_1khao_95:focus-within {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

._inputWrapper_1khao_95 input {
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    background: transparent !important;
    flex: 1;
}

._inputWrapper_1khao_95 input:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* Precheck list items - no text wrap */
.precheck-list-item {
    white-space: nowrap;
}

.IdentifierInput_placeholder__n5GXP {
    transition: opacity 0.2s ease;
    pointer-events: none;
}

.IdentifierInput_input__gfgg0 {
    position: relative;
    z-index: 1;
}


@media(max-width: 1200px) {
    .burggg {
        display: none;
    }
    .head_gody {
        text-align: center;
        justify-content: center;
        display: flex;
        margin: auto;
        width: 100%;
    }   
}

 

@media(max-width: 700px) {
    .blockpadding-pix {
        padding: 0 20px !important;
    }
}

@media(max-width: 600px) {
    .display_flex_btn_hero {
        width: 100%;
        margin: auto;
    }
    .text_hero_padding {
        padding: 0 20px;
    }
    .hero_car_undflex-padding {
        width: 400px;
    }
    .max-padding {
        width: 300px;
        height: 300px;
    }
    .text-margin-left_thirdin {
        margin-left: 25px;
    }
}

/* Mobile language selector */
#langBtnMobile,
#langDropdownMobile {
    display: block !important;
}

#langBtnMobile {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 12px !important;
    background: transparent !important;
    border: none !important;
    border-radius: 6px !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #000 !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    transition: background 0.2s !important;
}

#langBtnMobile:hover {
    background: #f5f5f5 !important;
}

#langBtnMobile img {
    width: 20px !important;
    height: 15px !important;
    object-fit: cover !important;
    border-radius: 2px !important;
}

#langDropdownMobile {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 180px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 8px;
    z-index: 99999 !important;
}

#langDropdownMobile.active {
    display: block !important;
}

@media (max-width: 1024px) {
    .header-compact.lg\\:hidden {
        display: flex !important;
        align-items: center !important;
        justify-content: flex-end !important;
        position: relative !important;
        z-index: 200 !important;
    }
    
    .header-compact.lg\\:hidden .lang-wrapper {
        position: relative !important;
        z-index: 201 !important;
    }
}

/* VIN Header Grid Layout */
/* Mobile: Stack vertically, align left */
.vin-header-grid {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
}

.vin-header-divider {
    display: none !important;
}

.vin-header-features {
    align-items: flex-start;
    text-align: left;
}

.vin-header-features h2,
.vin-header-features p {
    text-align: left !important;
}

/* Desktop: Grid layout with 3 columns */
@media (min-width: 768px) {
    .vin-header-grid {
        display: grid !important;
        grid-template-columns: 1fr auto 1.2fr !important;
        gap: 1.5rem !important;
    }
    
    .vin-header-divider {
        display: block !important;
        width: 1px !important;
        height: 100% !important;
        min-height: 100px !important;
        background-color: #d1e9ff !important;
        margin: 0 !important;
        border: none !important;
    }
    
    .vin-header-features {
        padding-left: 1rem;
    }
}