/* 휴게소 주유소 검색 페이지 스타일 */

/* 기본 변수 설정 */
:root {
    --primary-color: #ff6b35;
    --secondary-color: #f7931e;
    --accent-color: #004e98;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --light-color: #f8f9fa;
    --dark-color: #212529;
    --border-color: #dee2e6;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

/* 메인 컨테이너 */
.fuel-main {
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 0;
}

.fuel-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* 헤더 섹션 */
.fuel-header {
    text-align: center;
    margin-bottom: 3rem;
    color: white;
}

.fuel-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.fuel-title i {
    color: var(--secondary-color);
    margin-right: 1rem;
}

.fuel-description {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* 검색 팁 */
.search-tips {
    position: relative;
    display: inline-block;
    margin-top: 1rem;
}

.tip-button {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    border: 2px solid rgba(255, 255, 255, 0.4);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.4s ease;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.tip-button:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 255, 255, 0.6);
}

.tip-button i {
    font-size: 1.1rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.tip-content {
    position: absolute;
    top: calc(100% + 15px);
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    color: var(--dark-color);
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(255, 255, 255, 0.1);
    width: 450px;
    max-width: 90vw;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transform: translateX(-50%) translateY(-10px) scale(0.95);
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 1px solid rgba(52, 152, 219, 0.2);
}

.tip-content.show {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0) scale(1);
}

.tip-content::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
    border: 1px solid rgba(52, 152, 219, 0.2);
    border-bottom: none;
    border-right: none;
    transform: translateX(-50%) rotate(45deg);
}

.tip-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 16px 16px 0 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tip-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.tip-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tip-header i {
    font-size: 1.3rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.tip-body {
    padding: 1.25rem;
}

.tip-sections {
    display: grid;
    gap: 1rem;
}

.tip-section {
    background: rgba(52, 152, 219, 0.05);
    border-radius: 12px;
    padding: 1rem;
    border-left: 4px solid #3498db;
    transition: all 0.3s ease;
}

.tip-section:hover {
    background: rgba(52, 152, 219, 0.08);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.15);
}

.tip-section-title {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.tip-section-title i {
    color: #3498db;
    font-size: 1.1rem;
}

.tip-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.tip-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: #4a5568;
}

.tip-item-icon {
    color: #27ae60;
    font-size: 0.9rem;
    margin-top: 0.1rem;
    flex-shrink: 0;
}

.tip-item-text {
    flex: 1;
}

.tip-highlight {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.85em;
}

.tip-footer {
    background: rgba(46, 204, 113, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 0 0 16px 16px;
    text-align: center;
    border-top: 1px solid rgba(46, 204, 113, 0.2);
}

.tip-footer-text {
    color: #27ae60;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.tip-footer i {
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* 검색 섹션 */
.search-section {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 2rem;
    overflow: hidden;
}

.fuel-form {
    padding: 2rem;
}

.search-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.search-item {
    display: flex;
    flex-direction: column;
}

.search-item label {
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
}

.search-item label i {
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.search-item select {
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: white;
}

.search-item select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

/* 검색 버튼들 */
.search-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.fuel-button {
    padding: 0.75rem 2rem;
    border: none;
    border-radius: var(--border-radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.fuel-button.primary {
    background: var(--primary-color);
    color: white;
}

.fuel-button.primary:hover {
    background: #e5602e;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.fuel-button.secondary {
    background: var(--light-color);
    color: var(--dark-color);
    border: 2px solid var(--border-color);
}

.fuel-button.secondary:hover {
    background: var(--border-color);
}

.fuel-button.tertiary {
    background: var(--warning-color);
    color: var(--dark-color);
}

.fuel-button.tertiary:hover {
    background: #e0a800;
}

/* 로딩 애니메이션 */
.loading-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 3rem;
    text-align: center;
    margin: 2rem 0;
}

.loading-content {
    max-width: 300px;
    margin: 0 auto;
}

.spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
}

.fuel-pump {
    font-size: 3rem;
    color: var(--primary-color);
    animation: pump 1.5s ease-in-out infinite;
}

@keyframes pump {
    0%, 100% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.1) rotate(5deg); }
}

.progress-bar {
    width: 100%;
    height: 4px;
    background: var(--light-color);
    border-radius: 2px;
    overflow: hidden;
    margin-top: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    animation: progress 2s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    50% { width: 70%; }
    100% { width: 100%; }
}

/* 에러 메시지 */
.error-container {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 3rem;
    text-align: center;
    margin: 2rem 0;
    border-left: 5px solid var(--danger-color);
}

.error-content i {
    font-size: 3rem;
    color: var(--danger-color);
    margin-bottom: 1rem;
}

.error-content h3 {
    color: var(--danger-color);
    margin-bottom: 1rem;
}

.retry-button {
    background: var(--danger-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.retry-button:hover {
    background: #c82333;
}

/* 결과 섹션 */
.fuel-results {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin: 2rem 0;
    overflow: hidden;
}

/* 결과 헤더 */
.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background: var(--light-color);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 1rem;
}

.result-summary {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
}

.route-name {
    color: var(--primary-color);
    font-weight: 700;
}

.highlight {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.2em;
}

.result-actions {
    display: flex;
    gap: 0.5rem;
}

.view-toggle, .export-button {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.view-toggle:hover, .export-button:hover {
    background: var(--light-color);
}

/* 필터 바 */
.filter-bar {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border: 1px solid #e1e8f0;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.filter-item {
    display: flex;
    flex-direction: column;
}

.filter-item label {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 14px;
}

/* 연료 타입 필터 스타일 */
.fuel-type-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 5px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #ddd;
}

.radio-label:hover {
    background: rgba(52, 152, 219, 0.1);
    border-color: #3498db;
}

.radio-label input[type="radio"]:checked + span,
.radio-label:has(input[type="radio"]:checked) {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    border-color: #2980b9;
    font-weight: 600;
}

.radio-label input[type="radio"] {
    margin: 0;
    margin-right: 5px;
}

/* 가격 범위 슬라이더 스타일 */
.price-range {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.price-range input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #ddd;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

.price-range input[type="range"]::-webkit-slider-thumb {
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    cursor: pointer;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
}

.price-range input[type="range"]::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 6px rgba(52, 152, 219, 0.3);
}

.range-label {
    font-size: 13px;
    color: #555;
    text-align: center;
    font-weight: 500;
}

/* 시설 필터 스타일 */
.facility-filters {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    font-size: 14px;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid #ddd;
}

.checkbox-label:hover {
    background: rgba(46, 204, 113, 0.1);
    border-color: #2ecc71;
}

.checkbox-label:has(input[type="checkbox"]:checked) {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    border-color: #27ae60;
    font-weight: 600;
}

.checkbox-label input[type="checkbox"] {
    margin: 0;
}

/* 필터 액션 버튼 */
.filter-actions {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    grid-column: 1 / -1;
}

.filter-actions .fuel-button {
    min-width: 120px;
}

/* 가격 강조 스타일 */
.price-item.highlighted {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 2px solid #f39c12;
    border-radius: 8px;
    padding: 10px;
    position: relative;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(243, 156, 18, 0.2);
}

.price-item.highlighted .price-value {
    color: #d68910;
    font-weight: 700;
    font-size: 1.1em;
}

.price-item.highlighted .price-label {
    color: #b7950b;
    font-weight: 600;
}

.price-item.dimmed {
    opacity: 0.4;
    filter: grayscale(50%);
}

.price-star {
    position: absolute;
    top: -5px;
    right: -5px;
    color: #f39c12;
    font-size: 12px;
    animation: sparkle 1.5s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.8;
    }
}

/* 결과 리스트 */
.fuel-list {
    padding: 1rem;
}

.fuel-item {
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: var(--transition);
}

.fuel-item:hover {
    box-shadow: var(--shadow);
    transform: translateY(-2px);
}

.fuel-item-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fuel-item-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin: 0;
}

.fuel-item-route {
    font-size: 0.9rem;
    opacity: 0.9;
}

.fuel-item-direction {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.fuel-item-content {
    padding: 1.5rem;
}

.fuel-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.fuel-info-section h4 {
    color: var(--accent-color);
    margin-bottom: 0.8rem;
    font-size: 1.1rem;
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.3rem;
}

.fuel-prices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 1rem;
}

.price-item {
    text-align: center;
    padding: 1rem;
    background: var(--light-color);
    border-radius: var(--border-radius);
}

.price-label {
    font-size: 0.9rem;
    color: var(--dark-color);
    margin-bottom: 0.3rem;
}

.price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-color);
}

.price-value.unavailable {
    color: var(--border-color);
}

.fuel-basic-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.info-item i {
    color: var(--primary-color);
    width: 16px;
}

.fuel-facilities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.facility-tag {
    background: var(--light-color);
    color: var(--accent-color);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
}

.fuel-item-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    background: var(--light-color);
    border-top: 1px solid var(--border-color);
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.9rem;
}

.action-btn:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.update-time {
    font-size: 0.8rem;
    color: #6c757d;
}

/* 모달 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1200;
}

.modal-content {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.modal-content.large {
    max-width: 800px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    background: var(--light-color);
}

.modal-header h3 {
    margin: 0;
    color: var(--dark-color);
}

.close-modal {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--dark-color);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.close-modal:hover {
    background: var(--border-color);
}

.modal-body {
    padding: 1.5rem;
}

/* 페이지네이션 */
.pagination-container {
    display: flex;
    justify-content: center;
    padding: 2rem;
}

.pagination {
    display: flex;
    gap: 0.5rem;
    align-items: center;
}

.page-btn {
    padding: 0.5rem 0.8rem;
    border: 1px solid var(--border-color);
    background: white;
    color: var(--dark-color);
    cursor: pointer;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.page-btn:hover {
    background: var(--light-color);
}

.page-btn.active {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .fuel-title {
        font-size: 2rem;
    }
    
    .search-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .search-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .result-header {
        flex-direction: column;
        align-items: stretch;
        text-align: center;
    }
    
    .filter-bar {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .fuel-type-filters,
    .facility-filters {
        justify-content: center;
    }
    
    .radio-label,
    .checkbox-label {
        font-size: 13px;
        padding: 6px 10px;
    }
    
    .filter-actions {
        flex-direction: column;
    }
    
    .filter-actions .fuel-button {
        width: 100%;
        min-width: auto;
    }
    
    .fuel-info-grid {
        grid-template-columns: 1fr;
    }
    
    .fuel-prices {
        grid-template-columns: 1fr;
    }
    
    .fuel-item-header {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .fuel-item-actions {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tip-content {
        width: 95vw;
        max-width: 380px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .tip-content.show {
        transform: translateX(-50%) translateY(0) scale(1);
    }
    
    .tip-sections {
        gap: 1rem;
    }
    
    .tip-section {
        padding: 1rem;
    }
    
    .tip-item {
        font-size: 0.9rem;
        gap: 0.5rem;
    }
    
    .tip-header {
        padding: 1rem 1.25rem;
    }
    
    .tip-header h4 {
        font-size: 1.1rem;
    }
    
    .tip-body {
        padding: 1.25rem;
    }
}

@media (max-width: 480px) {
    .fuel-container {
        padding: 0 0.5rem;
    }
    
    .fuel-form {
        padding: 1rem;
    }
    
    .fuel-item-content {
        padding: 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .action-btn {
        width: 100%;
        text-align: center;
    }
}

/* 다크모드 지원 */
@media (prefers-color-scheme: dark) {
    :root {
        --light-color: #2d3748;
        --dark-color: #f7fafc;
        --border-color: #4a5568;
    }
    
    .fuel-main {
        background: linear-gradient(135deg, #2d3748 0%, #4a5568 100%);
    }
    
    .search-section,
    .fuel-results,
    .loading-container,
    .error-container {
        background: #1a202c;
        color: var(--dark-color);
    }
    
    .modal-content {
        background: #1a202c;
        color: var(--dark-color);
    }
}

/* 이벤트 배지 스타일 */
.event-badge-container {
    display: inline-block;
    margin-left: 10px;
}

.event-badge {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: white;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 3px;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 6px rgba(255, 107, 53, 0.3);
}

.event-badge i {
    font-size: 10px;
}

/* 상세 모달 탭 스타일 */
.detail-tabs {
    width: 100%;
}

.tab-buttons {
    display: flex;
    border-bottom: 2px solid #e1e8f0;
    margin-bottom: 20px;
    background: #f8f9fa;
    border-radius: 8px 8px 0 0;
}

.tab-btn {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: #6c757d;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}

.tab-btn:first-child {
    border-radius: 8px 0 0 0;
}

.tab-btn:last-child {
    border-radius: 0 8px 0 0;
}

.tab-btn:hover {
    background: rgba(52, 152, 219, 0.1);
    color: #3498db;
}

.tab-btn.active {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #3498db;
}

.tab-btn .event-badge {
    background: rgba(255, 255, 255, 0.2);
    color: inherit;
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 5px;
}

.tab-btn.active .event-badge {
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

.tab-content {
    min-height: 300px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

/* 상세 정보 스타일 개선 */
.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.detail-section h4 {
    color: #2c3e50;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-row {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.info-row:last-child {
    border-bottom: none;
}

.info-row strong {
    min-width: 100px;
    color: #555;
}

.detail-prices {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 15px;
}

.price-detail {
    text-align: center;
    padding: 15px;
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f2ff 100%);
    border-radius: 8px;
    border: 1px solid #e1e8f0;
}

.price-detail span:first-child {
    display: block;
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.price-detail .price {
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
}

/* 이벤트 섹션 스타일 */
.events-section h4 {
    margin-bottom: 20px;
}

.event-item {
    background: linear-gradient(135deg, #fff3cd 0%, #ffeaa7 100%);
    border: 1px solid #f39c12;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.event-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.event-title {
    color: #d68910;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
}

.event-period {
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #856404;
    font-weight: 600;
}

.event-content {
    color: #856404;
    line-height: 1.5;
}

/* 푸드메뉴 섹션 스타일 */
.food-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.food-menu-section {
    border: 1px solid #e1e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.menu-section-title {
    background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
    color: white;
    padding: 12px 15px;
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 15px;
}

.menu-item {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

.menu-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.menu-name {
    font-weight: 600;
    color: #2c3e50;
    flex: 1;
}

.menu-price {
    color: #e74c3c;
    font-weight: 700;
    font-size: 14px;
}

.menu-desc {
    color: #666;
    font-size: 13px;
    margin-bottom: 5px;
    line-height: 1.4;
}

.menu-materials {
    color: #7f8c8d;
    font-size: 12px;
    margin-bottom: 5px;
}

.menu-season {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 600;
    display: inline-block;
}

/* 편의시설 상세 스타일 */
.facilities-section h4 {
    margin-bottom: 20px;
}

.facilities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.facility-detail-item {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4edda 100%);
    border: 1px solid #27ae60;
    border-radius: 8px;
    padding: 15px;
}

.facility-name {
    font-weight: 600;
    color: #155724;
    margin-bottom: 8px;
    font-size: 15px;
}

.facility-desc {
    color: #155724;
    font-size: 13px;
    margin-bottom: 8px;
    line-height: 1.4;
}

.facility-hours {
    background: rgba(255, 255, 255, 0.7);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    color: #155724;
    font-weight: 600;
    display: inline-block;
}

/* 공통 no-data 스타일 */
.no-data {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-style: italic;
}

/* 반응형 디자인 추가 */
@media (max-width: 768px) {
    .tab-buttons {
        flex-wrap: wrap;
    }
    
    .tab-btn {
        flex: none;
        min-width: 50%;
    }
    
    .detail-grid {
        grid-template-columns: 1fr;
    }
    
    .detail-prices {
        grid-template-columns: 1fr;
    }
    
    .menu-grid {
        grid-template-columns: 1fr;
    }
    
    .facilities-grid {
        grid-template-columns: 1fr;
    }
    
    .event-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .menu-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

/* 편의시설 관련 스타일 개선 */
.facility-tag.basic {
    background: #e9ecef;
    color: #6c757d;
    opacity: 0.7;
}

.facility-tag.enhanced {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    animation: fadeInEnhanced 0.5s ease-in-out;
}

.facilities-loading {
    color: #6c757d;
    font-size: 12px;
    font-style: italic;
    padding: 4px 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.facilities-loading i {
    animation: spin 1s linear infinite;
}

@keyframes fadeInEnhanced {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
} 