form#wpmcs-preference-form {margin: 20px 0px;}
.wpmcs-subscribe-main{ display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 10px; }
.mailchimp-custom-btn { position: relative; overflow: hidden; outline: none; padding: 8px; font-size: 16px !important; background: #1c1f63 !important; color: white !important; border: none !important; cursor: pointer !important; transition: all 0.3s ease !important; display: flex; align-items: center; gap: 8px;clip-path: polygon(10% 0%, 90% 0%, 100% 20%, 100% 80%, 90% 100%, 10% 100%, 0% 80%, 0% 20%) !important;min-width: 150px;justify-content: space-around; }
.mailchimp-custom-btn:hover { background: #57BC08 !important;}
.mailchimp-custom-btn #loader {transform: translate(-50%, -50%);width: 23px;height: 23px;border-width: 2px;border-style: solid;border-color: transparent rgb(255, 255, 255) rgb(255, 255, 255);border-image: initial;border-radius: 50%;animation: 1s linear 0s infinite normal none running spin;display: none;}
/* Loader animation */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}
#wpmcs-save-button.mailchimp-custom-btn {
    margin: 0px auto;
}
h2.wpmcs-title {
    color: #1c1f63;
    font-size: 25px;
    line-height: 1.25;
    margin: 0px;
}
/* Checkbox List Container */
.mailchimp-tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0px;
    font-family: Arial, sans-serif;
    margin: 20px 0px;
}

/* Label Styling */
.mailchimp-tags-container {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 16px;
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.3s ease;
    width:25%;
}

/* Hover Effect */
.mailchimp-tags-container:hover {
    background-color: #f9f9f9;
    box-shadow: 1px 4px 8px rgb(0 0 0 / 15%);
}

/* Hide Default Checkbox */
.mailchimp-tags-container input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

/* Custom Checkbox */
.checkmark {
    position: relative;
    height: 20px;
    width: 20px;
    margin-right: 12px;
    background-color: #fff;
    border: 2px solid #ccc;
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* Checked State */
.mailchimp-tags-container input[type="checkbox"]:checked + .checkmark {
    background-color: #1c1f63;
    border-color: #1c1f63;
}

/* Checkmark Icon */
.mailchimp-tags-container input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Focus Effect */
.mailchimp-tags-container input[type="checkbox"]:focus + .checkmark {
    box-shadow: 0 0 4px #1c1f63;
}



/* Container for the radio buttons */
.wpmcs-radio-group {
    display: flex;
    gap: 20px; /* Space between radio button groups */
    margin: 30px 0px;
}

/* Hide the default radio button */
.wpmcs-radio-group input[type="radio"] {
    display: none;
}

/* Custom radio button design */
.wpmcs-radio-group label {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between radio and text */
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    background-color: #f8f9fa; /* Light gray background */
    transition: all 0.3s ease;
    clip-path: polygon(10% 0%, 90% 0%, 100% 20%, 100% 80%, 90% 100%, 10% 100%, 0% 80%, 0% 20%) !important;
}

/* Custom circular radio button */
.wpmcs-radio-group label::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 2px solid #57bc08; /* Border color */
    border-radius: 50%; /* Circular */
    display: inline-block;
    background-color: white; /* Default background */
    transition: all 0.3s ease;
}

/* Checked state */
.wpmcs-radio-group input[type="radio"]:checked + label {
    background-color: #57bc08; /* Blue background when selected */
    color: white; /* White text */
}

/* Checked state for custom radio */
.wpmcs-radio-group input[type="radio"]:checked + label::before {
    background-color: #fff; /* Inner dot color */
    border: 6px solid #57bc08; /* Blue inner circle */
}

/* Hover effect */
.wpmcs-radio-group label:hover {
    background-color: #e2e6ea; /* Light gray hover */
}

.login-link-main, .upgrade-membership-main{
    font-weight: bold;
    text-transform: uppercase;
    font-size: 25px;
    text-align: center;
    margin-top: 20px;
}
.login-link-main .login-link, .upgrade-membership-main .upgrade-membership-link{
    color: #57bc08 !important;
    text-decoration: underline;
}