.todo_my_events_container{
    max-width: 1050px;
    margin: 0 auto;
    padding: 20px 15px;
}
.myevent-tab-content {
    display: none;
}

.myevent-tab-content.active {
    display: block;
}
.tab_menu_myevents{
    display: flex;
    justify-content: start;
    list-style: none;
    margin-bottom: 10px;
}
.tab_menu_myevents li{
    cursor: pointer;
    padding: 0 15px;
    color: #2196f3;
    font-weight: bold;
   
}
.tab_menu_myevents li.upcoming_tab {
    border-right: 3px solid #212121;
    padding-left: 0;
}
.tab_menu_myevents li.pastevent_tab {
    padding-left: 0;
}
.tab_menu_myevents li.active {
    color: #212121;
}
.event_container {
    padding: 10px 0;
    border-top: 1px solid #e0e0e0;
    background: #fff;
}
.event_container.last-visible{
    border-bottom: 1px solid #e0e0e0;
}
.child_event {
    display: none;
    padding: 5px;
}
.event_container.upcoming_event_container.child_event {
    background: #f5f5f5;
}
.event_list{
    display: flex;
    flex-direction: row;
    justify-content: start;
    align-items: center;
    width: 100%;
}
.event_img{
    width: 48px;
    height: 48px;
}
.event_img img.event_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.my_event_date_time{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-left: 10px;
    width: 140px;
}
.my_event_date_time.child_event_time {
    width: 230px;
    flex-direction: row;
}
span.date_time, span.my_event_location {
    font-size: 14px;
    color: #212121;
}
.my_event_date_time.child_event_time  span.event_date.date_time{
    margin-right: 5px;
}
.my_event_date_time.child_event_time span.event_time.date_time {
    font-weight: bold;
}
.recurring_event_icon, .recurring_event_icon_past {
    margin-left: 20px;
    width: 30px;
    text-align: center;
    cursor: pointer;
}
.recurring_event_icon_past{
    cursor: default;
}
.my_event_title {
    margin-left: 20px;
}
span.my_event_name {
    font-size: 14px;
    color: #212121;
    width: 150px;
    display: -webkit-box;      
    -webkit-line-clamp: 2;       
    line-clamp: 2;             
    -webkit-box-orient: vertical;
    overflow: hidden;            
    text-overflow: ellipsis;   
    word-break: break-word; 
}
span.my_event_name.child_event_title {
    -webkit-line-clamp: 1;
    line-clamp: 1;
    color: #3f51b5;
    width: 250px;
}
.my_event_location_section{
    display: flex;
    flex-direction: row;
    align-items: start;
    margin-left: 10px;
}
span.my_event_venue_name.my_event_location{
    font-size: 14px;
    color: #212121;
    width: 175px;
    display: -webkit-box;      
    -webkit-line-clamp: 1;       
    line-clamp: 1;             
    -webkit-box-orient: vertical;
    overflow: hidden;            
    text-overflow: ellipsis;
}
.my_event_location_details{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.my_event_ticket{
    margin-left: 10px;
    width: 90px;
}
span.my_event_ticket_price{
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #212121;
    
}
img.price_icon{
    margin-right: 5px;
}
.is_pre_registration{
    margin-left: 10px;
    width: 120px;
}
span.is_pre_registration_text{
    font-size: 14px;
    color: #3f51b5;
}
span.my_event_status_text {
    margin-left: 10px;
    width: max-content;
    border-radius: 3px;
    font-size: 14px;
    color: #fff;
    padding: 5px 10px;
    display: flex;
    align-items: center;
}
span.my_event_status_text.published {
    background-color: #8bc34a; /* Green */
}
span.my_event_status_text.cancelled {
    background-color: #616161; /* Orange */
}
span.my_event_status_text.rejected {
    background-color: #f44336; /* Red */
}
span.my_event_status_text.pending-approval {
    background-color: #03a9f4; /* Blue */
}
span.my_event_status_text.published-app {
    background-color: #261b1b; /* Blue */
}
span.my_event_status_text.late-submission {
    background-color: #9c27b0; /* Blue */
}
.my_event_status {
    width: 150px;
}
.my_event_status.child_event_status span.my_event_status_text {
    padding: 2px 5px;
}
.my_event_status.child_event_status {
    width: 230px;
}
.my_event_action{
    position: relative;
}
.my_event_action.child_event_action {
    width: 70px;
}
.my_event_action .popover_content{
    z-index: 10;
    opacity: 1;
    visibility: visible
}
.my_event_action li {
    border: none;
    line-height: 24px;
}
ul.edit_events_actions {
    padding: 10px;
}
ul.edit_events_actions li a{
   font-size: 14px;
   color: #212121;
}
ul.edit_events_actions li a:hover{
   color: #212121;
}
.my_event_action li span{
    font-size: 14px;
    min-height: auto;
}
.my_event_action.child_event_action .popover_content {
    left: 80px;
}
.pagination {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 0;
}

.pagination .page-nav {
    padding: 0 10px;
    border: 1px solid #e0e0e0;
    background-color: #fff;
    cursor: pointer;
    font-size: 14px;
    color: #212121;
    transition: background-color 0.3s, color 0.3s;
    margin: 0;
    font-weight: 500;
}
.pagination .page-nav:first-child{
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}

.pagination .page-nav:disabled {
    background-color: #e0e0e0;
    cursor: not-allowed;
    color: #999;
}

.pagination .page-number {
    min-width: 30px;
    text-align: center;
}

.pagination .page-number.active {
    background-color: #212121;
    color: #fff;
    border-color: #212121;
    font-weight: bold;
}
.per-page-container{
    position: relative;
}
.pagination  span.select2.select2-container.select2-container--default {
    margin-right: 5px;
}
span.select2-selection.select2-selection--single {
    height: 35.2px;
    align-items: center;
    display: flex;
    border-radius: 5px;
    border: 1px solid #e0e0e0;
    box-shadow: none;
}
.pagination .page-nav:hover:not(:disabled):not(.active) {
    background-color: #f0f0f0;
}
.events-mobile {
    display: none;
}
.pagination .prev-page, .pagination .next-page {
    font-weight: bold;
}
.tooltip {
    position: relative;
    display: inline-block;
}
.tooltip .tooltip-text {
    visibility: hidden;
    background-color: #333;
    color: #fff;
    font-size: 14px;
    text-align: center;
    padding: 5px 8px;
    border-radius: 4px;
    position: absolute;
    z-index: 999;
    bottom: 125%; /* show above */
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    white-space: nowrap;
    text-transform: capitalize;
}
.tooltip .tooltip-text::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}
.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}
span.dashicons.dashicons-arrow-down-alt2.per_page_arrow {
    position: absolute;
    right: 11px;
    top: 13px;
    font-size: 14px;
}
button.page-nav.prev-page {
    border-bottom-left-radius: 5px;
    border-top-left-radius: 5px;
}
button.page-nav.next-page{
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;
}
span.add_btn_text{
    font-size: 14px;
}
span.edit_option.dashicons.dashicons-ellipsis.facilitator_data{
    font-size: 16px;
}
@media screen and (max-width: 768px) {
    .events-desktop {
        display: none;
    }
    .event_list_mobile.upcoming_event_list.events-mobile {
        display: flex;
        justify-content: start;
    }
    .event_img_mobile{
        min-width: 100px;
        max-width: 100px;
        margin-right: 10px;
        position: relative;
        display: flex;
        flex-direction: column;
    }
    .event_image_mobile{
        width: 100%;
        height: 100%;
        height: 100px;
    }
    .my_event_date_time_mobile{
        display: flex;
        flex-direction: row;
    }
    .my_event_date_time_mobile span.date_time{
        color: #616161;
        font-size: 12px;
        margin-right: 5px;
    }
    .my_event_title_mobile span.my_event_name_mobile{
        font-size: 13px;
        color: #212121;
        width: 100%;
        display: -webkit-box;      
        -webkit-line-clamp: 1;       
        line-clamp: 1;             
        -webkit-box-orient: vertical;
        overflow: hidden;            
        text-overflow: ellipsis;  
    }
    span.my_event_location_icon_mobile {
        font-size: 12px;
        margin-top: 6px;
    }
    .my_event_location_section_mobile {
        display: flex;
        margin-left: -3px;
        align-items: center;

    }
    span.my_event_venue_name.my_event_location_mobile, span.my_event_location_name.my_event_location_mobile{
         color: #616161;
        font-size: 12px;
    }
    span.my_event_ticket_price_mobile {
        font-size: 12px;
        color: #616161;
        display: flex;
        align-items: center;
    }
    img.price_icon_mobile {
        margin-right: 5px;
    }
    .more_info_mobile{
        display: flex;
        align-items: center;
        position: relative;
    }
    .my_event_action_mobile{
        display: flex;
        align-items: center;
        position: relative;
        justify-content: space-between;
    }
    .my_event_action_mobile.my_event_action_mobile_past {
        display: flex;
        align-items: center;
        position: relative;
        justify-content: start;
    }
    .my_event_action_mobile.my_event_action_mobile_past {
        display: flex;
        align-items: center;
        position: relative;
        justify-content: space-between;
    }
    .my_event_action_mobile a {
        font-size: 12px;
        color: #1c7ce2;
        font-weight: 500;
        padding-right: 5px;
        border-right: 1px solid #212121;
        width: max-content;
    }
    span.edit_option.facilitator_data.view_more_mobile {
        float: none;
        transform: none;
        font-size: 12px;
        color: #1c7ce2;
        font-weight: 500;
        width: max-content;
        display: flex;
        align-items: center;
    }
    span.edit_option.facilitator_data.view_more_mobile span.dashicons.dashicons-arrow-down-alt2 {
        font-size: 14px;
        line-height: 20px;
    }
    .popover_content.popover_content_mobile {
        top: 26px !important;
        z-index: 1000 !important;
        left: 30px !important;
        opacity: 1;
        visibility: visible;
    }
    .popover_content.popover_content_mobile::after {
        top: -6px !important;
        left: 30px !important;
        transform: rotate(48deg) !important;
    }
    ul.edit_events_actions_mobile{
        margin: 0;
        padding: 10px;
        list-style: none;
    }
    ul.edit_events_actions_mobile li {
        margin: 0;
        font-size: 14px;
        padding: 3px 0px;
    }
   
    
    .event_status_mobile {
        position: absolute;
        top: 0;
        width: 100%;
    }
    span.my_event_status_text_mobile {
        font-size: 10px;
        padding: 3px 5px;
        display: flex;
        width: 100%;
        justify-content: center;
        align-items: center;
        color: #fff;
        text-align: center;
    }
    span.my_event_status_text_mobile.published {
        background-color: #8bc34a; /* Green */
    }
    span.my_event_status_text_mobile.cancelled {
        background-color: #616161; /* Orange */
    }
    span.my_event_status_text_mobile.rejected {
        background-color: #f44336; /* Red */
    }
    span.my_event_status_text_mobile.pending-approval {
        background-color: #03a9f4; /* Blue */
    }
    span.my_event_status_text_mobile.published-app {
        background-color: #261b1b; /* Blue */
    }
    span.my_event_status_text_mobile.late-submission {
        background-color: #9c27b0; /* Blue */
    }
    .recurring_event_mobile span.recurring_icon {
        font-size: 11px;
        color: #1c7ce2;
        font-weight: 500;
        font-style: italic;
    }
    .recurring_event_mobile {
        display: flex;
        margin-top: 5px;
        align-items: center;
    }
    .recurring_event_mobile span.dashicons.dashicons-arrow-down-alt2{
        font-size: 14px;
        color: #1c7ce2;
        line-height: inherit;
    }
    .my_event_info_mobile {
        display: flex;
        width: 100%;
        flex-direction: column;
    }
}