/* ==========================================================================
   EvPrice 실시간 견적 선택 페이지 - 이미지 오버레이 뱃지 스타일 튜닝
   ========================================================================== */

.btn-brand-card, 
.btn-brand-card *{
    cursor: pointer !important;
}

.btn-brand-card, 
.ev-model-card, 
.brand-sub,
.brand-img-container img {
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* 좌측 빠른 찾기 텍스트 수평 라인 높이 정밀 튜닝 */
.filter-title-text {
    padding-top: 6px !important;
    font-size: 0.83rem !important;
    letter-spacing: -0.3px;
}

.gap-3 {
    column-gap: 12px !important;
}
.rg-2 {
    row-gap: 10px !important;
}

.filter-quick-btn {
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    letter-spacing: -0.2px;
}

.list-group-item {
    border-color: var(--bs-border-color-translucent) !important;
}
.list-group-item .badge {
    padding: 0.35em 0.65em !important;
    font-weight: 600 !important;
    font-size: 78% !important;
}

/* 제조사 브랜드 이미지 컨테이너 규격 */
.brand-img-container {
    width: 100%;
    height: 55px; 
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding: 2px;
}
.brand-img-container img {
    max-width: 95%;  
    max-height: 100%;
    object-fit: contain;
}

.btn-brand-card {
    padding: 1.4rem 0.75rem !important; 
}
.btn-brand-card:hover, .ev-model-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.07) !important;
}

/* [신설] 차량 정보카드 이미지 내부 오버레이 뱃지 전용 커스텀 스타일 가이드 */
.ev-model-card .position-absolute .badge {
    font-size: 7.2pt !important;
    font-weight: 600 !important;
    letter-spacing: -0.1px;
    backdrop-filter: blur(4px); /* 뒤 배경 이미지를 은은하게 블러처리하여 가독성 독점 */
}

/* 라이트모드 뱃지 보정 사양 (반투명 스킨화) */
.ev-model-card .bg-success {
    background-color: rgba(25, 135, 84, 0.9) !important;
}
.ev-model-card .bg-primary {
    background-color: rgba(13, 110, 253, 0.9) !important;
}

/* 다크모드 하이라이팅 역전 필터 보정 */
/* [기존] 다크모드 - 초록색 (Success: 배터리 제조사 등) */
[data-bs-theme="dark"] .ev-model-card .bg-success {
    background-color: rgba(40, 167, 69, 0.2) !important;
    color: #47c965 !important;
    border-color: rgba(40, 167, 69, 0.35) !important;
}

/* [기존] 다크모드 - 파란색 (Primary: 주행거리 등) */
[data-bs-theme="dark"] .ev-model-card .bg-primary {
    background-color: rgba(110, 168, 254, 0.2) !important;
    color: #6ea8fe !important;
    border-color: rgba(110, 168, 254, 0.35) !important;
}

/* [신설] 다크모드 - 노란/주황색 (Warning: V2L 차박 캠핑 등) */
[data-bs-theme="dark"] .ev-model-card .bg-warning {
    background-color: rgba(255, 193, 7, 0.15) !important;
    color: #ffda6a !important;
    border-color: rgba(255, 193, 7, 0.3) !important;
}

/* [신설] 다크모드 - 민트/하늘색 (Info: 국산 배터리 탑재 등) */
[data-bs-theme="dark"] .ev-model-card .bg-info {
    background-color: rgba(13, 202, 240, 0.15) !important;
    color: #6edff6 !important;
    border-color: rgba(13, 202, 240, 0.3) !important;
}

/* [신설] 다크모드 - 빨간색 (Danger: 긴급/인기 사양 등) */
[data-bs-theme="dark"] .ev-model-card .bg-danger {
    background-color: rgba(220, 53, 69, 0.2) !important;
    color: #ea868f !important;
    border-color: rgba(220, 53, 69, 0.35) !important;
}

/* [신설] 다크모드 - 회색 (Secondary: 일반 규격 등) */
[data-bs-theme="dark"] .ev-model-card .bg-secondary {
    background-color: rgba(108, 117, 125, 0.25) !important;
    color: #dee2e6 !important;
    border-color: rgba(108, 117, 125, 0.4) !important;
}

/* 브랜드 선택(Active) 피드백 */
.btn-brand-card.active {
    border-color: #0d6efd !important;
    background-color: rgba(13, 110, 253, 0.07) !important;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.12) !important;
}
.btn-brand-card.active .brand-sub {
    color: #0d6efd !important;
}

[data-bs-theme="dark"] .btn-brand-card.active {
    border-color: #6ea8fe !important;
    background-color: rgba(110, 168, 254, 0.15) !important;
    box-shadow: 0 4px 15px rgba(110, 168, 254, 0.2) !important;
}
[data-bs-theme="dark"] .btn-brand-card.active .brand-sub {
    color: #6ea8fe !important;
}

[data-bs-theme="dark"] .brand-img-container img {
    filter: brightness(0) invert(1) opacity(0.65); 
}
.btn-brand-card.active .brand-img-container img,
[data-bs-theme="dark"] .btn-brand-card.active .brand-img-container img {
    filter: none !important; 
    opacity: 1 !important;  
}