/* ===========================
   Form Inputs, Textarea, Select
=========================== */
#blf-form-wrapper input,
#blf-form-wrapper select,
#blf-form-wrapper textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;       /* uniform spacing below all fields */
    border-radius: 4px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    height: 44px;               /* uniform height for all fields */
    line-height: 1.5;
    display: block;
    
}

/* ===========================
   Select Specific Styling
=========================== */
#blf-form-wrapper select {
    appearance: none;           /* remove native dropdown arrow */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg fill="%23333" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    padding-right: 35px;        /* space for arrow */
}

/* Optional wrapper arrow for mobile consistency */
.select-wrapper {
    position: relative;
}



.select-wrapper::after {
    content: '▼';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    font-size: 14px;
    color: #333;
}

/* ===========================
   Multi-Step Form Steps
=========================== */
#blf-form-wrapper .blf-step {
    transition: all 0.3s ease-in-out;

}

/* ===========================
   Buttons
=========================== */
#blf-form-wrapper button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

#blf-form-wrapper button.button-primary {
    background-color: #15549b;
    color: #fff;
}

#blf-form-wrapper button.button-primary:hover {
    background-color: #123f75;
}

/* ===========================
   Step Progress Bar
=========================== */
#blf-progress-bar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.blf-step-indicator {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #ccc;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    position: relative;
}

.blf-step-indicator.active {
    background-color: #15549b;
}

.blf-step-indicator::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 5px;
    background-color: #ccc;
    top: 50%;
    left: 50%;
    transform: translateX(50%);
    z-index: -1;
}

.blf-step-indicator:last-child::after {
    display: none;
}

/* ===========================
   Responsive Mobile Styles
=========================== */
@media (max-width:768px) {
    #blf-form-wrapper {
        padding: 20px;
    }

    #blf-progress-bar {
        max-width: 100%;
    }

    #blf-form-wrapper input,
    #blf-form-wrapper select,
    #blf-form-wrapper textarea {
        font-size: 14px;
        padding: 8px;
        height: 40px;          /* slightly smaller for mobile */
        margin-bottom: 6px;
    }

    #blf-form-wrapper button {
        width: 100%;
        padding: 12px;
    }
}
