/* --- Date Selector + Dropdown Layout --- */

/* Shared row styling */
.form-row {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 0;
}

/* All columns default */
.form-row > .col-sm-2 {
    display: flex;
    flex-direction: column;
    flex: 1 1 0;
    min-width: 120px;
    max-width: 220px;
}

/* Only the Select View field wider */
.form-row > .select-view-col {
    min-width: 300px !important;
    max-width: 400px !important;
    width: 100% !important;
    flex-basis: 300px !important;
}

/* Labels */
.form-row label {
    font-weight: 500;
}

/* Inputs & Select full width */
.form-row input[type="date"],
.form-row select {
    width: 100%;
}

/* Responsive: stack vertically on small screens */
@media (max-width: 600px) {
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    .form-row > .col-sm-2,
    .form-row > .select-view-col {
        max-width: 100% !important;
        min-width: 0 !important;
        flex-basis: auto !important;
    }
}


#pullQBDataWrapper {
    display: flex;
    gap: 16px; /* space between buttons */
    flex-wrap: wrap;
    margin-top: 20px;
}

#pullQBDataWrapper button {
    flex: 1 1 0;
    max-width: 198px; /* adjust as needed */
    min-width: 120px; /* optional */
    width: 100%;
    box-sizing: border-box;
}

/* Responsive: stack vertically on mobile */
@media (max-width: 600px) {
    #pullQBDataWrapper {
        flex-direction: column;
        gap: 10px;
    }
    #pullQBDataWrapper button {
        max-width: 100%;
        min-width: 0;
    }
}
