/* ============================================================
   RADIANT GLOW — CLIENT BOOKING & DYNAMIC PAYMENT MODAL STYLES
   ============================================================ */

/* ── Slots Selector Area ─────────────────────────────────── */
.slots-container {
    margin-top: 15px;
    margin-bottom: 20px;
    background: rgba(20, 24, 35, 0.95);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 12px;
    padding: 18px;
    display: none;
    animation: fadeInSlot 0.3s ease;
}

@keyframes fadeInSlot {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}

.slots-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.slots-title {
    font-size: 14px;
    font-weight: 600;
    color: #e0bf6e;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.slots-session-title {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #8b9ab5;
    margin: 12px 0 8px 0;
}

.slots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 8px;
}

.slot-pill {
    padding: 9px 6px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.04);
    color: #f0f2f8;
    transition: all 0.2s ease;
    user-select: none;
}

.slot-pill:hover:not(.disabled) {
    border-color: #c9a84c;
    background: rgba(201, 168, 76, 0.15);
    color: #e0bf6e;
    transform: translateY(-2px);
}

.slot-pill.active {
    background: linear-gradient(135deg, #c9a84c 0%, #9d7e30 100%) !important;
    border-color: #c9a84c !important;
    color: #000 !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 15px rgba(201, 168, 76, 0.4);
}

.slot-pill.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    background: rgba(0, 0, 0, 0.2);
    border-color: transparent;
    text-decoration: line-through;
}

/* ── Dynamic Payment Modal Overlay ───────────────────────── */
.rg-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(8, 10, 15, 0.85);
    backdrop-filter: blur(8px);
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: fadeInModal 0.25s ease;
}

@keyframes fadeInModal {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.rg-modal-box {
    background: #141722;
    border: 1px solid rgba(201, 168, 76, 0.4);
    border-radius: 18px;
    width: 100%;
    max-width: 540px;
    max-height: 92vh;
    overflow-y: auto;
    color: #f0f2f8;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
    position: relative;
    scrollbar-width: thin;
    scrollbar-color: rgba(201,168,76,0.3) transparent;
}

.rg-modal-header {
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rg-modal-title {
    font-family: 'Marcellus', serif;
    font-size: 20px;
    color: #f0f2f8;
    margin: 0;
}

.rg-modal-title span { color: #c9a84c; }

.rg-modal-close {
    background: rgba(255, 255, 255, 0.06);
    border: none;
    width: 32px; height: 32px;
    border-radius: 50%;
    color: #8b9ab5;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.rg-modal-close:hover { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

.rg-modal-body {
    padding: 22px 24px;
}

/* ── Hold Countdown Banner ───────────────────────────────── */
.rg-hold-banner {
    background: rgba(201, 168, 76, 0.1);
    border: 1px solid rgba(201, 168, 76, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
}

.rg-hold-timer {
    font-size: 15px;
    font-weight: 700;
    color: #c9a84c;
    font-family: monospace;
}

/* ── Appointment Summary in Modal ────────────────────────── */
.rg-summary-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    padding: 14px 18px;
    margin-bottom: 20px;
}

.rg-summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 4px 0;
    color: #8b9ab5;
}

.rg-summary-row strong { color: #f0f2f8; }

/* ── Dynamic QR Code Section ─────────────────────────────── */
.rg-qr-box {
    text-align: center;
    background: #ffffff;
    border-radius: 14px;
    padding: 18px;
    max-width: 260px;
    margin: 0 auto 18px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.rg-qr-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

.rg-upi-display {
    margin-top: 10px;
    font-size: 13px;
    color: #111;
    font-weight: 700;
}

.rg-copy-btn {
    background: #141722;
    color: #c9a84c;
    border: 1px solid #c9a84c;
    border-radius: 6px;
    padding: 4px 12px;
    font-size: 11px;
    cursor: pointer;
    font-weight: 600;
    margin-top: 6px;
    transition: all 0.2s;
}

.rg-copy-btn:hover { background: #c9a84c; color: #000; }

/* ── Verification Inputs (UTR + Screenshot) ──────────────── */
.rg-input-group {
    margin-bottom: 16px;
}

.rg-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    color: #8b9ab5;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.rg-label.required::after {
    content: ' *';
    color: #ef4444;
}

.rg-control {
    width: 100%;
    background: #0d0f17;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 14px;
    color: #f0f2f8;
    outline: none;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.rg-control:focus {
    border-color: #c9a84c;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}

.rg-upload-preview {
    width: 100%;
    height: 140px;
    object-fit: contain;
    background: #0d0f17;
    border: 1px dashed rgba(201, 168, 76, 0.4);
    border-radius: 8px;
    margin-top: 8px;
    display: none;
}

.rg-submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #c9a84c 0%, #a68435 100%);
    color: #000;
    font-weight: 700;
    font-size: 15px;
    padding: 14px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 6px 20px rgba(201, 168, 76, 0.35);
    margin-top: 10px;
}

.rg-submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.5);
    background: linear-gradient(135deg, #e0bf6e 0%, #c9a84c 100%);
}

.rg-submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ── Success Celebration Screen ──────────────────────────── */
.rg-success-box {
    text-align: center;
    padding: 30px 10px;
}

.rg-success-icon {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: rgba(34, 197, 94, 0.15);
    border: 2px solid #22c55e;
    color: #22c55e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    margin: 0 auto 18px;
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from { transform: scale(0); opacity: 0; }
    to   { transform: scale(1); opacity: 1; }
}

.rg-badge-pending-review {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 16px;
}
