
/*********************************************\
 * Missoula Karaoke Website
 * Booking System CSS Styles
 * Custom-built & © 2026 Missoula Karaoke, LLC
 * https://missoulakaraoke.com
 \*********************************************/

/* ═══════════════════════════════════════════════════════════════════════════════
   Option Grid & Option Card Styles (Used across multiple booking steps)
   ═══════════════════════════════════════════════════════════════════════════════ */

.option-grid {
    display: grid;
    gap: 0.75rem;
}

.option-grid-3 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

.option-grid-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.option-grid-5 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.option-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 110px;
    border: 2px solid #444;
    border-radius: 10px;
    padding: 0.75rem;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}

.option-card .option-icon {
    font-size: 1.25rem;
    margin-bottom: 0.2rem;
}

.option-card .option-label {
    font-weight: 600;
}

.option-card .option-desc {
    font-size: 0.8rem;
    color: #adb5bd;
}

.option-card:hover {
    border-color: #0d6efd;
    background: rgba(13, 110, 253, 0.08);
}

.option-card.selected {
    border-color: #0d6efd;
    background: rgba(13, 110, 253, 0.14);
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.25);
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Base Rate Card (Step 3 estimate display)
   ═══════════════════════════════════════════════════════════════════════════════ */

.base-rate-card {
    border: 2px solid #198754;
    border-radius: 10px;
    background: rgba(25, 135, 84, 0.14);
    box-shadow: 0 0 0 3px rgba(25, 135, 84, 0.2);
    padding: 0.9rem 1rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Toggle Card (Form switches with label and description)
   ═══════════════════════════════════════════════════════════════════════════════ */

.toggle-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
    padding: 0.75rem;
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
}

.toggle-card .form-check-input {
    cursor: pointer;
    width: 3em;
    height: 1.5em;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Responsive Grid Breakpoints (Step 2, Step 3)
   ═══════════════════════════════════════════════════════════════════════════════ */

@media (min-width: 768px) {
    .option-grid-3 {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .option-grid-4 {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .option-grid-5 {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Terms & Agreement Scrolling Panel (Step 4)
   ═══════════════════════════════════════════════════════════════════════════════ */

.terms-scroll-panel {
    max-height: 75vh;
    overflow-y: auto;
    font-size: 0.9rem;
}

.service-agreement-content h1,
.service-agreement-content h2,
.service-agreement-content h3,
.service-agreement-content h4 {
    margin-top: 0.9rem;
    margin-bottom: 0.4rem;
}

.service-agreement-content p,
.service-agreement-content ul,
.service-agreement-content ol {
    margin-bottom: 0.6rem;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Signature Canvas (Step 4)
   ═══════════════════════════════════════════════════════════════════════════════ */

.signature-card {
    border: 1px solid var(--bs-border-color);
    border-radius: 0.5rem;
    padding: 0.75rem;
    margin-top: 0.75rem;
}

.signature-canvas {
    width: 100%;
    height: 170px;
    border: 1px dashed #888;
    border-radius: 0.5rem;
    background: #fff;
    touch-action: none;
    cursor: crosshair;
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Security Widget Layout (Step 4 - reCAPTCHA or similar)
   ═══════════════════════════════════════════════════════════════════════════════ */

.security-wrap {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.security-widget-wrap {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .security-wrap {
        flex-direction: row;
        align-items: flex-start;
        justify-content: space-between;
    }

    .security-widget-wrap {
        justify-content: flex-end;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Resume Booking Options (Resume Prompt Page)
   ═══════════════════════════════════════════════════════════════════════════════ */

.resume-options-container {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(1, minmax(0, 1fr));
    width: 100%;
    max-width: 100%;
}

#resume-continue-btn:disabled {
    cursor: not-allowed;
    opacity: 0.6;
}

@media (min-width: 992px) {
    .resume-options-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        max-width: 600px;
        margin: 0 auto;
    }
}

/* ═══════════════════════════════════════════════════════════════════════════════
   Booking Step Indicator Navigation
   ═══════════════════════════════════════════════════════════════════════════════ */

.booking-step { position: relative; }

.step-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    border: 2px solid transparent;
    transition: all .2s;
}

.booking-step.active .step-circle {
    border-color: #0d6efd;
    box-shadow: 0 0 0 3px rgba(13, 110, 253, 0.2);
}

.booking-step.completed .step-circle {
    border-color: #198754;
}

.step-label {
    font-size: 0.78rem;
}

.step-circle-btn {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.step-circle-btn:hover .step-circle {
    transform: scale(1.08);
    box-shadow: 0 0 0 4px rgba(25, 135, 84, 0.25);
}
