.event-selector-page {
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #f5f5f5;
}

.tab-buttons-container {
    display: flex;
    background: var(--top-bar-bg);
    flex-shrink: 0;
    align-items: stretch;
}

.back-btn-tab {
    background: var(--top-bar-bg);
    border: none;
    color: white;
    font-size: 20px;
    padding: 0 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.back-btn-tab:hover {
    background: rgba(255, 255, 255, 0.1);
}

.tab-buttons {
    display: flex;
    flex: 1;
    border-bottom: 1px solid #e0e0e0;
}

.tab-btn {
    flex: 1;
    padding: 16px;
    background: var(--top-bar-bg);
    border: none;
    border-bottom: 3px solid transparent;
    font-size: 14px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tab-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.9);
}

.tab-btn.active {
    color: white;
    border-bottom-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn i {
    font-size: 16px;
}

.events-list {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
}

.loading-state {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
    gap: 12px;
}

.loading-state i {
    font-size: 32px;
    color: var(--primary-color);
}

.no-events {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #999;
    text-align: center;
}

.no-events i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.no-events p {
    font-size: 16px;
    margin: 0;
}

.event-card {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.event-card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    transform: translateY(-2px);
}

.event-card.selected {
    border-color: var(--primary-color);
    background: #fff8f8;
}

.event-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}

.event-card-header h3 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0;
    flex: 1;
}

.selected-icon {
    color: var(--primary-color);
    font-size: 20px;
}

.event-card-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.event-info {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #666;
}

.event-info i {
    width: 16px;
    text-align: center;
    color: #999;
}

.event-distance {
    color: var(--primary-color);
    font-weight: 500;
}

.event-distance i {
    color: var(--primary-color);
}
