.payment-method-button {
    display: flex;
    justify-content: center;
    align-items: center;

    background-color: rgb(67, 67, 81);
    border-radius: 10px;
    padding: 4px 4px;
}

.payment-method-button:hover {
    background-color: rgb(65, 65, 75);
}


.dark-background {
    background-color: rgba(0, 0, 0, 0.5); /* Dark semi-transparent background */
}

#toggleLabel {
    position: relative;
    padding: 8px 16px;
    border: 2px solid #4A4A4A;
    border-radius: 9999px;
    background-color: transparent;
    cursor: pointer;
    overflow: hidden;
    z-index: -1;
    /* display: inline-block; Ensure label sizes correctly */
}

.toggle-button input[type="checkbox"] {
    display: inline-flex;
    position: absolute;
    opacity: 0;
    border-width: 0;
    height: 0;
}

.toggle-button #toggleLabel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50%;
    height: 100%;
    opacity: 80%; /* Adjust opacity as needed */
    border-radius: 9999px;
    background-color: #FFFFFF; /* White color */
    transition: left 0.3s;
}

.toggle-button input[type="checkbox"]:checked + #toggleLabel::before {
    left: 50%; /* Move to the right side */
}



div.modal-active{
    opacity: 1;
    z-index: 1;
    transition: .2s ease;
}

div.modal-inactive{
    opacity: 0;
    z-index: -1;
    transition: .2s ease;
}