/**
 * TBA Events Addon - Frontend CSS
 */

.tribe-events-tba-label {
    display: inline-block;
    background-color: #e74c3c;
    color: #fff;
    font-weight: bold;
    padding: 3px 8px;
    border-radius: 3px;
    margin-right: 10px;
}

.tribe-events-tba-label-month {
    font-size: 10px;
    padding: 1px 4px;
    margin-bottom: 3px;
}

.tribe-event-date-tba {
    font-weight: bold;
    color: #e74c3c;
}

.tribe-events-tba-notes {
    margin-top: 20px;
    padding: 15px;
    background-color: #f9f9f9;
    border-left: 4px solid #e74c3c;
}

/* Hide 'This event has passed' notice for TBA events */
.tribe-events-tba .tribe-events-notices,
.tribe-events-notices:contains("This event has passed"),
.tribe-events-notices li:contains("This event has passed") {
    display: none !important;
}

/* Additional selector to target the specific notice */
.tribe-events-single .tribe-events-notices {
    display: none !important;
}

/* Override the past event styling */
.tribe-events-tba.tribe-events-past {
    opacity: 1 !important;
}

.tribe-events-tba .tribe-events-event-image {
    opacity: 1 !important;
}

/* Remove the past event notice with !important to ensure it's hidden */
.tribe-events-notices.tribe-events-notices--past-event {
    display: none !important;
}

/* Target the specific notice text */
.tribe-events-notices li:contains("This event has passed") {
    display: none !important;
} 