/* 로딩 화면 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a8a 0%, #374151 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loading-content {
    text-align: center;
    color: white;
}

/* 서울시 로고 애니메이션 */
.seoul-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    filter: drop-shadow(0 4px 20px rgba(255, 255, 255, 0.3));
    animation: logoFloat 2s ease-in-out infinite;
}

.loading-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 500;
}

/* 데이터 로딩 오버레이 */
.data-loading-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.data-loading-content {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.spinner {
    width: 24px;
    height: 24px;
    border: 2px solid #e5e7eb;
    border-top: 2px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* 검색 로딩 */
.search-loading {
    margin-bottom: 1rem;
}

.search-loading .progress {
    height: 3px;
    background-color: #e0e0e0;
    overflow: hidden;
    position: relative;
}

.search-loading .progress-bar {
    width: 30%;
    height: 100%;
    background: #4285f4;
    position: absolute;
    animation: progress 1.5s ease-in-out infinite;
}
