/* Merchant application — Smile Marketplace Payzli Connect form */

.bs-enrollment-form input[type="text"],
.bs-enrollment-form input[type="email"],
.bs-enrollment-form input[type="tel"],
.bs-enrollment-form input[type="url"],
.bs-enrollment-form input[type="date"],
.bs-enrollment-form select {
    font-family: inherit;
    color: #111827;
    background: #fff;
    outline: none;
}

.bs-enrollment-form input:focus,
.bs-enrollment-form select:focus {
    border-color: #9CA3AF;
}

.merchant-status {
    font-size: 14px;
    line-height: 1.45;
    min-height: 1.25rem;
    color: #78716c;
}

.merchant-status-error {
    color: #b91c1c;
}

.merchant-status-success {
    color: #15803d;
}

.merchant-status-pending {
    color: #a16207;
}

/* Statement compare / Quick Quote */
.savings-panel {
    border: 1px solid var(--line, #e7e5e4);
    background: #fff;
    border-radius: 20px;
    padding: 24px 22px 26px;
}

.quote-trigger {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-top: 1.25rem;
    padding: 14px 16px;
    border: 1px solid #e7e5e4;
    border-radius: 14px;
    background: #faf9f7;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
}

.quote-trigger.is-open {
    border-color: #1c1917;
    background: #fff;
}

.quote-trigger-title {
    display: block;
    font-size: 16px;
    font-weight: 500;
    color: #1c1917;
}

.quote-trigger-sub {
    display: block;
    margin-top: 2px;
    font-size: 13px;
    color: #78716c;
}

.quote-chevron {
    font-size: 22px;
    color: #78716c;
    line-height: 1;
}

.quote-embed {
    margin-top: 12px;
    border: 1px solid #e7e5e4;
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}

.quote-embed-bar,
.quote-embed-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: #f5f5f4;
    border-bottom: 1px solid #e7e5e4;
    font-size: 12px;
    color: #78716c;
}

.quote-embed-foot {
    border-bottom: 0;
    border-top: 1px solid #e7e5e4;
    justify-content: center;
}

.quote-embed-foot a {
    color: #1c1917;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.quote-reload {
    border: 1px solid #d6d3d1;
    background: #fff;
    border-radius: 980px;
    padding: 5px 12px;
    font-size: 12px;
    font-family: inherit;
    cursor: pointer;
}

.quote-mount {
    min-height: 600px;
    background: #faf9f7;
    display: flex;
    align-items: center;
    justify-content: center;
}

.quote-iframe {
    display: block;
    width: 100%;
    height: 600px;
    border: 0;
    background: #fff;
}

.quote-loading {
    font-size: 13px;
    color: #78716c;
}

.statement-upload {
    margin-top: 1.5rem;
    padding-top: 1.4rem;
    border-top: 1px solid #e7e5e4;
}

.statement-file-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    background: #faf9f7;
    margin-bottom: 14px;
}

.statement-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

@media (min-width: 640px) {
    .statement-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

.statement-stat {
    border: 1px solid #e7e5e4;
    border-radius: 14px;
    padding: 14px;
}

.statement-stat-good {
    border-color: #bbf7d0;
    background: #f0fdf4;
}

.statement-stat-label {
    font-size: 12px;
    color: #78716c;
}

.statement-stat-good .statement-stat-label {
    color: #166534;
}

.statement-stat-value {
    margin-top: 6px;
    font-size: 24px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.03em;
    color: #1c1917;
}

.statement-stat-good .statement-stat-value {
    color: #14532d;
}

.statement-stat-old {
    color: #78716c;
    text-decoration: line-through;
    text-decoration-color: #f87171;
}

.statement-dropzone {
    border: 1px dashed #d6d3d1;
    border-radius: 16px;
    padding: 22px 18px;
    background: #faf9f7;
    text-align: center;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.statement-dropzone.is-dragover,
.statement-dropzone:focus-visible {
    border-color: #B33A2B;
    background: #fdf6f4;
    outline: none;
}

.statement-file-ready {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.statement-clear {
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid #e7e5e4;
    background: #fff;
    color: #78716c;
    font-size: 20px;
    line-height: 1;
    flex-shrink: 0;
}

.statement-clear:hover {
    background: #f5f5f7;
    color: #1c1917;
}

.statement-fields {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 14px;
}

@media (min-width: 640px) {
    .statement-fields {
        grid-template-columns: 1fr 1fr;
    }
}

.statement-fields label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #78716c;
    margin-bottom: 6px;
}

.statement-fields select,
.statement-fields input {
    width: 100%;
    height: 44px;
    border: 1px solid #e7e5e4;
    border-radius: 10px;
    padding: 0 12px;
    font-size: 14px;
    background: #fff;
    color: #1c1917;
}

.statement-rate-wrap {
    position: relative;
}

.statement-rate-wrap input {
    padding-right: 36px;
}

.statement-rate-wrap span {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    color: #78716c;
}

.statement-agree {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 14px 0 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.45;
    color: #6e6e73;
}

.statement-agree input {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    accent-color: #B33A2B;
}

.statement-agree strong {
    color: #1d1d1f;
    font-weight: 600;
}

.statement-analyze-btn {
    width: 100%;
    border-radius: 12px;
}

.statement-analyze-btn:disabled {
    background: #e7e5e4;
    color: #78716c;
    cursor: not-allowed;
    transform: none;
}

.statement-analyze-btn:disabled:hover {
    background: #e7e5e4;
}

.statement-error {
    margin-top: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fef2f2;
    color: #991b1b;
    font-size: 13px;
    line-height: 1.45;
}

.statement-progress {
    margin-top: 4px;
}

.statement-progress-track {
    height: 6px;
    border-radius: 999px;
    background: #e7e5e4;
    overflow: hidden;
}

.statement-progress-bar {
    height: 100%;
    width: 12%;
    border-radius: 999px;
    background: #B33A2B;
    transition: width 0.4s ease;
}

.statement-extras {
    margin-top: 16px;
    display: grid;
    gap: 14px;
}

@media (min-width: 640px) {
    .statement-extras {
        grid-template-columns: 1fr 1fr;
    }
}

.statement-block {
    border: 1px solid #e7e5e4;
    border-radius: 14px;
    padding: 14px;
}

.statement-block h3 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #78716c;
    margin-bottom: 8px;
}

.statement-findings,
.statement-fees {
    list-style: none;
    margin: 0;
    padding: 0;
}

.statement-finding {
    padding: 8px 0 8px 12px;
    border-left: 3px solid #d6d3d1;
}

.statement-finding + .statement-finding {
    margin-top: 6px;
}

.statement-finding-high { border-left-color: #dc2626; }
.statement-finding-medium { border-left-color: #d97706; }
.statement-finding-low { border-left-color: #5b8def; }
.statement-finding-good { border-left-color: #16a34a; }

.statement-finding-title {
    font-size: 14px;
    font-weight: 600;
    color: #1c1917;
}

.statement-finding-detail {
    margin-top: 2px;
    font-size: 13px;
    color: #78716c;
    line-height: 1.4;
}

.statement-fees li {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
    padding: 4px 0;
}

.statement-fee-amt {
    font-variant-numeric: tabular-nums;
    font-weight: 600;
}

.statement-summary {
    margin-top: 14px;
    font-size: 14px;
    line-height: 1.5;
    color: #44403c;
}

.statement-report {
    margin-top: 16px;
    border: 1px solid #e7e5e4;
    border-radius: 14px;
    padding: 16px;
    background: #faf9f7;
}

.statement-report h3 {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #78716c;
    margin-bottom: 8px;
}

.statement-report-flag {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.02em;
    color: #1c1917;
    margin-bottom: 12px;
}

.statement-report-flag.is-high { color: #991b1b; }
.statement-report-flag.is-medium { color: #92400e; }
.statement-report-flag.is-good { color: #14532d; }

.statement-report-lines {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px 16px;
    margin: 0 0 12px;
}

@media (min-width: 640px) {
    .statement-report-lines {
        grid-template-columns: 160px 1fr;
    }
}

.statement-report-lines dt {
    font-size: 12px;
    color: #78716c;
}

.statement-report-lines dd {
    font-size: 14px;
    color: #1c1917;
    margin: 0 0 6px;
}

.statement-report-body p {
    font-size: 14px;
    line-height: 1.5;
    color: #44403c;
    margin: 0 0 8px;
}

.statement-report-body p:last-child {
    margin-bottom: 0;
}

.statement-quote-note {
    margin-top: 12px;
    font-size: 13px;
    line-height: 1.45;
    color: #78716c;
}

.statement-industry-note {
    margin-top: 8px;
    font-size: 13px;
    font-style: italic;
    color: #78716c;
    line-height: 1.45;
}

.statement-result-cta {
    margin-top: 16px;
}
