.edsb-3115-container {
    width: 100%;
    font-family: var(--e-global-typography-primary-font-family), sans-serif;
}

.edsb-3115-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: transparent;
    padding: 0;
    border-radius: 0;
    box-shadow: none;
}

.edsb-3115-field-group {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.edsb-3115-label {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
    line-height: 1.2;
}

/* Ensure equal heights across inputs, select, and button - dynamically set via Elementor controls */
.edsb-3115-input,
.edsb-3115-select {
    width: 100%;
    /* Default height if control is not set */
    height: 50px; 
    padding: 0 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    outline: none;
    transition: border-color 0.3s ease;
    background: #fff;
    box-sizing: border-box;
    margin: 0;
    /* Font size and color are managed by Elementor controls */
}

.edsb-3115-input:focus,
.edsb-3115-select:focus {
    border-color: #0073aa;
}

.edsb-3115-radius-group {
    flex: 0 0 auto;
    min-width: 120px;
}

.edsb-3115-btn-group {
    display: flex;
    align-items: flex-end; /* Aligns button to bottom of inputs container */
}

.edsb-3115-btn {
    width: 100%;
    /* Default height if control is not set */
    height: 50px; 
    padding: 0 20px;
    background-color: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    transition: background-color 0.3s ease;
    box-sizing: border-box;
    margin: 0;
}

.edsb-3115-btn:hover {
    background-color: #005177;
}

.edsb-3115-btn svg {
    width: 16px;
    height: 16px;
    fill: currentColor;
}

/* Desktop Layout */
@media (min-width: 768px) {
    .edsb-3115-form {
        flex-direction: row;
        align-items: flex-end;
    }
    
    .edsb-3115-field-group {
        justify-content: flex-end; /* Ensures inputs align at the bottom if labels are missing */
    }

    .edsb-3115-btn {
        width: auto;
    }
}