/* 기본 스타일 - 기능 중심, 간단한 디자인 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 16px;
}

header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

header h1 {
    font-size: 1.5rem;
}

.credit {
    position: absolute;
    right: 0;
    top: -10px;
    font-size: 0.7rem;
    color: #999;
}

/* 필터 섹션 */
.filter-section {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    margin-bottom: 16px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.filter-group {
    margin-bottom: 16px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-group>label {
    display: block;
    font-weight: bold;
    margin-bottom: 8px;
    font-size: 0.9rem;
}

/* 버튼 그룹 */
.button-group {
    display: flex;
    gap: 8px;
}

.filter-btn {
    flex: 1;
    padding: 10px 16px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.filter-btn:hover {
    background: #f0f0f0;
}

.filter-btn.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

/* 체크박스 */
.filter-group:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-size: 0.85rem;
    white-space: nowrap;
}

/* 시간표 섹션 */
.schedule-section {
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.current-time {
    text-align: center;
    padding: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.route-name {
    text-align: center;
    font-weight: bold;
    margin-bottom: 12px;
    color: #555;
    font-size: 0.95rem;
}

.schedule-list {
    list-style: none;
    max-height: 500px;
    overflow-y: auto;
}

.schedule-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px;
    border-bottom: 1px solid #eee;
}

.schedule-item:last-child {
    border-bottom: none;
}

.schedule-item.highlight {
    background: #fffde7;
    border-left: 3px solid #ffc107;
}

.schedule-item.passed {
    opacity: 0.5;
}

.schedule-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.schedule-time {
    font-size: 1.1rem;
    font-weight: 600;
}

.schedule-details {
    font-size: 0.85rem;
    color: #666;
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
}

.route-badge {
    background: #e3f2fd;
    color: #1976d2;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.note-badge {
    background: #fff3e0;
    color: #e65100;
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.favorite-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.3;
    transition: opacity 0.2s;
}

.favorite-btn:hover {
    opacity: 0.6;
}

.favorite-btn.active {
    opacity: 1;
    color: #ffc107;
}

/* 빈 상태 */
.empty-state {
    text-align: center;
    padding: 40px;
    color: #999;
}

/* 사진으로 보기 섹션 */
.image-section {
    margin-top: 16px;
    text-align: center;
}

.image-toggle-btn {
    width: 100%;
    padding: 12px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.2s;
}

.image-toggle-btn:hover {
    background: #f0f0f0;
}

.image-container {
    margin-top: 12px;
    background: #fff;
    padding: 16px;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.image-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
}

.image-tab {
    flex: 1;
    padding: 8px;
    border: 1px solid #ddd;
    background: #fff;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
}

.image-tab.active {
    background: #333;
    color: #fff;
    border-color: #333;
}

.image-container img {
    width: 100%;
    border-radius: 4px;
}