/* --- Modern Awesome Add/Edit Event Form Styles --- */
#mefs_form {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 32px 0 rgba(34, 118, 210, 0.08), 0 1.5px 4px 0 rgba(0,0,0,0.04);
    padding: 2.5rem 2rem 2rem 2rem;
    margin: 2rem auto 3rem auto;
    /* max-width: 700px; */
    font-family: 'Segoe UI', 'Roboto', Arial, sans-serif;
}
#mefs_form label,
#mefs_form .attach-label {
    /* color: #2276D2; */
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 0.01em;
}
#mefs_form input[type="text"],
#mefs_form input[type="date"],
#mefs_form input[type="time"],
#mefs_form input[type="number"],
#mefs_form input[type="email"],
#mefs_form select,
#mefs_form textarea {
    width: 100%;
    padding: 0.75em 1em;
    border: 1.5px solid #e0e7ef;
    border-radius: 8px;
    background: #f8fafc;
    font-size: 1rem;
    margin-bottom: 1.2rem;
    transition: border 0.2s, box-shadow 0.2s;
    box-sizing: border-box;
}
#mefs_form input[type="text"]:focus,
#mefs_form input[type="date"]:focus,
#mefs_form input[type="time"]:focus,
#mefs_form input[type="number"]:focus,
#mefs_form input[type="email"]:focus,
#mefs_form select:focus,
#mefs_form textarea:focus {
    border-color: #2276D2;
    box-shadow: 0 0 0 2px #2276d220;
    outline: none;
    background: #fff;
}
#mefs_form .mefs-btn,
#mefs_form input[type="submit"] {
    background: linear-gradient(90deg, #2276D2 0%, #4fd1c5 100%);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    padding: 0.9em 2.2em;
    margin-top: 1.5rem;
    box-shadow: 0 2px 8px 0 rgba(34, 118, 210, 0.08);
    transition: background 0.2s, box-shadow 0.2s, transform 0.1s;
    letter-spacing: 0.04em;
    text-transform: none;
}
#mefs_form .mefs-btn:hover,
#mefs_form input[type="submit"]:hover {
    background: linear-gradient(90deg, #4fd1c5 0%, #2276D2 100%);
    box-shadow: 0 4px 16px 0 rgba(34, 118, 210, 0.13);
    transform: translateY(-2px) scale(1.03);
}
#mefs_form .mefs-field-group,
#mefs_form .group-field {
    margin-bottom: 1.7rem;
}
#mefs_form .mefs-content-title {
    font-size: 2.1rem;
    font-weight: 800;
    color: #1a202c;
    margin-bottom: 1.5rem;
    letter-spacing: -0.01em;
}
#mefs_form .mefs-al--right {
    text-align: right;
}
#mefs_form .repeat-btn, #mefs_form .repeat-btn-faq {
    background: #e0e7ef;
    color: #2276D2;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    padding: 0.5em 1.2em;
    margin-top: 0.5rem;
    transition: background 0.2s, color 0.2s;
}
#mefs_form .repeat-btn:hover, #mefs_form .repeat-btn-faq:hover {
    background: #2276D2;
    color: #fff;
}
#mefs_form .mefs-notification {
    background: #e6fffa;
    color: #2276D2 !important;
    border-left: 5px solid #4fd1c5;
    border-radius: 6px;
    font-size: 1.1rem !important;
    margin-bottom: 1.5rem;
    padding: 1em 1.2em;
    font-weight: 600;
}
#mefs_form .mefs-table {
    background: #f8fafc;
    border-radius: 10px;
    box-shadow: 0 1px 4px 0 rgba(34, 118, 210, 0.04);
    overflow: hidden;
}
#mefs_form .mefs-table th {
    background: #f1f5f9;
    color: #2276D2;
    font-size: 1rem;
    font-weight: 700;
    padding: 0.8em 0.5em;
}
#mefs_form .mefs-table td {
    background: #fff;
    color: #222;
    font-size: 1rem;
    padding: 0.7em 0.5em;
}
#mefs_form .mefs-link {
    color: #2276D2;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.2s;
}
#mefs_form .mefs-link:hover {
    color: #4fd1c5;
}
.mefs-btn,
#mefs_form input[type="submit"] {
    background: #2276D2;
    padding: 10px;
    font-size: 13px;
    text-transform: initial;
    border: none;
    border-radius: 0;
    color: #FFF;
    cursor: pointer;
    display: inline-block;
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.0333em;
    line-height: 1.25;
    margin: 0;
    opacity: 1;
    padding: 1.1em 1.44em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
    text-transform: uppercase;
    transition: opacity 0.15s linear;
}
.mefs-notification {
    background: #FFBE303B;
    color: #555 !important;
    padding: 10px;
    font-size: 13px !important;
    color: #0073AA;
    font-weight: 700;
    opacity: 1;
    /* -webkit-transition: all 1s ease;
    -moz-transition: all 1s ease;
    -o-transition: all 1s ease;
    transition: all 1s ease; */
}
/* #mefs_form input[type="submit"] {
    width: 158px;
    color: #ffffff;
    font-size: 15px;
    padding: 13px;
    text-transform: capitalize;
    background-image: linear-gradient(to left, #e7e7e7, #c8c7e1, #a3aadc, #748ed7, #2276d2);
    border-radius: 3px;
} */
#mefs_form input[type="submit"] {
    width: 158px;
    color: #FFFFFF;
    font-size: 15px;
    padding: 13px;
    text-transform: capitalize;
    border-radius: 3px;
    background: linear-gradient(to left, #E7E7E7, #C8C7E1, #A3AADC, #748ED7, #2276D2);
    background-size: 400%;
    transition: all 1s ease;
    /* -webkit-animation: AnimationName 5s ease infinite;
    -moz-animation: AnimationName 5s ease infinite;
    animation: AnimationName 5s ease infinite; */
    margin: 0 0 20px 0;
}
.mpwem_recurring_type_area {margin: 15px 0;}
@-webkit-keyframes AnimationName {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@-moz-keyframes AnimationName {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes AnimationName {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}
/* #mefs_form input[type="submit"]:hover {
    background-image: linear-gradient(to right, #2276d2, #2276d2, #2276d2, #2276d2, #2276d2);
} */
#mefs_form input[type="submit"]:hover {
    background: linear-gradient(to right, #2276D2, #2276D2, #2276D2, #2276D2, #2276D2);
    background-position: 100% 50%
}
.mefs-al--right {
    text-align: right;
}
.mefs-btn:hover,
.mefs-btn:focus {
    text-decoration: none;
    outline: none;
}
.mefs-event-content {
    overflow-x: auto;
}
.mefs-btn span {
    color: white;
    font-size: 16px;
    line-height: 1em;
    display: inline-block;
    vertical-align: middle;
}

.repeat-btn,
.repeat-btn-faq {
    margin-top: 7px;
    font-size: 15px;
    padding: 7px 15px;
    float: initial !important;
}
.repeat-btn:hover,
.repeat-btn-faq:hover {background-color: #0C5460}

.mefs-table {
    border: 0.1rem solid #DCD7CA;
    border-collapse: collapse;
    border-spacing: 0;
    empty-cells: show;
    font-size: 1.6rem;
    margin: 4rem 0;
    max-width: 100%;
    overflow: hidden;
    width: 100%;
}
.mefs-table thead {
    vertical-align: bottom;
    white-space: nowrap;
}
.mefs-table,
.mefs-table * {
    border-color: #DCD7CA;
}
.mefs-table tr {
    border: none;
    font-size: inherit;
    line-height: inherit;
    margin: 0;
    padding: 0;
    text-align: inherit;
}
.mefs-table th {
    font-weight: 700;
}
.mefs-table th,
.mefs-table td {
    border: 0.1rem solid #DCD7CA !important;
    line-height: 1 !important;
    margin: 0;
    overflow: visible;
    padding: 0.5em !important;
    color: #000;
    font-size: 14px !important;
    min-width: 120px;
}

.mefs_field_info {
    font-size: 12px;
    font-family: arial;
    color: #C39F50;
    line-height: 1.2em;
    display: inline-block;
    margin-top: 5px;
}

.attach-label {
    background: #555;
    color: #FFF;
    margin-bottom: 0;
    display: inline-block;
    padding: 10px 15px;
    font-size: 14px;
    font-weight: 700;
}

.mefs_ck_switch {
    position: relative;
    display: inline-block;
    width: 53px;
    height: 25px;
    margin-bottom: 0;
}

.mefs_ck_switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.mefs_ck_slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #CCC;
    -webkit-transition: .4s;
    transition: .4s;
}

.mefs_ck_slider:before {
    position: absolute;
    content: "";
    height: 17px;
    width: 17px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked + .mefs_ck_slider {
    background-color: #2276D2;
}

input:focus + .mefs_ck_slider {
    box-shadow: 0 0 1px #2276D2;
}

input:checked + .mefs_ck_slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
}

/* Rounded slider */
.mefs_ck_slider.round {
    border-radius: 34px;
}

.mefs_ck_slider.round:before {
    border-radius: 50%;
}
/* ck slider */

#mefs_event_list .mefs-content-title {
    margin: 0;
}
#mefs_event_list .mefs-event-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    clear: both;
}

.recurring_area .dNone {display: none;}
/* Form */
#mefs_form label,
#mefs_form input,
#mefs_form textarea {
    font-family: Arial, Helvetica, sans-serif;
}
#mefs_form input,
#mefs_form textarea {
    border: 1px solid #555;
    font-size: 13px;
    color: #555;
    padding: 10px;
    width: 100%;
}
#mefs_form input[type="checkbox"],
#mefs_form input[type="radio"] {width: auto;}
#mefs_form label {
    display: block;
    color: black;
    background: white;
}
#mefs_form select {
    border: 2px solid #555;
    width: 100%;
    font-size: 12px;
    padding: 8px;
    background: transparent;
}
#mefs_form .repeatable-fieldset select {
    padding: 2px;
}
#mefs_form .mefs_form_inner {
    display: flex;
}
#mefs_form .mefs_form_max_content {
    flex: 2 1 70%;
    padding-right: 10px;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
#mefs_form .mefs_form_min_content {
    flex: 1 1 30%;
    padding-left: 10px;
    padding-top: 20px;
}
.mefs-field-group {
    margin-bottom: 40px;
    overflow-x: auto;
}
.mefs_form_min_content .mefs-field-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.mefs_form_min_content .mefs-field-group > label:first-child {
    flex: 1 1 50%;
}
.mefs_form_min_content .mefs-field-group label {
    margin-bottom: 0;
}
.repeatable-fieldset {
    padding: 0;
    margin: 0;
    overflow: hidden;
}
.repeatable-fieldset th,
.repeatable-fieldset td {
    font-size: 14px;
    font-family: Arial, Helvetica, sans-serif;
}
.repeatable-fieldset td input {
    padding: 4px 2px;
    margin: 0;
}
.repeatable-fieldset .mefs-remove-row-t {
    padding: 0 !important;
    font-size: 14px;
    background: transparent !important;
}
.repeatable-fieldset .mefs-remove-row-t span {
    color: #F06B6B;
    border: none;
}

.repeatable-fieldset .mefs-remove-row-t span:hover {
    text-decoration: none;
    color: red;
    border: none;
}
.buttonGroup {
    position: relative;
    border: 2px solid #DDD;
    border-radius: 5px;
    display: -webkit-flex;display: flex !important;

}
.buttonGroup > * {-webkit-flex: 1;flex: 1;border: none;padding: 7px;background-color: #0C5460;color: #FFF;text-align: center;}
.buttonGroup .mpwem_settings_item_remove {background-color: #6F1B47;}
.buttonGroup .mpwem_settings_item_remove:hover {background-color: red;}
button.mpwem_settings_item_add {
    padding: 7px 15px;
    background-color: #0C5460;color: #FFF;
    margin: 10px 0 0 0;
    border: 2px solid #0C5460;border-radius: 5px;
}
button.mpwem_settings_item_add:hover {
    background-color: #FFF;color: #0C5460;
}
.repeatable-fieldset .empty-row-t {
    display: none;
}
#mefs_form .group-field {
    margin-bottom: 40px;
}
#mefs_form .group-field .group-field-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    border: 1px solid #AAA;
    padding: 15px 20px 20px;
}
#mefs_form .group-field .mefs_field_group {
    flex-basis: 49%;
    margin-bottom: 20px;
}
#mefs_form .group-field.single-row .group-field-inner {
    display: initial;
    flex-wrap: initial;
    justify-content: initial;
}
#mefs_form .group-field.single-row .mefs_field_group {
    flex-basis: initial;
}
#mefs_form .group-field .mefs_field_group.self-single {
    flex-basis: 100%;
}

.file-upload-wrapper {
    position: relative;
    width: 100%;
    height: 51px;
    background: #F2F2F2;
    font-family: arial;
}

.file-upload-wrapper:after {
    content: attr(data-text);
    font-size: 12px;
    position: absolute;
    top: 0;
    left: 0;
    background: #F2F2F2;
    padding: 10px 15px;
    display: block;
    width: calc(100% - 40px);
    pointer-events: none;
    z-index: 20;
    height: 28px;
    line-height: 33px;
    color: #999;
    border-radius: 5px 10px 10px 5px;
    font-weight: 300;
}

.file-upload-wrapper:before {
    content: "Upload";
    position: absolute;
    top: 0;
    right: 0;
    display: inline-block;
    height: 50px;
    background: #2276D2;
    color: #FFF;
    font-weight: 700;
    z-index: 25;
    font-size: 13px;
    line-height: 54px;
    padding: 0 15px;
    text-transform: uppercase;
    pointer-events: none;
    border-radius: 0 5px 5px 0;
}

.file-upload-wrapper:hover:before {
    background: #3D8C63;
}

.file-upload-wrapper input {
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 99;
    height: 40px;
    margin: 0;
    padding: 0;
    display: block;
    cursor: pointer;
    width: 100%;
}
.mefs-event_list--table td {
    font-size: 13px;
}

/* Ensure edit button is visible */
.mefs-event_list--table td:last-child {
    min-width: 60px;
    text-align: center;
}

.mefs-event_list--table td:last-child a {
    display: inline-block;
    padding: 5px 10px;
    background: #0073aa;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
}

.mefs-event_list--table td:last-child a:hover {
    background: #005a87;
    color: white;
}

/* Ensure table doesn't overflow */
.mefs-event-content {
    overflow-x: auto;
}

.mefs-event_list--table {
    min-width: 100%;
    table-layout: auto;
}
.mefs-faq-content {
    background: #E5F1FF;
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 3px;
}
.mefs-faq-answer {
    margin-top: 5px;
}
.empty-faq-content {
    display: none;
}
.mefs-faq-content input,
.mefs-faq-content textarea {
    border-radius: 3px !important;
    border-color: #FFF !important;
}
.mefs-remove-faq {
    padding: 7px 10px;
    font-size: 15px;
    text-transform: initial;
    background: #DE6183;
    border-radius: 3px;
    margin: 10px 0 0 0;
    min-width: 120px;
}
.mefs_field_error {
    display: none;
    color: #CD2653;
    margin-top: 0;
    font-weight: 700;
}
.mefs-list-header {
    line-height: .7em;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #555;
}
.mefs-list-header .mefs-list-title {
    margin-bottom: 0;
    font-size: 20px;
    font-family: arial;
    font-weight: 700;
}
.mefs-list-header .mefs-list-info {
    font-size: 13px;
    color: #555;
    font-family: inehrit;
    display: inline-block;
    line-height: 1em;
}
.mefs-link {
    color: #2276D2;
    font-size: 20px;
    font-family: arial;
    text-decoration: none;
}
.mefs-colorfull-table tbody tr:nth-child(even) {
    background: #FDF8ED;
}
.mefs-status--completed {
    color: #009A00 !important;
}
.mefs-status--processing {
    color: #FF9A00 !important;
}
.mefs-list-btn {
    padding: 10px 5px;
    font-size: 12px;
    text-transform: capitalize;
    background: #7AD245;
    border-radius: 3px;
}
.mefs-td--center {
    text-align: center;
}
.mefs-td-danger {
    background: #E06161;
    color: #FFF;
    display: inline-block;
    padding: 1px 2px;
    font-size: 12px;
    font-weight: 700;
}
.mefs-td-well {
    background: #619461;
    color: #FFF;
    display: inline-block;
    padding: 1px 2px;
    font-size: 12px;
    font-weight: 700;
}
.mefs-with-label {
    display: flex !important;
    align-items: center;
    margin-bottom: 5px;
}
.mefs-with-label label {
    margin: 0 5px 5px 0;
}
.additional-form-builder-field {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    background: #FFF2F2;
    padding: 10px;
    margin-bottom: 10px;
    position: relative;
}
.additional-form-builder-field .additioanl-field-item {
    flex-basis: 49%;
    margin-bottom: 10px !important;
}
.additional-form-builder-field .mefs_field_info {
    margin-top: 0;
    display: block;
}
.empty-form-builder-content {
    display: none;
}
.mep-additional-label {
    flex-basis: 100%;
    color: #00401A;
}
.mep-additional-field-close {
    position: absolute;
    top: -5px;
    right: -5px;
    background: red;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    line-height: 14px;
    display: inline-block;
    font-size: 12px;
    font-family: arial;
    color: #FFF;
    text-align: center;
    font-weight: 700;
    cursor: pointer;
}
.additional-form-builder-field select {
    border: 1px solid #4A4A4A !important;
    background: white !important;
}
.mefs-balance-wrap {
    float: right;
    margin-bottom: 20px;
}
.mefs-list {
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.mefs-list li {
    margin: 0;
    font-size: 14px;
    color: #555;
    font-family: arial, sans-serif;
    display: flex;
    justify-content: space-between;
}
.mefs-list li strong {
    margin-right: 30px;
}
.withdrawal-btn {
    background: transparent;
    color: #2276D2;
    padding: 0;
    text-decoration: underline;
    text-transform: initial;
    font-size: 14px;
}

/* The mage-Modal (background) */
#give-review-btn {
    background-color: #0A0A0A;
    margin-bottom: 25px;
    padding: 10px 15px;
    background: #1AB679;
    border-radius: 2px;
    text-transform: capitalize;
    border: none;
    color: #FFF;
    font-weight: 700;
}

#give-review-btn:hover {
    text-decoration: none;
}

.mage-modal {
    display: none;
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    backdrop-filter: blur(5px);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation: fadeIn 0.4s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(5px);
    }
}

/* Force modal to show when visible */
.mage-modal[style*="display: block"],
.mage-modal[style*="display:block"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99999 !important;
}

/* Additional force show rules */
#mageModal[style*="display: block"],
#mageModal[style*="display:block"] {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99999 !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
     height: 100% !important;
}

/* Modal visible class */
.mage-modal.modal-visible {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 99999 !important;
}

/* Modal Header Styles */
.mage-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #e8ecef;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px 12px 0 0;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mage-modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    padding-right: 40px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.mage-modal-header .close {
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    font-size: 24px;
    font-weight: bold;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    padding: 0;
    line-height: 1;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    backdrop-filter: blur(10px);
}

.mage-modal-header .close:hover,
.mage-modal-header .close:focus {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Modal Body Styles */
.mage-modal-body {
    padding: 30px;
    background: #ffffff;
    border-radius: 0 0 12px 12px;
}

/* Prevent body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}

/* Ensure modal content is scrollable if needed */
.mage-modal-content {
    max-height: 90vh;
    overflow-y: auto;
}

/* Enhanced withdrawal form styles */
.mefs-withdrawal-info {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f4fd 100%);
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid #e1e8ed;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.mefs-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}

.mefs-info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
    border-left: 4px solid #667eea;
    transition: all 0.3s ease;
}

.mefs-info-item:hover {
    background: rgba(255, 255, 255, 0.9);
    transform: translateX(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.mefs-info-item strong {
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.mefs-info-item span {
    color: #27ae60;
    font-weight: 700;
    font-size: 16px;
}

/* Modal Animation Keyframes */
@-webkit-keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes modalSlideOut {
    from {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
    to {
        transform: translateY(-30px) scale(0.95);
        opacity: 0;
    }
}

/* mage-Modal Content */
.mage-modal-content {
    position: relative;
    background-color: #ffffff;
    margin: 3% auto;
    padding: 0;
    border: none;
    width: 90%;
    max-width: 550px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2), 0 8px 25px rgba(0, 0, 0, 0.1);
    -webkit-animation-name: modalSlideIn;
    -webkit-animation-duration: 0.5s;
    -webkit-animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    animation-name: modalSlideIn;
    animation-duration: 0.5s;
    animation-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    max-height: 90vh;
    overflow-y: auto;
    transform-origin: center;
    backdrop-filter: blur(10px);
}
.mage-modal-content.mefs-modal {
    max-width: 550px;
}

/* Enhanced Form Styling */
.mep-event-review-form .group {
    margin-bottom: 20px;
}

.mep-event-review-form .label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
    font-size: 14px;
    letter-spacing: 0.3px;
}

.mep-event-review-form input[type="text"],
.mep-event-review-form input[type="number"],
.mep-event-review-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e8ed;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    background: #ffffff;
    box-sizing: border-box;
    position: relative;
}

.mep-event-review-form input[type="text"]:focus,
.mep-event-review-form input[type="number"]:focus,
.mep-event-review-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1), 0 4px 12px rgba(102, 126, 234, 0.15);
    transform: translateY(-1px);
}

.mep-event-review-form .focused input,
.mep-event-review-form .focused textarea {
    border-color: #667eea;
}

.mep-event-review-form textarea {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

/* Enhanced input validation states */
.mep-event-review-form input.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.mep-event-review-form input.success {
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.1);
}

.submit-withdraw-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: #ffffff !important;
    border: none !important;
    padding: 14px 28px !important;
    border-radius: 8px !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    text-transform: none !important;
    cursor: pointer !important;
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3) !important;
    letter-spacing: 0.5px !important;
    width: 100% !important;
    position: relative;
    overflow: hidden;
}

.submit-withdraw-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4) !important;
    background: linear-gradient(135deg, #5a6fd8 0%, #6a4190 100%) !important;
}

.submit-withdraw-btn:active {
    transform: translateY(0) !important;
    box-shadow: 0 2px 10px rgba(102, 126, 234, 0.3) !important;
}

.submit-withdraw-btn:disabled {
    background: #bdc3c7 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Ripple effect */
.submit-withdraw-btn .ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* Loading state for submit button */
.submit-withdraw-btn.loading {
    pointer-events: none;
    opacity: 0.7;
}

.submit-withdraw-btn.loading::after {
    content: '';
    position: absolute;
    width: 16px;
    height: 16px;
    margin: auto;
    border: 2px solid transparent;
    border-top-color: #ffffff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Social Media Share Buttons */
.mefs-social-share {
    padding: 8px 4px !important;
}

.mefs-share-buttons {
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.mefs-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mefs-share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: #fff;
}

.mefs-share-btn:before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.mefs-share-btn:hover:before {
    left: 100%;
}

/* Individual platform colors */
.mefs-facebook {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.mefs-facebook:hover {
    background: linear-gradient(135deg, #166fe5, #1976d2);
}

.mefs-twitter {
    background: linear-gradient(135deg, #1da1f2, #42a5f5);
}

.mefs-twitter:hover {
    background: linear-gradient(135deg, #1a91da, #1976d2);
}

.mefs-linkedin {
    background: linear-gradient(135deg, #0077b5, #42a5f5);
}

.mefs-linkedin:hover {
    background: linear-gradient(135deg, #005885, #1976d2);
}

.mefs-whatsapp {
    background: linear-gradient(135deg, #25d366, #4caf50);
}

.mefs-whatsapp:hover {
    background: linear-gradient(135deg, #20ba5a, #388e3c);
}

.mefs-telegram {
    background: linear-gradient(135deg, #0088cc, #42a5f5);
}

.mefs-telegram:hover {
    background: linear-gradient(135deg, #006699, #1976d2);
}

.mefs-instagram {
    background: linear-gradient(135deg, #e4405f, #f77737, #fcaf45);
}

.mefs-instagram:hover {
    background: linear-gradient(135deg, #d62976, #fa7e1e, #feda75);
}

/* Responsive design for smaller screens */
@media (max-width: 768px) {
    .mefs-share-buttons {
        gap: 4px;
    }
    
    .mefs-share-btn {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }
}

/* Animation for share buttons */
@keyframes shareButtonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.mefs-share-btn:active {
    animation: shareButtonPulse 0.3s ease;
}

.mefs-email {
    background: linear-gradient(135deg, #34495e, #5d6d7e);
}

.mefs-email:hover {
    background: linear-gradient(135deg, #2c3e50, #34495e);
}

/* Copy Notification Styles */
.mefs-copy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
    pointer-events: none;
}

.mefs-copy-notification.show {
    opacity: 1;
    transform: translateX(0);
}

.mefs-notification-content {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    min-width: 280px;
    backdrop-filter: blur(10px);
}

.mefs-notification-content i {
    font-size: 16px;
    color: #fff;
}

/* Responsive notification */
@media (max-width: 768px) {
    .mefs-copy-notification {
        top: 10px;
        right: 10px;
        left: 10px;
        transform: translateY(-100%);
    }
    
    .mefs-copy-notification.show {
        transform: translateY(0);
    }
    
    .mefs-notification-content {
        min-width: auto;
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* Warning and Error Messages */
.mefs-warning {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #ffeaa7;
    border-left: 4px solid #f39c12;
    color: #856404;
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 15px;
    font-size: 14px;
    animation: slideInUp 0.3s ease-out;
}

.review_form_error {
    color: #e74c3c;
    font-size: 12px;
    margin-top: 5px;
    display: block;
    font-weight: 500;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.mefs-event_list--table {table-layout: fixed;}
.mefs-table thead th,
.recurring_area thead th,
.mefs-event_list--table thead th {background-color: #00A699;color: #FFF;font-weight: 500;}
.mefs-event_list--table th:first-child {max-width: 50px;min-width: auto;width: 50px;}
.mefs-event_list--table th:nth-child(2) {max-width: 250px;min-width: auto;width: 250px;}
.mefs-event_list--table th:nth-child(3) {max-width: 250px;min-width: auto;width: 250px;}
.mefs-event_list--table th:nth-child(4) {max-width: 200px;min-width: auto;width: 200px;}
.mefs-event_list--table th:nth-child(5) {max-width: 150px;min-width: auto;width: 150px;}
.mefs-event_list--table th:nth-child(6) {max-width: 80px;min-width: auto;width: 80px;}
.mefs-event_list--table th:nth-child(7){max-width: 60px;min-width: auto;width:60px;}
.mefs-event_list--table th:nth-child(8) {max-width: 70px;min-width: auto;width: 70px;}
.mefs-event_list--table th:nth-child(9) {max-width: 60px;min-width: auto;width: 60px;}
.mefs-event_list--table th:nth-child(10) {max-width: 80px;min-width: 80px;width: 80px;}
.mefs-event_list--table td:nth-child(10) {max-width: 80px;min-width: 80px;width: 80px; text-align: center;}

/* Dynamic Tags Info Styling */
.mefs-dynamic-tags-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    padding: 15px;
    margin-top: 10px;
}

.mefs-dynamic-tags-info p {
    margin: 0 0 10px 0;
    color: #495057;
}

.mefs-dynamic-tags-info ul {
    margin: 0;
    padding-left: 20px;
    list-style-type: disc;
}

.mefs-dynamic-tags-info li {
    margin-bottom: 5px;
    color: #6c757d;
}

.mefs-dynamic-tags-info code {
    background: #e9ecef;
    color: #495057;
    padding: 2px 6px;
    border-radius: 3px;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
}

/* Event Type Selection Styling */
.mefs-event-type-section {
    transition: all 0.3s ease-in-out;
}

.mefs-event-type-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    background-color: #fff;
    transition: border-color 0.3s ease;
}

.mefs-event-type-select:focus {
    border-color: #007cba;
    outline: none;
    box-shadow: 0 0 0 1px #007cba;
}

.mefs-field-group {
    margin-bottom: 20px;
}

.mefs-field-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: white;
}

.mefs_field_info {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #666;
    font-style: italic;
}
/******************************/
#mefs_event_list {
    border: 1px solid #DDD;
    padding: 10px;
    border-radius: 5px;
}
.mefs-balance-wrap ul {
    padding: 10px !important;
    border: 5px solid #770031;
    border-radius: 5px;
    background-color: #FFF;
    color: #FFF;
    max-width: 250px;
    float: right;
    width: 100%;
    margin: 0;
}
#mefs_event_list ul li {
    margin: 0;
    font-size: 15px;
    color: #A31366;
}
.mefs-list li span, .mefs-list li button {
    font-size: 18px;
    font-weight: 500;
}
.mefs-list li span {
    color: #7AD245;
}
/******************************/
#mefs_event_list .mefs-event-header .mefs-content-action {
    display: -webkit-flex;display: flex;
    -webkit-justify-content: center;justify-content: center;
    -webkit-align-items: center;align-items: center;
    font-size: 16px;
    color: #FFF;
    padding: 7px 12px;
    background-color: #00A699;
}
/******************************/
.woocommerce-account a {text-decoration: none;color: var(--theme-color);}
.woocommerce-account .woocommerce {display: -webkit-flex;display: flex;margin: 30px 0;}
.woocommerce-account .woocommerce-MyAccount-navigation {width: 250px !important;margin: 0 20px 0 0;background-color: transparent;}
.woocommerce-account .woocommerce-MyAccount-navigation ul {list-style-type: none;margin: 0;padding: 0;}
.woocommerce-account .woocommerce-MyAccount-navigation ul li {margin: 0;padding: 0;border-bottom: 1px dotted var(--theme-alternate-color);width: 100%;}
.woocommerce-account .woocommerce-MyAccount-navigation ul li a {margin: 0;padding: var(--default-mp-xs) var(--default-mp);color: #999;display: block;background-color: #555;}
.woocommerce-account .woocommerce-MyAccount-navigation ul li.is-active a,
.woocommerce-account .woocommerce-MyAccount-navigation ul li a:hover {background-color: var(--theme-color);color: var(--theme-alternate-color);}
.woocommerce-account .woocommerce-MyAccount-content {width: calc(100% - 270px) !important;}
/******************************/
/* Media Query */
@media (max-width: 1024px) {
    #mefs_form label {
        display: block;
        font-size: 13px;
    }

    .mefs-field-group {
        overflow-x: auto;
    }

    .repeatable-fieldset th,
    .repeatable-fieldset td {
        font-size: 13px;
    }

    #mefs_form .mefs_form_inner {
        flex-direction: column;
    }

    #mefs_form select {
        border-radius: 8px;
    }

    #mefs_form .mefs_form_min_content {
        padding: 0;
    }

    #mefs_form .mefs_form_max_content {
        padding-right: 0;
    }

    .mefs-table {
        margin: 0;
    }

    .repeat-btn,
    .repeat-btn-faq {
        font-size: 9px;
    }

    #mefs_form label {
        line-height: 1.3em;
    }
}
@media (min-width: 320px) and (max-width: 480px) {
    .mefs-table th {
        font-size: 12px;
    }

    .mefs-event_list--table td {
        font-size: 10px;
    }

    .mefs-al--right {
        text-align: center;
    }

    #mefs_form input[type="submit"] {
        width: 100%;
    }
}
.mefs_wrapper {
    width: 950px;
    max-width: 100%;
}

/* Fix for single event page footer display */
.mep-events-wrapper,
.mep-events-container {
    clear: both;
    overflow: visible;
}

/* Ensure footer doesn't overlap with content */
.mep-site-footer,
footer {
    clear: both;
    margin-top: 40px;
}

/* Dashboard Stats Styles */
.mefs-dashboard-stats {
    margin: 20px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.mefs-stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.mefs-stat-card {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: 4px solid #0073aa;
}

.mefs-stat-card h4 {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mefs-stat-value {
    font-size: 24px;
    font-weight: bold;
    color: #0073aa;
    margin: 0;
}

.mefs-dashboard-actions {
    margin: 20px 0;
    text-align: center;
}

.mefs-dashboard-actions .button {
    margin: 0 10px;
    padding: 10px 20px;
    font-size: 14px;
}

.mefs-btn-primary {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

.mefs-btn-primary:hover {
    background: #005a87;
    color: white;
}

.mefs-btn-secondary {
    background: #0073aa;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
}

.mefs-btn-secondary:hover {
    background: #545b62;
    color: white;
}

/* Withdrawal Form Styles */
.mefs-withdrawal-info {
    background: #e7f3ff;
    border: 1px solid #b3d9ff;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 20px;
}

.mefs-withdrawal-info h4 {
    margin: 0 0 10px 0;
    color: #0073aa;
}

.mefs-withdrawal-info p {
    margin: 5px 0;
    color: #666;
}

.mefs-form-group {
    margin-bottom: 20px;
}

.mefs-form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.mefs-form-group input,
.mefs-form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.mefs-form-group input:focus,
.mefs-form-group textarea:focus {
    outline: none;
    border-color: #0073aa;
    box-shadow: 0 0 0 2px rgba(0, 115, 170, 0.2);
}

.mefs-warning {
    background: #fff3cd;
    border: 1px solid #ffeaa7;
    color: #856404;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.mefs-success {
    background: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

.mefs-error {
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    color: #721c24;
    padding: 10px;
    border-radius: 4px;
    margin: 10px 0;
}

/* Modal Styles */
.mefs-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.mefs-modal-content {
    background-color: #fefefe;
    margin: 5% auto;
    padding: 20px;
    border: none;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    position: relative;
}

.mefs-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}

.mefs-modal-header h3 {
    margin: 0;
    color: #333;
}

.mefs-close {
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.mefs-close:hover,
.mefs-close:focus {
    color: #000;
    text-decoration: none;
}

/* Event List Styles */
.mefs-event-list {
    margin-top: 20px;
}

.mefs-event-item {
    border: 1px solid #ddd;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 5px;
    background: #f9f9f9;
}

.mefs-event-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.mefs-event-meta {
    color: #666;
    font-size: 14px;
    margin-bottom: 10px;
}

.mefs-event-actions {
    margin-top: 10px;
}

.mefs-event-actions a {
    margin-right: 10px;
    text-decoration: none;
    padding: 5px 10px;
    background: #0073aa;
    color: white;
    border-radius: 3px;
    font-size: 12px;
}

.mefs-event-actions a:hover {
    background: #005a87;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .mefs-stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .mefs-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .mefs-dashboard-stats {
        padding: 15px;
    }
    
    .mefs-dashboard-actions .button {
        display: block;
        margin: 10px 0;
        width: 100%;
    }
    
    .mefs-modal-content {
        width: 95%;
        margin: 10% auto;
    }
}

@media (max-width: 480px) {
    .mefs-stats-grid {
        grid-template-columns: 1fr;
    }
}

