/**** Multi-Step Form Styles ****/

.msf__container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    padding: 30px 20px;
}

/* Progress Bar */
.msf__progress {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 35px;
    gap: 0;
}

.msf__progress__step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    position: relative;
}

.msf__progress__circle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #ddd;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: open-sans, sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.msf__progress__step--active .msf__progress__circle,
.msf__progress__step--done .msf__progress__circle {
    background: #498ac4;
    color: white;
}

.msf__progress__step--done .msf__progress__circle {
    background: #1f2a58;
}

.msf__progress__label {
    font-family: open-sans, sans-serif;
    font-size: 0.7rem;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
    transition: color 0.3s ease;
}

.msf__progress__step--active .msf__progress__label,
.msf__progress__step--done .msf__progress__label {
    color: #1f2a58;
}

.msf__progress__line {
    flex: 1;
    height: 2px;
    background: #ddd;
    margin: 0 8px;
    margin-bottom: 20px;
    max-width: 50px;
    transition: background 0.3s ease;
}

.msf__progress__line--done {
    background: #1f2a58;
}

/* Step Container */
.msf__step {
    display: none;
}

.msf__step--active {
    display: block;
    animation: msfFadeIn 0.3s ease;
}

@keyframes msfFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Titles */
.msf__title {
    font-family: hero-new-hairline, sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #1f2a58;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 8px;
}

.msf__subtitle {
    font-family: open-sans, sans-serif;
    font-size: 0.9rem;
    color: #777;
    text-align: center;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Service Category Options (Step 1) */
.msf__options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 25px;
}

.msf__option input[type="radio"] {
    display: none;
}

.msf__option__card {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 22px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.msf__option__card:hover {
    border-color: #498ac4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(73,138,196,0.15);
}

.msf__option input[type="radio"]:checked + .msf__option__card {
    border-color: #498ac4;
    background: rgba(73,138,196,0.06);
    box-shadow: 0 4px 12px rgba(73,138,196,0.15);
}

.msf__option__icon {
    font-size: 1.5rem;
    color: #498ac4;
}

.msf__option__title {
    font-family: open-sans, sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    color: #1f2a58;
}

.msf__option__desc {
    font-family: open-sans, sans-serif;
    font-size: 0.75rem;
    color: #999;
    line-height: 1.3;
}

/* Treatment List (Step 2) */
.msf__treatments {
    margin-bottom: 25px;
    max-height: 450px;
    overflow-y: auto;
}

.msf__treatment input[type="radio"] {
    display: none;
}

.msf__treatment__card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: open-sans, sans-serif;
    font-size: 0.9rem;
    color: #333;
}

.msf__treatment__card:hover {
    border-color: #498ac4;
    background: rgba(73,138,196,0.03);
}

.msf__treatment input[type="radio"]:checked + .msf__treatment__card {
    border-color: #498ac4;
    background: rgba(73,138,196,0.06);
    box-shadow: 0 2px 8px rgba(73,138,196,0.12);
}

.msf__treatment__card small {
    display: block;
    font-size: 0.75rem;
    color: #999;
    margin-top: 2px;
}

.msf__price {
    font-weight: 700;
    color: #498ac4;
    white-space: nowrap;
    margin-left: 10px;
}

.msf__notsure {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
}

.msf__notsure__icon {
    font-size: 2rem;
    color: #498ac4;
    margin-bottom: 12px;
}

.msf__notsure p {
    font-family: open-sans, sans-serif;
    font-size: 0.9rem;
    color: #666;
    line-height: 1.6;
}

/* Form Fields (Step 3) */
.msf__fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-bottom: 25px;
}

.msf__field--full {
    grid-column: 1 / -1;
}

.msf__label {
    display: block;
    font-family: open-sans, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1f2a58;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.msf__input,
.msf__textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-family: open-sans, sans-serif;
    font-size: 0.9rem;
    color: #333;
    background: white;
    transition: border-color 0.2s ease;
    box-sizing: border-box;
    outline: none;
}

.msf__input:focus,
.msf__textarea:focus {
    border-color: #498ac4;
}

.msf__input::placeholder,
.msf__textarea::placeholder {
    color: #bbb;
}

.msf__textarea {
    resize: vertical;
    min-height: 80px;
}

.msf__input--error {
    border-color: #e74c3c;
}

/* Review (Step 4) */
.msf__review {
    background: white;
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 25px;
}

.msf__review__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.msf__review__row:last-child {
    border-bottom: none;
}

.msf__review__label {
    font-family: open-sans, sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    min-width: 100px;
}

.msf__review__value {
    font-family: open-sans, sans-serif;
    font-size: 0.9rem;
    color: #1f2a58;
    font-weight: 600;
    text-align: right;
    max-width: 60%;
    word-break: break-word;
}

/* Buttons */
.msf__buttons {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.msf__btn {
    font-family: open-sans, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 13px 28px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.25s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.msf__btn--next,
.msf__btn--submit {
    background: #498ac4;
    color: white;
    margin-left: auto;
}

.msf__btn--next:hover,
.msf__btn--submit:hover {
    background: #1f2a58;
    border-radius: 25px;
}

.msf__btn--back {
    background: transparent;
    color: #999;
    border: 2px solid #e8e8e8;
}

.msf__btn--back:hover {
    border-color: #498ac4;
    color: #498ac4;
}

.msf__btn--submit {
    background: #1f2a58;
}

.msf__btn--submit:hover {
    background: #498ac4;
    border-radius: 25px;
}

/* Success */
.msf__success__inner {
    text-align: center;
    padding: 40px 20px;
}

.msf__success__icon {
    font-size: 3.5rem;
    color: #498ac4;
    margin-bottom: 20px;
}

/* Responsive */
@media (max-width: 600px) {
    .msf__container {
        padding: 20px 15px;
    }

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

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

    .msf__title {
        font-size: 1.3rem;
    }

    .msf__progress__label {
        font-size: 0.6rem;
    }

    .msf__progress__circle {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .msf__progress__line {
        max-width: 30px;
    }

    .msf__btn {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .msf__review__row {
        flex-direction: column;
        gap: 4px;
    }

    .msf__review__value {
        text-align: left;
        max-width: 100%;
    }
}
