﻿.step3-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    overflow: visible;
}

.step3-card-header {
    background: #f8fafc;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.step3-card-body {
    padding: 16px;
}

.step3-secure {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    background: #eef2ff;
    border: 1px solid #e5e7eb;
    padding: 6px 10px;
    border-radius: 999px;
}

.step3-details summary {
    cursor: pointer;
    font-weight: 700;
    color: #111827;
}

.step3-details-hint {
    font-weight: 500;
    color: #6b7280;
    margin-left: 10px;
}

.step3-promo {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: center;
}

.step3-right-sticky {
    position: sticky;
    top: 14px;
}

.step3-booking-title {
    font-weight: 900;
    font-size: 1.1rem;
    color: #111827;
}

.step3-booking-meta {
    margin-top: 6px;
    color: #6b7280;
    font-size: 0.95rem;
}

.step3-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0;
}

    .step3-line.muted {
        color: #6b7280;
    }

.step3-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-weight: 900;
    font-size: 1.15rem;
}

.step3-cancel-badge {
    margin-top: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #92400e;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.step3-editlink {
    font-weight: 700;
}

.field-error {
    margin-top: 6px;
    font-size: 0.9rem;
    color: #b91c1c;
}

/* Mobile: disable sticky right column behavior */
@media (max-width: 992px) {
    .step3-right-sticky {
        position: static;
        top: auto;
    }
}

.step3-card {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #fff;
    overflow: visible;
}

.step3-card-header {
    background: #f8fafc;
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
}

.step3-card-body {
    padding: 16px;
}

.step3-secure {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    background: #eef2ff;
    border: 1px solid #e5e7eb;
    padding: 6px 10px;
    border-radius: 999px;
}

.step3-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #374151;
    margin-bottom: 6px;
}

.step3-details summary {
    cursor: pointer;
    font-weight: 800;
    color: #111827;
}

.step3-promo {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 10px;
    align-items: end;
}

.step3-promo-apply {
    height: 44px;
}

.step3-right-sticky {
    position: sticky;
    top: 14px;
}

.step3-booking-title {
    font-weight: 900;
    font-size: 1.1rem;
    color: #111827;
}

.step3-booking-meta {
    margin-top: 6px;
    color: #6b7280;
    font-size: 0.95rem;
}

.step3-line {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 8px 0;
}

    .step3-line.muted {
        color: #6b7280;
    }

.step3-total {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    font-weight: 900;
    font-size: 1.15rem;
}

.step3-cancel-badge {
    margin-top: 10px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #92400e;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 0.95rem;
}

.step3-editlink {
    font-weight: 800;
}

.field-error {
    margin-top: 6px;
    font-size: 0.9rem;
    color: #b91c1c;
}

.step3-hint {
    font-weight: 600;
    color: #6b7280;
    margin-left: 6px;
    font-size: 0.85rem;
}

.promo-pill {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 0.85rem;
    border: 1px solid #e5e7eb;
    background: #f0fdf4;
    color: #166534;
}

.step3-remove {
    font-weight: 800;
}

.step3-discount {
    color: #166534;
    font-weight: 800;
}

.step3-right {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.step3-total-was {
    text-decoration: line-through;
    color: #6b7280;
    font-weight: 800;
    margin-right: 10px;
}

.step3-right-sticky {
    position: sticky;
    top: 14px;
}

@media (max-width: 992px) {
    .step3-right-sticky {
        position: static;
        top: auto;
    }
}
.step3-promo-group {
    flex-wrap: nowrap; /* prevents Apply dropping */
}

.step3-promo-apply {
    white-space: nowrap;
    min-width: 88px; /* keeps it stable */
}

.step3-promo-applied .step3-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.step3-promo {
    display: block;
}
/* overrides any accidental flex styling */
.step3-promo-group {
    flex-wrap: nowrap;
}
/* keep Apply inline */
.step3-promo-group .form-control {
    width: 1%;
    flex: 1 1 auto;
    min-width: 0;
}

.step3-promo-apply {
    white-space: nowrap;
    min-width: 88px;
}

/* Step 3 promo row looks like the rest of your inputs/buttons */
.step3-promo-row {
    display: flex;
    gap: 12px;
    align-items: flex-end; /* aligns button to input baseline */
    width: 100%;
}

.step3-promo-col {
    flex: 1 1 auto;
    min-width: 0;
}

.step3-promo-btncol {
    flex: 0 0 auto;
}

.step3-input {
    height: 44px; /* matches your other form-controls */
    border-radius: 10px;
}

.step3-btn {
    height: 44px;
    border-radius: 10px;
    padding: 0 16px;
    font-weight: 800;
    white-space: nowrap;
}
/* If you want Applied to be a little calmer than default btn-success */
.step3-btn.btn-success {
    border: 1px solid #198754;
}

/* Mobile: stack like other fields */
@media (max-width: 576px) {
    .step3-promo-row {
        flex-direction: column;
        align-items: stretch;
    }

    .step3-btn {
        width: 100%;
    }
}

