:root{
    --button-color: #eff3fc;
}

/* styles.css */
body {
    font-family: Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
}

a{
    text-decoration: none;
    color:black ;
    background-color: none;
}
.payment-method-container {
    background-color: #ffffffcf;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 330px;
    
}

.payment-method-container h2 {
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.highlight {
    color:var(--button-color);
}

.payment-options {
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.payment-card {
    background-color: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    width: 100%;
    transition: border-color 0.3s;
}

.payment-card input {
    display: none;
}

.payment-card .card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.payment-card .icon {
    font-size: 24px;
    margin-bottom: 10px;
}

.payment-card p {
    font-size: 14px;
    color: #333;
}

.payment-card:hover, .payment-card input:checked + .card-content {
    border-color:var(--button-color);
    background-color: #e8ebed;
    border-radius: 8px;
}




#discDiv{
    display: none;
}
#titles{
    color: White;
}
#payment-fields{
    margin: 0;
    padding: 1rem;
    border-top: 0 !important;
}

#payment-form{
    padding:0 !important;
    margin: 0 !important;
    background-color: var(--background-color) !important;
}
.wpwl-control{
    border-radius: 5px !important;
    border: 1px solid #e1e1e1;
    box-shadow: 0px 0px 1px 1px #ededed;
}
#payment-fields .button1{
    width: 100% !important;
    background: var(--button-color) !important;
    color: var(--button-text-color) !important;
}
#payment-fields .StreetAndCode .wpwl-control:nth-child(2),  #payment-fields .CityAndState .wpwl-control:nth-child(1), #payment-fields .StreetAndCode .wpwl-control:nth-child(1){
    width: 100% !important;
}
@media only screen and (max-width: 600px) {
    .form[action="/cc/oppwa/"]{
        padding:5%;
    }
    .CityAndState, .StreetAndCode{
        flex-direction:column;
        gap: 0 !important;
    }
    .wpwl-control {
        width:100% !important;
        margin-top: 0 !important;
    }
    
}







#loader_div{
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 100%;
    background: #2b2b2b;
    display: flex;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: center;
}




.loader {
    width: 48px;
    height: 48px;
    border: 5px solid #FFF;
    border-bottom-color: transparent;
    border-radius: 50%;
    display: inline-block;
    box-sizing: border-box;
    animation: rotation 1s linear infinite;
    }

    @keyframes rotation {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
    } 