.package-card {
    border: 2px solid transparent !important;
    transition: all 0.3s ease;
}

.package-card.selected {
    border-color: #004E2F !important;
}

.is-invalid {
    border-color: #dc3545 !important;
}

.is-invalid:focus {
    box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25) !important;
}

.cleaning-slider::-webkit-scrollbar {
    display: none;
}

.cleaning-slider {
    -ms-overflow-style: none;
    scrollbar-width: none;
}



/* Gizli input (asıl radio) */
input.styled-radio {
    display: none;
}

hr {
    margin: 0.3rem 0 !important;
}

.package-line {
    text-align: left;
}

/* Radio’ya bağlı label kutu haline gelir */
input.styled-radio+label {
    display: inline-block;
    border: 1px solid #EBECED;
    padding: 14px 18px;
    border-radius: 12px;
    background-color: #fff;
    color: black;
    font-weight: 600;
    cursor: pointer;
    text-align: center;
    transition: all 0.2s ease-in-out;
    width: 100%;
    font-size: 11px;
    border-radius: 5px;
}

.form-check .form-check-label {
    font-size: 13px !important;
    color: #656B76;
}

/* Hover efekti */
input.styled-radio+label:hover {
    background-color: #e1fafa;
}

.form-check {
    padding-left: 0 !important;
}

.cleaning-package-scroll {
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
}

.package-card {
    scroll-snap-align: start;
    border-radius: 10px;
    width: 300px;
    background-color: #fff;
    transition: box-shadow 0.2s;
    max-height: 560px;
}

/* Ticket container */
.coupon-discount-row.ticket,
#discount-info-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    background: #fffbe6;
    /* sıcak sarımsı arka plan */
    border: 1px dashed #f5c04b;
    /* kupon hissi */
    border-radius: 16px;
    box-shadow: 0 1px 0 rgba(0, 0, 0, .03), 0 6px 14px rgba(245, 192, 75, .15);
}

/* “delik” görünümleri */
.coupon-discount-row.ticket::before,
.coupon-discount-row.ticket::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #fff;
    /* kartın arka planı */
    transform: translateY(-50%);
    box-shadow: inset 0 0 0 1px #f5c04b;
}

.coupon-discount-row.ticket::before {
    left: -12px;
}

.coupon-discount-row.ticket::after {
    right: -12px;
}

/* Sol kısım */
.coupon-left {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
}

.coupon-label {
    font-weight: 700;
    letter-spacing: .08em;
    font-size: .75rem;
    color: #8a6d3b;
}

.code-badge {
    display: inline-block;
    padding: .25rem .5rem;
    background: #ffd34d;
    color: #3a2a00;
    border-radius: 999px;
    font-weight: 700;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    white-space: nowrap;
}

.percent-badge {
    display: inline-block;
    padding: .15rem .45rem;
    border: 1px solid #f5c04b;
    border-radius: 8px;
    font-size: .8rem;
    color: #8a6d3b;
}

/* Orta ayraç (perforaj çizgisi) */
.coupon-divider {
    flex: 0 0 1px;
    align-self: stretch;
    border-left: 1px dashed #f1c96a;
}

/* Sağ kısım (tutar) */
.coupon-right {
    margin-left: auto;
}

.amount {
    font-weight: 800;
    font-size: 1.1rem;
    color: #2f855a;
    /* indirim rengi */
}

/* Karanlık temaya küçük dokunuş (opsiyonel) */
@media (prefers-color-scheme: dark) {
    .coupon-discount-row.ticket::before,
    .coupon-discount-row.ticket::after {
        background: #1b1b1b;
        box-shadow: inset 0 0 0 1px #b48810;
    }

    .coupon-label {
        color: #e7c977;
    }

    .code-badge {
        background: #b48810;
        color: #1b1b1b;
    }

    .percent-badge {
        border-color: #b48810;
        color: #e7c977;
    }

    .coupon-divider {
        border-left-color: #b48810;
    }

    .amount {
        color: #68d391;
    }
}


#mobilePackageTabs {
    scroll-snap-type: x mandatory;
}

#mobilePackageTabs .package-btn {
    scroll-snap-align: center;
}


.package-card:hover {
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.package-btn {
    width: 200px;
    white-space: normal;
    text-align: left;
}

.package-new-card .card {
    height: 100%;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow-y: auto;
}

/* Sol boşluk: 1.5 kart görünümü için */
.cleaning-package-scroll::before {
    content: '';
}

.package-list {
    display: flex;
    flex-direction: column;
}

.package-line {
    font-size: 15px;
    line-height: 1.6;
    text-align: left;
}

/* Seçili radio */
input.styled-radio:checked+label {
    background-color: #004E2F;
    color: #fff;
    border-color: #004E2F;

}

.locked-frequency {
    opacity: 0.6;
    cursor: not-allowed;
    position: relative;
    pointer-events: auto;
    /* click engellenmesin ki Swal çalışsın */
}

.locked-frequency input:disabled {
    cursor: not-allowed;
}

.locked-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: rgba(255, 255, 255, 0.9);
    color: #555;
    font-size: 12px;
    padding: 4px 8px;
    border-radius: 6px;
    display: none;
    align-items: center;
    pointer-events: none;
}

.locked-frequency .locked-overlay {
    display: flex;
}


.badge {
    font-size: 14px !important;
}

@media (max-width: 767.98px) {
    .package-card {
        display: flex;
        align-items: center;
        padding: 1rem;
        text-align: left;
    }

    .book-card {
        margin-top: 20px
    }

    .content-widget .content {
        padding: 0 !important
    }

    .package-card .card-body {
        display: flex;
        flex-direction: row;
        align-items: center;
        gap: 1rem;
        padding: 0;
    }

    .package-card img {
        max-height: 60px;
        width: auto;
    }

    .package-card h6 {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .package-card p {
        font-size: 0.75rem;
    }

    .package-card .badge {
        font-size: 0.75rem;
    }
}

strong {
    color: black
}

label.bg-primary strong {
    color: #fff !important;
}