/* + icon css */
/* Popup Overlay */
.event-popup-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

/* Popup Box */
.event-popup-content {
    background: #fff;
    width: 100%;
    padding: 20px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    height: 500px;
    overflow-y: scroll;
}

/* Close Button */
.event-popup-close {
    position: absolute;
    top: 0px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

/* Form Styles */
#event-form {
    display: flex;
    flex-direction: column;
}
#event-form input,
#event-form textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
    border: 1px solid #ccc;
    border-radius: 5px;
}
#event-form button {
    background: #6440FB;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
    border-radius: 5px;
    width: 60%;
    margin: auto;
    font-weight: 500;
    margin-top: 20px;

}


/* message show css */
.message-box {
    display: none;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    text-align: center;
}
.message-box.success {
    color: #155724;
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
}
.message-box.error {
    color: #721c24;
    background-color: #f8d7da;
    border: 1px solid #f5c6cb;
}


/* loader css */
#loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    border: 8px solid #f3f3f3;
    border-top: 8px solid #3498db;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
}

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

/* custom popup open */
.event-tooltip {
position: absolute;
    background: #fff;
    color: #000000;
    padding: 10px;
    border-radius: 4px;
    font-size: 14px;
    max-width: 254px !important;
    z-index: 9999;
    pointer-events: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    border: 1px solid #d5d5d5;
    pointer-events: auto;
    z-index: 9999999;
    height: 117.859px;
    width: 240.516px !important;
    animation-duration: 0ms !important;
    transition-duration: 0ms !important;
    height: fit-content;
    padding: 20px;
}
.tribe-events-calendar-month .tribe-events-calendar-month__calendar-event-details h3.tribe-events-calendar-month__calendar-event-title a {
    text-transform: capitalize;
}
.event-tooltip p:first-child {
    font-size: 11px;
}
.event-tooltip p:nth-child(2) strong {
    font-size: 14px !important;
    text-transform: capitalize;
}


.event-tooltip p:last-child {
    font-size: 11px;
}

/*  login user with open popup */
.event-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

div#event-modal .event-modal-content {
    background: #fff;
    width: 100%;
    padding: 30px 10px 20px 20px;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
    max-width: 500px;
    overflow-y: scroll;
    height: 500px;
    overflow-x: hidden !important;
}

.event-modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}


.event-popup-content label {color: #140342; }
.event-popup-content select#training-mode {margin-bottom: 20px; width: 100%; padding: 8px; border: 1px solid #ccc; border-radius: 5px; cursor: pointer; } 
.event-popup-content select#training-mode:focus-visible {outline: none; }
.event-popup-content h2 {margin: 20px 0 15px 0; }
.event-popup-content .flex-wrapper {display: flex; column-gap: 10px; }
.event-popup-content .flex-wrapper .start-time {width: 50%; }
.event-popup-content .flex-wrapper .end-time {width: 50%; }
.event-popup-content #event-form input, #event-form textarea {line-height: normal; }
.event-popup-content .flex-wrapper .date {width: 50%; }
.event-popup-content .flex-wrapper .start-time input {cursor: pointer; } 
.event-popup-content .flex-wrapper .end-time input {cursor: pointer; }

@media only screen and (max-width: 767px) {
.event-popup-content {width: 93%; max-width: 100%; top: 30px; transform: none; left: 0; right: 0; margin: auto;}
.event-popup-content button {width: 100% !important; }
.event-popup-content {height: 500px; }
}

@media only screen and (max-width: 380px) {
.event-popup-content label {line-height: normal; margin-bottom: 5px; }
.event-popup-content .mode-radio-btn .online label {margin: 0; } 
}

/* New css for ajeet - 7-4-2025 */
.select2-container.select2-container--default .select2-search--dropdown .select2-search__field{
    display: none !important;
}

.tribe-section.tribe-section-website {
    display: none !important;
}