/* 워시파인더 커스텀 스타일 */

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* 히어로 섹션 */
.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: white;
    padding: 3rem 0;
}

.hero-section h1 {
    font-size: 2rem;
    font-weight: 700;
}

.hero-search .form-control {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    font-size: 1.1rem;
    border: none;
}

.hero-search .btn {
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
}

/* 시도 카드 */
.sido-card {
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.sido-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

/* 세차장 카드 */
.wash-card {
    border-left: 4px solid #0d6efd;
    transition: box-shadow 0.2s;
}

.wash-card:hover {
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

/* 상세 페이지 정보 테이블 */
.detail-table th {
    width: 140px;
    background-color: #f8f9fa;
    white-space: nowrap;
}

/* 지도 */
#map {
    height: 400px;
    border-radius: 8px;
    z-index: 1;
}

.nearby-map {
    height: 500px;
}

/* 페이지네이션 */
.pagination .page-link {
    color: #0d6efd;
}

.pagination .page-item.active .page-link {
    background-color: #0d6efd;
    border-color: #0d6efd;
}

/* 배지 */
.badge-wash-type {
    background-color: #e7f1ff;
    color: #0d6efd;
    font-weight: 500;
}

/* 반응형 */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }

    .hero-section h1 {
        font-size: 1.5rem;
    }

    #map, .nearby-map {
        height: 300px;
    }

    .detail-table th {
        width: 100px;
        font-size: 0.875rem;
    }

    /* 모바일 터치 영역 최소 44px */
    .pagination .page-link {
        min-width: 44px;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .btn-sm {
        min-height: 44px;
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }

    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
    }

    .sido-card .card-body {
        padding: 0.75rem;
    }

    .breadcrumb {
        font-size: 0.8rem;
    }
}

/* 검색 결과 하이라이트 */
.search-highlight {
    background-color: #fff3cd;
    padding: 0 2px;
    border-radius: 2px;
}

/* 로딩 스피너 */
.loading-spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 3rem;
}

/* FAQ 아코디언 */
.faq-accordion .accordion-button:not(.collapsed) {
    background-color: #e7f1ff;
    color: #0d6efd;
}
