/**
 * Mobile Events Calendar CSS
 * Version: 2.0.0
 * Optimized and consolidated styles
 */

:root {
    --primary: #016139;
    --primary-light: #028a52;
    --primary-dark: #014a2d;
    --secondary: #f76b0d;
    --text-light: #fff;
    --text-dark: #333;
    --text-muted: #666;
    --border: #e0e0e0;
    --bg-light: #f8f8f8;
    --bg-white: #ffffff;
    --shadow: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 4px 16px rgba(0,0,0,0.12);
    --radius: 12px;
    --radius-sm: 8px;
}

/* ==================== BASE ==================== */

.tribe-events-mobile-container {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    max-width: 100%;
    margin: 0;
    padding: 16px;
    color: var(--text-dark);
    background: var(--bg-white);
    -webkit-overflow-scrolling: touch;
    transform: translateZ(0);
}

* { -webkit-tap-highlight-color: transparent; }

/* ==================== FEATURED UPCOMING EVENT ==================== */

.tribe-events-mobile-featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    border-radius: var(--radius);
    padding: 24px;
    margin: 0 0 24px 0;
    color: var(--text-light);
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.tribe-events-mobile-featured::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    pointer-events: none;
}

.tribe-events-mobile-featured-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
}

.tribe-events-mobile-featured-label::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 6px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 2l3.09 6.26L22 9.27l-5 4.87 1.18 6.88L12 17.77l-6.18 3.25L7 14.14 2 9.27l6.91-1.01L12 2z"/></svg>') center/contain no-repeat;
}

.tribe-events-mobile-featured-title {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 12px 0;
    line-height: 1.3;
    color: var(--text-light);
}

.tribe-events-mobile-featured-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
    opacity: 0.95;
}

.tribe-events-mobile-featured-date,
.tribe-events-mobile-featured-time,
.tribe-events-mobile-featured-venue {
    display: flex;
    align-items: center;
    font-size: 14px;
}

.tribe-events-mobile-featured-date::before,
.tribe-events-mobile-featured-time::before,
.tribe-events-mobile-featured-venue::before {
    content: '';
    width: 18px;
    height: 18px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.9;
}

.tribe-events-mobile-featured-date::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM9 14H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm-8 4H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2z"/></svg>');
}

.tribe-events-mobile-featured-time::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>');
}

.tribe-events-mobile-featured-venue::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
}

.tribe-events-mobile-featured-button {
    display: inline-block;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    border: 1px solid rgba(255,255,255,0.3);
    transition: all 0.2s;
}

.tribe-events-mobile-featured-button:active {
    background: rgba(255,255,255,0.3);
    transform: scale(0.98);
}

/* ==================== LIST VIEW ==================== */

.tribe-events-mobile-list {
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.tribe-events-mobile-event {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    display: flex;
    position: relative;
    background: var(--bg-white);
    height: 130px;
    transition: all 0.2s ease;
    will-change: transform;
    border: 1px solid var(--border);
}

.tribe-events-mobile-event:active { 
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.tribe-events-mobile-event.has-tickets { border-left: 3px solid var(--secondary); }

.tribe-events-mobile-event-date-box {
    background: var(--primary);
    color: var(--text-light);
    min-width: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.tribe-events-mobile-event-day {
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
}

.tribe-events-mobile-event-month {
    font-size: 14px;
    text-transform: uppercase;
}

.tribe-events-mobile-event-content {
    padding: 12px;
    flex: 1;
    overflow: hidden;
    position: relative;
}

.tribe-events-mobile-event-image {
    width: 30%;
    min-width: 100px;
    background-size: cover;
    background-position: center;
}

.tribe-events-mobile-event-title {
    font-size: 16px;
    font-weight: bold;
    margin: 0 0 8px 0;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tribe-events-mobile-event-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin-bottom: 8px;
    font-size: 13px;
    color: #666;
}

.tribe-events-mobile-event-time,
.tribe-events-mobile-event-venue {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
}

.tribe-events-mobile-event-time::before,
.tribe-events-mobile-event-venue::before {
    content: '';
    width: 16px;
    height: 16px;
    margin-right: 8px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
}

.tribe-events-mobile-event-time::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23666" viewBox="0 0 24 24"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>');
}

.tribe-events-mobile-event-venue::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23666" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
}

.tribe-events-mobile-event-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    position: absolute;
    bottom: 12px;
    left: 12px;
}

.tribe-events-mobile-tickets-available {
    position: absolute;
    right: 12px;
    bottom: 12px;
    background: var(--secondary);
    color: white;
    font-size: 11px;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
}

/* ==================== PAGINATION ==================== */

.tribe-events-mobile-pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 32px;
    padding: 16px 0;
    gap: 12px;
}

.tribe-events-mobile-prev,
.tribe-events-mobile-next {
    background: var(--primary);
    color: var(--text-light);
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow);
    transition: all 0.2s;
    flex-shrink: 0;
}

.tribe-events-mobile-prev:active,
.tribe-events-mobile-next:active { 
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.tribe-events-mobile-page-indicator {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    text-align: center;
    flex-grow: 1;
}

.tribe-events-mobile-disabled {
    background: var(--bg-light);
    color: var(--text-muted);
    pointer-events: none;
    opacity: 0.5;
    box-shadow: none;
}

/* ==================== SINGLE EVENT ==================== */

.tribe-events-mobile-single-container {
    padding: 0;
    background: #fff;
}

.tribe-events-mobile-back-button {
    display: inline-flex;
    align-items: center;
    padding: 12px 20px;
    margin-bottom: 20px;
    background: var(--primary);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-light);
    font-weight: 600;
    font-size: 15px;
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

.tribe-events-mobile-back-button:active {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.tribe-events-mobile-back-button::before {
    content: '';
    width: 20px;
    height: 20px;
    margin-right: 8px;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"/></svg>');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tribe-events-mobile-single-image {
    margin: 0 -10px 15px;
    max-height: 200px;
    overflow: hidden;
}

.tribe-events-mobile-single-image img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
}

.tribe-events-mobile-single-title {
    font-size: 22px;
    font-weight: bold;
    margin: 0 0 15px 0;
    line-height: 1.2;
    color: var(--primary);
}

.tribe-events-mobile-tickets-button-container { margin: 15px 0; }

.tribe-events-mobile-tickets-button {
    display: block;
    background: var(--secondary);
    color: var(--text-light);
    text-align: center;
    padding: 16px;
    border-radius: var(--radius-sm);
    font-weight: 700;
    text-decoration: none;
    font-size: 16px;
    box-shadow: var(--shadow-lg);
    transition: all 0.2s;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tribe-events-mobile-tickets-button:active {
    background: #d85f0a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.tribe-events-mobile-single-meta {
    background: var(--bg-light);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tribe-events-mobile-single-date,
.tribe-events-mobile-single-time,
.tribe-events-mobile-single-venue {
    display: flex;
    align-items: flex-start;
    font-size: 15px;
    line-height: 1.4;
}

.tribe-events-mobile-single-date::before,
.tribe-events-mobile-single-time::before,
.tribe-events-mobile-single-venue::before {
    content: '';
    width: 20px;
    height: 20px;
    margin-right: 12px;
    flex-shrink: 0;
    margin-top: 2px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tribe-events-mobile-single-date::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23016139" viewBox="0 0 24 24"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM9 14H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm-8 4H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2z"/></svg>');
}

.tribe-events-mobile-single-time::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23016139" viewBox="0 0 24 24"><path d="M12 2C6.5 2 2 6.5 2 12s4.5 10 10 10 10-4.5 10-10S17.5 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm.5-13H11v6l5.25 3.15.75-1.23-4.5-2.67z"/></svg>');
}

.tribe-events-mobile-single-venue::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23016139" viewBox="0 0 24 24"><path d="M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z"/></svg>');
}

.tribe-events-mobile-single-venue p {
    margin: 5px 0 0 26px;
    font-size: 14px;
}

.tribe-events-mobile-single-description {
    margin-bottom: 30px;
    font-size: 15px;
    line-height: 1.5;
}

.tribe-events-mobile-single-description img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
    margin: 10px 0;
}

.tribe-events-mobile-single-description p { margin-bottom: 15px; }

/* ==================== ADD TO CALENDAR ==================== */

.tribe-events-mobile-add-calendar {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 20px 0;
}

.tribe-events-mobile-gcal-button,
.tribe-events-mobile-ical-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    border: 1px solid var(--border);
    transition: all 0.2s;
}

.tribe-events-mobile-gcal-button:active,
.tribe-events-mobile-ical-button:active {
    background: var(--border);
    transform: scale(0.98);
}

.tribe-events-mobile-gcal-button::before,
.tribe-events-mobile-ical-button::before {
    content: '';
    width: 20px;
    height: 20px;
    margin-right: 10px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tribe-events-mobile-gcal-button::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23016139" viewBox="0 0 24 24"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10z"/></svg>');
}

.tribe-events-mobile-ical-button::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23016139" viewBox="0 0 24 24"><path d="M19 3h-1V1h-2v2H8V1H6v2H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm0 16H5V9h14v10zm-7-8h5v5h-5z"/></svg>');
}

/* ==================== RELATED EVENTS ==================== */

.tribe-events-mobile-related {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.tribe-events-mobile-related h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary);
}

.tribe-events-mobile-related-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tribe-events-mobile-related-event {
    display: flex;
    padding: 10px;
    background: var(--bg-light);
    border-radius: 4px;
    text-decoration: none;
    color: var(--text-dark);
    align-items: center;
}

.tribe-events-mobile-related-date {
    background: var(--primary);
    color: var(--text-light);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 13px;
    margin-right: 10px;
    white-space: nowrap;
}

.tribe-events-mobile-related-title {
    font-size: 14px;
    font-weight: 500;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

/* ==================== MONTH VIEW ==================== */

.tribe-events-mobile-month-container {
    padding: 0;
    margin: 0;
}

.tribe-events-mobile-month-header { margin-bottom: 15px; }

.tribe-events-mobile-month-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 0;
}

.tribe-events-mobile-month-nav h2 {
    font-size: 18px;
    margin: 0;
    font-weight: 500;
    color: var(--primary);
}

.tribe-events-mobile-month-prev,
.tribe-events-mobile-month-next {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    font-size: 0;
    transition: all 0.2s;
    box-shadow: var(--shadow);
}

.tribe-events-mobile-month-prev::before,
.tribe-events-mobile-month-next::before {
    content: '';
    width: 24px;
    height: 24px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.tribe-events-mobile-month-prev::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M15.41 7.41L14 6l-6 6 6 6 1.41-1.41L10.83 12z"/></svg>');
}

.tribe-events-mobile-month-next::before {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="white" viewBox="0 0 24 24"><path d="M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"/></svg>');
}

.tribe-events-mobile-month-prev:active,
.tribe-events-mobile-month-next:active {
    background: var(--primary-dark);
    transform: scale(0.95);
}

.tribe-events-mobile-month-calendar {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.tribe-events-mobile-month-weekdays th {
    text-align: center;
    padding: 8px 0;
    font-size: 13px;
    font-weight: 500;
    background: var(--bg-light);
}

.tribe-events-mobile-month-day {
    height: 60px;
    border: 1px solid var(--border);
    vertical-align: top;
    padding: 5px;
    position: relative;
}

.tribe-events-mobile-month-empty {
    background: var(--bg-light);
    border: 1px solid var(--border);
}

.tribe-events-mobile-month-today { background: rgba(2, 73, 34, 0.05); }

.tribe-events-mobile-month-day-number {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 5px;
}

.tribe-events-mobile-month-events {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.tribe-events-mobile-month-event {
    font-size: 10px;
    background: var(--primary);
    color: white;
    padding: 2px 4px;
    border-radius: 2px;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.tribe-events-mobile-month-event.has-tickets { background: var(--secondary); }

.tribe-events-mobile-month-more {
    font-size: 10px;
    text-align: center;
    background: var(--bg-light);
    border-radius: 2px;
    padding: 2px;
    text-decoration: none;
    color: var(--primary);
}

.tribe-events-mobile-view-links {
    margin-top: 20px;
    display: flex;
    justify-content: center;
}

.tribe-events-mobile-view-list {
    background: var(--primary);
    color: white;
    padding: 8px 16px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
}

/* ==================== NO EVENTS / ERROR ==================== */

.tribe-events-mobile-no-events,
.tribe-events-mobile-error {
    text-align: center;
    padding: 60px 20px;
    font-size: 16px;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.tribe-events-mobile-no-events-icon,
.tribe-events-mobile-error-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.6;
}

.tribe-events-mobile-no-events-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23cccccc" viewBox="0 0 24 24"><path d="M19 4h-1V2h-2v2H8V2H6v2H5c-1.11 0-1.99.9-1.99 2L3 20c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 16H5V10h14v10zM9 14H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2zm-8 4H7v-2h2v2zm4 0h-2v-2h2v2zm4 0h-2v-2h2v2z"/></svg>');
}

.tribe-events-mobile-error-icon {
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" fill="%23e74c3c" viewBox="0 0 24 24"><path d="M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z"/></svg>');
}

.tribe-events-mobile-no-events p,
.tribe-events-mobile-error p {
    margin: 0 0 20px 0;
    font-size: 16px;
    color: var(--text-muted);
}

.tribe-events-mobile-reset-button {
    display: inline-block;
    margin-top: 10px;
    background: var(--primary);
    color: var(--text-light);
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 15px;
    box-shadow: var(--shadow);
    transition: all 0.2s;
}

.tribe-events-mobile-reset-button:active {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

/* ==================== MAP ==================== */

.tribe-events-mobile-single-map {
    margin-top: 20px;
    border-top: 1px solid var(--border);
    padding-top: 20px;
}

.tribe-events-mobile-single-map h3 {
    font-size: 18px;
    margin-bottom: 15px;
    color: var(--primary);
}

.tribe-events-mobile-single-map .tribe-events-google-map {
    width: 100% !important;
    height: 200px !important;
    border-radius: 8px;
}

/* ==================== LOADING ==================== */

.tribe-events-mobile-loading {
    text-align: center;
    padding: 20px;
}

.tribe-events-mobile-loading::after {
    content: "";
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(2, 73, 34, 0.3);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 0.8s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 375px) {
    .tribe-events-mobile-event { height: 100px; }
    .tribe-events-mobile-event-title { font-size: 14px; }
    .tribe-events-mobile-event-details { font-size: 12px; }
    .tribe-events-mobile-event-day { font-size: 20px; }
    .tribe-events-mobile-tickets-button { padding: 12px; font-size: 14px; }
}

@media (min-width: 420px) {
    .tribe-events-mobile-event { height: 130px; }
    .tribe-events-mobile-event-title { font-size: 17px; }
    .tribe-events-mobile-event-day { font-size: 28px; }
    .tribe-events-mobile-event-month { font-size: 15px; }
    .tribe-events-mobile-single-title { font-size: 24px; }
}

/* ==================== PRINT ==================== */

@media print {
    .tribe-events-mobile-back-button,
    .tribe-events-mobile-pagination,
    .tribe-events-mobile-view-links,
    .tribe-events-mobile-tickets-button-container,
    .tribe-events-mobile-add-calendar {
        display: none !important;
    }
}

/* ==================== HIDE WORDPRESS/BP ELEMENTS ==================== */

.bp-messages-wrap,
.bp-better-messages-list,
.bp-messages-mobile-tap,
#bp-better-messages-mini-mobile-open,
#masthead,
.site-footer,
.entry-header,
.entry-footer,
.post-navigation,
.widget-area,
.site-info,
.comments-area {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
}