:root {
    --nooking-wizard-bg: #ffffff;
    --nooking-wizard-text: #222222;
    --nooking-wizard-muted: #717171;
    --nooking-wizard-border: #DDDDDD;
    --nooking-wizard-radius: 24px;
    --nooking-input-bg: #ffffff;
}

.nooking-wizard {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--nooking-wizard-text);
    width: 100%;
    max-width: 520px;
    margin: 20px auto;
    padding: 32px;
    box-sizing: border-box;
    background: var(--nooking-wizard-bg);
    border: 1px solid var(--nooking-wizard-border);
    border-radius: var(--nooking-wizard-radius);
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.nooking-step-nav {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 32px;
}

.nooking-step-dot {
    width: 32px;
    height: 4px;
    background: #F3F4F6;
    border-radius: 2px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nooking-step-dot.active {
    background: var(--nooking-wizard-primary);
    width: 48px;
}

.nooking-wizard-title {
    font-size: 25px !important;
    font-weight: 800;
    margin-bottom: 32px;
    text-align: center;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--nooking-wizard-text);
    text-transform: uppercase;
}

.nooking-accent-text {
    color: var(--nooking-wizard-primary);
}

/* Room Showcase Step 1 */
.nooking-room-showcase-compact {
    display: flex;
    gap: 20px;
    align-items: center;
    margin-bottom: 24px;
    background: #F9FAFB;
    padding: 20px;
    border-radius: 20px;
    border: 1px solid var(--nooking-wizard-border);
}

.nooking-showcase-img-wrap {
    flex-shrink: 0;
    width: 88px;
    height: 88px;
}

.nooking-showcase-img-small {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
    border-radius: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.nooking-showcase-info {
    flex: 1;
}

.nooking-showcase-name {
    font-size: 18px;
    font-weight: 800;
    margin-bottom: 4px;
}

.nooking-showcase-desc {
    font-size: 13px;
    color: var(--nooking-wizard-muted);
    line-height: 1.4;
}

/* Mode Selection List */
.nooking-mode-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.nooking-mode-card-premium {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    border: 1px solid var(--nooking-wizard-border);
    border-radius: 18px;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.nooking-mode-card-premium:hover {
    border-color: var(--nooking-wizard-text);
    background: #FAFAFA;
}

.nooking-mode-card-premium.active {
    border-color: var(--nooking-wizard-text);
    background: #fff;
    border-width: 2px;
    padding: 17px 23px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.nooking-mode-title {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.nooking-mode-price-tag {
    font-size: 13px;
    color: var(--nooking-wizard-muted);
}

.nooking-mode-price-tag span {
    font-weight: 800;
    color: var(--nooking-wizard-text);
}

.nooking-mode-radio {
    width: 24px;
    height: 24px;
    border: 2px solid var(--nooking-wizard-border);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.nooking-mode-card-premium.active .nooking-mode-radio {
    border-color: var(--nooking-wizard-text);
}

.nooking-mode-card-premium.active .nooking-mode-radio::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    width: 12px;
    height: 12px;
    background: var(--nooking-wizard-text);
    border-radius: 50%;
}

/* Step 2 Timing Box */
.nooking-timing-info-box {
    margin-top: 10px;
    padding: 20px;
    background: #eff6ff;
    border: 1px solid #dbeafe;
    border-radius: 20px;
}

.nooking-timing-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    margin-bottom: 6px;
}

.nooking-timing-row strong {
    color: #1e40af;
    font-weight: 700;
}

.nooking-availability-status {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #dbeafe;
}

.nooking-status-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 800;
}

.nooking-status-badge.success {
    color: #15803d;
}

.nooking-status-badge.error {
    color: #b91c1c;
}

.nooking-status-badge.loading {
    color: var(--nooking-wizard-muted);
    opacity: 0.7;
    animation: nooking-pulse 1.5s infinite;
}

/* Step 3 Payment Chips */
.nooking-pay-chips {
    display: flex;
    gap: 10px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.nooking-pay-chip {
    flex: 1;
    min-width: 100px;
    padding: 12px 16px;
    border: 1.5px solid var(--nooking-wizard-border);
    border-radius: 14px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    background: #fff;
}

.nooking-pay-chip:hover {
    border-color: var(--nooking-wizard-text);
}

.nooking-pay-chip.active {
    background: var(--nooking-wizard-text);
    color: #fff;
    border-color: var(--nooking-wizard-text);
}

/* Footer Section Step 3 */
.nooking-wizard-footer-premium {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 2px solid #F3F4F6;
}

.nooking-footer-price-row {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 20px;
}

.nooking-footer-total-label {
    font-size: 16px;
    font-weight: 600;
    color: var(--nooking-wizard-muted);
}

.nooking-footer-total-val {
    font-size: 28px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.nooking-footer-btn-row {
    margin-bottom: 24px;
}

.nooking-footer-back-wrap {
    text-align: center;
}

.nooking-link-back {
    color: var(--nooking-wizard-muted);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease;
}

.nooking-link-back:hover {
    color: var(--nooking-wizard-text);
}

.nooking-coupon-wrap {
    width: 100%;
    max-width: 360px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 10px 0 6px;
}

.nooking-coupon-teaser {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    color: var(--nooking-wizard-text);
    cursor: pointer;
    font-weight: 600;
}

.nooking-coupon-teaser strong {
    color: var(--nooking-wizard-primary);
}

.nooking-coupon-row {
    display: flex;
    gap: 8px;
}

.nooking-coupon-row input {
    flex: 1;
    padding: 10px 12px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.nooking-coupon-row .button {
    white-space: nowrap;
}

.nooking-coupon-success {
    color: #0f766e;
    font-size: 13px;
}

.nooking-coupon-error {
    color: #b91c1c;
    font-size: 13px;
}

.nooking-inline-choice {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-right: 12px;
    font-size: 14px;
    color: var(--nooking-wizard-text);
}

.nooking-help-text {
    font-size: 13px;
    color: #64748b;
    text-align: center;
}

.button-link {
    background: none;
    border: none;
    padding: 0;
    color: #2563eb;
    cursor: pointer;
    font-size: 13px;
    text-align: left;
}

/* Inputs & Labels */
.nooking-wizard-field {
    margin-bottom: 20px;
}

.nooking-wizard-label {
    font-size: 12px;
    font-weight: 800;
    color: var(--nooking-wizard-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 8px;
}

.nooking-wizard-field input,
.nooking-wizard-field select {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid var(--nooking-wizard-border);
    border-radius: 14px;
    font-size: 15px;
    font-weight: 500;
    background: #fff;
    transition: border-color 0.2s ease;
}

.nooking-wizard-field input:focus {
    outline: none;
    border-color: var(--nooking-wizard-text);
}

/* Buttons */
.nooking-btn-next-action,
.nooking-btn-book-final {
    width: 100%;
    padding: 18px;
    background: var(--nooking-wizard-text);
    color: #fff;
    border: none;
    border-radius: 16px;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.nooking-btn-next-action:hover,
.nooking-btn-book-final:hover {
    transform: translateY(-1px);
    opacity: 0.9;
}

.nooking-btn-next-action:active {
    transform: translateY(0);
}

.nooking-btn-back {
    flex: 0.4;
    padding: 14px;
    background: #fff;
    border: 1.5px solid var(--nooking-wizard-border);
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
}

.nooking-wizard-nav {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

@keyframes nooking-pulse {
    0% {
        opacity: 0.4;
    }

    50% {
        opacity: 1;
    }

    100% {
        opacity: 0.4;
    }
}

/* Success Box */
.nooking-card-success {
    text-align: center;
    padding: 40px 20px;
}

.nooking-pin-box {
    display: inline-block;
    margin-top: 24px;
    padding: 16px 32px;
    background: #F0FDF4;
    border: 2px dashed #22C55E;
    color: #15803D;
    border-radius: 16px;
    font-size: 24px;
    font-weight: 900;
    letter-spacing: 4px;
}
/* Wide Wizard for Checkout Step */
.nooking-wizard.nooking-wizard-wide {
    max-width: 980px;
}

.nooking-checkout-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 48px;
    align-items: start;
}

@media (max-width: 850px) {
    .nooking-checkout-grid {
        grid-template-columns: 1fr;
    }
    .nooking-checkout-summary {
        margin-bottom: 32px;
    }
}

.nooking-checkout-summary {
    background: #F8F9FA;
    border: 1px solid var(--nooking-wizard-border);
    border-radius: 24px;
    padding: 28px;
    position: sticky;
    top: 20px;
}

.nooking-summary-header {
    display: flex;
    gap: 16px;
    border-bottom: 1px solid #E5E7EB;
    padding-bottom: 20px;
    margin-bottom: 20px;
    align-items: center;
}

.nooking-summary-img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 12px;
}

.nooking-summary-title-wrap {
    flex: 1;
}

.nooking-summary-subtitle {
    font-size: 13px;
    color: var(--nooking-wizard-muted);
    margin-bottom: 4px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.nooking-summary-title {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.nooking-summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 14px;
    font-size: 15px;
    color: #4B5563;
}

.nooking-summary-row span:last-child {
    font-weight: 600;
    color: var(--nooking-wizard-text);
    text-align: right;
}

.nooking-summary-divider {
    height: 1px;
    background: #E5E7EB;
    margin: 20px 0;
}

.nooking-summary-total {
    display: flex;
    justify-content: space-between;
    font-size: 20px;
    font-weight: 900;
    margin-top: 8px;
}

/* Adjust headings for summary context */
.nooking-checkout-main h2.nooking-wizard-title {
    text-align: left;
    margin-bottom: 40px;
}

/* Refined Checkout Layout - 50/50 Top + Full Bottom */
.nooking-checkout-top-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
    align-items: start;
}

@media (max-width: 800px) {
    .nooking-checkout-top-row {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.nooking-col-summary {
    background: #F9FAFB;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid var(--nooking-wizard-border);
}

.nooking-col-data {
    /* Standard form styling */
}

/* Bottom Section */
.nooking-checkout-bottom-row {
    border-top: 1px solid #E5E7EB;
    padding-top: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.nooking-big-price {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}

.nooking-price-subtext {
    color: var(--nooking-wizard-muted);
    margin-bottom: 32px;
    font-size: 14px;
    font-weight: 500;
}

.nooking-agb-check {
    margin: 24px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: #4B5563;
}

.nooking-agb-check input {
    width: 20px;
    height: 20px;
    accent-color: var(--nooking-wizard-text);
    cursor: pointer;
}

.nooking-pay-chips-center {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

/* Stack Summary Details Vertically */
.nooking-summary-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    margin-bottom: 20px;
    border-bottom: 1px solid #F3F4F6;
    padding-bottom: 12px;
}

.nooking-summary-row:last-child {
    border-bottom: none;
}

.nooking-summary-row span:first-child {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--nooking-wizard-muted);
}

.nooking-summary-row span:last-child {
    text-align: left;
    font-size: 17px;
    color: var(--nooking-wizard-text);
    font-weight: 600;
}

/* Prevent iOS Zoom on Mobile */
@media screen and (max-width: 768px) {
    .nooking-wizard input,
    .nooking-wizard select,
    .nooking-wizard textarea,
    .flatpickr-input {
        font-size: 16px !important;
    }
}
