[ng-cloak]{display:none!important}.sg-compact{max-width:1160px;margin:18px auto;font-family:Arial,sans-serif;color:#222}.sg-layout{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(300px,1fr);gap:16px}.sg-panel{background:#fff;border:1px solid #e5e5e5;border-radius:10px;padding:18px;box-shadow:0 2px 10px rgba(0,0,0,.04)}.sg-panel h2,.sg-panel h3{margin:0 0 8px}.sg-muted{color:#777;font-size:12px}.sg-steps{display:flex;gap:8px;margin-bottom:12px}.sg-steps span{padding:7px 12px;border-radius:18px;background:#eee;font-size:12px;font-weight:700}.sg-steps span.active{background:#c7192c;color:#fff}.sg-field-title{margin:14px 0 7px;font-size:12px;font-weight:700;text-transform:uppercase;color:#555}.sg-choice-row,.sg-payment-methods{display:flex;gap:7px;flex-wrap:wrap}.sg-choice,.sg-payment-methods button{border:1px solid #ddd;background:#fff;border-radius:7px;padding:8px 12px;font-weight:700;cursor:pointer}.sg-choice.active,.sg-payment-methods button.active{background:#c7192c;border-color:#c7192c;color:#fff}.sg-choice:disabled{opacity:.4;cursor:not-allowed}.sg-date-time-grid{display:grid;grid-template-columns:minmax(180px,1fr) minmax(270px,1.3fr);gap:14px;align-items:start}.sg-date,.sg-form-grid input,.sg-discount-grid input,.sg-payment-entry input{width:100%;height:38px;border:1px solid #d8d8d8;border-radius:7px;padding:7px 9px;box-sizing:border-box}.time-picker{display:flex;align-items:center;gap:6px}.time-control{width:62px;border:1px solid #ddd;border-radius:7px;overflow:hidden;text-align:center}.time-change-btn{display:block;width:100%;height:25px;border:0;background:#f4f4f4;font-size:18px;font-weight:700;cursor:pointer}.time-change-btn:hover{background:#c7192c;color:#fff}.time-value{font-size:20px;font-weight:700;padding-top:3px}.time-caption{font-size:8px;color:#888;padding-bottom:3px}.time-colon{font-size:24px;font-weight:700}.time-period{min-width:48px;padding:10px 6px;border-radius:7px;background:#c7192c;color:#fff;text-align:center;font-weight:700}.selected-start-time{margin-top:5px;font-size:11px;color:#777}.selected-start-time strong{color:#c7192c}.sg-counter-row{display:flex;gap:12px;margin-top:15px}.sg-counter{display:grid;grid-template-columns:auto 34px 38px 34px;align-items:center;gap:4px;border:1px solid #e3e3e3;border-radius:8px;padding:6px 8px}.sg-counter span{font-size:12px;font-weight:700;margin-right:5px}.sg-counter button{height:30px;border:0;border-radius:5px;background:#eee;font-size:18px}.sg-counter strong{text-align:center}.sg-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px}.sg-discount-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:8px}.sg-input-action{display:flex}.sg-input-action input{border-radius:7px 0 0 7px}.sg-input-action button{border:0;background:#333;color:#fff;border-radius:0 7px 7px 0;padding:0 11px;font-weight:700}.sg-summary{position:sticky;top:12px;height:max-content}.sg-summary dl{display:grid;grid-template-columns:1fr 1fr;gap:7px 10px;font-size:12px}.sg-summary dt{color:#777}.sg-summary dd{margin:0;text-align:right;font-weight:700}.sg-total{margin-top:13px;padding-top:12px;border-top:2px solid #eee;display:flex;justify-content:space-between;align-items:center}.sg-total strong{font-size:20px;color:#c7192c}.sg-continue,.sg-secondary{margin-top:14px;border:0;border-radius:7px;padding:11px 16px;font-weight:700;cursor:pointer}.sg-continue{width:100%;background:#c7192c;color:#fff}.sg-continue:disabled{opacity:.45;cursor:not-allowed}.sg-secondary{background:#eee;color:#222}.sg-error{margin-top:10px;padding:8px 10px;background:#fff0f0;border:1px solid #f0caca;color:#a60000;border-radius:6px;font-size:12px}.sg-payment-methods button{min-width:100px}.sg-payment-entry{display:grid;grid-template-columns:160px 1fr;gap:8px 12px;align-items:center;margin-top:18px}.required{color:#c7192c}.sg-actions{display:flex;gap:10px;align-items:center}.sg-actions .sg-continue{width:auto}.sg-confirmation{text-align:center;max-width:760px;margin:0 auto}.sg-success{width:54px;height:54px;line-height:54px;border-radius:50%;background:#198754;color:#fff;font-size:30px;margin:0 auto 10px}.sg-confirm-number{font-size:24px;font-weight:800;color:#c7192c;margin:12px}.sg-confirm-grid{display:grid;grid-template-columns:1fr 1fr;gap:8px;text-align:left}.sg-confirm-grid div{border:1px solid #eee;border-radius:7px;padding:10px}.sg-confirm-grid span{display:block;font-size:10px;color:#777;text-transform:uppercase}.sg-confirm-grid strong{display:block;margin-top:3px}@media(max-width:760px){.sg-layout,.sg-date-time-grid,.sg-form-grid,.sg-discount-grid,.sg-confirm-grid{grid-template-columns:1fr}.sg-summary{position:static}.sg-payment-entry{grid-template-columns:1fr}.sg-counter-row{flex-direction:column}}


/* =========================================================
   OLD BOOKING PAGE VISUAL STRUCTURE - V2
   Keeps the familiar section/card based walking-booking UI.
   ========================================================= */
.booking-body {
    background: #fff;
}
.booking-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 15px;
    padding-bottom: 12px;
    margin-bottom: 14px;
    border-bottom: 1px solid #e6e6e6;
}
.booking-section-heading h2 {
    margin: 0 0 4px;
    font-size: 20px;
    font-weight: 700;
}
.booking-section-no,
.old-section-index {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 8px;
    border-radius: 4px;
    background: #c7192c;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}
.old-section-card {
    margin-top: 18px;
    padding: 15px;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    background: #fafafa;
}
.old-section-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.old-section-title strong {
    display: block;
    font-size: 15px;
    color: #222;
}
.old-section-title small {
    display: block;
    margin-top: 2px;
    color: #777;
    font-size: 12px;
}
.old-form-grid {
    display: grid;
    gap: 12px;
}
.old-form-grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}
.old-field label {
    display: block;
    margin-bottom: 5px;
    font-size: 12px;
    font-weight: 700;
    color: #444;
}
.old-field .form-control {
    width: 100%;
    min-height: 38px;
    padding: 8px 10px;
    border: 1px solid #d6d6d6;
    border-radius: 4px;
    background: #fff;
    box-sizing: border-box;
}
.old-field .form-control:focus {
    border-color: #c7192c;
    outline: 0;
    box-shadow: 0 0 0 2px rgba(199, 25, 44, .08);
}
.old-note {
    min-height: 38px !important;
    height: 38px;
    resize: vertical;
}
.customer-card,
.discount-card {
    background: #fff;
}
.required {
    color: #c7192c;
}
@media (max-width: 760px) {
    .old-form-grid-2 {
        grid-template-columns: 1fr;
    }
}

/* Confirmation / QR additions */
.sg-confirm-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 20px;
}
.sg-qr-card {
    min-width: 180px;
    text-align: center;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: #fff;
}
.sg-qr-card #bookingQrCode,
.sg-qr-card #bookingQrCode img,
.confirmation-qr-image {
    width: 150px;
    height: 150px;
    margin: 0 auto 8px;
}
.sg-qr-card strong,
.sg-qr-card small { display:block; }
.sg-confirm-actions {
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:10px;
    margin-top:20px;
}
@media (max-width: 700px) {
    .sg-confirm-header { flex-direction: column; text-align:center; }
}
@media print {
    body * { visibility: hidden !important; }
    #bookingConfirmation,
    #bookingConfirmation * { visibility: visible !important; }
    #bookingConfirmation {
        position:absolute;
        left:0;
        top:0;
        width:100%;
        box-shadow:none !important;
        border:0 !important;
    }
    .no-print { display:none !important; }
}


/* v5 discount verification state */
.sg-discount-validation { margin-top: 8px; display: flex; gap: 8px; flex-wrap: wrap; }
.sg-discount-validation span { padding: 4px 9px; border-radius: 12px; background: #eef8ef; border: 1px solid #b8dcbc; font-size: 12px; font-weight: 600; }


/* v6: price is visible before customer information */
.booking-price-before-customer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin: 18px 0;
    padding: 16px 18px;
    border: 1px solid #d8dde5;
    border-radius: 10px;
    background: #f8fafc;
}
.booking-price-before-customer span,
.booking-price-before-customer small { display: block; }
.booking-price-before-customer small { margin-top: 3px; }
.booking-price-before-customer strong { font-size: 24px; white-space: nowrap; }
