/* Multi-Step Form Styles */
.msf-wrapper {
    width: 100%;
    max-width: 100%;
}

.msf-form {
    position: relative;
    padding: 0 1.5rem 1.5rem;
}

/* Progress Bar */
.msf-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: rgba(0, 46, 87, 0.2);
    border-radius: 2px;
    overflow: hidden;
}

.msf-progress-fill {
    height: 100%;
    width: 0%;
    background-color: #c51230;
    transition: width 0.3s ease-in-out;
}

/* Steps */
.msf-step {
    display: none;
    padding-top: 1rem;
}

.msf-step.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

/* Step Header */
.msf-step-header {
    margin-bottom: 1.5rem;
}

.msf-step-header .form-header_line-1 {
    text-align: center;
    letter-spacing: 0.075rem;
    text-transform: uppercase;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
    font-family: Bitter, sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.8rem;
    color: #fff;
}

.msf-step-header .form-header_line-2 {
    text-align: center;
    letter-spacing: 0.075rem;
    text-transform: uppercase;
    margin-top: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    font-weight: 500;
    line-height: 1.2rem;
    color: #fff;
}

/* Step Content */
.msf-step-content {
    padding: 0;
}

/* Form Fields */
.msf-step .form-field-wrapper {
    margin-bottom: 0.75rem;
}

.msf-step .form-input {
    width: 100%;
    height: auto;
    max-height: 3rem;
    min-height: 3rem;
    color: #002e57;
    background-color: #fff;
    border: 1px solid rgba(0, 46, 87, 0.4);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    line-height: 1.6;
    transition: border-color 0.2s ease;
}

.msf-step .form-input:focus {
    border-color: #002e57;
    outline: none;
}

.msf-step .form-input::placeholder {
    color: rgba(0, 46, 87, 0.64);
}

/* Checkboxes - Interest Selection */
.msf-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
    margin-bottom: 1rem;
}

.msf-checkbox-item {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 calc(50% - 0.5rem);
    padding: 1rem 1.25rem;
    background-color: #fff;
    border: 2px solid rgba(0, 46, 87, 0.3);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.msf-checkbox-item:hover {
    border-color: #002e57;
    background-color: rgba(0, 46, 87, 0.05);
}

.msf-checkbox-item.selected {
    border-color: #c51230;
    background-color: rgba(197, 18, 48, 0.1);
}

.msf-checkbox-item input[type="checkbox"] {
    display: none;
}

.msf-checkbox-label {
    color: #002e57;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05rem;
}

.msf-checkbox-item.selected .msf-checkbox-label {
    color: #c51230;
}

/* Button Wrapper */
.msf-btn-wrapper {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}

.msf-btn-wrapper .button {
    width: 100%;
    max-width: 100%;
}

/* Error Text */
.msf-error-text {
    color: #c51230;
    text-align: center;
    font-size: 0.875rem;
    min-height: 1.25rem;
    margin-top: 0.25rem;
    margin-bottom: 0.25rem;
}

/* Disclaimer */
.msf-disclaimer {
    margin-top: 0.75rem;
}

.msf-disclaimer .text-size-tiny {
    font-size: 0.75rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.8);
}

.msf-disclaimer .optin {
    margin-right: 0.25rem;
}

/* Calendly Container */
.msf-calendly-container {
    min-height: 500px;
    margin: 0 -1rem;
}

.msf-calendly-container .calendly-inline-widget {
    min-height: 500px !important;
    height: 550px !important;
}

/* Confirmation Step */
.msf-confirmation-box {
    background-color: #c51230;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    margin-bottom: 1rem;
}

.msf-appointment-date {
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    font-family: Bitter, sans-serif;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.msf-appointment-time {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 500;
}

.msf-confirmation-warning {
    background-color: rgba(197, 18, 48, 0.15);
    border: 2px solid #c51230;
    border-radius: 8px;
    padding: 1rem;
    text-align: center;
    color: #c51230;
    font-weight: 600;
    font-size: 0.9rem;
    line-height: 1.4;
}

.msf-confirmation-headline {
    color: #fff !important;
}

/* Responsive */
@media screen and (max-width: 767px) {
    .msf-step-header .form-header_line-1 {
        font-size: 1.25rem;
        line-height: 1.5rem;
    }

    .msf-step-header .form-header_line-2 {
        font-size: 0.875rem;
        line-height: 1.1rem;
    }

    .msf-checkbox-item {
        flex: 0 0 100%;
        padding: 0.875rem 1rem;
    }

    .msf-calendly-container {
        min-height: 450px;
    }

    .msf-calendly-container .calendly-inline-widget {
        min-height: 450px !important;
        height: 500px !important;
    }
}

@media screen and (max-width: 479px) {
    .msf-step-header .form-header_line-1 {
        font-size: 1.1rem;
        line-height: 1.3rem;
    }

    .msf-step-header .form-header_line-2 {
        font-size: 0.8rem;
        line-height: 1rem;
    }

    .msf-confirmation-box {
        padding: 1rem;
    }

    .msf-appointment-date {
        font-size: 1.25rem;
    }

    .msf-appointment-time {
        font-size: 1rem;
    }
}
