/* ============================================================
   FAMILYVO — calculator.css  (build #3)
   ============================================================ */

/* Trigger button */
.calc-trigger-btn {
    display: inline-block;
    padding: 16px 32px;
    background: linear-gradient(135deg, #f3531b, #ff7f3f);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: transform .18s, box-shadow .18s;
    box-shadow: 0 4px 18px rgba(243,83,27,.35);
    text-decoration: none;
}
.calc-trigger-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(243,83,27,.45);
    text-decoration: none;
    color: #fff;
}

/* Overlay + container */
.calc-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(4px);
    z-index: 10000;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
    padding: 4vh 14px;
}
.calc-overlay.active { opacity: 1; pointer-events: auto; }
.calc-container {
    background: #fff;
    border-radius: 18px;
    width: 100%;
    max-width: 720px;
    max-height: 92vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 24px 64px rgba(0,0,0,0.3);
    color: #1a1a2e;
    font-family: Verdana, sans-serif;
}

/* Header / close */
.calc-header { position: relative; }
.calc-progress {
    height: 5px;
    background: #e6ecf2;
    border-radius: 18px 18px 0 0;
    overflow: hidden;
}
.calc-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0e4ccc, #4f86e0);
    transition: width .4s ease;
}
.calc-step-indicator {
    font-size: 0.8rem;
    color: #707085;
    padding: 12px 24px 0;
    font-weight: 700;
    letter-spacing: .5px;
    text-transform: uppercase;
}
.calc-close-btn {
    position: absolute;
    top: 14px; right: 14px;
    background: rgba(0,0,0,.06);
    border: none;
    width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    line-height: 1;
    cursor: pointer;
    color: #2a2a2a;
}
.calc-close-btn:hover { background: rgba(0,0,0,.12); }

/* Body */
.calc-body { padding: 16px 24px 8px; }
.calc-step-title {
    font-family: 'Rise of Kingdom', Georgia, serif;
    color: #0e4ccc;
    font-size: 1.5rem;
    margin: 0 0 16px;
    font-weight: normal;
}

/* Option buttons */
.calc-option-btn {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    padding: 14px 18px;
    margin-bottom: 10px;
    background: #fafbfd;
    border: 2px solid #e6ecf2;
    border-radius: 12px;
    cursor: pointer;
    transition: all .18s ease;
    text-align: left;
    font-family: Verdana, sans-serif;
    color: #1a1a2e;
}
.calc-option-btn:hover {
    border-color: #0e4ccc;
    background: #f0f6ff;
    transform: translateX(3px);
}
.calc-option-btn.selected {
    border-color: #0e4ccc;
    background: #e8f0ff;
}
.calc-option-label   { font-size: 1.02rem; font-weight: 700; }
.calc-option-desc    { font-size: 0.83rem; color: #707085; margin-top: 2px; }
.calc-option-price   {
    font-size: 1rem;
    font-weight: 700;
    color: #f3531b;
    margin-top: 4px;
    align-self: flex-end;
}

/* Skip button */
.calc-skip-btn {
    display: block;
    width: 100%;
    background: transparent;
    border: 1px dashed #aedaf1;
    color: #0e4ccc;
    padding: 10px 14px;
    border-radius: 10px;
    margin-top: 10px;
    font-size: .85rem;
    cursor: pointer;
    font-weight: 700;
}
.calc-skip-btn:hover { background: #f0f7fc; }

/* Promo bar */
.calc-promo {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 12px 24px 18px;
    border-top: 1px solid #e6ecf2;
    font-size: 0.88rem;
}
.calc-promo label { color: #707085; font-weight: 700; }
.calc-promo input[type=text] {
    flex: 1 1 140px;
    padding: 8px 12px;
    border: 1px solid #e6ecf2;
    border-radius: 8px;
    font-size: 0.9rem;
    text-transform: uppercase;
}
.calc-promo button {
    background: #0e4ccc;
    color: #fff;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}
.calc-promo button:hover { background: #0a3aa8; }
.calc-promo-msg { font-weight: 700; }
.calc-promo-msg.is-ok    { color: #1a8a4e; }
.calc-promo-msg.is-error { color: #c0392b; }

/* Quote summary */
.calc-quote-box {
    background: linear-gradient(135deg, #f0f6ff, #e8f0ff);
    border-radius: 14px;
    padding: 22px;
    margin: 4px 0 16px;
    border: 1px solid #aedaf1;
}
.calc-quote-id { font-size: 0.95rem; color: #0e4ccc; font-weight: 700; margin-bottom: 10px; }
.calc-quote-lines {
    list-style: none;
    padding: 0; margin: 0 0 12px;
    border-top: 1px solid rgba(174,218,241,.6);
}
.calc-quote-lines li {
    display: flex; justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px solid rgba(174,218,241,.4);
    font-size: 0.92rem;
}
.calc-quote-lines .ln-label { color: #1a1a2e; }
.calc-quote-lines .ln-price { color: #f3531b; font-weight: 700; }
.ln-extra { font-size: 0.85rem; color: #707085; margin: 6px 0; }

.calc-rush-option {
    margin: 14px 0;
    padding: 12px 14px;
    background: #fffde7;
    border: 1px solid #ffd54f;
    border-radius: 10px;
}
.calc-rush-option label { font-weight: 700; }
.calc-rush-note {
    font-size: 0.85rem;
    color: #8b6e1a;
    margin-top: 8px;
    line-height: 1.45;
}

.calc-quote-price {
    text-align: right;
    margin-top: 10px;
}
.calc-quote-price strong {
    font-family: 'Rise of Kingdom', Georgia, serif;
    font-size: 2.2rem;
    color: #f3531b;
    font-weight: normal;
}

.calc-estimate-disclaimer {
    font-size: 0.8rem;
    color: #707085;
    line-height: 1.5;
    margin: 14px 0;
}

/* CTAs */
.calc-cta-row {
    display: flex; flex-wrap: wrap; gap: 10px;
    justify-content: center;
}
.calc-cta {
    flex: 1 1 180px;
    padding: 12px 18px;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer;
    font-size: 0.95rem;
    color: #fff;
    background: #0e4ccc;
    transition: background .15s, transform .15s;
}
.calc-cta:hover { background: #0a3aa8; transform: translateY(-1px); }
.calc-cta--email    { background: #2a7ce5; }
.calc-cta--email:hover    { background: #1d5fbf; }
.calc-cta--order    { background: #f3531b; }
.calc-cta--order:hover    { background: #cc3e0e; }
.calc-cta--audition { background: #1a8a4e; }
.calc-cta--audition:hover { background: #126b3b; }

/* Nested modal (forms) */
.calc-modal-overlay {
    position: fixed; inset: 0;
    background: rgba(0,0,0,0.7);
    z-index: 10001;
    display: flex; align-items: center; justify-content: center;
    opacity: 0; pointer-events: none;
    transition: opacity .25s ease;
    padding: 4vh 14px;
}
.calc-modal-overlay.active { opacity: 1; pointer-events: auto; }
.calc-modal-container {
    background: #fff;
    border-radius: 16px;
    width: 100%;
    max-width: 600px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 24px;
    position: relative;
    box-shadow: 0 24px 60px rgba(0,0,0,.4);
}
.calc-modal-close {
    position: absolute;
    top: 12px; right: 12px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
    color: #707085;
}

/* Forms */
.calc-form { display: flex; flex-direction: column; gap: 12px; }
.calc-form fieldset {
    border: 1px solid #e6ecf2;
    border-radius: 10px;
    padding: 12px;
}
.calc-form legend {
    font-weight: 700; color: #0e4ccc;
    padding: 0 6px;
}
.calc-form label {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.92rem;
    margin-bottom: 8px;
}
.calc-form input[type=text],
.calc-form input[type=email],
.calc-form input[type=tel],
.calc-form input[type=file],
.calc-form select,
.calc-form textarea {
    padding: 9px 12px;
    border: 1px solid #e6ecf2;
    border-radius: 8px;
    font-family: Verdana, sans-serif;
    font-size: 0.95rem;
}
.calc-form textarea { resize: vertical; min-height: 70px; }

.calc-actor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 6px;
    margin-top: 6px;
}
.calc-actor-pick {
    flex-direction: row !important;
    align-items: center;
    gap: 6px;
    background: #fafbfd;
    padding: 6px 8px;
    border-radius: 6px;
    margin: 0 !important;
}
.calc-actor-note {
    font-size: 0.82rem;
    color: #707085;
    margin: 0 0 6px;
}

.calc-terms {
    background: #fffaf0;
    border: 1px solid #ffd54f;
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 0.88rem;
    flex-direction: row !important;
    align-items: flex-start;
    gap: 8px !important;
}
.calc-pay-row {
    display: flex; align-items: center; justify-content: space-between;
    gap: 10px; margin-top: 6px;
}
.calc-pay-amount strong {
    font-size: 1.6rem;
    color: #f3531b;
    font-family: 'Rise of Kingdom', Georgia, serif;
    font-weight: normal;
}
.calc-stripe-mount {
    margin-top: 16px;
    text-align: center;
    border-top: 1px solid #e6ecf2;
    padding-top: 14px;
}
.calc-stripe-fallback {
    font-size: 0.85rem;
    color: #707085;
    margin-top: 8px;
}

/* Mobile */
@media (max-width: 600px) {
    .calc-step-title { font-size: 1.25rem; }
    .calc-cta-row .calc-cta { flex-basis: 100%; }
    .calc-pay-row { flex-direction: column; align-items: stretch; }
}
