/* new-solicitation */
:root {
    --sol-bg-soft: linear-gradient(135deg, #f2f8ff 0%, #f7fff7 55%, #fffaf1 100%);
    --sol-card: #ffffff;
    --sol-text: #18324b;
    --sol-muted: #6f8094;
    --sol-primary: #0f5da3;
    --sol-primary-soft: #dcecff;
    --sol-success: #2a8b45;
    --sol-success-soft: #e9f9ee;
    --sol-border: #d8e5f2;
}

.solicitation-shell {
    max-width: 1080px;
    margin: 18px auto 50px;
    padding: 0 12px 4px;
    color: var(--sol-text);
}

.solicitation-hero {
    background: var(--sol-bg-soft);
    border: 1px solid var(--sol-border);
    border-radius: 18px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 12px 24px rgba(21, 63, 102, .06);
}

.solicitation-eyebrow {
    margin: 0 0 8px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--sol-primary);
}

.solicitation-title {
    font-size: clamp(1.3rem, 2vw, 1.85rem);
    margin: 0;
    line-height: 1.25;
    font-weight: 700;
}

.solicitation-subtitle {
    margin: 10px 0 0;
    color: var(--sol-muted);
    max-width: 780px;
}

.solicitation-meta {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin: 14px 0 18px;
}

.meta-card {
    background: var(--sol-card);
    border: 1px solid var(--sol-border);
    border-radius: 14px;
    padding: 14px 16px;
}

.meta-card small {
    display: block;
    color: var(--sol-muted);
}

.meta-card strong {
    display: block;
    margin-top: 3px;
    font-size: 1.02rem;
}

.meta-card.meta-price {
    background: var(--sol-success-soft);
    border-color: #cde9d7;
}

.wizard-card {
    background: var(--sol-card);
    border: 1px solid var(--sol-border);
    border-radius: 18px;
    padding: 20px;
    box-shadow: 0 12px 24px rgba(19, 55, 88, .06);
}

.wizard-track {
    display: grid;
    gap: 10px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin-bottom: 16px;
}

.wizard-track.two-steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wizard-pill {
    border: 1px solid var(--sol-border);
    border-radius: 12px;
    padding: 10px 12px;
    font-size: .9rem;
    color: var(--sol-muted);
    background: #f7fbff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.wizard-pill.is-current {
    color: var(--sol-primary);
    border-color: #a2c5ea;
    background: var(--sol-primary-soft);
    font-weight: 700;
}

.wizard-pill.is-done {
    color: var(--sol-success);
    border-color: #b6dbbf;
    background: var(--sol-success-soft);
}

.pill-number {
    width: 26px;
    height: 26px;
    border-radius: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: .8rem;
    background: #fff;
    border: 1px solid currentColor;
    flex: 0 0 auto;
}

.wizard-step-title {
    margin: 0 0 12px;
    font-size: 1.06rem;
    font-weight: 700;
}

.solicitation-shell .section-helper {
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid var(--sol-border);
    background: #f8fbff;
    color: var(--sol-muted);
    margin-bottom: 14px;
    font-size: .92rem;
}

.solicitation-shell .section-helper strong {
    color: var(--sol-text);
}

.group-label {
    margin-bottom: 5px;
    display: block;
    color: #2f3f53;
    font-weight: 600;
}

.inline-error {
    display: none;
    color: #dc3545;
    font-size: .82rem;
    margin-top: 4px;
}

.copy-box {
    border: 1px dashed #aac8e8;
    background: #f6fbff;
    border-radius: 12px;
    padding: 10px 12px;
    margin-bottom: 14px;
}

.wizard-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap;
}

.wizard-help {
    color: var(--sol-muted);
    margin: 0;
    font-size: .88rem;
}

.solicitation-shell .support-box {
    margin-top: 14px;
    border: 1px solid #dbe7f3;
    background: #f9fcff;
    border-radius: 14px;
    padding: 12px 14px;
    font-size: .9rem;
}

.solicitation-shell .support-box p {
    margin-bottom: 4px;
}

/* thank-you */
:root {
    --ty-text: #1d3550;
    --ty-muted: #68809a;
    --ty-primary: #0b5ea7;
    --ty-primary-soft: #eaf3ff;
    --ty-success: #2c8d4d;
    --ty-success-soft: #ecf8f0;
    --ty-warning-soft: #fff7e7;
    --ty-border: #d8e5f1;
}

.thank-shell {
    max-width: 1060px;
    margin: 18px auto 52px;
    padding: 0 12px;
    color: var(--ty-text);
}

.thank-hero {
    border: 1px solid var(--ty-border);
    border-radius: 18px;
    background: linear-gradient(135deg, #eef6ff 0%, #f7fff8 65%, #fff8eb 100%);
    padding: 22px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 14px 28px rgba(18, 61, 97, .08);
}

.thank-eyebrow {
    margin: 0 0 8px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .8rem;
    color: var(--ty-primary);
    font-weight: 700;
}

.thank-title {
    margin: 0;
    font-size: clamp(1.28rem, 2vw, 1.88rem);
    line-height: 1.25;
    font-weight: 700;
}

.thank-subtitle {
    margin: 8px 0 0;
    color: var(--ty-muted);
    max-width: 740px;
}

.protocol-card {
    border: 1px solid #b9dbbf;
    background: var(--ty-success-soft);
    border-radius: 12px;
    padding: 12px 14px;
    min-width: 220px;
}

.protocol-label {
    display: block;
    color: #45665a;
    font-size: .78rem;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.protocol-value {
    font-size: 1.28rem;
    line-height: 1.2;
    font-weight: 800;
    color: #235a35;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin: 14px 0;
}

.summary-card {
    border: 1px solid var(--ty-border);
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
}

.summary-card small {
    display: block;
    color: var(--ty-muted);
}

.summary-card strong {
    display: block;
    margin-top: 2px;
    font-size: 1rem;
}

.flow-frame {
    border: 1px solid var(--ty-border);
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 12px 22px rgba(16, 55, 88, .06);
    overflow: hidden;
}

.flow-rail {
    padding: 14px;
    border-bottom: 1px solid #e7eef7;
    background: #f7fbff;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.flow-chip {
    border: 1px solid #bdd5ec;
    border-radius: 999px;
    background: #fff;
    color: #517293;
    padding: 5px 12px;
    font-size: .82rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.flow-chip.done {
    border-color: #b7ddc3;
    color: #2e7f47;
    background: #f1fbf4;
}

.flow-chip.current {
    border-color: #90bce5;
    color: #0f5da3;
    background: var(--ty-primary-soft);
    font-weight: 700;
}

.flow-body {
    padding: 18px;
}

.flow-step {
    border: 1px solid var(--ty-border);
    border-radius: 14px;
    padding: 16px;
    background: #fff;
}

.flow-step h5 {
    margin-bottom: 8px;
    font-weight: 700;
}

.flow-step p {
    color: #4f667f;
}

.thank-shell .section-helper {
    border: 1px solid #d7e6f5;
    border-radius: 10px;
    padding: 11px 12px;
    background: #f7fbff;
    color: #4e6780;
    margin-bottom: 14px;
}

.upload-container {
    border: 1px dashed #adc8e4;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    background-color: #f8fbff;
    width: 100%;
}

.upload-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.upload-button {
    background-color: #0f5da3;
    border: none;
    color: white;
    padding: 8px 14px;
    font-size: 14px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 700;
}

#imageInput {
    display: none;
}

.file-list {
    margin-top: 14px;
    font-size: 14px;
    color: #2d4760;
    padding-left: 18px;
}

.file-list li {
    margin-bottom: 6px;
}

.docs-box {
    border: 1px solid #f0dfbc;
    background: var(--ty-warning-soft);
    border-radius: 12px;
    padding: 10px 12px;
    margin-top: 12px;
}

.docs-box h6 {
    margin-bottom: 6px;
    font-weight: 700;
}

.disabled-link {
    pointer-events: none;
    opacity: .65;
}

.thank-shell .support-box {
    margin-top: 14px;
    border: 1px solid #dce8f3;
    border-radius: 12px;
    background: #f9fcff;
    padding: 12px 14px;
    font-size: .9rem;
}

.thank-shell .support-box p {
    margin-bottom: 4px;
}

@media (max-width: 992px) {
    .solicitation-hero {
        padding: 20px;
        border-radius: 14px;
    }

    .summary-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .thank-hero {
        flex-direction: column;
    }
}

@media (max-width: 768px) {
    .solicitation-shell {
        margin-top: 10px;
        padding: 0 4px 6px;
    }

    .solicitation-meta {
        grid-template-columns: 1fr;
    }

    .solicitation-hero {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        padding: 16px;
    }

    .wizard-card {
        padding: 14px;
        border-radius: 14px;
    }

    .wizard-track,
    .wizard-track.two-steps {
        grid-template-columns: 1fr;
    }

    .wizard-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .wizard-actions .btn {
        width: 100%;
    }

    .thank-shell {
        margin-top: 10px;
        padding: 0 4px;
    }

    .thank-hero {
        padding: 16px;
        border-radius: 14px;
    }

    .summary-grid {
        grid-template-columns: 1fr;
    }

    .flow-body {
        padding: 12px;
    }

    .flow-rail {
        padding: 10px;
    }
}
