/*.tax-toggle-button {
    background-color: #1a4890; 
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 0px 5px 5px 0px;
    cursor: pointer;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 14px;
}

#tax-toggle-container {
    position: fixed; 
    top: 50%;  
    transform: translateY(-50%); 
    z-index: 1000; 
}

@media only screen and (max-width: 767px) {
    #tax-toggle-container {
        position: static;
        text-align: center;
        margin-top: 20px;
        transform: none;
        margin-bottom:25px;
        
    }
    #tax-toggle-container .tax-toggle-button {
        border-radius: 5px;
    }
}*/

/* Default styling for the button */
.tax-toggle-button {
    background-color: #1a4890; /* WooCommerce blue color */
    color: white;
    padding: 5px 10px; /* Smaller padding to fit the header */
    border: none;
    border-radius: 3px; /* Slightly rounded corners */
    cursor: pointer;
    font-size: 12px; /* Smaller font size */
    display: inline-block;
    margin: 0 10px; /* Adjust margin to fit nicely in the header */
    box-shadow: none; /* Remove shadow for a more flat look in the header */
}

/* Adjust button appearance on hover */
.tax-toggle-button:hover {
    background-color: #1a5796; /* Darker shade on hover */
}

/* Container styling to align within the header */
#tax-toggle-container {
    vertical-align: middle; /* Vertically aligns the button within header */
    text-align: center;
    margin-bottom: 12px;
}


/* Basic modal styles */
.modal_tax {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000; /* On top */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Black background with opacity */
}

.modal-content_tax h2 {
    font-size: 22px;
    margin-top:5px;
}

.modal-content_tax {
    background-color: white;
    margin: 15% auto; /* 15% from the top, centered */
    padding: 20px;
    border-radius: 10px;
    width: 80%; /* 80% width on smaller devices */
    max-width: 400px; /* Max width for larger screens */
    text-align: center;
}

/* Modal buttons */
.modal-button_tax {
    background-color: #1f53a5;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    margin: 10px;
    cursor: pointer;
    font-size: 16px;
    width: 90%; /* Full width on mobile devices */
}

/* Button hover */
.modal-button_tax:hover {
    background-color: #005177;
}

/* Mobile-specific adjustments */
@media (max-width: 767px) {
    .modal-content_tax {
        margin: 30% auto; /* Adjust margin for mobile */
        padding: 15px;
    }

    .modal-button_tax {
        font-size: 14px;
        padding: 8px 15px;
    }
}