/* Action Buttons */
.assign-merged-event,
.view-merged-attendees {
    display: inline-block;
    padding: 6px 12px;
    font-size: 13px;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.2s;
}

.assign-merged-event {
    background-color: #1a4d6d;
    color: #fff !important;
}

.assign-merged-event:hover {
    background-color: #153d57;
}

.view-merged-attendees {
    color: #1a4d6d !important;
}

.view-merged-attendees:hover {
    color: #153d57 !important;
}

.view-merged-attendees i {
    margin-right: 3px;
}

/* Merged Event Modal */
#mergedEventModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

#mergedEventModal.main-active {
    display: flex;
    align-items: center;
    justify-content: center;
}

#mergedEventModal .modal-dialog {
    background-color: #fff;
    border-radius: 8px;
    padding: 30px;
    max-width: 65%;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

#mergedEventModal .close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 24px;
    text-decoration: none;
    cursor: pointer;
}

#mergedEventModal .close-btn:hover {
    color: #fff;
    background-color: #002d5a !important;
}

#mergedEventModal h3 {
    margin: 0 0 20px 0;
    font-size: 20px;
    color: #333;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

/* Merged Assign Form */
.merged-assign-form p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #555;
}

.merged-assign-form p strong {
    color: #333;
}

/* Merged Attendee Modal */
.modal-attende[id^="merged-attendee-modal-"] {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 9999;
}

.modal-attende[id^="merged-attendee-modal-"].active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-attende[id^="merged-attendee-modal-"] .modal-dialog-attende {
    width: 50%;
    margin: 0 auto;
    position: absolute;
    left: 0;
    right: 0;
    top: 5%;
    padding: 40px;
    border-radius: 20px;
    background-color: #f5f5f5;
    box-shadow: 0 8px 20px 1px #bdbdbd;
    max-height: 80%;
    overflow-y: auto;
    text-align: center;
}

.modal-attende[id^="merged-attendee-modal-"] .close-btn-attendee {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: 500;
    color: #ffff;
    border: none;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    background-color: #043854;
    border-radius:7px;
}

.modal-attende[id^="merged-attendee-modal-"] h3 {
    margin: 0 0 20px 0;
    font-size: 18px;
    color: #333;
    padding-bottom: 15px;
}

.woocommerce-account .woocommerce-MyAccount-content {
    width: 100% !important;
}


/* Responsive for Merged Events */
@media screen and (max-width: 768px) {
    
    .assign-merged-event,
    .view-merged-attendees {
        padding: 5px 10px;
        font-size: 12px;
    }
    
    #mergedEventModal .modal-dialog,
    .modal-attende[id^="merged-attendee-modal-"] .modal-dialog-attende {
        width: 95%;
        padding: 20px;
    }
}

@media screen and (max-width: 480px) {

}