/**
 * VAT Toggle Switch Styles
 */

.vat-price-container {
    margin-bottom: 20px;
}

.vat-toggle-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid #eee;
}

.vat-toggle-label {
    margin: 0;
    font-size: 14px;
    font-weight: 500;
    color: #626060;;
    white-space: nowrap;
}

.vat-toggle-label-without {
    margin: 0;
    font-size: 14px;
    color: #626060;;
    white-space: nowrap;
}

.vat-toggle-switch {
    position: relative;
    display: inline-block;
    width: 42px;
    height: 24px;
    margin-bottom: 0px !important;
}

.vat-toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.vat-toggle-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s ease;
    border-radius: 24px;
}

.vat-toggle-slider::before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: 0.3s ease;
    border-radius: 50%;
}

.vat-toggle-checkbox:checked + .vat-toggle-slider {
    background-color: var(--main-orange);
}

.vat-toggle-checkbox:not(:checked) + .vat-toggle-slider {
    background-color: #ccc;
}

.vat-toggle-checkbox:checked + .vat-toggle-slider::before {
    transform: translateX(18px);
}

.vat-toggle-checkbox:focus + .vat-toggle-slider {
    box-shadow: 0 0 1px #4CAF50;
}

/* Responsive */
@media (max-width: 576px) {
    .vat-toggle-wrapper {
        gap: 8px;
        flex-wrap: wrap;
    }

    .vat-toggle-label,
    .vat-toggle-label-without {
        font-size: 12px;
    }
}
