/* BMR Event Template Styles - Clean Version */
.bmr-event-template {
    font-family: 'Be Vietnam Pro', sans-serif !important;
    background: var(--gray-100);
    color: var(--gray-900);
    line-height: 1.6;
}

.bmr-event-template * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

/* CSS Variables */
.bmr-event-template {
    --gold: #FFB800;
    --gold-light: #FFF3E0;
    --gold-dark: #F57C00;
    --gray-900: #212121;
    --gray-700: #616161;
    --gray-600: #757575;
    --gray-500: #9E9E9E;
    --gray-300: #E0E0E0;
    --gray-200: #EEEEEE;
    --gray-100: #F5F5F5;
    --white: #FFFFFF;
    --success: #4CAF50;
    --danger: #F44336;
    --warning: #FF9800;
    --info: #2196F3;
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bmr-event-template img {
    loading: lazy;
    decoding: async;
}

/* Container */
.bmr-event-template .bmr-event-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem;
}

/* Breadcrumb */
.bmr-event-template .bmr-event-breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
    font-size: 0.8125rem;
    color: var(--gray-500);
    flex-wrap: wrap;
    padding: 0.5rem 0;
}

.bmr-event-template .bmr-event-breadcrumb a {
    color: var(--gray-700);
    text-decoration: none;
    transition: color 0.3s;
}

/* Event Hero */
.bmr-event-template .bmr-event-hero {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

.bmr-event-template .bmr-event-hero-image {
    position: relative;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.bmr-event-template .bmr-event-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.bmr-event-template .bmr-event-hero-content {
    padding: 1.25rem 1rem;
    background: var(--white);
}

.bmr-event-template .bmr-event-badges {
    display: flex;
    gap: 0.375rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.bmr-event-template .bmr-event-badge {
    padding: 0.25rem 0.625rem;
    background: var(--gray-100);
    border: 1px solid transparent;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    color: var(--gray-700);
    display: inline-block;
}

.bmr-event-template .bmr-event-hero-title {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    line-height: 1.2;
    color: var(--gray-900);
}

.bmr-event-template .bmr-event-hero-subtitle {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.4;
}

/* Sticky Navigation */
.bmr-event-template .bmr-sticky-nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--white);
    border-bottom: 1px solid var(--gray-300);
    box-shadow: var(--shadow-sm);
    margin-bottom: 0.75rem;
}

.bmr-event-template .bmr-sticky-nav .bmr-event-container {
    padding: 0 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
}

.bmr-event-template .bmr-sticky-nav .bmr-event-container::-webkit-scrollbar {
    display: none;
}

.bmr-event-template .bmr-nav-tabs {
    display: flex;
    min-width: max-content;
    background: var(--white);
}

.bmr-event-template .bmr-nav-tab {
    flex: 0 0 auto;
    padding: 0.625rem 0.875rem;
    text-decoration: none;
    color: var(--gray-700);
    font-size: 0.8125rem;
    font-weight: 600;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
    white-space: nowrap;
    position: relative;
    min-width: fit-content;
}

.bmr-event-template .bmr-nav-tab:hover {
    color: var(--gold-dark);
    background: var(--gold-light);
}

.bmr-event-template .bmr-nav-tab.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: linear-gradient(to bottom, transparent, rgba(255, 184, 0, 0.1));
}

/* Layout */
.bmr-event-template .bmr-single-page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 0.75rem;
}

.bmr-single-page-container {
    padding: 0!important;
}

.bmr-event-template .bmr-single-page-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0rem;
    margin-bottom: 60px;
}

.bmr-event-template .bmr-single-page-content {
    background: var(--white);
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--gray-100);
    box-sizing: border-box;
    width: 100%;
}

.bmr-event-template .bmr-single-content-wrapper,
.bmr-event-template article.bmr-single-content-wrapper {
    width: 100%;
    max-width: none;
    overflow-x: hidden;
    word-wrap: break-word;
}

.bmr-event-template .bmr-single-content-wrapper *,
.bmr-event-template article.bmr-single-content-wrapper * {
    max-width: 100%;
    box-sizing: border-box;
}

.bmr-event-template .bmr-single-content-wrapper img {
    max-width: 100%;
}

.bmr-event-template .bmr-single-content-wrapper table {
    width: 100%;
    table-layout: fixed;
    word-wrap: break-word;
}

/* Content Sections */
.bmr-event-template .bmr-event-content-section {
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--gray-200);
    scroll-margin-top: 70px;
}

.bmr-event-template .bmr-event-content-section:first-child {
    padding-top: 0.75rem;
}

.bmr-event-template .bmr-event-content-section:last-child {
    border-bottom: none;
    padding-bottom: 0.75rem;
}

.bmr-event-template .bmr-event-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.bmr-event-template .bmr-event-content-title {
    font-size: 1.2375rem;
    font-weight: 700;
    color: var(--gray-900);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Border vàng chỉ cho tiêu đề trong content chính */
.bmr-event-template .bmr-single-content-wrapper .bmr-event-content-title,
.bmr-event-template article.bmr-single-content-wrapper .bmr-event-content-title {
    border-left: 2px solid var(--gold);
    padding-left: 0.75rem;
}

.bmr-event-template .content-text {
    color: var(--gray-700);
    line-height: 1.7;
    font-size: 0.875rem;
}

.bmr-event-template .content-text p {
    margin-bottom: 0.875rem;
}

.bmr-event-template .content-text ul {
    margin: 0.875rem 0;
    padding-left: 1.25rem;
}

.bmr-event-template .content-text li {
    margin-bottom: 0.375rem;
    position: relative;
}

.bmr-event-template .content-text li::marker {
    color: var(--gold);
}

/* Sidebar */
.bmr-event-template .sidebar {
    display: block;
    margin-top: 2rem;
    padding: 0 1rem;
}

.bmr-event-template .widget-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1rem;
}

.bmr-event-template .widget-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 1rem;
}

/* Countdown Widget */
.bmr-event-template .countdown-widget {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    text-align: center;
}

.bmr-event-template .countdown-label {
    font-size: 0.875rem;
    margin-bottom: 1rem;
    opacity: 0.95;
}

.bmr-event-template .countdown-timer {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.5rem;
}

.bmr-event-template .countdown-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: 8px;
    padding: 0.5rem;
}

.bmr-event-template .countdown-value {
    font-size: 1.5rem;
    font-weight: 800;
}

.bmr-event-template .countdown-unit {
    font-size: 0.625rem;
    text-transform: uppercase;
    opacity: 0.9;
}

/* Registration Widget */
.bmr-event-template .registration-widget {
    background: linear-gradient(135deg, var(--white) 0%, #FAFAFA 100%);
    border: 2px solid var(--gold-light);
}

.bmr-event-template .widget-price-display {
    text-align: center;
    padding: 1rem;
    background: var(--gold-light);
    margin: -1.25rem -1.25rem 1rem;
    border-radius: 10px 10px 0 0;
}

.bmr-event-template .widget-price-label {
    font-size: 0.75rem;
    color: var(--gray-700);
    margin-bottom: 0.125rem;
}

.bmr-event-template .widget-price-value {
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--gold-dark);
    line-height: 1;
}

/* Action Buttons */
.bmr-event-template .action-buttons {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin-top: 1rem;
}

.bmr-event-template .action-btn {
    padding: 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-height: 48px;
}

.bmr-event-template .register-btn {
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.3);
    font-weight: 700;
}

.bmr-event-template .register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(255, 184, 0, 0.4);
}

.bmr-event-template .register-btn:active {
    transform: scale(0.98);
}

.bmr-event-template .save-btn {
    background: var(--white);
    color: var(--gold);
    border: 2px solid var(--gold);
    font-weight: 600;
}

.bmr-event-template .save-btn:hover {
    background: var(--gold-light);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.2);
}

.bmr-event-template .save-btn:active {
    background: var(--gold-light);
}

/* Expandable Content */
.bmr-event-template .expandable-content {
    position: relative;
    overflow: hidden;
    transition: max-height 0.5s ease, opacity 0.3s ease;
}

.bmr-event-template .expandable-content.collapsed {
    max-height: 0px;
    opacity: 0;
}

.bmr-event-template #allExpandableContent.collapsed {
    max-height: 600px;
    opacity: 1;
}

.bmr-event-template #allExpandableContent.collapsed::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50px;
    background: linear-gradient(to bottom, transparent, var(--white));
    pointer-events: none;
}

/* Expand Button */
.bmr-event-template .expand-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    margin-top: 1rem;
    padding: 0.625rem 1.25rem;
    background: linear-gradient(135deg, var(--gold-light), rgba(255, 184, 0, 0.1));
    color: var(--gold-dark);
    border: 1px solid var(--gold);
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.bmr-event-template .expand-btn:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 184, 0, 0.3);
}

.bmr-event-template .expand-btn.expanded::after {
    content: ' ↑';
}

.bmr-event-template .expand-btn.collapsed::after {
    content: ' ↓';
}

/* Distance Cards */
.bmr-event-template .distance-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
}

.bmr-event-template .distance-card {
    border: 2px solid var(--gray-300);
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    background: var(--white);
}

.bmr-event-template .distance-card:active {
    transform: scale(0.98);
}

.bmr-event-template .distance-card.selected {
    border-color: var(--gold);
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
}

.bmr-event-template .distance-name {
    font-size: 1.25rem;
    font-weight: 800;
    margin-bottom: 0.125rem;
}

.bmr-event-template .distance-desc {
    font-size: 0.75rem;
    opacity: 0.9;
}

.bmr-event-template .distance-price {
    font-size: 0.875rem;
    font-weight: 600;
    margin-top: 0.375rem;
}

/* Gallery Grid */
.bmr-event-template .gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
}

.bmr-event-template .gallery-item {
    position: relative;
    padding-bottom: 100%;
    background: var(--gray-100);
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
}

.bmr-event-template .gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Responsive Design */
@media (min-width: 640px) {
    .bmr-event-template .bmr-event-container {
        padding: 1rem;
    }

    .bmr-event-template .bmr-event-hero-image {
        height: 300px;
    }

    .bmr-event-template .bmr-event-hero-title {
        font-size: 1.625rem;
    }

    .bmr-event-template .bmr-event-hero-content {
        padding: 1.5rem;
    }

    .bmr-event-template .distance-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .bmr-event-template .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .bmr-event-template .bmr-event-content-title {
        font-size: 1.375rem;
    }

    .bmr-event-template .content-text {
        font-size: 0.9375rem;
    }
}

@media (min-width: 968px) {
    .bmr-event-template .bmr-event-container {
        padding: 1.5rem 1rem;
    }

    .bmr-event-template .bmr-single-page-layout {
        grid-template-columns: 1fr 360px;
    }

    .bmr-event-template .bmr-single-page-container {
        padding: 0;
    }

    .bmr-event-template .sidebar {
        display: block;
        position: sticky;
        top: 80px;
        max-height: calc(100vh - 100px);
        overflow-y: auto;
        padding: 0 0.75rem;
        margin-top: 0; /* Reset margin trên desktop */
        transition: var(--transition);
        z-index: 50;
    }

    .bmr-event-template .sidebar::-webkit-scrollbar {
        width: 4px;
    }

    .bmr-event-template .sidebar::-webkit-scrollbar-thumb {
        background: var(--gray-300);
        border-radius: 2px;
    }

    .bmr-event-template .bmr-event-hero-image {
        height: 400px;
    }

    .bmr-event-template .bmr-event-hero-content {
        padding: 2rem;
    }
    
    .bmr-event-template .bmr-event-hero-title {
        font-size: 2rem;
    }

    .bmr-event-template .bmr-event-hero-subtitle {
        font-size: 1rem;
    }
    
    .bmr-event-template .bmr-nav-tab {
        padding: 1.25rem 1.5rem;
        font-size: 0.95rem;
    }
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .bmr-event-template .bmr-event-container {
        padding: 0 0.75rem;
    }
    
    .bmr-event-template .bmr-single-page-layout {
        grid-template-columns: 1fr;
    }
    
    /* Sidebar trên mobile */
    .bmr-event-template .sidebar {
        display: block !important;
        position: relative !important;
        top: auto !important;
        max-height: none !important;
        overflow-y: visible !important;
        margin-top: 2rem !important;
        padding: 0 1rem !important;
        z-index: auto !important;
    }
    
    /* Widget cards trên mobile */
    .bmr-event-template .sidebar .widget-card {
        margin-bottom: 1.5rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    }
    
    /* Countdown timer trên mobile */
    .bmr-event-template .sidebar .countdown-timer {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    /* Action buttons trên mobile */
    .bmr-event-template .sidebar .action-buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .bmr-event-template .bmr-nav-tab {
        padding: 0.5rem 0.75rem;
        font-size: 0.75rem;
        min-width: auto;
    }
    
    .bmr-event-template .bmr-sticky-nav .bmr-event-container::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 20px;
        background: linear-gradient(to right, transparent, var(--white));
        pointer-events: none;
        z-index: 1;
    }

    .bmr-event-template .bmr-event-content-section {
        padding: 1rem 0;
        scroll-margin-top: 60px;
    }

    .bmr-event-template .bmr-event-content-section:first-child {
        padding-top: 0.5rem;
    }

    .bmr-event-template .bmr-event-content-section:last-child {
        padding-bottom: 0.5rem;
    }

    .bmr-event-template .bmr-single-page-content {
        padding: 0.5rem;
        border-radius: 2px;
    }

    .bmr-event-template .bmr-single-page-container {
        padding: 0 0.75rem;
    }
    
    .bmr-single-page-container {
        padding: 0!important;
    }

    .bmr-event-template .bmr-single-page-layout {
        margin: 0;
        padding: 0;
    }
}

/* Mobile Sticky Register Bar - Always Visible, Full Width, Expandable */
.bmr-mobile-sticky-register {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    border-top: 2px solid var(--gold);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.bmr-mobile-register-container {
    display: flex;
    flex-direction: column;
    padding: 0.75rem 1rem;
    gap: 0.5rem;
    min-height: 60px;
    position: relative;
}

.bmr-mobile-notification {
    font-size: 0.75rem;
    color: var(--gray-600);
    line-height: 1.3;
    margin-bottom: 0.25rem;
}

.bmr-mobile-main-row {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Compact Price Section with Arrow */
.bmr-mobile-price-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    user-select: none;
    flex: 1;
    min-width: 0;
}

.bmr-mobile-price-label {
    font-size: 0.75rem;
    color: var(--gray-600);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    margin-bottom: 0.125rem;
}

.bmr-mobile-price-arrow {
    font-size: 0.625rem;
    color: var(--gold);
    transition: transform 0.3s ease;
    font-weight: 700;
}

.bmr-mobile-price-arrow.expanded {
    transform: rotate(180deg);
}

.bmr-mobile-price-value {
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--gold-dark);
    line-height: 1;
}

/* Expandable Event Details */
.bmr-mobile-event-details {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    padding: 1rem;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

.bmr-mobile-event-details.expanded {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.bmr-mobile-event-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.bmr-mobile-event-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bmr-mobile-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--gray-700);
}

.bmr-mobile-meta-icon {
    font-size: 0.75rem;
    color: var(--gold);
    width: 16px;
    text-align: center;
}

.bmr-mobile-register-btn {
    flex-shrink: 0;
    padding: 0.75rem 1rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-dark));
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-size: 0.8125rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(255, 184, 0, 0.3);
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    white-space: nowrap;
}

.bmr-mobile-register-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 184, 0, 0.4);
}

.bmr-mobile-register-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(255, 184, 0, 0.3);
}

/* Always visible on mobile */
@media (max-width: 968px) {
    .bmr-mobile-sticky-register {
        display: block !important;
    }
    
    /* Add bottom padding to body to prevent content overlap */
    body {
        padding-bottom: 80px !important;
    }
}

/* Ẩn trên tablet nhỏ nếu cần */
@media (min-width: 769px) and (max-width: 968px) {
    .bmr-mobile-sticky-register {
        display: none; /* Có thể bỏ comment nếu muốn ẩn trên tablet */
    }
}

/* Event Status Buttons */
.bmr-event-template .bmr-upcoming-btn {
    background: rgba(255, 183, 0, 0.336);
    color: var(--gold);
    border: 2px solid var(--gold);
    position: relative;
    overflow: hidden;
    animation: bmr-glow-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.4);
}

@keyframes bmr-glow-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 8px rgba(255, 184, 0, 0.1);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 184, 0, 0);
    }
}

.bmr-event-template .bmr-upcoming-btn:hover {
    background: rgba(228, 50, 50, 0.493);
    border-color: var(--gold-dark);
    color: var(--gold-dark);
    animation: bmr-glow-pulse-fast 1s ease-in-out infinite;
}

@keyframes bmr-glow-pulse-fast {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(255, 184, 0, 0.2);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 184, 0, 0);
    }
}

.bmr-event-template .bmr-closed-btn {
    background: var(--white);
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.bmr-event-template .bmr-closed-btn:hover {
    background: var(--gray-100);
    border-color: var(--gray-500);
    color: var(--gray-900);
}

/* Mobile Status Buttons - Horizontal Layout */
.bmr-mobile-upcoming .bmr-mobile-status-btn {
    background: var(--gold-light);
    color: var(--gold-dark);
    border: 2px solid var(--gold);
    animation: bmr-glow-pulse 2s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(255, 184, 0, 0.4);
}

.bmr-mobile-closed .bmr-mobile-status-btn {
    background: var(--gray-100);
    color: var(--gray-700);
    border: 2px solid var(--gray-300);
}

.bmr-mobile-status-btn {
    flex-shrink: 0;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8125rem;
    letter-spacing: 0.3px;
    text-align: center;
    position: relative;
    text-transform: uppercase;
    transition: var(--transition);
    white-space: nowrap;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .bmr-event-template .bmr-upcoming-btn,
    .bmr-mobile-upcoming .bmr-mobile-status-btn {
        animation: none !important;
        box-shadow: 0 0 0 2px rgba(255, 184, 0, 0.3) !important;
    }
}

/* Touch optimizations */
@media (hover: none) {
    .bmr-event-template .bmr-nav-tab,
    .bmr-event-template .distance-card,
    .bmr-event-template .expand-btn,
    .bmr-event-template .action-btn {
        -webkit-tap-highlight-color: rgba(255, 184, 0, 0.1);
    }
    
    .bmr-mobile-register-btn {
        -webkit-tap-highlight-color: rgba(255, 184, 0, 0.2);
    }
}
