/* ==================================================
   BOOKING SYSTEM – FIXED CONSOLIDATED CSS
   Keeps original booking layout/styles + removes conflicts
   (Stepper + Tariffs + Summary + Coupon + Booking UI)
   ================================================== */

/* ---------- Design Tokens ---------- */
:root {
    --kre-cyan: rgba(0, 255, 255, 0.22);
    --kre-cyan-strong: rgba(0, 255, 255, 0.45);
    --kre-amber: #f7a600;

    --kre-surface: rgba(0, 0, 0, 0.16);
    --kre-surface-soft: rgba(255, 255, 255, 0.06);

    --kre-radius-lg: 14px;
    --kre-radius-md: 12px;

    --kre-blur: blur(6px);
}

/************** STEPPER **************/
.kre-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 0 1.6rem;
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.18);
    border-radius: var(--kre-radius-lg);
    backdrop-filter: var(--kre-blur);
}

.kre-step {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.4rem 0.6rem;
    border-radius: var(--kre-radius-md);
    border: 1px solid transparent;
    opacity: 0.9;
    user-select: none;
}

.kre-step-number {
    width: 28px;
    height: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.28);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.08);
}

.kre-step-label {
    font-size: 0.95rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    letter-spacing: 0.2px;
    white-space: nowrap;
}

.kre-step-sep {
    width: 42px;
    height: 1px;
    background: rgba(255, 255, 255, 0.35);
    opacity: 0.6;
}

.kre-step.is-active {
    border-color: rgba(0, 255, 255, 0.35);
    background: rgba(0, 255, 255, 0.1);
    opacity: 1;
}

.kre-step.is-active .kre-step-number {
    background: rgba(0, 255, 255, 0.18);
    border-color: rgba(0, 255, 255, 0.35);
}

.kre-step.is-done .kre-step-number {
    background: rgba(247, 166, 0, 0.25);
    border-color: rgba(247, 166, 0, 0.55);
}

.kre-step-content {
    display: none;
}
.kre-step-content.is-active {
    display: block;
    animation: kreFadeIn 180ms ease-out;
}

@keyframes kreFadeIn {
    from {
        opacity: 0;
        transform: translateY(6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stepper price badge */
.kre-stepper-price {
    margin-left: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    padding: 0.45rem 0.8rem;
    border-radius: 12px;
    background: rgba(247, 166, 0, 0.15);
    border: 1px solid rgba(247, 166, 0, 0.45);
    box-shadow: 0 0 14px rgba(247, 166, 0, 0.35);
    backdrop-filter: var(--kre-blur);
}
.kre-stepper-price .label {
    font-size: 0.7rem;
    font-weight: 600;
    opacity: 0.85;
    color: #fff;
}
.kre-stepper-price .value {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 0.3px;
}

/* Tariffs */
.kre-tariffs {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}

.kre-tariff {
    position: relative;
    padding: 1rem 1rem 0.95rem;
    border-radius: var(--kre-radius-lg);
    border: 1px solid var(--kre-cyan);
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    color: #fff;
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        border-color 0.12s ease;
}

.kre-tariff:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 14px rgba(0, 255, 255, 0.22);
    border-color: var(--kre-cyan-strong);
}

.kre-tariff.is-selected {
    border-color: rgba(247, 166, 0, 0.75);
    box-shadow: 0 0 18px rgba(247, 166, 0, 0.35);
    background: rgba(247, 166, 0, 0.12);
}

.kre-tariff span {
    display: inline-flex;
    flex-direction: row;
    justify-content: space-between;
}

.kre-tariff h4 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    display: flex;
}

.kre-tariff p {
    margin: 0;
    font-size: 0.92rem;
    opacity: 0.92;
    line-height: 1.35;
}

.kre-tariff input {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
}

.kre-tariff .badge {
    display: inline-block;
    margin-top: 0.6rem;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    color: #222;
    background: var(--kre-amber);
    box-shadow: 0 0 12px rgba(247, 166, 0, 0.35);
    max-width: 81px;
}

/* List inside tariff cards */
.kre-tariff ul.tariff-list {
    margin: 0.75rem 0 0;
    padding-left: 0;
    list-style: none;
}
.kre-tariff ul.tariff-list li {
    position: relative;
    margin: 0 0 0.4rem;
    padding-left: 1.25rem;
    font-size: 0.9rem;
    line-height: 1.25;
}
.kre-tariff ul.tariff-list li::before {
    content: "✔";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--kre-amber);
}
.kre-tariff ul.tariff-list li.no-content {
    padding-left: 0 !important;
}
.kre-tariff ul.tariff-list li.no-content::before {
    content: none !important;
}

.kre-tariff .tariff-title {
    margin-top: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
}
.kre-tariff .price {
    font-weight: 600;
    opacity: 0.85;
}

/* Step actions */
.kre-step-actions {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: 1.4rem;
}

.kre-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.7rem 1.1rem;
    border-radius: 5px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    background: rgba(0, 0, 0, 0.15);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.15s ease,
        transform 0.1s ease,
        opacity 0.15s ease;
}
.kre-btn-secondary:hover {
    background: rgba(0, 255, 255, 0.14);
    transform: translateY(-1px);
}

/* Summary (3 columns) */
.kre-summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 0.75rem;
}

.kre-summary-block {
    border-radius: var(--kre-radius-lg);
    padding: 0.95rem 1rem;
    border: 1px solid var(--kre-cyan);
    background: var(--kre-surface);
    backdrop-filter: var(--kre-blur);
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.04) inset,
        0 10px 28px rgba(0, 0, 0, 0.35);
    color: #fff;
}

.kre-summary-title {
    margin: 0 0 0.75rem;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: var(--kre-amber);
    text-shadow: 0 0 10px rgba(247, 166, 0, 0.25);
    padding-bottom: 0.55rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.kre-summary-block dl {
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.35rem;
}
.kre-summary-block dt {
    margin-top: 0.45rem;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.25px;
    color: rgba(255, 255, 255, 0.78);
}
.kre-summary-block dt:first-of-type {
    margin-top: 0;
}
.kre-summary-block dd {
    margin: 0;
    padding: 0.55rem 0.7rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.14);
    background: var(--kre-surface-soft);
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.25;
    word-break: break-word;
}

/* Summary info */
.kre-summary-info {
    margin-top: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(247, 166, 0, 0.25);
    background: rgba(247, 166, 0, 0.1);
    color: rgba(255, 255, 255, 0.92);
    font-size: 0.88rem;
    line-height: 1.35;
}

/* Coupon (final, design-matching; single source of truth) */
.kre-summary-block .kre-summary-coupon {
    margin-top: 0.85rem;
    padding-top: 0.7rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.kre-summary-block .kre-summary-coupon label {
    display: block;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    color: rgba(255, 255, 255, 0.9);
    margin: 0 0 0.35rem;
}
.kre-summary-block .kre-coupon-row {
    display: flex;
    align-items: stretch;
    gap: 0.5rem;
}
.kre-summary-block .kre-coupon-row input {
    flex: 1;
    height: 45px;
    padding: 0 0.9rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    font-size: 0.92rem;
    font-weight: 700;
    outline: none;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
}
.kre-summary-block .kre-coupon-row input::placeholder {
    color: rgba(255, 255, 255, 0.45);
}
.kre-summary-block .kre-coupon-row input:focus {
    border-color: rgba(247, 166, 0, 0.55);
    box-shadow:
        0 0 0 1px rgba(247, 166, 0, 0.18) inset,
        0 0 14px rgba(247, 166, 0, 0.25);
}
.kre-summary-block .kre-coupon-btn {
    height: 42px;
    width: 44px;
    min-width: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 255, 0.25);
    background: rgba(0, 255, 255, 0.1);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 900;
    cursor: pointer;
    transition:
        transform 0.12s ease,
        box-shadow 0.12s ease,
        border-color 0.12s ease,
        background 0.12s ease;
}
.kre-summary-block .kre-coupon-btn:hover {
    transform: translateY(-1px);
    border-color: rgba(0, 255, 255, 0.45);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.25);
}
.kre-summary-block .kre-coupon-btn:active {
    transform: translateY(0);
}
.kre-summary-block .kre-coupon-btn.is-success {
    border-color: rgba(247, 166, 0, 0.65);
    background: rgba(247, 166, 0, 0.18);
    box-shadow: 0 0 14px rgba(247, 166, 0, 0.3);
}
.kre-summary-block .kre-coupon-feedback {
    margin-top: 0.4rem;
    font-size: 0.78rem;
    line-height: 1.25;
    opacity: 0.95;
    font-weight: 800;
}
.kre-coupon-feedback.success {
    color: #7cffb2;
}
.kre-coupon-feedback.error {
    color: #ff9b9b;
}
.kre-summary-sub {
    font-size: 9px !important;
    color: var(--kre-amber);
}

/* Responsive for stepper area */
@media (max-width: 900px) {
    .kre-stepper {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    .kre-step-sep {
        display: none;
    }
    .kre-tariffs {
        grid-template-columns: 1fr;
    }
    .kre-summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .kre-stepper-price {
        width: 100%;
        margin-left: 0;
        margin-top: 0.5rem;
        align-items: center;
    }
}
@media (max-width: 600px) {
    .kre-summary-grid {
        grid-template-columns: 1fr;
    }
    .kre-summary-block {
        padding: 0.9rem 0.95rem;
    }
    .kre-summary-block dd {
        font-size: 0.93rem;
    }
}

/************** BOOKING **************/
#booking {
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
}

#booking-system {
    position: relative;
    z-index: 10;
    max-width: 1150px;
    margin: 0 auto;
    padding: 2.3rem 2.7rem 3.2rem;
    border-radius: 26px;
    background: radial-gradient(circle at top left, rgba(0, 210, 230, 0.2), rgba(0, 60, 70, 0.96));
    box-shadow:
        0 24px 70px rgba(0, 0, 0, 0.65),
        0 0 0 1px rgba(0, 255, 255, 0.18);
    transform: translateY(-4px);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

#booking-system::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 26px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 255, 255, 0.45), rgba(247, 166, 0, 0.55));
    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
    opacity: 0.9;
}

#booking-system:hover {
    box-shadow:
        0 30px 90px rgba(0, 0, 0, 0.8),
        0 0 0 1px rgba(0, 255, 255, 0.25);
}

.booking-filters {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    justify-content: center;
}
.booking-filters select {
    flex: 1;
    max-width: 260px;
    padding: 0.55rem 0.9rem;
    border: 1px solid #e0e0e0;
    border-radius: 5px;
    background: #fff;
    font-size: 0.95rem;
}

#booking-system input[disabled] {
    opacity: 0.7 !important;
}

.booking-layout {
    display: grid;
    grid-template-columns: 1.1fr 1.1fr 1.1fr;
    gap: 2.5rem;
    align-items: flex-start;
}

.booking-column h3 {
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    color: var(--kre-amber);
    font-weight: 600;
}

.calendar-column h3,
.times-column h3,
.details-column h3 {
    position: relative;
    padding-bottom: 0.35rem;
}
.calendar-column h3::after,
.times-column h3::after,
.details-column h3::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 70%;
    height: 1px;
    background: rgba(255, 255, 255, 0.5);
}

/* Datepicker */
.datepicker-kre .datepicker-dropdown {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(6px);
}
.datepicker-kre .datepicker table tr td,
.datepicker-kre .datepicker table tr th {
    color: #fff;
}

.datepicker-kre .datepicker table tr td.active,
.datepicker-kre .datepicker table tr td.active:hover {
    background: none !important;
    color: #777 !important;
    cursor: default !important;
}

.datepicker-kre .datepicker table tr td.active.highlighted:not(.available-day),
.datepicker-kre .datepicker table tr td.active.highlighted:not(.available-day):hover {
    color: #777 !important;
    cursor: default !important;
    background: rgba(247, 166, 0, 0.07) !important;
    border-color: rgba(247, 166, 0, 0.1) !important;
}

.datepicker-kre .datepicker table tr td.active.available-day,
.datepicker-kre .datepicker table tr td.active.available-day:hover {
    background: var(--kre-amber) !important;
    color: #222 !important;
}
.datepicker-kre .datepicker table tr td.today {
    background: rgba(247, 166, 0, 0.25) !important;
    color: #fff !important;
}
.datepicker-kre .datepicker table tr td:hover,
.datepicker-kre .datepicker table tr td.day:hover,
.datepicker-kre .datepicker table tr td.day.focused,
.datepicker-kre .datepicker table tr td.focused,
.datepicker-kre .datepicker table tr td.range:hover,
.datepicker-kre .datepicker table tr td.selected:hover {
    background: rgba(0, 255, 255, 0.2) !important;
    color: #fff !important;
}
.datepicker-kre .datepicker .prev,
.datepicker-kre .datepicker .next {
    color: var(--kre-amber) !important;
}
.datepicker-kre .datepicker-switch {
    color: #fff !important;
    font-weight: bold;
}
.datepicker-kre .datepicker .prev:hover,
.datepicker-kre .datepicker .next:hover,
.datepicker-kre .datepicker-switch:hover {
    background: rgba(0, 255, 255, 0.2) !important;
    color: #fff !important;
    cursor: pointer;
}
.datepicker-kre .datepicker .datepicker-months span.month:hover,
.datepicker-kre .datepicker .datepicker-months span.month.focused {
    background: rgba(0, 255, 255, 0.2) !important;
    color: #fff !important;
}
.datepicker-kre .datepicker .datepicker-months span.month.active,
.datepicker-kre .datepicker .datepicker-months span.month.active:hover {
    background: var(--kre-amber) !important;
    color: #222 !important;
}

#booking-calendar .datepicker-inline {
    width: 100% !important;
    padding: 0 !important;
}
#booking-calendar .datepicker-inline .datepicker-days,
#booking-calendar .datepicker-inline .datepicker-days table {
    width: 100% !important;
}
#booking-calendar .datepicker-inline .datepicker-days table {
    table-layout: fixed;
}
#booking-calendar .datepicker-inline .datepicker-days th,
#booking-calendar .datepicker-inline .datepicker-days td {
    width: 14.2857%;
}
#booking-calendar .datepicker-days table tbody tr td:nth-child(6),
#booking-calendar .datepicker-days table tbody tr td:nth-child(7),
#booking-calendar .datepicker-days table thead tr th:nth-child(6),
#booking-calendar .datepicker-days table thead tr th:nth-child(7) {
    background: rgba(247, 166, 0, 0.07);
    border-color: rgba(247, 166, 0, 0.1);
}
#booking-calendar .datepicker-days table tbody tr td:nth-child(6).active,
#booking-calendar .datepicker-days table tbody tr td:nth-child(7).active,
#booking-calendar .datepicker-days table thead tr th:nth-child(6).active,
#booking-calendar .datepicker-days table thead tr th:nth-child(7).active {
    border-radius: 6px;
}

.dp-disabled {
    pointer-events: none;
    opacity: 0.4;
}

.available-day {
    background: rgba(0, 255, 0, 0.18) !important;
    border-radius: 0 !important;
    position: relative;
}
.available-day::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #00ff99;
    border-radius: 50%;
    box-shadow: 0 0 4px #00ff99;
}

#booking-calendar {
    margin-top: 0.75rem;
    padding: 0.75rem 0.5rem 0.5rem;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.08);
}
/* Disable prev and next month days */
/* .datepicker table tr td.old,
.datepicker table tr td.new {
    visibility: hidden;
} */

/* TIME SLOTS (single, non-conflicting version) */
.time-slots {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.time-slot {
    flex: 1 1 calc(50% - 0.75rem);
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(0, 255, 255, 0.25);
    color: #fff;
    padding: 0.65rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    position: relative;
    transition:
        background 0.15s ease,
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.1s ease;
}

.time-slot:hover {
    background: rgba(0, 255, 255, 0.22);
    border-color: rgba(0, 255, 255, 0.6);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    transform: translateY(-2px);
}

.time-slot::before {
    content: "";
    position: absolute;
    left: 0.8rem;
    top: 50%;
    transform: translateY(-50%);
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(0, 255, 255, 0.7);
    box-shadow: 0 0 6px rgba(0, 255, 255, 0.8);
    transition:
        transform 0.15s ease,
        background 0.15s ease,
        box-shadow 0.15s ease;
}

.time-slot-selected {
    background: var(--kre-amber) !important;
    border-color: var(--kre-amber) !important;
    color: #222 !important;
    box-shadow: 0 0 12px rgba(247, 166, 0, 0.5);
    transform: translateY(-2px);
    font-weight: 600;
}
.time-slot-selected::before {
    background: #fffbde;
    box-shadow: 0 0 10px rgba(255, 255, 200, 0.9);
    transform: translateY(-50%) scale(1.3);
}

.time-slot-disabled {
    opacity: 0.35;
    cursor: not-allowed;
    border-style: dashed;
}
.time-slot-disabled:hover {
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.12);
}

.time-slots-loading,
.time-slots-empty,
.time-slots-error {
    width: 100%;
    font-size: 0.9rem;
    opacity: 0.9;
}

/* CUSTOMER FORM */
.details-column form {
    margin-top: 0.9rem;
}
.form-group {
    margin-bottom: 0.75rem;
}
.form-group label {
    display: block;
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
    color: #fff;
}
.form-group input {
    width: 100%;
    padding: 0.55rem 0.7rem;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    font-size: 0.95rem;
}

/* Primary button */
.btn-primary {
    display: block;
    width: 90%;
    margin: 3rem auto 0;
    padding: 0.7rem;
    border-radius: 5px;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.15s;
    background: var(--kre-amber) !important;
    border-color: rgb(16, 16, 16) !important;
    color: #222 !important;
    box-shadow: 0 0 12px rgba(247, 166, 0, 0.5);
    transform: translateY(-2px);
    font-weight: 600;
}
.btn-primary:hover:not(:disabled) {
    background: #444;
}
.btn-primary:disabled {
    opacity: 0.5;
    cursor: default;
    background: #666;
    color: #fff;
    border: none;
}

/* Booking responsive */
@media (max-width: 900px) {
    #booking-system {
        padding: 1.5rem 1.25rem 2rem;
    }
    .booking-layout {
        grid-template-columns: 1fr;
    }
    .booking-filters {
        flex-direction: column;
        align-items: stretch;
    }
    .booking-filters select {
        max-width: none;
    }
}
@media (max-width: 600px) {
    .time-slot {
        flex: 1 1 100%;
    }
}

.kre-tariff img.emoji,
.kre-tariff img.wp-smiley {
    width: 1em !important;
    height: 1em !important;
    max-width: 1em !important;
    max-height: 1em !important;
    display: inline-block !important;
    vertical-align: -0.12em;
}
.kre-tariff {
    display: flex;
    flex-direction: column;
    min-height: 200px;
}

.kre-tariff .badge {
    margin-top: auto;
    text-align: center;
}

.kre-input-error {
    border-color: rgba(255, 90, 90, 0.85) !important;
    box-shadow:
        0 0 0 1px rgba(255, 90, 90, 0.55),
        0 0 12px rgba(255, 90, 90, 0.35);
}

/* ===== EXTRAS (consolidated) ===== */
#extrasStep {
    padding-bottom: 1rem;
    overflow: hidden; /* ne lógjon ki */
}

#extrasContainer.kre-extras,
#extrasContainer.kre-extras * {
    box-sizing: border-box;
}

#extrasContainer.kre-extras {
    width: 100%;
    max-width: 100%;
    margin: 12px 0 0 !important;
    padding: 0 !important;

    display: grid !important;
    gap: 12px !important;
    align-items: stretch;
    overflow: hidden;
}

/* Desktop: 2 oszlop, Mobile: 1 oszlop, alapból: 1 oszlop */
#extrasContainer.kre-extras {
    grid-template-columns: 1fr !important;
}

@media (min-width: 900px) {
    #extrasContainer.kre-extras {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 560px) {
    #extrasContainer.kre-extras {
        grid-template-columns: 1fr !important;
    }
}

.mb-05 {
    margin-bottom: 0.5rem !important;
}
.mb-1 {
    margin-bottom: 1rem !important;
}

/* card */
#extrasContainer .kre-extra {
    position: relative;
    display: block;
    max-width: 100% !important;
    min-height: 98px;

    padding: 14px 14px 14px 44px; /* hely a checkboxnak */
    border-radius: 14px;

    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 255, 255, 0.25);

    cursor: pointer;
    overflow: hidden;

    transition:
        box-shadow 0.15s ease,
        border-color 0.15s ease,
        transform 0.12s ease;
}

#extrasContainer .kre-extra:hover {
    border-color: rgba(0, 255, 255, 0.45);
    box-shadow: 0 0 14px rgba(0, 255, 255, 0.18);
    transform: translateY(-1px);
}

#extrasContainer .kre-extra.is-selected {
    border-color: rgba(247, 166, 0, 0.9);
    box-shadow: 0 0 18px rgba(247, 166, 0, 0.3);
}

/* checkbox (védés globál stílus ellen) */
#extrasContainer .kre-extra input[type="checkbox"] {
    position: absolute !important;
    left: 14px !important;
    top: 16px !important;
    width: 18px !important;
    height: 18px !important;
    margin: 0 !important;

    transform: none !important;
    appearance: auto;
    -webkit-appearance: auto;
}

/* texts */
#extrasContainer .kre-extra-title {
    font-weight: 800;
    font-size: 15px;
    line-height: 1.2;
    color: #fff;

    overflow-wrap: anywhere;
    word-break: break-word;
}

#extrasContainer .kre-extra-desc {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.82);

    overflow-wrap: anywhere;
    word-break: break-word;
}

#extrasContainer .kre-extra-price {
    margin-top: 8px;
    font-weight: 900;
    color: #f7a600;
}

/* ===== Summary Extras ===== */
.kre-summary-extras {
    list-style: none;
    margin: 0;
    padding: 0;
}

.kre-summary-extras li {
    display: flex;
    justify-content: space-between;
    gap: 12px;

    padding: 6px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.15);
    font-size: 0.9rem;
}

.kre-summary-extras li:last-child {
    border-bottom: none;
}

.kre-summary-extras .price {
    font-weight: 800;
    color: #f7a600;
    white-space: nowrap;
}

/* ===== Placeholder / Empty state ===== */
.kre-placeholder {
    display: none;
    margin-top: 0.6rem;
}
.kre-placeholder.is-visible {
    display: block;
}

.kre-placeholder-box {
    border-radius: 14px;
    background: rgba(0, 0, 0, 0.18);
    border: 1px dashed rgba(0, 255, 255, 0.25);
    padding: 14px 14px;
    color: rgba(255, 255, 255, 0.92);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.kre-placeholder-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.kre-placeholder-title {
    font-weight: 900;
    color: #f7a600;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.kre-placeholder-text {
    font-size: 0.85rem;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.8);
}

.kre-spinner {
    width: 18px;
    height: 18px;
    border-radius: 999px;
    border: 2px solid rgba(0, 255, 255, 0.25);
    border-top-color: rgba(247, 166, 0, 0.9);
    display: inline-block;
    margin-top: 2px;
    animation: kreSpin 0.85s linear infinite;
}

@keyframes kreSpin {
    to {
        transform: rotate(360deg);
    }
}

/* Calendar placeholder */
#calendarPlaceholder .kre-placeholder-box {
    min-height: 140px;
    display: flex;
    align-items: center;
}

/* Times placeholder */
#timesPlaceholder .kre-placeholder-box {
    min-height: 140px;
    display: flex;
    align-items: center;
}

/* Calendar hidden while placeholder is visible */
#calendarPlaceholder.is-visible + #booking-calendar {
    display: none;
}
#booking-calendar.is-disabled {
    pointer-events: none;
    opacity: 0.35;
}
