/* Zoom Health Booker Public Styles */

.zhb-package-info {
    background-color: #f9f9f9;
    border-left: 4px solid #0073aa;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.zhb-package-info h3 {
    margin-top: 0;
    color: #0073aa;
}

.zhb-package-info ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.zhb-package-info li {
    padding: 5px 0;
    border-bottom: 1px solid #e0e0e0;
}

.zhb-package-info li:last-child {
    border-bottom: none;
}

/* Reschedule Form */
.zhb-reschedule-form {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.zhb-reschedule-form h1 {
    margin-top: 0;
    color: #333;
}

.zhb-reschedule-form p {
    color: #666;
    line-height: 1.6;
}

.zhb-reschedule-form h2 {
    font-size: 18px;
    margin: 20px 0 15px 0;
    color: #333;
}

.zhb-reschedule-form select {
    width: 100%;
    padding: 10px;
    margin: 15px 0;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.zhb-reschedule-form .button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    text-decoration: none;
}

.zhb-reschedule-form .button:hover {
    background-color: #005a87;
}

/* Confirmation */
.zhb-reschedule-confirmation {
    max-width: 600px;
    margin: 40px auto;
    padding: 30px;
    background: white;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.zhb-reschedule-confirmation h1 {
    color: #155724;
    margin-top: 0;
}

.zhb-reschedule-confirmation p {
    color: #666;
    font-size: 16px;
}

.zhb-reschedule-confirmation a {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 4px;
}

/* Customer Sessions */
.session-status {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.session-status.status-scheduled {
    background-color: #e7f3ff;
    color: #0073aa;
}

.session-status.status-completed {
    background-color: #d4edda;
    color: #155724;
}

.session-status.status-no_show {
    background-color: #f8d7da;
    color: #721c24;
}

.session-status.status-in_progress {
    background-color: #fff8e5;
    color: #856404;
}

/* Thank-you modal — shared by WooCommerceBooker::render_thankyou_modal() and
   WooCommerceAssessment::maybe_js_redirect(). Consolidated from two
   near-identical inline <style> blocks (MASTER_AUDIT.md H6); this is the
   union of both — the assessment modal has no close button, so
   .zhb-thankyou-modal__close simply never matches there. */
.zhb-thankyou-modal {
    max-width: 440px;
    width: calc(100% - 2rem);
    border: none;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
}

.zhb-thankyou-modal::backdrop {
    background: rgba(20, 25, 25, 0.55);
}

.zhb-thankyou-modal h2 {
    margin-top: 0;
}

.zhb-thankyou-modal__actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.zhb-thankyou-modal__close {
    background: none;
    border: none;
    text-decoration: underline;
    cursor: pointer;
    padding: 0;
    font-size: inherit;
}

/* Responsive */
@media (max-width: 768px) {
    .zhb-reschedule-form,
    .zhb-reschedule-confirmation {
        margin: 20px;
        padding: 15px;
    }

    .zhb-reschedule-form h1,
    .zhb-reschedule-confirmation h1 {
        font-size: 24px;
    }
}
