/**
 * g-FFL Checkout - Block Checkout Styles
 *
 * Layout adjustments for the FFL widget and document upload
 * when rendered inside the WooCommerce block-based checkout.
 */

/* FFL section wrapper */
.ffl-block-checkout-section {
    margin: 20px 0;
    padding: 0;
    width: 100%;
    clear: both;
}

/* Ensure the FFL container fills the available width */
#ffl-block-checkout-wrapper #ffl_container {
    width: 100%;
}

/* Override widget styles that may conflict with block checkout layout */
#ffl-block-checkout-wrapper .content {
    max-width: 100%;
}

#ffl-block-checkout-wrapper #ffl-map {
    max-width: 100%;
    border-radius: 4px;
}

/* Document upload section in block checkout */
#ffl-block-document-upload-wrapper {
    margin-top: 10px;
}

#ffl-block-document-upload-wrapper .ffl-document-section {
    border-radius: 4px;
}

/* Place order notice styling */
#ffl-block-checkout-notice {
    font-size: 14px;
    line-height: 1.5;
}

/* Hide hidden fields */
#ffl-block-checkout-wrapper input[type="hidden"] {
    display: none;
}

/* Responsive adjustments for block checkout grid */
@media (max-width: 768px) {
    .ffl-block-checkout-section {
        margin: 15px 0;
    }

    #ffl-block-checkout-wrapper #ffl_container .ffl-list-container {
        max-height: 250px;
    }
}
