/* ======================================================================
   🔒 AI PROTECTION: DO NOT MODIFY
   Feature: Form Builder — confirmation_modal.css
   Protected by: Code Protector Module
   Date: 2026-03-24 16:34:17
   ====================================================================== */
/**
 * Form Builder: Confirmation Modal CSS
 * Single source of truth for the post-submission confirmation popup.
 * Loaded in all contexts (project, lead, customer, public).
 */

/* Dialog sizing — consistent across all pages */
#fbConfirmationModal .modal-dialog {
    max-width: 680px;
    width: 90%;
    margin: 30px auto;
    max-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
}

/* Card styling */
#fbConfirmationModal .modal-content {
    border-radius: 8px;
    box-shadow: 0 12px 40px color-mix(in srgb, var(--at-color-foreground) 20%, transparent);
    border: 1px solid var(--at-color-border);
    max-height: calc(100vh - 60px);
    display: flex;
    flex-direction: column;
}

/* Header inherits themed `.modal-header` from Theme Studio > Modal (single
   source of truth); no hardcoded colour so it repaints live with the active
   admin theme. The green "success" cue stays on the body check-icon below. */
#fbConfirmationModal .modal-header {
    border-radius: 8px 8px 0 0;
}

#fbConfirmationModal .modal-header .close {
    color: var(--at-color-card-foreground);
    opacity: 1;
}

#fbConfirmationModal .modal-header .modal-title {
    color: var(--at-color-card-foreground);
}

/* Body */
#fbConfirmationModal .modal-body {
    padding: 30px;
    text-align: center;
    overflow-y: auto;
    flex: 1 1 auto;
}

#fbConfirmationModal .fb-confirm-icon {
    font-size: 60px;
    color: var(--at-color-status-success-ink);
    margin-bottom: 20px;
}

#fbConfirmationModal #fbConfirmationMessage {
    font-size: 16px;
    color: var(--at-color-card-foreground);
    line-height: 1.6;
}

/* Footer */
#fbConfirmationModal .modal-footer {
    border-top: none;
    text-align: center;
}
