.mec-invoice-meta-box h2 {
    font-size: 20px !important;
    font-weight: 600 !important;
    padding-top: 20px;
    margin-top: 35px !important;
}

.mec-invoice-meta-box .mec-attendee {
    display: inline-block;
    width: calc(25% - 25px);
    border-radius: 10px;
    box-sizing: border-box;
    margin: 10px;
    border: solid 1px #e3e5e7;
    line-height: 2;
    position: relative;
    padding: 20px;
    padding-top: 25px;
    min-width: 300px;
}

@media (max-width: 1600px) {
    .mec-invoice-meta-box .mec-attendee {
        width: calc(33% - 25px);
    }
}

@media (max-width: 1025px) {
    .mec-invoice-meta-box .mec-attendee {
        width: calc(50% - 25px);
    }
}

.mec-invoice-meta-box .mec-attendee .mec-row:first-of-type {
    background: #f2f4f6;
    padding: 3px 20px;
    margin: 0 -20px 15px;
}

.mec-invoice-meta-box .mec-attendee h4 {
    top: 0;
    padding: 8px 20px 20px 8px;
    float: left;
    font-size: 15px;
    border-radius: 3px 3px 0 0;
    margin: 0;
    left: 0;
    right: 0;
    text-transform: capitalize;
    line-height: 1.5;
    color: #3a4044;
}

.mec-invoice-meta-box .mec-attendee img {
    width: 36px;
    height: auto;
    border-radius: 36px;
    float: left;
}

.mec-invoice-meta-box .mec-attendee .mec-row {
    font-size: 13px;
    font-weight: 400;
    color: #54585b;
    clear: both;
}

.mec-invoice-meta-box .mec-attendee .mec-row span {
    color: #747f86;
}

.mec-invoice-meta-box .mec-attendee.loading {
    filter: grayscale(1);
    opacity: .6;
    pointer-events: none
}

.mec-invoice-meta-box .mec-attendee .checked-in-status,
.mec-report-selected-event-attendees-wrap .mec-attendees-content .checked-in-status {
    text-shadow: none;
    background: #4bc615;
    text-align: center;
    display: block;
    padding: 10px 0;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    line-height: 14px;
    margin-top: 20px;
    margin-bottom: 5px;
    border-radius: 22px;
    cursor: pointer;
    transition: all .2s ease;
}

.mec-invoice-meta-box .mec-attendee .unchecked-status,
.mec-report-selected-event-attendees-wrap .mec-attendees-content .unchecked-status {
    background: #40d8f0;
}

.mec-report-selected-event-attendees-wrap .mec-attendees-content .checked-in-status{
    display: inline-block;
    margin: 0;
}

.mec-invoice-meta-box .mec-attendee .checked-in-status.status-yes,
.mec-report-selected-event-attendees-wrap .mec-attendees-content .checked-in-status.status-yes {
    background: #40d8f0;
    background: linear-gradient(95deg, #13cbe8 0, #40d8f0 50%, #71dff0 100%);
    box-shadow: 0 3px 9px -5px #40d8f0
}

/*.mec-report-selected-event-attendees-wrap .mec-attendees-content .checked-in-status > *{*/
/*    display: none;*/
/*}*/

.mec-report-selected-event-attendees-wrap .mec-attendees-content .checked-in-status.status-no:not(:hover) .unchecked,
.mec-report-selected-event-attendees-wrap .mec-attendees-content .checked-in-status.status-yes:not(:hover) .checked,
.mec-report-selected-event-attendees-wrap .mec-attendees-content .checked-in-status.status-no:hover .check,
.mec-report-selected-event-attendees-wrap .mec-attendees-content .checked-in-status.status-yes:hover .uncheck{
    display: block;
}

.mec-invoice-meta-box .mec-attendee .checked-in-status:hover {
    background: #5a6162;
}

.mec-invoice-meta-box span.mec-invoice-verification-status {
    box-shadow: 0 3px 9px -5px#40d8f0;
    text-shadow: none;
    background: #40d8f0;
    background: linear-gradient(95deg, #13cbe8 0, #2dd1ea 50%, #71dff0 100%);
    text-align: center;
    display: block;
    padding: 10px 0;
    color: #fff;
    font-weight: 600;
    margin-top: 10px;
    border-radius: 2px;
    cursor: pointer
}

.mec-invoice-meta-box span.mec-invoice-verification-status.status-verified {
    box-shadow: 0 3px 30px -4px #b2f040;
    background: #b2f040;
    background: linear-gradient(95deg, #b2f040 0, #b8ea2d 50%, #61e813 100%)
}

.mec-invoice-meta-box span.mec-invoice-verification-status.status-canceled {
    box-shadow: 0 3px 30px -4px #f04040;
    background: #f04040;
    background: linear-gradient(95deg, #f04040 0, #ea2d2d 50%, #e81313 100%)
}

.mec-invoice-add-new-attendee {
    text-shadow: none;
    background: #40d8f0;
    background: linear-gradient(95deg, #40d8f0 0, #2dd1ea 50%, #13cbe8 100%);
    text-align: center;
    display: block;
    padding: 10px 0;
    color: #fff;
    font-weight: 600;
    margin-top: 10px;
    border-radius: 2px;
    cursor: pointer;
    width: 150px
}

.mec-invoice-remove-attendee {
    text-shadow: none;
    background: #f04040;
    background: linear-gradient(95deg, #f04040 0, #ea2d2d 50%, #e81313 100%);
    text-align: center;
    display: block;
    padding: 10px 0;
    color: #fff;
    font-weight: 600;
    margin-top: 10px;
    border-radius: 2px;
    cursor: pointer;
    width: 150px
}

.mec-invoice-attendee {
    padding: 15px;
    background-color: #f5f5f5;
    padding-top: 20px;
    border-radius: 3px;
    border: solid 1px #eee;
    margin-bottom: 10px
}

.wns-be-container .select-company-logo, .wns-be-container .dpr-btn.dpr-import-btn {
    border-radius: 25px;
    border: 1px solid #d1e5ec;
    text-shadow: none;
    padding: 0 16px;
    height: 35px;
    letter-spacing: .2px;
    margin-right: 5px;
    background: #fff;
    color: #07bbe9;
    box-shadow: 0 1px 5px -1px rgb(0 0 0 / 5%);
    transition: all .2s ease
}

.wns-be-container .select-company-logo.button {
    line-height: 22px
}

.wns-be-container .select-company-logo:active, .wns-be-container .dpr-btn.dpr-import-btn:active, .wns-be-container .select-company-logo:hover, .wns-be-container .dpr-btn.dpr-import-btn:hover {
    background: #f0f9fc;
    border: 1px solid #d1e5ec;
    color: #07bbe9
}

.wns-be-container .select-company-logo {
    padding: 5px 25px;
    margin: 1px
}

#invoice_options h5.mec-form-subtitle {
    margin-top: 20px;
}

#invoice_options  p {
    max-width: 85%;
}

#invoice_options #mec_invoice_use_form {
    display: flex;
}

#invoice_options #mec_invoice_use_form .group-box {
    padding: 35px 10px 5px 10px;
    background-color: #fff;
    border: 1px solid #e6e9eb;
    border-left: 6px solid #e6e9eb;
    margin-bottom: 0;
    margin-top: -5px;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 0 1px 4px -1px rgb(0 0 0 / 5%);
    position: relative;
    display: block;
    height: auto;
    max-width: 85%;
}

#mec-invoice-custom-css {
    max-width: 90%;
}

.column-invoiceID {
    width: 120px
}

.mec-invoice-meta-box {
    line-height: 2.3
}

.mec-invoice-meta-box label {
    display: block;
    padding: 3px 10px;
    box-sizing: border-box;
    cursor: default;
    width: 33%;
    float: left;
    font-size: 14px;
    color: #54585b;
}

.mec-invoice-meta-box label:hover {
    background: #f9fafb;
}

@media (max-width: 1640px) {
    .mec-invoice-meta-box label {
        width: 50%;
    }
}

@media (max-width: 1280px) {
    .mec-invoice-meta-box label {
        width: 100%;
    }
}

.mec-invoice-status-closed {
    color: #f2555f;
    text-transform: capitalize
}

.mec-invoice-status-open {
    color: #8bc34a;
    text-transform: capitalize
}

.mec-invoice-export-as-xml-wrap {
    display: block;
    position: relative;
    background-color: #fff;
    width: 50%;
    max-width: 520px;
    margin: auto;
    text-align: center;
    margin-top: 30px;
    padding: 50px;
    border: 1px solid #e3e5e7;
    border-radius: 15px
}

.mec-invoice-export-as-xml-wrap .description {
    display: block;
    position: relative;
    width: 300px;
    margin: auto;
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.5;
    text-align: center
}

.mec-invoice-export-as-xml-wrap .mec-invoice-export-btn {
    color: #fff;
    font-weight: 500;
    border-radius: 60px;
    box-shadow: 0 0 0 4px rgb(56 213 237 / 1%);
    text-shadow: none;
    background: #38d5ed;
    border: none;
    transition: .24s;
    line-height: 1.4;
    padding: 9px 36px 12px;
    margin-bottom: 20px
}

.mec-invoice-export-as-xml-wrap .mec-invoice-export-btn:hover {
    background: #26bbd2;
    box-shadow: 0 0 0 4px rgb(56 213 237 / 15%);
    cursor: pointer;
    color: #fff
}

.mec-invoice-export-as-xml-wrap .wns-be-container, .mec-invoice-export-as-xml-wrap #wns-be-infobar {
    border: none;
    margin-top: 0;
    text-align: center;
    background: #fff;
    padding: 0 20px
}

.mec-invoice-export-as-xml-wrap #wns-be-infobar:before {
    border: none;
    margin: auto;
    position: relative
}

.mec-invoice-meta-box .mec-attendee .checked-in-status.status-error,
.mec-report-selected-event-attendees-wrap .mec-attendees-content .checked-in-status.status-error {
    box-shadow: 0 3px 30px -4px #f44336;
    text-shadow: none;
    background: #f44336;
    background: linear-gradient(95deg, #F44336 0, #E91E63 50%, #F44336 100%)
}

.checkin_status .checkedIn {
    font-weight: 700;
    color: #8bc34a;
    text-transform: capitalize;
    padding-left: 15px
}

.checkin_status .checkedOut {
    font-weight: 700;
    color: #a7a7a7;
    text-transform: capitalize;
    padding-left: 15px
}

/* Inovice Metabox */
.table.table_left {
    float: left;
    width: 45%;
}

.table.table_right {
    float: right;
    width: 45%;
}

.mec-invoice-dashboard-metabox-wrap table {
    width: 100%;
    margin-left: 0;
    margin-bottom: 1em;
}

.mec-invoice-dashboard-metabox-wrap table thead td {
    border-bottom: 1px solid #ececec;
    color: #777;
    padding: 3px 0;
}

.mec-invoice-dashboard-metabox-wrap table tbody tr td:first-of-type {
    font-size: 12px;
    padding-right: 12px;
    color: #777;
    width: 100%;
}

.mec-invoice-dashboard-metabox-wrap table tbody tr td:last-of-type {
    font-size: 14px;
    padding-right: 6px;
    width: auto;
    line-height: 1.5;
    vertical-align: middle;
}

.mec-invoice-dashboard-metabox-wrap table td {
    padding: 3px 0;
}

.last-invoice a {
    text-decoration: none;
}

.last-invoice {
    position: relative;
    margin-bottom: 5px;
}

.last-invoice span {
    position: absolute;
    right: 0;
    top: 2px;
    background: #00769c;
    border-radius: 3px;
    color: #fff;
    font-size: 11px;
    padding: 2px 4px;
    margin-right: 2px;
}

.post-type-mec_invoice #the-list tr:hover {
    background-color: #50a4af24;
}

div#mec-pusher-messages {
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 9999999;
    direction: rtl;
}

div#mec-pusher-messages .message-wrap {
    background-color: #fff;
    padding: 10px;
    margin-bottom: 10px;
    padding-left: 80px;
    box-shadow: 0 3px 9px -4px rgba(0, 0, 0, .3);
    border-radius: 5px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    width: 0;
    height: 18px;
    transition: 1s;
    opacity: 0.5;
    padding-right: 0;
}

div#mec-pusher-messages .message-wrap:hover {
    padding-left: 90px;
    padding-right: 10px;
    width: auto;
    opacity: 1;
}

div#mec-pusher-messages .message-wrap > span {
    position: absolute;
    left: 0;
    top: 0;
    padding: 10px;
    border-right: solid 1px #ddd;
    font-weight: 700;
    font-size: 13px;
    width: 80px;
    text-align: center;
    box-sizing: border-box;
}

div#mec-pusher-messages .message-wrap > span.check-in {
    background: #71ea27;
    background: linear-gradient(95deg, #05ae10 0, #47c011 50%, #55cb0a 100%);
    border-right: none;
    color: #fff;
}

div#mec-pusher-messages .message-wrap > span.check-out {
    background: #40d8f0;
    background: linear-gradient(95deg, #13cbe8 0, #40d8f0 50%, #71dff0 100%);
    border-right: none;
    color: #fff;
    font-size: 12px;
}

div#mec-pusher-messages .message-wrap > span.new-booking {
    background: #eac927;
    background: linear-gradient(95deg, #aea105 0, #c0b311 50%, #cbbc0a 100%);
    border-right: none;
    color: #fff;
    font-size: 9px;
}

div#mec-pusher-messages .message-wrap > .message {
    font-size: 15px;
}

.mec-invoice-export-attendees-as-contact {
    position: absolute;
    text-shadow: none;
    background: #40d8f0;
    text-align: center;
    display: block;
    padding: 10px 0;
    color: #fff;
    font-weight: 600;
    margin-top: 10px;
    border-radius: 4px;
    top: -62px;
    left: 0;
    padding: 12px 0;
    cursor: pointer;
    width: 220px;
}

.mec-invoice-export-attendees-as-contact:hover {
    background: #40d8f0;
}

.mec-report-selected-event-attendees-wrap {
    margin-top: 75px;
}

.attendees .mec-booking-attendees-tooltip.mec-invoice-attendees {
    position: relative
}

.attendees strong {
    line-height: 26px;
    padding-left: 26px
}

.attendees .mec-booking-attendees-tooltip.mec-invoice-attendees:before {
    position: absolute;
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0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SjlvckKuXKMmBcpMzpZUTKdselTiQC1Jy0kZxkcTFy+LAksV36mebnp6HzdSn9plnnv8z83tm1td69pT2R+vBLAp0/YAg9u1B6X8UKUEI2ZjDPDKxh2l7oO+XGTWiHFt4dtzbRTMCuPOa0Qg+cIgIYlhxjGnRmEmvpS1rCSeoQBHC6FWf3RLIcyvkRx/WUI9LBWuK9KNGwSdj8Qq7C+96yNkW8YJOXRcq9OtUv5rdPq1ZDOvZ1f8UysCrfo9r2RduhU41uMGjUJaCDyvkgFdGB5r+jEuRKWWyjkf1RbVhXZe2iTqUOvontJ9MG8SQvuINdtwKBfXlolbfupbSZPWFFLw5g224T3cciTedq4jVv4QvnGPMEcuotoTfnLVcpV8Mc/DaceSYqRlzjCq9rBJXyisf8UwrvDLddGtxVOv3pZhN2Y0OLJhCOVprzJp6wlHIp8+/jQHl1qGtsPHzN2KCrdVpTqWZl9/qQCfbtwADAL2/W2vDY4aDAAAAAElFTkSuQmCC');
    background-repeat: no-repeat;
    background-position: left;
    background-size: contain;
    content: '';
    height: 12px;
    margin: 10px 0;
    top: -30px;
    left: 0;
    font-size: 18px;
    line-height: 12px;
    color: #40d9f1;
    padding: 0 60px 5px 0
}

.attendees .mec-booking-attendees-tooltip.mec-invoice-attendees ul {
    position: absolute;
    min-width: 300px;
    max-width: 600px;
    display: inline-block;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    background-color: #535a61;
    color: #fff;
    font-weight: 300;
    font-size: 14px;
    letter-spacing: .5px;
    line-height: 1.3;
    z-index: 9999999;
    box-sizing: border-box;
    box-shadow: 0 4px 45px -8px #444b50;
    visibility: hidden;
    opacity: 0;
    transition: opacity .23s;
    padding: 23px 20px 20px 20px;
    border-radius: 8px;
    margin-top: -13px
}

.attendees .mec-booking-attendees-tooltip.mec-invoice-attendees ul:before {
    display: block;
    content: ''!important;
    position: absolute!important;
    width: 12px;
    height: 12px;
    left: -10px!important;
    top: 50%!important;
    transform: translate(50%,-50%) rotate(-45deg)!important;
    background-color: #535a61!important;
    box-shadow: 0 8px 9px -4px #535a61!important;
    z-index: 0!important
}

.attendees .mec-booking-attendees-tooltip.mec-invoice-attendees:hover ul {
    visibility: visible;
    opacity: 1
}

.attendees .mec-booking-attendees-tooltip.mec-invoice-attendees ul a {
    color: #40d9f1;
    margin-bottom: 14px;
    margin-left: 0;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: .5px;
    position: relative;
    text-decoration: none;
    display: block;
    width: max-content
}

.attendees .mec-booking-attendees-tooltip.mec-invoice-attendees ul li:last-child a {
    margin-bottom: 0
}

.mec-invoice-quote {
    position: relative;
    display: block;
    font-weight: 400;
    padding-left: 10px;
    color: #161616;
    background-color: #f6f6f6;
    border-radius: 5px;
    border: solid 1px #ddd;
    margin-top: 5px;
    font-size: 12px;
}

.post-type-mec_invoice .widefat th.sortable:nth-child(2) {
    width: 250px;
}

/* Apple Wallet Button Styles */
.mec-apple-wallet-add {
    color: white !important;
    padding: 8px 25px !important;
    border-radius: 5px !important;
    line-height: 20px !important;
    display: block !important;
    text-align: center !important;
    margin: 20px 0px 0 20px !important;
    text-decoration: none !important;
    background-color: #020202 !important;
    transition: background-color 0.3s ease !important;
}

.mec-apple-wallet-add:hover {
    background-color: #0056CC !important;
    color: white !important;
}

/* Flex container for invoice and wallet buttons */
.mec-invoice-buttons-container {
    display: flex;
    align-items: center;
    align-content: center;
}

body:has(input[name="_wp_http_referer"][value*="/admin.php?page=MEC-settings&tab=MEC-invoice"])
  .wns-be-main {
  min-height: 950px;
}