.ylhq-popup {
    display: none;
    position: fixed;
    top: 30%;
    left: 30%;
    background: white;
    padding: 20px;
    border: 1px solid black;
    z-index: 1000;
    text-align: center;
}
.ylhq-popup button {
    margin: 10px;
    padding: 8px 12px;
    border: none;
    cursor: pointer;
}


.surcharge-line-item {
    border-top: none; /* Removes the unwanted line above */
    padding: 10px 0;
    display: flex;
    align-items: center; /* Centers content vertically */
    justify-content: space-between; /* Adds space between the text and button */
}

.ylhq-td-surcharge{
    border-top: none !important;
    margin-left: 10px;
}

/* Adjusting the placement of the button */
.switch-to-ach {
    display: inline-block;
    margin-bottom: 0;
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 1.42857143;
    border-radius: 4px;
    color: #333;
    background: #ffc523 !important;
    border: 1px solid #b07c00 !important;
    cursor: pointer;
    text-decoration: none;
    margin-left: 20px; /* Add margin to the left for proper spacing */
}

/* Ensure the button aligns with the total below */
.woocommerce-checkout-review-order-table {
    margin-bottom: 20px; /* Optional: adds space below the table */
}

.surcharge-fee {
    border-top: none !important;
}

.surcharge-line-item {
    margin-bottom: 10px !important;
    width: 112%; /* Ensures the row is 100% width */
}

.surcharge-line-item td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%; /* Ensures the content inside takes full width */
}