/**
 * 보험 종합 포털 - 방문고객센터 검색 결과 스타일
 */

/* 방문센터 그리드 */
.visit-centers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

/* 방문센터 카드 */
.visit-center-card {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 16px;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.visit-center-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: #3b82f6;
}

/* 센터 헤더 */
.center-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid #f3f4f6;
}

.center-company {
    display: flex;
    align-items: center;
    gap: 8px;
}

.company-logo-mini {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.company-name {
    font-size: 14px;
    font-weight: 600;
    color: #1f2937;
}

.center-type-badge {
    padding: 4px 8px;
    background: #dbeafe;
    color: #1e40af;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 500;
}

/* 센터 본문 */
.center-body {
    flex: 1;
}

.center-name {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.center-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.info-row {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: #6b7280;
}

.info-row i {
    margin-top: 2px;
    color: #9ca3af;
    min-width: 16px;
}

.phone-link {
    color: #3b82f6;
    text-decoration: none;
    font-weight: 500;
}

.phone-link:hover {
    text-decoration: underline;
}

/* 센터 액션 */
.center-actions {
    padding-top: 12px;
    border-top: 1px solid #f3f4f6;
}

.btn-view-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    transform: translateX(2px);
}

/* 전체 보기 */
.view-all-centers {
    margin-top: 16px;
    text-align: center;
}

.btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: white;
    border: 2px solid #3b82f6;
    color: #3b82f6;
    text-decoration: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-view-all:hover {
    background: #3b82f6;
    color: white;
    transform: scale(1.02);
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .visit-centers-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .visit-center-card {
        padding: 14px;
    }

    .center-name {
        font-size: 15px;
    }

    .info-row {
        font-size: 13px;
    }

    .btn-view-more {
        width: 100%;
        justify-content: center;
    }
}

/* 검색 결과 카테고리 타이틀 스타일 추가 */
.result-category-title i.fa-map-marker-alt {
    color: #3b82f6;
}
