/**
 * 정비 페이지 전용 스타일
 * - 공통 헤더/푸터는 header.css, footer.css에서 관리
 * - CSS 변수는 variables.css에서 정의
 */

/* =====================================
 * 기본 스타일
 * ===================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family-base, 'Pretendard', -apple-system, BlinkMacSystemFont, sans-serif);
    background-color: var(--bg-secondary, #f8f9fa);
    color: var(--text-primary, #333);
}

/* =====================================
 * 메인 레이아웃
 * ===================================== */
.main-container {
    max-width: var(--container-max, 1440px);
    margin: 0 auto;
    padding: var(--space-8, 32px) var(--space-5, 20px) var(--space-24, 100px);
    display: grid;
    grid-template-columns: 320px minmax(0, 1fr);
    gap: var(--space-8, 32px);
    align-items: flex-start;
}

.mobile-filter-btn {
    display: none;
    position: fixed;
    bottom: 80px;
    right: 24px;
    background: var(--gradient-primary, linear-gradient(135deg, #5e72e4 0%, #825ee4 100%));
    color: var(--text-inverse, #fff);
    border: none;
    border-radius: var(--radius-full, 40px);
    padding: var(--space-4, 14px) var(--space-6, 24px);
    font-weight: var(--font-weight-bold, 700);
    font-size: var(--font-size-sm, 14px);
    box-shadow: var(--shadow-primary-lg, 0 12px 30px rgba(94, 114, 228, 0.35));
    gap: var(--space-2, 8px);
    align-items: center;
    z-index: var(--z-fixed, 900);
}

/* =====================================
 * 필터 사이드바
 * ===================================== */
.sidebar-filter {
    position: sticky;
    top: 120px;
    background: var(--bg-primary, #fff);
    border-radius: var(--radius-2xl, 24px);
    padding: var(--space-7, 28px) var(--space-6, 24px) var(--space-8, 32px);
    box-shadow: var(--shadow-lg, 0 12px 30px rgba(15, 23, 42, 0.08));
    border: 1px solid var(--border-light, rgba(226, 232, 240, 0.8));
}

.filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-5, 20px);
}

.filter-header h2 {
    font-size: var(--font-size-xl, 20px);
    font-weight: var(--font-weight-extrabold, 800);
    color: var(--text-primary, #0f172a);
}

.filter-close-btn {
    display: none;
    background: none;
    border: none;
    font-size: 20px;
    color: #94a3b8;
    cursor: pointer;
}

.filter-section {
    margin-bottom: 22px;
}

.filter-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.filter-title i {
    color: #f97316;
}

.toggle-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.toggle-buttons.single {
    flex-direction: column;
}

.toggle-btn {
    flex: 1;
    min-width: 110px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #fff;
    font-size: 13px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s ease;
    text-align: center;
}

.toggle-btn i {
    margin-right: 6px;
    color: #fb923c;
}

.toggle-btn.active,
.toggle-btn:hover {
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    color: #fff;
    border-color: transparent;
    box-shadow: 0 12px 24px rgba(94, 114, 228, 0.25);
}

.filter-select,
.price-input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-size: 14px;
    font-weight: 600;
    color: #1f2a37;
    outline: none;
    transition: border-color 0.2s ease;
}

.filter-select:focus,
.price-input:focus {
    border-color: #5e72e4;
    background: #fff;
}

.price-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
}

.price-unit {
    font-size: 13px;
    font-weight: 700;
    color: #475569;
}

.filter-actions {
    display: flex;
    gap: 10px;
    margin-top: 24px;
}

.btn-reset,
.btn-apply {
    flex: 1;
    border-radius: 16px;
    padding: 12px 0;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-reset {
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #475569;
}

.btn-reset:hover {
    border-color: #cbd5f5;
    color: #1e293b;
}

.btn-apply {
    border: none;
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    color: #fff;
    box-shadow: 0 15px 35px rgba(94, 114, 228, 0.35);
}

.btn-apply:hover {
    transform: translateY(-2px);
}

/* =====================================
 * 콘텐츠 영역
 * ===================================== */
.content-area {
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.banner-section {
    width: 100%;
}

.estimate-banner {
    border-radius: 32px;
    padding: 32px 40px;
    color: #fff;
    overflow: hidden;
    background: linear-gradient(135deg, #11cdef 0%, #1171ef 100%);
    min-height: 200px;
}

.banner-content {
    display: flex;
    align-items: center;
    gap: 28px;
}

.banner-icon {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.banner-title {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 8px;
}

.banner-description {
    font-size: 15px;
    opacity: 0.95;
    line-height: 1.6;
}

.btn-banner {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255,255,255,0.5);
    color: #fff;
    font-weight: 800;
    padding: 14px 24px;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.btn-banner:hover {
    background: rgba(255, 255, 255, 0.25);
}

.content-header {
    background: #fff;
    border-radius: 24px;
    padding: 24px 28px;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}

.result-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.page-title {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
}

.result-count {
    color: #475569;
    font-weight: 600;
}

.search-bar-container {
    flex: 1;
    min-width: 260px;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f8fafc;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    padding: 10px 16px;
    gap: 12px;
}

.search-bar i {
    color: #94a3b8;
}

.search-input {
    flex: 1;
    border: none;
    background: transparent;
    font-size: 14px;
    font-weight: 600;
    outline: none;
}

.btn-search {
    border: none;
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    color: #fff;
    padding: 10px 16px;
    border-radius: 14px;
    font-weight: 700;
    cursor: pointer;
}

.sort-options select {
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    padding: 10px 14px;
    font-weight: 600;
    color: #475569;
}

/* =====================================
 * 정비 카드
 * ===================================== */
.repair-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.repair-card {
    background: #fff;
    border-radius: 26px;
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow: 0 18px 35px rgba(15, 23, 42, 0.06);
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    position: relative; /* 노출 배지를 카드 기준으로 우측 상단에 고정하기 위한 기준 */
}

.repair-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: nowrap;
}

.repair-header-left {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.repair-badge {
    padding: 8px 16px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.repair-badge.urgent {
    background: #fff4ec;
    color: #f97316;
}

.repair-badge.normal {
    background: #f1f5f9;
    color: #1d4ed8;
}

.repair-time {
    font-size: 13px;
    color: #94a3b8;
}

.repair-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    border-radius: 16px;
    background: #eef2ff;
    color: #3730a3;
    font-weight: 700;
    font-size: 13px;
}

.repair-title {
    font-size: 20px;
    font-weight: 900;
    color: #0f172a;
    margin: 12px 0 10px;
}

.car-info-repair {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    font-size: 13px;
    color: #64748b;
}

.repair-description {
    font-size: 14px;
    color: #475569;
    line-height: 1.7;
    background: #f8fafc;
    padding: 14px;
    border-radius: 16px;
}

.repair-details {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.repair-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
}

.estimate-count strong {
    color: #5e72e4;
    font-weight: 700;
}

.btn-estimate {
    padding: 14px 28px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 14px;
    background: linear-gradient(120deg, #3b82f6 0%, #60a5fa 100%);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease-out;
}

.btn-estimate i {
    font-size: 16px;
}

.btn-estimate:hover {
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.35);
    transform: translateY(-2px);
    opacity: 0.95;
}

.repair-car-meta {
    display: inline-flex;
    flex-wrap: nowrap;
    gap: 8px;
    color: #64748b;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
}

.repair-car-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.repair-car-meta span::before {
    content: '';
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: #cbd5f5;
    display: inline-block;
}

.repair-car-meta span:first-child::before {
    display: none;
}

.repair-description-box {
    margin-top: 12px;
    padding: 16px 18px;
    background: #f8f9ff;
    border-radius: 18px;
    font-size: 14px;
    line-height: 1.6;
    color: #334155;
    border: 1px solid #eef2ff;
    position: relative;
}

.repair-meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 12px;
    margin-top: 12px;
    border-top: 1px solid #edf2f7;
    color: #475569;
    font-size: 14px;
    flex-wrap: nowrap;
}

.repair-location {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-width: 0;
}

.repair-location span {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.repair-location i {
    color: #5e72e4;
}

.repair-photo-info {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 13px;
    white-space: nowrap;
}

.my-badge-inline,
.repair-type-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f0f5ff;
    color: #3b82f6;
    font-weight: 700;
    font-size: 14px;
    padding: 6px 14px;
    border-radius: 999px;
    white-space: nowrap;
}

.my-listing-badge {
    background: rgba(94, 114, 228, 0.18);
    font-weight: 700;
}

/* 섹션 공통 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.section-title-area {
    flex: 1;
}

.section-title {
    font-size: 22px;
    font-weight: 900;
    color: #333;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title i {
    color: #5e72e4;
    font-size: 24px;
}

.section-subtitle {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.btn-more {
    background: white;
    border: 2px solid #e0e0e0;
    color: #666;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
}

.btn-more:hover {
    border-color: #5e72e4;
    color: #5e72e4;
}

/* 인증업체 섹션 */
.certified-shops {
    margin-bottom: 60px;
}

.shops-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.shop-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.shop-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.15);
}

.shop-badge-certified {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #FFD700 0%, #FFA000 100%);
    color: #1a1a2e;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 10;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.shop-badge-certified i {
    font-size: 12px;
}

.shop-image {
    height: 140px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ebf0 100%);
}

.shop-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.shop-img-placeholder i {
    font-size: 60px;
    color: rgba(255, 255, 255, 0.8);
}

.shop-info {
    padding: 16px;
}

.shop-name {
    font-size: 16px;
    font-weight: 800;
    color: #333;
    margin-bottom: 10px;
}

.shop-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 10px;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #FFD700;
    font-size: 13px;
}

.rating-score {
    font-size: 14px;
    font-weight: 800;
    color: #333;
}

.review-count {
    font-size: 12px;
    color: #999;
    font-weight: 600;
}

.shop-location {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    color: #666;
    font-size: 13px;
}

.shop-location i {
    color: #5e72e4;
    font-size: 13px;
}

.shop-specialties {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.specialty-tag {
    background: #f0f0f0;
    color: #666;
    padding: 5px 10px;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 700;
}

/* 부위별 평균 수리비 섹션 */
.repair-costs {
    margin-bottom: 60px;
}

.car-parts-container {
    margin-bottom: 30px;
}

.car-view {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.car-diagram-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}

.car-diagram {
    width: 100%;
    height: auto;
    display: block;
}

.car-parts-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.part-highlight {
    fill: rgba(255, 20, 147, 0.3);
    stroke: #ff1493;
    stroke-width: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.part-highlight.active {
    opacity: 1;
    animation: pulseHighlight 2s infinite;
}

@keyframes pulseHighlight {
    0%, 100% {
        fill: rgba(255, 20, 147, 0.3);
        stroke-width: 3;
    }
    50% {
        fill: rgba(255, 20, 147, 0.5);
        stroke-width: 4;
    }
}

.parts-info-overlay {
    text-align: center;
    margin-top: 20px;
}


.parts-guide {
    color: #666;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #f8f9fa;
    padding: 16px;
    border-radius: 12px;
}

.parts-guide i {
    color: #5e72e4;
    font-size: 16px;
    flex-shrink: 0;
}

.guide-text {
    flex: 1;
}

.car-diagram-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 60px 30px;
    text-align: center;
    color: white;
}

.car-diagram-placeholder i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.car-diagram-placeholder p {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.6;
    opacity: 0.95;
}

/* 수리 가격표 */
.repair-price-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

.price-category {
    background: white;
    border-radius: 20px;
    padding: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.category-title {
    font-size: 17px;
    font-weight: 800;
    color: #333;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 14px;
    border-bottom: 2px solid #f0f0f0;
}

.category-title i {
    color: #5e72e4;
    font-size: 19px;
}

.price-items {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* 가격 항목 필터링 */
.price-item {
    transition: all 0.3s ease;
}

.price-item.hidden {
    display: none;
}

.price-item.highlighted {
    background: linear-gradient(135deg, rgba(94, 114, 228, 0.1) 0%, rgba(130, 94, 228, 0.1) 100%);
    border: 2px solid #5e72e4;
    transform: scale(1.02);
}

.price-item:hover {
    background: #f0f2f5;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    font-size: 14px;
    font-weight: 700;
    color: #333;
}

.item-detail {
    font-size: 12px;
    color: #999;
    font-weight: 500;
}

.item-price {
    display: flex;
    justify-content: flex-end;
}

.price-range {
    font-size: 15px;
    font-weight: 800;
    color: #5e72e4;
}

.price-notice {
    background: #fff8e1;
    border: 2px solid #ffd54f;
    border-radius: 16px;
    padding: 18px;
    margin-top: 30px;
    display: flex;
    gap: 12px;
}

.price-notice i {
    color: #f57c00;
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

.price-notice p {
    color: #666;
    font-size: 12px;
    line-height: 1.6;
    font-weight: 600;
}

/* CTA 섹션 */
.cta-section {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 24px;
    padding: 50px 30px;
    text-align: center;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-size: 24px;
    font-weight: 900;
    color: white;
    margin-bottom: 12px;
    line-height: 1.4;
}

.cta-description {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
    line-height: 1.6;
}

.btn-cta {
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(94, 114, 228, 0.4);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(94, 114, 228, 0.5);
}

.btn-cta i {
    font-size: 20px;
}

/* 부위 선택 카테고리 */
.parts-category-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 30px;
    padding: 20px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.part-category-btn {
    flex: 1;
    min-width: calc(50% - 5px);
    padding: 14px 20px;
    background: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.part-category-btn i {
    font-size: 16px;
}

.part-category-btn:hover {
    background: #f0f2f5;
    border-color: #5e72e4;
    color: #5e72e4;
}

.part-category-btn.active {
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    border-color: transparent;
    color: white;
    box-shadow: 0 4px 12px rgba(94, 114, 228, 0.3);
}

.part-category-btn.active i {
    color: white;
}

/* =====================================
 * 반응형 처리
 * ===================================== */

/* 태블릿 (768px 이상) */
@media (min-width: 768px) {
    .main-container {
        padding: 40px;
    }
    
    .top-banner {
        padding: 60px 50px;
    }
    
    .banner-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .banner-text {
        margin-bottom: 0;
        flex: 1;
    }
    
    .banner-title {
        font-size: 32px;
    }
    
    .banner-description {
        font-size: 16px;
    }
    
    .banner-features {
        flex-direction: row;
        gap: 24px;
    }
    
    .banner-action {
        flex-shrink: 0;
    }
    
    .btn-auction {
        width: auto;
    }
    
    .shops-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    
    .shop-image {
        height: 180px;
    }
    
    .shop-img-placeholder i {
        font-size: 70px;
    }
    
    .shop-info {
        padding: 20px;
    }
    
    .shop-name {
        font-size: 17px;
    }
    
    .shop-badge-certified {
        padding: 7px 14px;
        font-size: 12px;
    }
    
    .repair-price-list {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
    
    .item-price {
        flex-shrink: 0;
    }
    
    .parts-category-selector {
        padding: 24px;
        gap: 12px;
    }
    
    .part-category-btn {
        min-width: auto;
        flex: 0 1 auto;
        padding: 12px 24px;
        font-size: 15px;
    }
    
    .car-diagram-wrapper {
        max-width: 900px;
    }
}

/* 데스크톱 (1024px 이상) */
@media (min-width: 1024px) {
    .main-container {
        padding: 40px 60px;
    }
    
    .banner-title {
        font-size: 36px;
    }
    
    .shops-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .section-title {
        font-size: 26px;
    }

    .parts-category-selector {
        padding: 28px;
        gap: 14px;
    }
    
    .part-category-btn {
        padding: 14px 28px;
        font-size: 15px;
    }
}

/* 대형 데스크톱 (1200px 이상) */
@media (min-width: 1200px) {
    .banner-title {
        font-size: 40px;
    }
    
    .shop-image {
        height: 200px;
    }
    
    .shop-img-placeholder i {
        font-size: 80px;
    }
}

/* =====================================
 * 견적 요청 모달 (풀스크린)
 * ===================================== */
.estimate-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 9999;
    overflow-y: auto;
}

.estimate-modal-overlay.active {
    display: block;
}

.estimate-modal {
    background: #fff;
    width: 100%;
    min-height: 100vh;
    max-width: 100%;
    margin: 0;
    border-radius: 0;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.estimate-modal-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px 24px 0;
    max-width: 900px;
    margin: 0 auto;
}

.btn-modal-close {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    position: fixed;
    top: 20px;
    right: 24px;
    z-index: 10000;
}

.btn-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.estimate-modal-body {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px 60px;
}

/* 모달 내부 폼 컨테이너 */
.estimate-modal .auction-form-container {
    background: transparent;
    box-shadow: none;
    padding: 0;
}

.modal-page-header {
    text-align: center;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 2px solid #f0f0f0;
}

.modal-page-header .header-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow: 0 8px 24px rgba(94, 114, 228, 0.3);
}

.modal-page-header .header-icon i {
    font-size: 32px;
    color: white;
}

.modal-page-title {
    font-size: 26px;
    font-weight: 900;
    color: #0f172a;
    margin-bottom: 10px;
}

.modal-page-description {
    font-size: 15px;
    color: #64748b;
    line-height: 1.6;
}

/* 폼 섹션 */
.auction-form .form-section {
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid #f0f0f0;
}

.auction-form .form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 24px;
}

.auction-form .section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.auction-form .section-title {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auction-form .section-title i {
    color: #5e72e4;
    font-size: 18px;
}

.auction-form .required-badge {
    background: linear-gradient(135deg, #fb6340 0%, #f5365c 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.auction-form .optional-badge {
    background: #e2e8f0;
    color: #64748b;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}

.auction-form .section-description {
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 14px 16px;
    background: #f8fafc;
    border-radius: 12px;
    border-left: 4px solid #5e72e4;
}

/* 폼 그리드 */
.auction-form .form-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
}

@media (max-width: 1199px) {
    .repair-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.auction-form .form-group {
    display: flex;
    flex-direction: column;
}

.auction-form .form-group.full-width {
    grid-column: 1 / -1;
}

.auction-form .form-label {
    font-size: 14px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.auction-form .required {
    color: #f5365c;
    font-size: 14px;
}

.auction-form .form-input,
.auction-form .form-select,
.auction-form .form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 14px;
    color: #1e293b;
    background: #fff;
    transition: all 0.2s ease;
    font-family: inherit;
}

.auction-form .form-input:focus,
.auction-form .form-select:focus,
.auction-form .form-textarea:focus {
    outline: none;
    border-color: #5e72e4;
    box-shadow: 0 0 0 4px rgba(94, 114, 228, 0.1);
}

.auction-form .form-select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.auction-form .form-textarea {
    resize: vertical;
    min-height: 100px;
    line-height: 1.6;
}

.auction-form .form-help {
    font-size: 12px;
    color: #94a3b8;
    margin-top: 6px;
}

/* 단위가 있는 입력 필드 */
.auction-form .input-with-unit {
    position: relative;
    display: flex;
    align-items: center;
}

.auction-form .input-with-unit .form-input {
    padding-right: 50px;
}

.auction-form .input-unit {
    position: absolute;
    right: 14px;
    font-size: 14px;
    font-weight: 700;
    color: #64748b;
    pointer-events: none;
}

/* 손상 부위 선택 */
.auction-form .damage-selector {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.auction-form .parts-selection-box {
    background: #f8fafc;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #e2e8f0;
}

.auction-form .parts-row {
    margin-bottom: 20px;
}

.auction-form .common-parts-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

@media (min-width: 640px) {
    .auction-form .common-parts-buttons {
        grid-template-columns: repeat(5, 1fr);
    }
}

.auction-form .side-parts-container {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

@media (min-width: 640px) {
    .auction-form .side-parts-container {
        grid-template-columns: 1fr 1fr;
    }
}

.auction-form .side-parts-section {
    display: flex;
    flex-direction: column;
}

.auction-form .side-parts-title {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #e2e8f0;
}

.auction-form .side-parts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
}

.auction-form .part-btn {
    padding: 12px 14px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.auction-form .part-btn:hover {
    background: #f1f5f9;
    border-color: #5e72e4;
    color: #5e72e4;
}

.auction-form .part-btn.selected {
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    border-color: transparent;
    color: #fff;
    box-shadow: 0 4px 12px rgba(94, 114, 228, 0.3);
}

.auction-form .selected-parts-info {
    margin-top: 0;
}

.auction-form .info-text {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #64748b;
    font-weight: 600;
    background: #fff;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
}

.auction-form .info-text i {
    color: #5e72e4;
    font-size: 16px;
    flex-shrink: 0;
}

/* 사진 업로드 */
.auction-form .photo-upload-area {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auction-form .photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 640px) {
    .auction-form .photo-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.auction-form .photo-upload-box {
    position: relative;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
}

.auction-form .photo-input {
    display: none;
}

.auction-form .photo-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: #f8fafc;
    border: 2px dashed #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auction-form .photo-label:hover {
    background: #f1f5f9;
    border-color: #5e72e4;
}

.auction-form .photo-label i {
    font-size: 22px;
    color: #94a3b8;
    margin-bottom: 6px;
}

.auction-form .photo-label span {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.auction-form .photo-preview {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.auction-form .photo-preview.active {
    display: block;
}

.auction-form .photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.auction-form .btn-remove-photo {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 28px;
    height: 28px;
    background: rgba(0, 0, 0, 0.7);
    border: none;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.auction-form .btn-remove-photo:hover {
    background: #f5365c;
    transform: scale(1.1);
}

.auction-form .btn-remove-photo i {
    font-size: 12px;
}

.auction-form .photo-help {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #64748b;
    background: #fffbeb;
    padding: 12px 14px;
    border-radius: 10px;
    border-left: 4px solid #fbbf24;
}

.auction-form .photo-help i {
    color: #f59e0b;
    font-size: 16px;
    flex-shrink: 0;
}

/* 동의 박스 */
.auction-form .agreement-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 14px;
}

.auction-form .agreement-content {
    font-size: 13px;
    color: #64748b;
    line-height: 1.8;
    max-height: 160px;
    overflow-y: auto;
}

.auction-form .agreement-content p {
    margin-bottom: 10px;
}

.auction-form .agreement-content strong {
    color: #1e293b;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.auction-form .agreement-checkbox {
    display: flex;
    align-items: center;
    padding: 14px;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: 10px;
}

.auction-form .agreement-checkbox:hover {
    border-color: #5e72e4;
}

.auction-form .agreement-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    margin-right: 12px;
    cursor: pointer;
    accent-color: #5e72e4;
}

.auction-form .agreement-checkbox span {
    font-size: 14px;
    color: #1e293b;
    font-weight: 600;
}

/* 폼 액션 버튼 */
.auction-form .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 32px;
}

.auction-form .btn-cancel {
    flex: 1;
    background: #fff;
    border: 2px solid #e2e8f0;
    color: #64748b;
    padding: 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.auction-form .btn-cancel:hover {
    border-color: #94a3b8;
    color: #1e293b;
}

.auction-form .btn-submit {
    flex: 2;
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    border: none;
    color: #fff;
    padding: 14px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 8px 24px rgba(94, 114, 228, 0.3);
}

.auction-form .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(94, 114, 228, 0.4);
}

.auction-form .btn-submit i {
    font-size: 16px;
}

/* 모바일 모달 */
@media (max-width: 767px) {
    .estimate-modal-body {
        padding: 0 16px 40px;
    }
    
    .btn-modal-close {
        top: 12px;
        right: 12px;
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .modal-page-title {
        font-size: 22px;
    }
    
    .auction-form .section-title {
        font-size: 16px;
    }
}

/* =====================================
 * 정비 평균금액 확인 버튼
 * ===================================== */
.btn-check-avg-price {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 24px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border: none;
    border-radius: 30px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-check-avg-price:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.4);
}

.btn-check-avg-price i {
    font-size: 16px;
}

/* =====================================
 * 정비 평균금액 확인 모달
 * ===================================== */
.price-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.9);
    z-index: 10001;
    overflow-y: auto;
    padding: 20px;
}

.price-modal-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.price-modal {
    background: #fff;
    border-radius: 20px;
    max-width: 700px;
    width: 100%;
    margin: 40px auto;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4);
    animation: priceModalSlideIn 0.3s ease;
    max-height: calc(100vh - 80px);
    display: flex;
    flex-direction: column;
}

@keyframes priceModalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.price-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    border-bottom: 1px solid #e2e8f0;
    flex-shrink: 0;
}

.price-modal-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 800;
    color: #0f172a;
    margin: 0;
}

.price-modal-title i {
    color: #10b981;
    font-size: 22px;
}

.btn-price-modal-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: none;
    background: #f1f5f9;
    color: #64748b;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-price-modal-close:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.price-modal-body {
    padding: 20px 24px 24px;
    overflow-y: auto;
    flex: 1;
}

.price-modal-desc {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #64748b;
    background: #f0fdf4;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 20px;
    border-left: 4px solid #10b981;
}

.price-modal-desc i {
    color: #10b981;
    font-size: 16px;
    flex-shrink: 0;
}

/* 카테고리 탭 */
.price-category-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #e2e8f0;
}

.price-category-tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.price-category-tab:hover {
    border-color: #10b981;
    color: #10b981;
}

.price-category-tab.active {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-color: transparent;
    color: #fff;
}

.price-category-tab .item-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 22px;
    padding: 0 6px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 11px;
    font-size: 12px;
    font-weight: 700;
}

.price-category-tab:not(.active) .item-count {
    background: #e2e8f0;
    color: #64748b;
}

/* 품목 컨테이너 */
.price-items-container {
    min-height: 200px;
}

.price-loading,
.price-empty,
.price-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #94a3b8;
}

.price-loading i,
.price-empty i,
.price-error i {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.5;
}

.price-error i {
    color: #f59e0b;
}

.price-error button {
    margin-top: 16px;
    padding: 10px 20px;
    background: #5e72e4;
    border: none;
    border-radius: 8px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* 품목 리스트 */
.price-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.price-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px;
    background: #f8fafc;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.price-item:hover {
    background: #fff;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.1);
}

.price-item-info {
    flex: 1;
    min-width: 0;
}

.price-item-name {
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 4px;
}

.price-item-desc {
    font-size: 13px;
    color: #94a3b8;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.price-item-cost {
    flex-shrink: 0;
    text-align: right;
}

.price-value {
    font-size: 15px;
    font-weight: 800;
    color: #10b981;
}

.price-tbd {
    font-size: 14px;
    font-weight: 600;
    color: #94a3b8;
}

/* 모바일 대응 */
@media (max-width: 767px) {
    .price-modal-overlay {
        padding: 0;
    }
    
    .price-modal {
        margin: 0;
        border-radius: 0;
        max-height: 100vh;
        height: 100vh;
    }
    
    .price-modal-header {
        padding: 16px;
    }
    
    .price-modal-title {
        font-size: 18px;
    }
    
    .price-modal-body {
        padding: 16px;
    }
    
    .price-category-tabs {
        gap: 8px;
    }
    
    .price-category-tab {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .price-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-item-cost {
        text-align: left;
    }
    
    .btn-check-avg-price {
        padding: 10px 18px;
        font-size: 13px;
    }
}

/* =====================================
 * 차량 정보 조회 섹션
 * ===================================== */
.vehicle-search-box {
    margin-bottom: 16px;
}

.vehicle-search-inputs {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.vehicle-search-inputs .form-input {
    flex: 1;
    min-width: 120px;
}

.vehicle-search-inputs .input-divider {
    color: #cbd5e1;
    font-weight: 300;
}

.btn-search-vehicle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    border: none;
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.btn-search-vehicle:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(94, 114, 228, 0.3);
}

/* 차량 조회 결과 */
.vehicle-result-area {
    margin-top: 16px;
}

.vehicle-result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 20px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 2px solid #0ea5e9;
    border-radius: 14px;
}

.vehicle-result-info {
    flex: 1;
}

.vehicle-result-info .vehicle-name {
    font-size: 18px;
    font-weight: 800;
    color: #0f172a;
    margin: 0 0 8px;
}

.vehicle-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 6px;
}

.vehicle-badges .badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.badge-primary {
    background: #5e72e4;
    color: #fff;
}

.badge-secondary {
    background: #64748b;
    color: #fff;
}

.badge-info {
    background: #0ea5e9;
    color: #fff;
}

.vehicle-result-info .vehicle-number {
    font-size: 14px;
    color: #64748b;
    margin: 0;
}

.btn-clear-vehicle {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #fee2e2;
    color: #ef4444;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.btn-clear-vehicle:hover {
    background: #fecaca;
}

/* 차량 조회 로딩/에러 */
.vehicle-search-loading,
.vehicle-search-error {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px;
    border-radius: 10px;
    margin-top: 12px;
}

.vehicle-search-loading {
    background: #f8fafc;
    color: #64748b;
}

.vehicle-search-loading i {
    color: #5e72e4;
}

.vehicle-search-error {
    background: #fef2f2;
    color: #dc2626;
}

/* =====================================
 * 손상 부위 카테고리 스타일
 * ===================================== */
.parts-category {
    margin-bottom: 20px;
}

.parts-category:last-child {
    margin-bottom: 0;
}

.parts-category-title {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin: 0 0 10px;
    padding-left: 4px;
    border-left: 3px solid #5e72e4;
}

.parts-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* =====================================
 * 지역 선택 자동완성
 * ===================================== */
.autocomplete-wrapper {
    position: relative;
}

.autocomplete-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    z-index: 100;
    max-height: 200px;
    overflow-y: auto;
    margin-top: 4px;
}

.autocomplete-dropdown.active {
    display: block;
}

.autocomplete-item {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    background: none;
    border: none;
    border-bottom: 1px solid #f1f5f9;
    font-size: 14px;
    color: #1e293b;
    cursor: pointer;
    transition: background 0.15s ease;
}

.autocomplete-item:last-child {
    border-bottom: none;
}

.autocomplete-item:hover {
    background: #f8fafc;
}

.mt-8 {
    margin-top: 8px;
}

/* =====================================
 * 사진 업로드 (file_manager 스타일)
 * ===================================== */
.photo-list-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.photo-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.photo-item:hover {
    border-color: #5e72e4;
    background: #fff;
}

.photo-drag-handle {
    color: #94a3b8;
    cursor: grab;
}

.photo-thumbnail {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
}

.photo-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-name {
    flex: 1;
    font-size: 14px;
    color: #1e293b;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.photo-size {
    font-size: 12px;
    color: #94a3b8;
    flex-shrink: 0;
}

.btn-photo-delete {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    border: none;
    background: #fee2e2;
    color: #ef4444;
    font-size: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s ease;
}

.btn-photo-delete:hover {
    background: #fecaca;
}

.btn-add-photo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 24px;
    background: #f1f5f9;
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    color: #64748b;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.btn-add-photo:hover {
    background: #e2e8f0;
    border-color: #5e72e4;
    color: #5e72e4;
}

.photo-count {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    margin-left: 8px;
}

/* =====================================
 * 모바일 대응 (추가 요소)
 * ===================================== */
@media (max-width: 767px) {
    .vehicle-search-inputs {
        flex-direction: column;
        align-items: stretch;
    }
    
    .vehicle-search-inputs .input-divider {
        display: none;
    }
    
    .vehicle-search-inputs .form-input {
        width: 100%;
    }
    
    .btn-search-vehicle {
        width: 100%;
        justify-content: center;
    }
    
    .vehicle-result-card {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .btn-clear-vehicle {
        position: absolute;
        top: 10px;
        right: 10px;
    }
    
    .vehicle-result-area {
        position: relative;
    }
    
    .parts-buttons {
        gap: 6px;
    }
    
    .part-btn {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .photo-item {
        flex-wrap: wrap;
    }
    
    .photo-name {
        order: 5;
        width: 100%;
        margin-top: 8px;
    }
}

/* =====================================
 * 로딩/빈목록/에러 메시지 스타일
 * ===================================== */
.loading-message,
.empty-message,
.error-message {
    grid-column: 1 / -1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: #64748b;
}

.loading-message i,
.empty-message i,
.error-message i {
    font-size: 48px;
    margin-bottom: 16px;
    color: #94a3b8;
}

.loading-message i {
    color: #5e72e4;
}

.error-message i {
    color: #ef4444;
}

.empty-message p,
.error-message p {
    font-size: 16px;
    margin: 0;
}

/* =====================================
 * 페이지네이션 스타일
 * ===================================== */
.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 24px 0;
}

.page-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
}

.page-btn:hover:not(:disabled) {
    background: #f8fafc;
    border-color: #5e72e4;
    color: #5e72e4;
}

.page-btn.active {
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    border-color: #5e72e4;
    color: #fff;
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-btn.prev,
.page-btn.next {
    padding: 0 14px;
}

@media (max-width: 991px) {
    .main-container {
        grid-template-columns: 1fr;
        padding: 24px 16px 80px;
    }
    
    .mobile-filter-btn {
        display: inline-flex;
    }
    
    .content-area {
        width: 100%;
    }
    
    .sidebar-filter {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-width: 360px;
        height: 100vh;
        z-index: 1000;
        background: #fff;
        box-shadow: 4px 0 20px rgba(0, 0, 0, 0.15);
        transition: transform 0.3s ease;
        overflow-y: auto;
        transform: translateX(-100%);
    }
    
    .sidebar-filter.active {
        display: block;
        transform: translateX(0);
    }
    
    .filter-close-btn {
        display: flex;
    }
    
    .repair-card {
        padding: 20px;
        gap: 14px;
    }
    .repair-type-badge {
        font-size: 12px;
        padding: 6px 12px;
    }
    .repair-title {
        font-size: 18px;
    }
    .repair-car-meta {
        font-size: 13px;
        gap: 6px;
    }
    .repair-description-box {
        font-size: 13px;
        padding: 14px;
    }
    .repair-meta-row {
        font-size: 13px;
        gap: 10px;
    }
    .btn-estimate {
        padding: 12px 22px;
        font-size: 13px;
    }
}

/* =====================================
 * 쿠폰 선택 스타일
 * ===================================== */
.coupon-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.coupon-option {
    cursor: pointer;
}

.coupon-option input[type="radio"] {
    display: none;
}

.coupon-card {
    padding: 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    text-align: center;
    transition: all 0.2s ease;
}

.coupon-option input[type="radio"]:checked + .coupon-card {
    background: linear-gradient(135deg, #f0f4ff 0%, #e8f0fe 100%);
    border-color: #5e72e4;
    box-shadow: 0 4px 20px rgba(94, 114, 228, 0.2);
}

.coupon-option:hover .coupon-card {
    border-color: #94a3b8;
}

.coupon-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    border-radius: 50%;
    font-size: 24px;
    color: #64748b;
    transition: all 0.2s ease;
}

.coupon-option input[type="radio"]:checked + .coupon-card .coupon-icon {
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    color: #fff;
}

.coupon-info {
    margin-bottom: 8px;
}

.coupon-duration {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.coupon-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #5e72e4;
    margin-top: 4px;
}

.coupon-desc {
    font-size: 13px;
    color: #64748b;
    margin: 0;
}

@media (max-width: 479px) {
    .coupon-options {
        grid-template-columns: 1fr;
    }
    
    .coupon-card {
        padding: 16px;
    }
    
    .coupon-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .coupon-duration {
        font-size: 24px;
    }
}

/* =====================================
 * 노출 기간 배지 스타일
 * ===================================== */
.repair-exposure {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    position: absolute; /* 우측 상단 고정 배치 */
    top: 26px; /* header 상단보다 높게 올라가지 않도록 카드 상단 패딩 값과 정렬 */
    right: 28px;
    margin-left: 0;
    z-index: 2;
}

.repair-exposure.expired {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

/* =====================================
 * 필터 자동완성 스타일
 * ===================================== */
.filter-autocomplete-wrapper {
    position: relative;
}

.filter-input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    background: #fff;
    transition: border-color 0.2s ease;
}

.filter-input:focus {
    outline: none;
    border-color: #5e72e4;
}

.filter-input:disabled {
    background: #f1f5f9;
    cursor: not-allowed;
}

.filter-autocomplete-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-height: 200px;
    overflow-y: auto;
    z-index: 100;
    display: none;
}

.filter-autocomplete-dropdown.active {
    display: block;
}

.filter-dropdown-item {
    padding: 10px 12px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.15s ease;
}

.filter-dropdown-item:hover {
    background: #f1f5f9;
}

.mt-8 {
    margin-top: 8px;
}

/* =====================================
 * 내가 올린 요청 스타일
 * ===================================== */
.repair-card.my-request {
    border: 2px solid #5e72e4;
    box-shadow: 0 4px 20px rgba(94, 114, 228, 0.15);
}

.repair-badge.mine {
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    color: #fff;
}

/* =====================================
 * 정비 상세 모달 (전체화면)
 * ===================================== */
.repair-detail-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 2000;
    overflow-y: auto;
}

.repair-detail-modal.is-open {
    display: block;
}

.repair-detail-modal__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
}

.repair-detail-modal__header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    background: #fff;
    z-index: 10;
}

.repair-detail-modal__back {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: #f1f5f9;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s;
}

.repair-detail-modal__back:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.repair-detail-modal__title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.repair-detail-modal__body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 32px 0 120px;
}

/* 갤러리 영역 */
.repair-detail__gallery {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.repair-detail__main-image {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 16px;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
}

.repair-detail__main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.repair-detail__main-image .no-photos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    color: #94a3b8;
}

.repair-detail__main-image .no-photos i {
    font-size: 48px;
}

.repair-detail__thumbnails {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 8px 0;
}

.repair-detail__thumbnails .thumbnail-item {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all 0.2s;
}

.repair-detail__thumbnails .thumbnail-item.active {
    border-color: #5e72e4;
}

.repair-detail__thumbnails .thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 정보 영역 */
.repair-detail__info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.repair-detail__vehicle-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.repair-badge-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.repair-status-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
}

.repair-status-badge.status-pending {
    background: #f1f5f9;
    color: #1d4ed8;
}

.repair-status-badge.status-in-progress {
    background: #fff4ec;
    color: #f97316;
}

.repair-exposure-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.repair-exposure-badge.expired {
    background: linear-gradient(135deg, #94a3b8 0%, #64748b 100%);
}

.repair-detail__car-name {
    font-size: 26px;
    font-weight: 700;
    color: #1e293b;
    margin: 8px 0 0;
}

.repair-detail__car-number {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

/* 차량 스펙 */
.repair-detail__specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 16px;
}

.repair-detail__specs .spec-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.repair-detail__specs .spec-item i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 8px;
    color: #5e72e4;
    font-size: 14px;
}

.repair-detail__specs .spec-label {
    font-size: 13px;
    color: #64748b;
}

.repair-detail__specs .spec-value {
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
    margin-left: auto;
}

/* 손상 부위 */
.repair-detail__damage-parts {
    padding: 20px;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
}

.repair-detail__damage-parts h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}

.repair-detail__damage-parts h3 i {
    color: #5e72e4;
}

.damage-parts-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.damage-parts-list .damage-tag {
    display: inline-block;
    padding: 6px 14px;
    background: #f0f4ff;
    color: #5e72e4;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
}

.damage-parts-list .no-data {
    color: #94a3b8;
    font-size: 14px;
}

/* 상세 설명 */
.repair-detail__description {
    padding: 20px;
    background: #f8fafc;
    border-radius: 16px;
}

.repair-detail__description h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 12px;
}

.repair-detail__description h3 i {
    color: #5e72e4;
}

.repair-detail__description p {
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    margin: 0;
    white-space: pre-wrap;
}

/* 입찰 현황 */
.repair-detail__bid-status {
    padding: 20px;
    background: linear-gradient(135deg, #fef3c7, #fde68a);
    border-radius: 16px;
}

.repair-detail__bid-status h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #92400e;
    margin: 0 0 16px;
}

.repair-detail__bid-status .bid-status-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.repair-detail__bid-status .bid-status-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.repair-detail__bid-status .bid-status-label {
    font-size: 13px;
    color: #92400e;
}

.repair-detail__bid-status .bid-status-value {
    font-size: 20px;
    font-weight: 700;
    color: #78350f;
}

.repair-detail__bid-status .bid-status-value.highlight {
    color: #dc2626;
}

/* 내 입찰 정보 */
.repair-detail__my-bid {
    padding: 20px;
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-radius: 16px;
}

.repair-detail__my-bid h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 700;
    color: #1e40af;
    margin: 0 0 16px;
}

.repair-detail__my-bid .my-bid-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.repair-detail__my-bid .my-bid-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.repair-detail__my-bid .my-bid-label {
    font-size: 14px;
    color: #1e40af;
}

.repair-detail__my-bid .my-bid-value {
    font-size: 15px;
    font-weight: 600;
    color: #1e3a8a;
}

/* 플로팅 입찰 버튼 */
.repair-floating-btn {
    position: fixed;
    bottom: 32px;
    right: 32px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(94, 114, 228, 0.4);
    transition: all 0.3s;
    z-index: 2001;
}

.repair-floating-btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(94, 114, 228, 0.5);
}

.repair-floating-btn:disabled,
.repair-floating-btn.already-bid {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    cursor: default;
    box-shadow: 0 8px 24px rgba(34, 197, 94, 0.3);
}

.repair-floating-btn:disabled:hover,
.repair-floating-btn.already-bid:hover {
    transform: none;
}

.repair-floating-btn i {
    font-size: 20px;
}

/* =====================================
 * 정비 입찰 모달
 * ===================================== */
.repair-bid-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
}

.repair-bid-modal.is-open {
    display: flex;
    align-items: center;
    justify-content: center;
}

.repair-bid-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.repair-bid-modal__content {
    position: relative;
    width: 100%;
    max-width: 480px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin: 20px;
    max-height: 90vh;
    overflow-y: auto;
}

.repair-bid-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.repair-bid-modal__header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.repair-bid-modal__close {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.repair-bid-modal__close:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.repair-bid-modal__form {
    padding: 24px;
}

.repair-bid-modal__form .form-group {
    margin-bottom: 20px;
}

.repair-bid-modal__form label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.repair-bid-modal__form label .required {
    color: #dc2626;
}

.repair-bid-modal__form .input-with-unit {
    display: flex;
    align-items: center;
    gap: 8px;
}

.repair-bid-modal__form .input-with-unit input {
    flex: 1;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 16px;
    transition: border-color 0.2s;
}

.repair-bid-modal__form .input-with-unit input:focus {
    outline: none;
    border-color: #5e72e4;
}

.repair-bid-modal__form .input-with-unit .unit {
    font-size: 16px;
    font-weight: 600;
    color: #64748b;
}

.repair-bid-modal__form .form-hint {
    font-size: 13px;
    color: #64748b;
    margin-top: 8px;
}

.repair-bid-modal__form .form-hint strong {
    color: #dc2626;
}

.repair-bid-modal__form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    resize: vertical;
    min-height: 100px;
    transition: border-color 0.2s;
}

.repair-bid-modal__form textarea:focus {
    outline: none;
    border-color: #5e72e4;
}

.repair-bid-modal__form .form-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.repair-bid-modal__form .form-actions .btn-cancel {
    flex: 1;
    padding: 14px;
    background: #f1f5f9;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.repair-bid-modal__form .form-actions .btn-cancel:hover {
    background: #e2e8f0;
}

.repair-bid-modal__form .form-actions .btn-submit {
    flex: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(135deg, #5e72e4 0%, #825ee4 100%);
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    cursor: pointer;
    transition: all 0.2s;
}

.repair-bid-modal__form .form-actions .btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(94, 114, 228, 0.3);
}

.repair-bid-modal__form .form-actions .btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 반응형 - 정비 상세 모달 */
@media (max-width: 991px) {
    .repair-detail-modal__body {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .repair-detail__specs {
        grid-template-columns: 1fr;
    }

    .repair-floating-btn {
        bottom: 20px;
        right: 20px;
        padding: 14px 24px;
        font-size: 15px;
    }
}

@media (max-width: 640px) {
    .repair-detail-modal__container {
        padding: 0 16px;
    }

    .repair-detail-modal__header {
        padding: 16px 0;
    }

    .repair-detail-modal__back span {
        display: none;
    }

    .repair-detail-modal__title {
        font-size: 18px;
    }

    .repair-detail__car-name {
        font-size: 22px;
    }

    .repair-detail__bid-status .bid-status-grid {
        grid-template-columns: 1fr;
    }

    .repair-floating-btn {
        left: 20px;
        right: 20px;
        justify-content: center;
    }

    .repair-bid-modal__content {
        margin: 10px;
        border-radius: 16px;
    }
}
