.revenue-projection {
    --rp-input-green: #20998c;
    max-width: 600px;
    margin: 0 auto;
}

.rp-website-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.rp-field label {
    display: block;
    margin-bottom: 6px;
}

.rp-step-1 .rp-field > label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rp-step-2 .rp-contact-field > label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.rp-input-wrap {
    --rp-input-green: #20998c;
    position: relative;
}

.rp-input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    z-index: 1;
    width: 20px;
    height: 20px;
    color: var(--rp-input-green);
    pointer-events: none;
    transform: translateY(-50%);
}

.rp-input-icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.rp-fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

.rp-fieldset legend {
    margin-bottom: 10px;
    font-weight: bold;
}

.rp-field input[type="text"],
.rp-field input[type="number"],
.rp-field input[type="email"],
.rp-field input[type="tel"] {
    width: 100%;
    box-sizing: border-box;
}

.rp-step {
    display: flex;
    flex-direction: column;
    gap: 10px;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 220ms ease, transform 220ms ease;
}

.rp-step.rp-step-leaving,
.rp-step.rp-step-entering {
    opacity: 0;
    transform: translateY(8px);
}

@media (prefers-reduced-motion: reduce) {
    .rp-step {
        transition: none;
    }
}

.rp-step-1 .rp-input-wrap input {
    min-height: 52px;
    padding: 12px 16px 12px 48px;
    border: 2px solid var(--rp-input-green);
    border-radius: 0;
    background: #fff;
    color: #1f2d25;
    font: inherit;
}

.rp-step-1 button.rp-next,
.rp-step-2 .rp-submit,
.rp-results .rp-contact {
    display: block;
    min-height: 52px;
    padding: 12px 16px;
    border: 2px solid #20998c;
    border-radius: 0;
    background-color: #20998c;
    color: #FFFFFF;
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    width: 100%;
}

.rp-step-2 button.rp-back{
    padding: 6px 16px;
    border: 2px solid #20998c;
    border-radius: 0;
    background-color: #20998c;
    color: #FFFFFF;
    font: inherit;
    font-weight: 700;
}

.rp-submit-loading {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.rp-submit.is-loading .rp-submit-label {
    display: none;
}

.rp-submit.is-loading .rp-submit-loading {
    display: inline-flex;
}

.rp-spinner {
    width: 15px;
    height: 15px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: rp-spin 700ms linear infinite;
}

@keyframes rp-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (prefers-reduced-motion: reduce) {
    .rp-spinner {
        animation: none;
    }
}

.rp-step-1 button.rp-next:hover,
.rp-step-2 .rp-submit:hover,
.rp-step-2 button.rp-back:hover,
.rp-results .rp-contact:hover {
    background-color: #0c301b;
    border-color: #0c301b;
}

.rp-step-1 .rp-input-wrap input::placeholder {
    color: #5b7063;
    opacity: 1;
}

.rp-step-1 .rp-input-wrap input:focus {
    outline: 3px solid rgba(47, 125, 74, 0.2);
    outline-offset: 1px;
}

.rp-step-2 .rp-contact-field input {
    min-height: 52px;
    padding: 12px 16px;
    border: 2px solid var(--rp-input-green);
    border-radius: 0;
    background: #fff;
    color: #1f2d25;
    font: inherit;
}

.rp-step-2 .rp-contact-field input::placeholder {
    color: #5b7063;
    opacity: 1;
}

.rp-step-2 .rp-contact-field input:focus {
    outline: 3px solid rgba(47, 125, 74, 0.2);
    outline-offset: 1px;
}

.rp-contact-row {
    display: flex;
    gap: 10px;
}

.rp-contact-row .rp-contact-field {
    flex: 1 1 0;
    min-width: 0;
}

@media (max-width: 600px) {
    .rp-contact-row {
        flex-direction: column;
    }
}

.rp-address-suggestions {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    left: 0;
    z-index: 10;
    max-height: 240px;
    margin: 0;
    padding: 4px 0;
    overflow-y: auto;
    border: 1px solid var(--rp-input-green);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 6px 14px rgba(31, 45, 37, 0.14);
    list-style: none;
}

.rp-address-suggestion {
    padding: 12px 16px;
    color: #1f2d25;
    cursor: pointer;
}

.rp-address-suggestion:hover,
.rp-address-suggestion.is-active {
    background: #e8f3eb;
}

.rp-next,
.rp-submit {
    cursor: pointer;
}

.rp-error {
    display: none;
    margin-top: 4px;
    padding: 10px 12px;
    border-left: 3px solid #b42318;
    background: #fef3f2;
    color: #8a1c13;
    text-align: left;
}

.rp-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 0;
    padding: 12px 14px;
    border: 2px solid var(--rp-input-green);
    border-radius: 0;
    background: #fff;
}

.rp-summary-details {
    min-width: 0;
    flex: 1 1 auto;
}

.rp-summary-address {
    overflow: hidden;
    color: #1f2d25;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rp-summary-meta {
    margin-top: -4px;
    color: #5b7063;
    font-size: 0.85rem;
}

.rp-back {
    flex: 0 0 auto;
    margin: 0;
    padding: 6px 10px;
    border: 1px solid var(--rp-input-green);
    border-radius: 0;
    background: #fff;
    color: var(--rp-input-green);
    cursor: pointer;
    font: inherit;
}

.rp-results {
    text-align: center;
}

.rp-result-metric {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #d9e8df;
    text-align: left;
}

.rp-result-metric span {
    color: #5b7063;
}

.rp-result-metric strong {
    color: #1f2d25;
    white-space: nowrap;
}

.rp-results-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}