.custom-range {
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right,
            #296299 0%,
            #296299 10%,
            #296299 10%,
            #296299 100%);
}

.custom-range::-webkit-slider-thumb {
    appearance: none;
    width: 18px;
    height: 18px;
    background: #296299;
    border-radius: 50%;
    cursor: pointer;
}

.custom-range::-moz-range-thumb {
    width: 18px;
    height: 18px;
    background: #296299;
    border-radius: 50%;
    cursor: pointer;
}

/* FanSelector yatay kaydırmalı tablo */
.table-scroll-wrapper {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* Tablo genişliği zorlanır → scroll çıkar */
.table-scroll-wrapper table {
    min-width: 950px;
}

/* Scrollbar */
.table-scroll-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-scroll-wrapper::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.table-scroll-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.table-scroll-wrapper th:first-child,
.table-scroll-wrapper td:first-child {
    position: sticky;
    left: 0;
    background: #fff;
    z-index: 2;
}

th.sortable {
    cursor: pointer;
    user-select: none;
}

th.sortable:hover {
    text-decoration: underline;
}

/* İmleci (caret) gizle */
.checkout-form-list input[type="number"],
.checkout-form-list input[type="text"] {
    caret-color: transparent;
}

/* Varsayılan focus outline'ı kapat */
.checkout-form-list input:focus {
    outline: none;
}

/* Aktif input vurgusu */
.checkout-form-list input:focus-visible {
    border-color: #296299;
    box-shadow: 0 0 0 3px rgba(41, 98, 153, 0.25);
    background-color: #f8fbff;
}

.checkout-form-list input:focus {
    border-color: #296299;
    box-shadow: 0 0 0 3px rgba(41, 98, 153, 0.25);
    background-color: #f8fbff;
}

/* Zorunlu alan hatası */
.select-error {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 2px rgba(220, 53, 69, 0.25);
}

.select-error::placeholder {
    color: #dc3545;
    opacity: 0.8;
}

.fan-switch-wrapper {
    position: relative;
    z-index: 5;
}

@media (max-width: 768px) {
    .fan-switch-wrapper {
        position: sticky;
        top: calc(var(--header-height, 80px) + env(safe-area-inset-top));
        background: #fff;
        padding-top: 12px;
        padding-bottom: 12px;
        margin-top: 0;
        z-index: 100;
    }

    .fan-switch {
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
}

@media (max-width: 768px) {
    .postbox-area.pt-130 {
        padding-top: 24px !important;
    }
}