span {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}
#preview {
    position: absolute;
    left: -9999px;
    top: 0;
    width: 210mm;
}
#brands-search,
#model-search {
    width: 280px !important;
}

#model-year-selection,
#brands-list,
#models-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

#karinca-oto-deger-form {
    padding: 26px 45px 45px 45px;
    max-width: unset;
    margin: 0 auto;
    position: relative;
}

#brands,
#models,
#gearboxes,
#fuel-types,
#equipments,
#versions,
#body-type {
    display: none;
}

.result-title {
    width: 250px;
}

.step-1-wizard {
    display: none;
}

input {
    outline: 1px solid #444444;
}

input#sms_code {
    width: 300px !important;
    min-width: 200px !important;
    flex-shrink: 0;
}

#send-sms-code,
#confirm-sms-btn {
    width: 200px !important;
    min-width: 200px !important;
    flex-shrink: 0;
}

#sms-time {
    min-width: 100px;
    text-align: center;
    font-weight: 500;
    color: #1A1A18;
    flex-shrink: 0;

    .flex-container.gap-2.align-center.mt-10 {
        justify-content: center;
        flex-wrap: nowrap;
    }
}

.result {
    display: none;
    padding: 10px;
    gap: 2rem;
    background-color: #f9f9f9;
    border-radius: 5px;
    margin-bottom: 1rem;
}

.result-text {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Form genel stili */
form#car-offer-form {
    margin: 0 auto;
}

/* Form elemanları */
form#car-offer-form label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
}

form#car-offer-form input,
form#car-offer-form select {
    width: 100%;
    padding: 8px 20px;
    margin-top: 5px;
    margin-bottom: 10px;
    box-sizing: border-box;
    border: 1px solid #EEF1FB;
    border-radius: 44px;
}

form#car-offer-form button {
    margin-top: 15px;
    border: none;
    background-color: #E3000F;
    color: #fff;
    border-radius: 30px;
    cursor: pointer;
    width: 15%;
    min-height: 40px;
}

form#car-offer-form button:hover {
    background-color: #1A1A18;
}

.brand-button {
    width: 20%;
    height: 40px;
}

/* Wizard Step Wizard */
.step-wizard {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
}

.step-wizard-item {
    text-align: center;
    position: relative;

}

.step-wizard-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
        padding: 20px;
    width: 30px;
    height: 30px;
    background-color: #EEF1FB;
    border-radius: 50%;
    line-height: 30px;
    color: #a5abc0;
    margin-bottom: 5px;

}

.step-wizard-item.active .step-wizard-number {
    background-color: #E3000F;
    color: #fff;
}

.step-wizard-item.active,
.step-wizard-item.active .step-wizard-title {
    color: #1A1A18;
}

.step-wizard-title {
    font-weight: 600;
    font-size: 14px;
    color: #aaa;
}

/* Wizard Content */
.wizard-content {
    background-color: #fff;
}

.wizard-step-content {
    display: none;
}

.wizard-step-content.active {
    display: block;
}

/* Wizard Navigation */
.wizard-navigation {
    margin-top: 20px;
    text-align: right;
}

.wizard-navigation button {
    background-color: #0073aa;
    border: none;
    color: #fff;
    padding: 10px 15px;
    margin-left: 10px;
    border-radius: 5px;
    cursor: pointer;
}

.wizard-navigation button:hover {
    background-color: #005177;
}

.wizard-navigation .prev-step {
    background-color: #1A1A18 !important;
    color: white !important;
}

.wizard-navigation .prev-step:hover {
    background-color: #E3000F !important;
}

.wizard-navigation .next-step {
    background-color: #1A1A18 !important;
    color: white !important;
}

.wizard-navigation .next-step:hover {
    background-color: #E3000F !important;
}

/* Buton Grid (örn. Model Yılı, Marka seçim butonları için) */
.button-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
}

.button-grid button {
    flex: 0 0 auto;
    padding: 10px 15px;
    border: 1px solid #ccc;
    background: #fff;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.2s;
}

.button-grid button:hover {
    background-color: #eee;
}

.show-more {
    background-color: #0073aa;
    color: #fff;
    border: none;
}

.show-more:hover {
    background-color: #005177;
}

.expert-part input {
    width: unset !important;
}

.alert-message {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    padding: 10px 20px;
    margin: 10px 0;
    border-radius: 4px;
    position: relative;
    font-family: Arial, sans-serif;
    display: none;
}

.alert-message .alert-text {
    display: inline-block;
}

.alert-message .alert-close {
    position: absolute;
    top: 5px;
    right: 10px;
    background: none;
    border: none;
    color: #721c24;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
}


#loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}


.loader-spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #0073aa;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}


.expert-part {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 6px 1px;
}

.expert-part-label {
    font-size: .88rem;
    width: 12rem;
}


.radio-button input[type="radio"] {
    display: none;
}


.radio-button {
    display: inline-block !important;
    cursor: pointer;
}

.radio-button input[type="radio"]:not(:checked)+span {
    background: rgba(255, 255, 255, 0.8);
    color: #1A1A18;
    padding: 7px 20px;
    border: 1px solid #dcdcdc;
    border-radius: 25px;
    transition: background-color 0.2s;
}


.radio-button input[type="radio"]:hover+span {
    background-color: #1A1A18;
    color: white;
}

.radio-button input[type="radio"]:checked+span {
    background-color: #E3000F;
    padding: 7px 20px;
    color: white;
    border-color: #E3000F;
    border-radius: 25px;
    transition: background-color 0.2s;
}


.radio-button input[type="checkbox"] {
    display: none;
}

.radio-button input[type="checkbox"]:not(:checked)+span {
    background: rgba(255, 255, 255, 0.8);
    color: #333;
    border: 1px solid #ccc;
    border-radius: 4px;
    transition: background-color 0.2s;
}


.radio-button input[type="checkbox"]:hover+span {
    background-color: #f0f0f0;
}

.radio-button input[type="checkbox"]:checked+span {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.radio-button span {
    font-size: .7rem;
    text-transform: capitalize;

    display: flex;
    align-items: center;
    justify-content: center;
}

.radio-button .c-span {
    width: unset;
    height: unset;
    padding: 4px 10px;
}

#equipments-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.head-colors {
    position: absolute;
    top: 0;
    right: 5rem;
}

.head-colors ul {
    display: flex;
    list-style: none;
    justify-content: flex-end;
    margin: 0;
}

.head-colors ul li {
    margin-left: 21px;
    font-size: 14px;
}

.head-colors ul li span:first-child {
    width: 25px;
    height: 25px;
    display: block;
    border: 1px solid #e2e2e2;
        border-radius: 20px;
    margin: 0 auto;
}

.fill-red {
    fill: #d71920 !important;
}

.fill-green {
    fill: #4caf50 !important;
}

.fill-yellow {
    fill: #ffd800 !important;
}

button:disabled {
    opacity: 0.6 !important;
        cursor: not-allowed !important;
        background-color: #cccccc !important;
        color: #666666 !important;
        transform: none !important;
        box-shadow: none !important;
}

button:disabled:hover {
    background-color: #cccccc !important;
    transform: none !important;
    box-shadow: none !important;
}

.form-container {
    margin: 0 auto;
}

#terms {
    width: unset !important;
}

#price-result {
    display: none;
    background: transparent;
        border-radius: 20px;
    padding: 0;
        text-align: left;
        box-shadow: none;
        max-width: 1100px;
        margin: 18px auto 0 auto;
    }

#price-result .success-icon {
    display: none;
}

#price-result h4 {
    color: #0f172a;
        font-size: 18px;
        font-weight: 900;
        margin: 0;
        line-height: 1.25;
}

#price-result .price-container {
    background: rgba(227, 0, 15, 0.03);
    padding: 18px;
        border-radius: 16px;
        border: 1px solid rgba(227, 0, 15, 0.10);
        margin: 14px 0 0 0;
}

#price-result .price {
    font-size: 20px;
        font-weight: 900;
        color: #0f172a;
        background: #ffffff;
    padding: 16px 16px;
        border-radius: 14px;
        display: inline-flex;
        align-items: baseline;
        gap: 8px;
    position: relative;
    margin: 0;
        border: 1px solid rgba(15, 23, 42, 0.10);
}

#price-result .info-message {
    color: #666666;
    font-size: 16px;
    line-height: 1.6;
    margin: 25px 0;
    padding: 20px;
    background: #ffffff;
    border-radius: 12px;
    border-left: 4px solid #E3000F;
        text-align: left;
}

#price-result .contact-info {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

#price-result .contact-info p {
    color: #1A1A18;
    font-size: 15px;
    margin: 15px 0;
        line-height: 1.5;
    }
/* Email Gönderme Bölümü Stilleri */
#price-result .email-send-section {
    margin-top: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
}

#price-result #customer-email-input {
    flex: 1;
    min-width: 200px;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

#price-result #customer-email-input:focus {
    border-color: #E3000F;
}

#price-result #customer-email-input:disabled {
    background-color: #e9ecef;
    cursor: not-allowed;
}

#price-result #send-email-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 0, 15, 0.4);
}

#price-result #send-email-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

#price-result #email-send-message {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    display: none;
}

/* Premium success layout */
#price-result .kod-success {
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 18px;
    background:
        radial-gradient(800px 300px at 10% 0%, rgba(227, 0, 15, 0.10), rgba(227, 0, 15, 0) 55%),
        radial-gradient(700px 260px at 90% 10%, rgba(15, 23, 42, 0.06), rgba(15, 23, 42, 0) 60%),
        #ffffff;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.10);
    padding: 18px;
}

#price-result .kod-success-header {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 12px 14px 12px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.65);
    border: 1px solid rgba(15, 23, 42, 0.08);
}

#price-result .kod-success-icon {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(34, 197, 94, 1), rgba(16, 185, 129, 1));
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.30);
    flex: 0 0 auto;
}

#price-result .kod-success-kicker {
    font-size: 12px;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.60);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 2px;
}

#price-result .kod-success-subtitle {
    margin: 6px 0 0 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.35;
}

#price-result .kod-success-grid {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 12px;
    margin-top: 12px;
}

#price-result .kod-success-main,
#price-result .kod-success-actions,
#price-result .kod-success-email {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    padding: 14px;
}

#price-result .kod-actions-title {
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 10px;
    font-size: 13px;
    letter-spacing: -0.2px;
}

#price-result .kod-success-ref {
    padding: 12px;
    border-radius: 14px;
    border: 1px dashed rgba(15, 23, 42, 0.16);
    background: rgba(238, 241, 251, 0.55);
}

#price-result .kod-ref-label {
    font-size: 12px;
    font-weight: 900;
    color: rgba(15, 23, 42, 0.65);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

#price-result .kod-ref-row {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
}

#price-result .kod-ref-value {
    font-weight: 900;
    font-size: 18px;
    color: #0f172a;
    letter-spacing: 0.02em;
}

#price-result .kod-ref-copy {
    min-height: 40px !important;
    padding: 8px 12px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(15, 23, 42, 0.12) !important;
    background: #ffffff !important;
    color: #0f172a !important;
    font-weight: 800;
    cursor: pointer;
}

#price-result .kod-ref-copy:hover {
    border-color: rgba(15, 23, 42, 0.18) !important;
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

#price-result .kod-ref-message {
    margin-top: 8px;
    font-size: 12px;
    color: #475569;
    min-height: 16px;
}

#price-result .action-buttons {
    max-width: none;
    justify-content: stretch;
}

#price-result .action-buttons .karinca-action-btn {
    flex: 1 1 220px;
    min-width: 220px;
}

@media (max-width: 900px) {
    #price-result .kod-success-grid {
        grid-template-columns: 1fr;
    }

    #price-result .action-buttons .karinca-action-btn {
        min-width: unset;
        width: 100%;
    }
}
#price-result .highlight {
    color: #E3000F;
    font-weight: 600;
    background: rgba(227, 0, 15, 0.05);
    padding: 3px 8px;
    border-radius: 4px;
}

#result-referance,
#result-referance-copy {
    font-weight: 600;
    color: #E3000F;
    background: rgba(227, 0, 15, 0.05);
    padding: 3px 8px;
    border-radius: 4px;
}

#car-info-area {
    display: flex;
    flex-wrap: nowrap;
        /* elemanlar asla alt satıra geçmesin */
    overflow-x: auto;
    overflow-y: hidden;
    gap: 2rem;
    height: 70px;
    padding: 10px;
    background-color: #EEF1FB;
    border-radius: 5px;
    margin: 1rem 0;
}

.car-info-area-item {
    flex-shrink: 0;
        /* daralmayı engeller */
        white-space: nowrap;
        /* iç metin asla alt satıra inmesin */
    font-size: 14px;
    border: 1px solid #EEF1FB;
    background-color: white;
    border-radius: 12px;
    padding: 7px 20px;
    color: #1A1A18;
    display: flex;
        align-items: center;
        justify-content: center;
}

button.version-button {
    width: 40% !important;
    padding: 10px 20px;
}

#car-info-area::-webkit-scrollbar {
    height: 6px;
}

#car-info-area::-webkit-scrollbar-thumb {
    background: #ccc;
        border-radius: 3px;
}

/* Genel Flex Yardımcı Sınıflar */
.flex-container {
    display: flex;
    flex-wrap: wrap;
}

.flex-column {
    flex-direction: column;
}

.align-center {
    align-items: center;
    justify-content: center;
}

.flex-item-33 {
    flex: 0 0 29%;
}

.flex-item-40 {
    flex: 0 0 40%;
}

.flex-item-50 {
    flex: 0 0 50%;
}
.flex-item-55 {
    flex: 0 0 55%;
}

.flex-item-100 {
    flex: 0 0 100%;
}

.gap-2 {
    gap: 2rem;
}

.gap-1 {
    gap: 1rem;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-10 {
    margin-top: 10px;
}

.text-right {
    text-align: right;
}

.input-small {
    display: inline-block;
    width: 100px;
}

.divider {
    width: 1px;
    background-color: gray;
    height: 230px;
    margin: 0 1rem;
}

.relative {
    position: relative;
}

.loader {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#sms-verification {
    display: flex;
    flex-direction: column;
    align-items: center;
}

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


@media (max-width: 895px) {
    #karinca-oto-deger-form {
        padding: 25px 15px 25px 15px
    }
.min-none {
        display: none !important;
    }
.flex-item-40 {
        flex: 0 0 100%;
    }
.flex-item-55 {
        /* Eskiden SVG alanını gizliyordu; mobilde SVG üstte görünecek */
            flex: 0 0 100%;
            display: block;
    }
.expert-part {
        flex-wrap: wrap;
    }
.expert-part-label {
        width: 100% !important;
    }
.flex-item-50 {
        flex: 0 0 100%;
    }
.flex-item-33 {
        flex: 0 0 100%;
    }

        .radio-button {
            display: inline-block !important;
            cursor: pointer;
        width: 48% !important;
        }
}

@media (max-width: 715px) {

    form#car-offer-form input {
            width: 100% !important;
        }
        #brands-search,
        #model-search {
            width: 100% !important;
        }


    .step-wizard-title {
        display: none;
    }

        .step-wizard {
        margin-bottom: 0;
    }

        .wizard-content {
        padding-top: 0;
    }

    .step-wizard-item::before,
    .step-wizard-item::after {
        top: 40%;
    }

}

@media (max-width: 530px) {
.wizard-navigation .prev-step {
        width: 45% !important;
        }

        .wizard-navigation .next-step {
        width: 45% !important;
        }
form#car-offer-form input {
    width: 100% !important;
}
#brands-search,
#model-search {
    width: 100% !important;
}
        form#car-offer-form button {
        width: 48%;
    }

        button.version-button {
            width: 100% !important;
            padding: 10px 20px;
        }

}

/* Modern Select Styling for Car Color and Sunroof */
#color,
#sunroof,
#sehir {
    appearance: none;
    background-color: #fff;
    border: 1px solid #EEF1FB;
    border-radius: 44px;
    padding: 8px 20px;
    font-size: 14px;
    color: #1A1A18;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231A1A18' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'%3E%3C/path%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    cursor: pointer;
}

#color:focus,
#sunroof:focus,
#sehir:focus {
    outline: none;
}

#color option,
#sunroof option,
#sehir option {
    padding: 10px;
    font-size: 14px;
}

/* Animation for select change - REMOVED */

/* Modern Tramer Radio Styling */
.radio-group {
    display: flex;
    align-items: center;
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 5px;
    margin-bottom: 15px;
}

.radio-group .flex-item {
    position: relative;
    flex: 1;
    text-align: center;
}

.radio-group .flex-item span {
    display: inline-block;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
    width: 100%;
    position: relative;
    z-index: 1;
    pointer-events: none;
    /* Make the span not block clicks */
}

.radio-group .flex-item input[type="radio"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 100%;
    width: 100%;
    left: 0;
    top: 0;
    z-index: 2;
    /* Place above the span to receive clicks */
    margin: 0;
}

/* Adjust the styling since span is before input in the HTML */
.radio-group .flex-item input[type="radio"]:checked~span {
    background-color: #E3000F;
    color: white;
}

.radio-group .flex-item:hover span {
    background-color: rgba(227, 0, 15, 0.1);
}

/* Apply active styling to the active flex-item */
.radio-group .flex-item.active span {
    background-color: #E3000F;
    color: white;
    font-weight: bold;
}

#hasar_ucreti {
    border: 1px solid #E3000F;
    border-radius: 8px;
    padding: 10px 15px;
    margin-left: 10px;
    flex: 2;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: none;
    /* Hide by default */
}

#hasar_ucreti:focus {
    outline: none;
    border-color: #1A1A18;
    box-shadow: 0 0 0 3px rgba(227, 0, 15, 0.15);
}

#hasar_ucreti::placeholder {
    color: #999;
    opacity: 0.8;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .radio-group {
        flex-direction: column;
        align-items: stretch;
    }

    .radio-group .flex-item {
        margin-bottom: 5px;
    }

    #hasar_ucreti {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
    }
}

/* Modern checkbox styling */
.modern-checkbox-container {
    display: flex;
    align-items: center;
    margin: 10px 0;
    cursor: pointer;
}

.modern-checkbox-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.modern-checkbox-container label {
    position: relative;
    cursor: pointer;
    padding-left: 35px;
    font-size: 14px;
    user-select: none;
    display: inline-flex;
    align-items: center;
    margin: 0;
}

.modern-checkbox-container label:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border: 2px solid #E3000F;
    border-radius: 4px;
    background-color: #fff;
    transition: all 0.2s ease;
}

.modern-checkbox-container input:checked+label:before {
    background-color: #E3000F;
}

.modern-checkbox-container input:checked+label:after {
    content: '';
    position: absolute;
    left: 8px;
    top: 50%;
    transform: translateY(-60%) rotate(45deg);
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
}

.modern-checkbox-container label a {
    color: #E3000F;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.modern-checkbox-container label a:hover {
    color: #1A1A18;
    text-decoration: underline;
}

@media (max-width: 768px) {
    .modern-checkbox-container {
        margin: 15px 0;
    }
}

/* Randevu ve Arama Butonları */
.karinca-action-btn {
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.karinca-action-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

.karinca-action-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2) !important;
}

.karinca-btn-appointment:hover {
    background: linear-gradient(135deg, #20c997 0%, #28a745 100%) !important;
}

.karinca-btn-call:hover {
    background: linear-gradient(135deg, #0056b3 0%, #007bff 100%) !important;
}

.karinca-action-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: translateY(0) !important;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .action-buttons {
        flex-direction: column;
        gap: 15px !important;
        width: 100%;
        padding: 0 20px;
    }

    .karinca-action-btn {
        width: 100% !important;
        min-width: unset !important;
        max-width: 350px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .karinca-action-btn {
        padding: 14px 25px !important;
        font-size: 15px !important;
    }

    .karinca-action-btn i {
        font-size: 16px !important;
    }
}

/* ====================================
   YENİ MODERN MODAL - KARINCA
   ==================================== */

.karinca-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 24, 0.9);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: karincaFadeIn 0.3s ease;
}

@keyframes karincaFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.karinca-modal-wrapper {
    width: 100%;
    max-width: 1400px;
    max-height: 95vh;
    overflow-y: auto;
    animation: karincaSlideIn 0.3s ease;
}

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

.karinca-modal-container {
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    position: relative;
}

.karinca-modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    border: none;
    background: #F5F5F5;
    color: #1A1A18;
    font-size: 28px;
    font-weight: bold;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.2s ease;
    line-height: 1;
}

.karinca-modal-close-btn:hover {
    background: #E3000F;
    color: #FFFFFF;
    transform: rotate(90deg);
}

.karinca-modal-content {
    padding: 30px;
}

.karinca-modal-header {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 30px;
    align-items: center;
    padding-bottom: 25px;
    margin-bottom: 30px;
    border-bottom: 3px solid #E3000F;
}

.karinca-brand-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.karinca-brand-logo-img {
    width: 70px;
    height: 70px;
    object-fit: contain;
    background: #FFFFFF;
    padding: 8px;
    border: 2px solid #E9ECEF;
    border-radius: 10px;
    display: none;
}

.karinca-brand-logo-img.loaded {
    display: block;
}

.karinca-brand-title {
    font-size: 26px;
    font-weight: 700;
    color: #1A1A18;
    margin: 0;
}

.karinca-site-logo-section {
    display: flex;
    justify-content: center;
}

.karinca-site-logo {
    max-width: 160px;
    height: auto;
}

.karinca-actions-section {
    display: flex;
    justify-content: flex-end;
}

.karinca-action-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: #1A1A18;
    color: #FFFFFF;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.karinca-action-button:hover {
    background: #E3000F;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(227, 0, 15, 0.3);
}

.karinca-action-button svg {
    width: 16px;
    height: 16px;
}

.karinca-info-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.karinca-info-card {
    background: #F8F9FA;
    border: 1px solid #DEE2E6;
    border-radius: 10px;
    padding: 20px;
}

.karinca-price-card {
    border: 2px solid #E3000F;
    background: #FFF5F5;
}

.karinca-card-heading {
    font-size: 16px;
    font-weight: 700;
    color: #1A1A18;
    margin: 0 0 15px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #E3000F;
}

.karinca-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.karinca-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.karinca-info-key {
    font-weight: 600;
    color: #495057;
    font-size: 14px;
}

.karinca-info-val {
    font-weight: 500;
    color: #212529;
    font-size: 14px;
    text-align: right;
}

.karinca-car-details-section,
.karinca-expertiz-section {
    background: #FFFFFF;
    border: 1px solid #DEE2E6;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 20px;
}

.karinca-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #1A1A18;
    margin: 0 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #E3000F;
}

.karinca-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.karinca-detail-box {
    background: #F8F9FA;
    padding: 12px 16px;
    border-radius: 8px;
    border-left: 3px solid #E3000F;
}

.karinca-detail-label {
    font-size: 12px;
    font-weight: 600;
    color: #6C757D;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 4px;
}

.karinca-detail-value {
    font-size: 14px;
    font-weight: 600;
    color: #212529;
}

@media (max-width: 1200px) {
    .karinca-modal-header {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .karinca-brand-section {
        justify-content: center;
    }
    .karinca-actions-section {
        justify-content: center;
    }
    .karinca-info-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .karinca-modal-content {
        padding: 20px;
    }
    .karinca-brand-logo-img {
        width: 50px;
        height: 50px;
    }
    .karinca-brand-title {
        font-size: 20px;
    }
    .karinca-details-grid {
        grid-template-columns: 1fr;
    }
}

.karinca-modal-hidden {
    display: none !important;
}

/* =========================================================
   MODERN MINIMAL UI OVERRIDES (frontend)
   - İşlev değiştirmez, sadece görünüm/UX iyileştirir
   ========================================================= */

#karinca-oto-deger-form,
#karinca-oto-deger-form * {
    box-sizing: border-box;
}

#karinca-oto-deger-form {
    --kod-bg: #ffffff;
    --kod-surface: #ffffff;
    --kod-text: #0f172a;
    --kod-muted: #64748b;
    --kod-border: rgba(15, 23, 42, 0.10);
    --kod-border-strong: rgba(15, 23, 42, 0.16);
    --kod-primary: #E3000F;
    --kod-primary-contrast: #ffffff;
    --kod-focus: rgba(227, 0, 15, 0.18);

    position: relative;
    max-width: 1100px;
    margin: 24px auto;
    padding: 24px;
    border: 1px solid var(--kod-border);
    border-radius: 16px;
    background: var(--kod-surface);
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

@media (max-width: 895px) {
    #karinca-oto-deger-form {
        margin: 16px auto;
        padding: 16px;
        border-radius: 14px;
    }
}

/* Inputs */
#karinca-oto-deger-form label {
    font-weight: 600;
    color: var(--kod-text);
    margin-top: 12px;
}

#karinca-oto-deger-form input,
#karinca-oto-deger-form select {
    border-radius: 12px !important;
    border: 1px solid var(--kod-border) !important;
    background: #ffffff;
    padding: 12px 14px !important;
    min-height: 44px;
    color: var(--kod-text);
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.03);
}

#karinca-oto-deger-form input:focus,
#karinca-oto-deger-form select:focus {
    outline: none !important;
    border-color: var(--kod-border-strong) !important;
    box-shadow: 0 0 0 4px var(--kod-focus) !important;
}

#karinca-oto-deger-form input.invalid,
#karinca-oto-deger-form select.invalid {
    border-color: rgba(220, 38, 38, 0.55) !important;
    box-shadow: 0 0 0 4px rgba(220, 38, 38, 0.12) !important;
}

/* Search inputs should be fluid */
#brands-search,
#model-search {
    width: 100% !important;
    max-width: 360px;
}

/* Step wizard: more compact */
.step-wizard {
    gap: 10px;
    margin-bottom: 18px !important;
}

.step-wizard-number {
    width: 34px !important;
    height: 34px !important;
    padding: 0 !important;
    font-weight: 700;
}

.step-wizard-title {
    font-size: 12px !important;
}

/* Selection lists: grid for clean responsive layout */
#model-year-selection,
#brands-list,
#models-list,
#body-type-list,
#gearboxes-list,
#fuel-types-list,
#versions-list {
    /* NOTE: no !important here; otherwise jQuery .hide() (inline display:none) stops working */
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 10px;
    justify-content: initial;
}

@media (max-width: 715px) {

    #model-year-selection,
    #brands-list,
    #models-list,
    #body-type-list,
    #gearboxes-list,
    #fuel-types-list,
    #versions-list {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 8px;
    }
}

/* Selection buttons */
#karinca-oto-deger-form .year-button,
#karinca-oto-deger-form .brand-button,
#karinca-oto-deger-form .model-button,
#karinca-oto-deger-form .body-type-button,
#karinca-oto-deger-form .gearbox-button,
#karinca-oto-deger-form .fuel-type-button,
#karinca-oto-deger-form .version-button {
    width: 100% !important;
    min-height: 44px;
    padding: 10px 12px !important;
    border-radius: 12px !important;
    border: 1px solid var(--kod-border) !important;
    background: #ffffff !important;
    color: var(--kod-text) !important;
    font-weight: 600;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease;
}

#karinca-oto-deger-form .year-button:hover,
#karinca-oto-deger-form .brand-button:hover,
#karinca-oto-deger-form .model-button:hover,
#karinca-oto-deger-form .body-type-button:hover,
#karinca-oto-deger-form .gearbox-button:hover,
#karinca-oto-deger-form .fuel-type-button:hover,
#karinca-oto-deger-form .version-button:hover {
    transform: translateY(-1px);
    border-color: var(--kod-border-strong) !important;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

/* Wizard navigation: consistent buttons */
.wizard-navigation {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    align-items: center;
}

.wizard-navigation button {
    width: auto !important;
    min-width: 120px;
    min-height: 44px;
    border-radius: 12px !important;
    padding: 10px 14px !important;
}

@media (max-width: 530px) {
    .wizard-navigation {
        justify-content: space-between;
    }

    .wizard-navigation button {
        width: 49% !important;
        min-width: unset;
    }
}

/* Result chips container: a bit tighter */
#car-info-area {
    background-color: rgba(238, 241, 251, 0.7) !important;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

/* Loader overlay: ensure flex even when jQuery sets display:block */
#loader {
    display: none;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(6px);
}

#loader[style*="display: block"],
#loader[style*="display:block"] {
    display: flex !important;
}

#loader p {
    margin-top: 10px;
    color: var(--kod-muted);
    font-weight: 600;
}

/* Reduce overly global disabled button override impact inside this form */
#karinca-oto-deger-form button:disabled {
    opacity: 0.65 !important;
    cursor: not-allowed !important;
}

/* Price result: remove dependency on inline styles */
#price-result .price-note {
    font-size: 14px;
    color: #666;
    margin-top: 10px;
    font-style: italic;
}

#price-result .action-buttons-wrapper {
    margin-top: 24px;
}

#price-result .action-buttons {
    display: flex;
    gap: 10px;
    justify-content: stretch;
    align-items: stretch;
    flex-wrap: wrap;
    max-width: none;
    margin: 0;
}

/* Base colors for success actions (not only :hover) */
#price-result .karinca-btn-appointment {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%) !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(40, 167, 69, 0.20) !important;
}

#price-result .karinca-btn-call {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%) !important;
    color: #fff !important;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(0, 123, 255, 0.18) !important;
}

/* Mobile: compact full-width buttons (override old global .action-buttons rules) */
@media (max-width: 768px) {
    #price-result .action-buttons {
        flex-direction: column;
        gap: 10px !important;
        padding: 0 !important;
        align-items: stretch;
    }

    #price-result .action-buttons .karinca-action-btn {
        /* Override earlier flex: 1 1 220px that makes buttons grow tall in column layout */
        flex: 0 0 auto !important;
        width: 100% !important;
        min-width: unset !important;
        max-width: none !important;
        margin: 0 !important;
        min-height: 52px !important;
        padding: 14px 16px !important;
        border-radius: 14px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 10px;
        line-height: 1.1;
    }
}

#price-result .email-send-title {
    font-size: 16px;
    color: #333;
    margin: 0 0 14px 0;
    text-align: center;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

#price-result .email-send-title i {
    color: #E3000F;
}

#price-result .email-send-row {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

/* =========================================================
   STEP 3 (Ekspertiz / Şase) - modern layout
   Desktop: yan yana | Mobile: SVG üstte, seçenekler altta
   ========================================================= */

.wizard-step-content[data-step="3"] .flex-container {
    gap: 18px;
    align-items: flex-start;
}

.wizard-step-content[data-step="3"] #eks-graph {
    margin-top: 0 !important;
    /* inline style override */
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 14px;
    background: #fff;
}

.wizard-step-content[data-step="3"] .kod-expertise-help {
    display: block;
    margin: 0 0 10px 0;
    padding: 10px 12px;
    border: 1px dashed rgba(15, 23, 42, 0.14);
    border-radius: 12px;
    background: rgba(238, 241, 251, 0.65);
    color: #475569;
    font-size: 13px;
    line-height: 1.35;
}

.wizard-step-content[data-step="3"] #eks-graph svg {
    width: 100%;
    height: auto;
    display: block;
}

.wizard-step-content[data-step="3"] #eks-graph .head-colors {
    position: static;
    margin: 0 0 10px 0;
}

.wizard-step-content[data-step="3"] #eks-graph .head-colors ul {
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 10px;
}

.wizard-step-content[data-step="3"] #eks-graph .head-colors ul li {
    margin-left: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.wizard-step-content[data-step="3"] #eks-button {
    padding: 12px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 14px;
    background: #fff;
}

.wizard-step-content[data-step="3"] #eks-button hr {
    border: 0;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    margin: 10px 0;
}

/* Expert rows: label + option pills */
.wizard-step-content[data-step="3"] .expert-part {
    justify-content: flex-start;
    gap: 10px;
    margin: 8px 0;
}

.wizard-step-content[data-step="3"] .expert-part-label {
    width: 180px;
    max-width: 100%;
    font-weight: 700;
    color: #0f172a;
}

.wizard-step-content[data-step="3"] .expert-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
    flex: 1;
}

.wizard-step-content[data-step="3"] .expert-options .radio-button input[type="radio"]:not(:checked)+span,
.wizard-step-content[data-step="3"] .expert-options .radio-button input[type="radio"]:checked+span {
    padding: 7px 12px;
    border-radius: 999px;
}

/* SVG click UX */
.wizard-step-content[data-step="3"] #eks-graph .kod-expertise-part {
    cursor: pointer;
}

.wizard-step-content[data-step="3"] #eks-graph .kod-expertise-part:hover {
    filter: drop-shadow(0 6px 10px rgba(15, 23, 42, 0.12));
}

/* Modal */
.kod-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.58);
    backdrop-filter: blur(10px);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.kod-modal {
    width: 100%;
    max-width: 420px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.25);
    position: relative;
    overflow: hidden;
    transform: translateY(0);
}

.kod-modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.06);
    color: #0f172a;
    font-size: 26px;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.kod-modal-close:hover {
    background: rgba(227, 0, 15, 0.10);
    color: #E3000F;
}

.kod-modal-body {
    padding: 18px 18px 16px 18px;
}

.kod-modal-title {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    padding-right: 48px;
    margin-bottom: 6px;
    letter-spacing: -0.2px;
}

.kod-modal-title::after {
    content: 'İşlem türünü seçin';
    display: block;
    margin-top: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
}

.kod-modal-options {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 12px;
}

.kod-modal-option {
    position: relative;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #ffffff;
    border-radius: 14px;
    min-height: 48px;
    padding: 12px 12px 12px 46px;
    font-weight: 800;
    color: #0f172a;
    cursor: pointer;
    text-align: left;
    transition: transform 0.12s ease, box-shadow 0.12s ease, border-color 0.12s ease, background 0.12s ease;
}

/* IMPORTANT: Modal buttons sit inside <form>, so generic form button styles can override.
   Force modal-specific sizing/colors to prevent the "everything is red" issue. */
#kod-expertise-modal .kod-modal-close {
    margin-top: 0 !important;
    width: 40px !important;
    height: 40px !important;
    min-height: 40px !important;
    min-width: 40px !important;
    padding: 0 !important;
    border-radius: 999px !important;
    background: rgba(15, 23, 42, 0.06) !important;
    color: #0f172a !important;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
}

#kod-expertise-modal .kod-modal-option {
    margin-top: 0 !important;
    width: 100% !important;
    min-height: 48px !important;
    border-radius: 14px !important;
    background: #ffffff !important;
    color: #0f172a !important;
}

.kod-modal-option::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 999px;
    border: 2px solid rgba(15, 23, 42, 0.18);
    background: #fff;
}

.kod-modal-option::after {
    content: '';
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    width: 10px;
    height: 10px;
    border-right: 2px solid rgba(15, 23, 42, 0.35);
    border-bottom: 2px solid rgba(15, 23, 42, 0.35);
    transform: translateY(-50%) rotate(-45deg);
    opacity: 0.65;
}

.kod-modal-option:hover {
    transform: translateY(-1px);
    border-color: rgba(15, 23, 42, 0.18);
    box-shadow: 0 10px 22px rgba(15, 23, 42, 0.08);
}

.kod-modal-option:focus {
    outline: none;
    box-shadow: 0 0 0 4px rgba(227, 0, 15, 0.18), 0 10px 22px rgba(15, 23, 42, 0.08);
    border-color: rgba(15, 23, 42, 0.20);
}

/* Button colors must match the scheme (fill-green / fill-yellow / fill-red) */
.kod-modal-option[data-option="orjinal"]::before {
    background: #ffffff;
    border-color: rgba(15, 23, 42, 0.20);
}

.kod-modal-option[data-option="lokal boya"]::before {
    background: #4caf50;
    border-color: #4caf50;
}

.kod-modal-option[data-option="boyalı"]::before {
    background: #ffd800;
    border-color: #ffd800;
}

.kod-modal-option[data-option="değişen"]::before {
    background: #d71920;
    border-color: #d71920;
}

.kod-modal-option.is-selected {
    border-color: rgba(15, 23, 42, 0.22);
    background: rgba(15, 23, 42, 0.02);
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.10);
}

.kod-modal-option.is-selected::after {
    width: 18px;
    height: 18px;
    border: none;
    opacity: 1;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0) 55%),
        linear-gradient(135deg, rgba(227, 0, 15, 1), rgba(197, 0, 13, 1));
    border-radius: 999px;
}

.kod-modal-hint {
    margin-top: 12px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.4;
}

/* Mobile: bottom sheet */
@media (max-width: 640px) {
    .kod-modal-overlay {
        align-items: flex-end;
        padding: 12px;
    }

    .kod-modal {
        max-width: 100%;
        border-radius: 18px 18px 12px 12px;
        transform: translateY(0);
    }

    .kod-modal-body {
        padding: 16px 14px 14px 14px;
    }

    .kod-modal-close {
        top: 8px;
        right: 8px;
    }
}

@media (min-width: 896px) {
    .wizard-step-content[data-step="3"] #eks-button {
        flex: 0 0 48%;
    }

    .wizard-step-content[data-step="3"] #eks-graph {
        flex: 0 0 52%;
    }
}

@media (max-width: 895px) {
    .wizard-step-content[data-step="3"] .flex-container {
        flex-direction: column;
    }

    .wizard-step-content[data-step="3"] #eks-graph {
        order: 1;
        /* SVG üstte */
    }

    .wizard-step-content[data-step="3"] #eks-button {
        order: 2;
        /* seçenekler altta */
    }

    .wizard-step-content[data-step="3"] .expert-part-label {
        width: 100%;
    }

    .wizard-step-content[data-step="3"] .expert-options {
        justify-content: flex-start;
    }
}

/* =========================================================
   STEP 5 (SMS Doğrulama) - modern, kullanıcı dostu
   ========================================================= */

.wizard-step-content[data-step="5"] #sms-verification {
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 18px 16px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 40px rgba(15, 23, 42, 0.06);
}

.wizard-step-content[data-step="5"] #sms-verification label {
    font-size: 16px;
    font-weight: 900;
    color: #0f172a;
    margin: 0 0 8px 0;
}

.wizard-step-content[data-step="5"] #sms-verification-message {
    margin: 0 0 10px 0;
    color: #475569;
    font-size: 13px;
    line-height: 1.4;
    text-align: center;
}

.wizard-step-content[data-step="5"] #sms_code {
    width: 260px !important;
    max-width: 100%;
    min-width: unset !important;
    min-height: 52px;
    text-align: center;
    letter-spacing: 0.32em;
    font-size: 22px;
    font-weight: 800;
    border-radius: 14px !important;
}

.wizard-step-content[data-step="5"] .sms-time {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 10px 0 0 0;
    padding: 6px 10px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 999px;
    background: rgba(238, 241, 251, 0.55);
    color: #334155;
    font-weight: 700;
}

/* Button row */
.wizard-step-content[data-step="5"] #sms-verification .flex-container.gap-2.align-center.mt-10 {
    width: 100%;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

/* Confirm stays primary */
.wizard-step-content[data-step="5"] #confirm-sms-btn {
    width: auto !important;
    min-width: 180px !important;
    min-height: 46px !important;
    padding: 10px 14px !important;
    border-radius: 12px !important;
    background: #E3000F !important;
    color: #fff !important;
    font-weight: 800;
    box-shadow: 0 10px 24px rgba(227, 0, 15, 0.18);
}

.wizard-step-content[data-step="5"] #confirm-sms-btn:hover:not(:disabled) {
    background: #c5000d !important;
}

/* Send SMS should look like a text button (secondary) */
.wizard-step-content[data-step="5"] #send-sms-code {
    width: auto !important;
    min-width: unset !important;
    min-height: 46px !important;
    padding: 0 !important;
    background: transparent !important;
    color: #0f172a !important;
    font-weight: 800;
    text-decoration: underline;
    text-underline-offset: 4px;
    box-shadow: none !important;
    border-radius: 0 !important;
}

.wizard-step-content[data-step="5"] #send-sms-code:hover:not(:disabled) {
    color: #E3000F !important;
}

@media (max-width: 530px) {
    .wizard-step-content[data-step="5"] #sms-verification .flex-container.gap-2.align-center.mt-10 {
        flex-direction: column;
        align-items: stretch;
    }

    .wizard-step-content[data-step="5"] #confirm-sms-btn {
        width: 100% !important;
        min-width: unset !important;
    }

    .wizard-step-content[data-step="5"] #send-sms-code {
        width: 100% !important;
        min-height: 44px !important;
        text-align: center;
        padding: 8px 0 !important;
        border-radius: 12px !important;
        text-decoration: none;
        border: 1px dashed rgba(15, 23, 42, 0.18);
        background: rgba(238, 241, 251, 0.35) !important;
    }
}