/* ============================================================
   bid-seo.css - 입찰 SEO 페이지 전용 스타일
   ============================================================ */

/* ---- 공통 레이아웃 ---- */
.bid-seo-container {
    max-width: 960px;
    margin: 0 auto;
    padding: 80px 16px 60px;
    font-family: 'Noto Sans KR', sans-serif;
    color: #212529;
}

.bid-seo-container h1 {
    font-size: 26px;
    font-weight: 700;
    line-height: 1.4;
    color: #111827;
    margin-bottom: 8px;
}

.bid-seo-container h2 {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 12px;
}

.bid-seo-section {
    margin-bottom: 32px;
}

.bid-seo-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    padding-bottom: 8px;
    border-bottom: 2px solid #E5E7EB;
    margin-bottom: 16px;
}

/* ---- 상태 배지 ---- */
.bid-status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.6;
    margin-bottom: 12px;
    vertical-align: middle;
}

.bid-status-PRE {
    background: #E3F2FD;
    color: #1565C0;
}

.bid-status-ING {
    background: #E8F5E9;
    color: #2E7D32;
}

.bid-status-END {
    background: #FFF3E0;
    color: #E65100;
}

.bid-status-COMP {
    background: #F3E5F5;
    color: #6A1B9A;
}

/* ---- 태그 배지 ---- */
.bid-type-tag {
    display: inline-block;
    background: #EFF6FF;
    color: #1D4ED8;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 8px;
    vertical-align: middle;
}

.bid-kind-tag {
    display: inline-block;
    background: #FEF3C7;
    color: #92400E;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    margin-left: 6px;
    vertical-align: middle;
}

/* ---- 상세 헤더 ---- */
.bid-detail-header {
    padding: 20px 0 16px;
    border-bottom: 1px solid #E5E7EB;
    margin-bottom: 24px;
}

.bid-detail-header > div:first-child {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.bid-detail-header > div:first-child .bid-status-badge {
    margin-bottom: 0;
}

.bid-detail-header h1 {
    font-size: 22px;
    line-height: 1.5;
    word-break: keep-all;
    margin-bottom: 10px;
}

.bid-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 0;
    margin-top: 0;
    align-items: baseline;
}

.bid-detail-meta dt {
    font-size: 13px;
    color: #374151;
    font-weight: 600;
    margin-right: 6px;
}

.bid-detail-meta dd {
    font-size: 13px;
    color: #6B7280;
    margin: 0 16px 0 0;
    padding-right: 16px;
    border-right: 1px solid #D1D5DB;
}

.bid-detail-meta dd:last-of-type {
    border-right: none;
    padding-right: 0;
    margin-right: 0;
}

.bid-detail-meta dd a {
    color: #6B7280;
    text-decoration: none;
}

.bid-detail-meta dd a:hover {
    color: #1D4ED8;
    text-decoration: underline;
}

/* ---- 가격 하이라이트 ---- */
.bid-price-highlight {
    font-size: 22px;
    font-weight: 700;
    color: #1565C0;
}

.bid-price-sub {
    font-size: 13px;
    color: #6B7280;
    margin-top: 2px;
}

/* ---- 정보 리스트 (dl/dt/dd) ---- */
.bid-info-list {
    width: 100%;
    font-size: 14px;
    margin: 0;
    padding: 0;
}

.bid-info-list .info-row {
    display: flex;
    border: 1px solid #E5E7EB;
    margin-top: -1px;
}

.bid-info-list .info-row:first-child {
    margin-top: 0;
}

.bid-info-list dt {
    padding: 10px 12px;
    background: #F9FAFB;
    color: #374151;
    font-weight: 600;
    width: 28%;
    min-width: 28%;
    text-align: left;
    line-height: 1.5;
    border-right: 1px solid #E5E7EB;
}

.bid-info-list dd {
    padding: 10px 12px;
    color: #111827;
    margin: 0;
    flex: 1;
    line-height: 1.5;
}

/* 기존 bid-info-table 하위 호환 유지 */
.bid-info-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.bid-info-table th,
.bid-info-table td {
    padding: 10px 12px;
    border: 1px solid #E5E7EB;
    vertical-align: middle;
    line-height: 1.5;
}

.bid-info-table th {
    background: #F9FAFB;
    color: #374151;
    font-weight: 600;
    width: 28%;
    text-align: left;
}

.bid-info-table td {
    color: #111827;
}

.bid-info-table td.price-cell {
    font-weight: 700;
    color: #1565C0;
}

/* ---- 2단 패널 ---- */
.bid-detail-panel {
    border: 1px solid #E5E7EB;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 32px;
    background: #fff;
}

.bid-panel-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.bid-panel-title {
    font-size: 16px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 20px;
    padding-bottom: 8px;
    border-bottom: 2px solid #E5E7EB;
}

.bid-conditions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.bid-subsection-title {
    font-size: 14px;
    font-weight: 700;
    color: #4B5563;
    margin-bottom: 12px;
}

/* ---- 세로 타임라인 ---- */
.bid-timeline-vertical {
    position: relative;
    padding: 0;
}

.bid-tl-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
}

.tl-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.tl-dot {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #D1D5DB;
    border: 3px solid #E5E7EB;
    z-index: 1;
    transition: all 0.2s;
}

.tl-dot.done {
    background: #10B981;
    border-color: #A7F3D0;
}

.tl-dot.active {
    width: 18px;
    height: 18px;
    background: #1565C0;
    border-color: #BFDBFE;
    box-shadow: 0 0 0 4px rgba(21,101,192,0.15);
    animation: tl-pulse 2s infinite;
}

.tl-dot.active-deadline {
    width: 18px;
    height: 18px;
    background: #DC2626;
    border-color: #FECACA;
    box-shadow: 0 0 0 4px rgba(220,38,38,0.15);
    animation: tl-pulse-red 2s infinite;
}

.tl-dot.active-open {
    width: 18px;
    height: 18px;
    background: #059669;
    border-color: #A7F3D0;
    box-shadow: 0 0 0 4px rgba(5,150,105,0.15);
    animation: tl-pulse-green 2s infinite;
}

@keyframes tl-pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(21,101,192,0.15); }
    50% { box-shadow: 0 0 0 8px rgba(21,101,192,0.08); }
}
@keyframes tl-pulse-red {
    0%, 100% { box-shadow: 0 0 0 4px rgba(220,38,38,0.15); }
    50% { box-shadow: 0 0 0 8px rgba(220,38,38,0.08); }
}
@keyframes tl-pulse-green {
    0%, 100% { box-shadow: 0 0 0 4px rgba(5,150,105,0.15); }
    50% { box-shadow: 0 0 0 8px rgba(5,150,105,0.08); }
}

.tl-line {
    width: 2px;
    flex: 1;
    background: #E5E7EB;
    min-height: 24px;
}
.tl-line.done {
    background: linear-gradient(to bottom, #A7F3D0, #D1D5DB);
}

.tl-content {
    padding-bottom: 20px;
}

.tl-label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 2px;
}

.tl-label[data-step="공고일"] { color: #6B7280; }
.tl-label[data-step="입찰개시"] { color: #1565C0; }
.tl-label[data-step="자격등록마감"] { color: #7C3AED; }
.tl-label[data-step="마감일"] { color: #DC2626; }
.tl-label[data-step="개찰일"] { color: #059669; }

.tl-date {
    font-size: 14px;
    color: #6B7280;
}

.tl-dday {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 6px;
    vertical-align: middle;
}
.tl-dday-ing {
    background: #FEE2E2;
    color: #DC2626;
}
.tl-dday-done {
    background: #D1FAE5;
    color: #059669;
}
.tl-dday-pre {
    background: #DBEAFE;
    color: #1D4ED8;
}

/* ---- 아코디언 ---- */
.bid-accordion {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.bid-accordion-header {
    padding: 14px 16px;
    background: #F9FAFB;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    font-size: 15px;
}

.bid-accordion-header::-webkit-details-marker {
    display: none;
}

.bid-accordion-title {
    font-weight: 600;
    color: #1F2937;
}

.bid-accordion-count {
    font-size: 12px;
    color: #6B7280;
    background: #E5E7EB;
    padding: 2px 8px;
    border-radius: 10px;
}

.bid-accordion-arrow {
    margin-left: auto;
    transition: transform 0.2s;
}

.bid-accordion-arrow::after {
    content: '\25BC';
    font-size: 11px;
    color: #9CA3AF;
}

.bid-accordion[open] .bid-accordion-arrow {
    transform: rotate(180deg);
}

.bid-accordion-body {
    padding: 16px;
    border-top: 1px solid #E5E7EB;
}

/* ---- 교차 배경 섹션 ---- */
.bid-section-alt-bg {
    background: #F9FAFB;
    margin-left: -16px;
    margin-right: -16px;
    padding: 24px 16px;
}

/* ---- 빈 상태 UI ---- */
.bid-empty-state {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 32px 16px;
    color: #9CA3AF;
    font-size: 14px;
}

.bid-empty-state-icon {
    font-size: 24px;
}

/* ---- 참가자격 리스트 ---- */
.bid-qualification-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bid-qualification-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 8px 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 14px;
    color: #374151;
}

.bid-qualification-list li:last-child {
    border-bottom: none;
}

.bid-qualification-list li .ql-label {
    flex-shrink: 0;
    background: #EFF6FF;
    color: #1D4ED8;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 3px;
    min-width: 52px;
    text-align: center;
}

/* ---- 물품/문서 리스트 ---- */
.bid-item-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bid-item-list li {
    padding: 10px 12px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 14px;
    color: #374151;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 16px;
}

.bid-item-list li:last-child {
    margin-bottom: 0;
}

.bid-item-attr {
    font-size: 13px;
    color: #6B7280;
}

.bid-item-attr strong {
    color: #374151;
    font-weight: 600;
}

/* ---- 첨부문서 ---- */
.bid-doc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bid-doc-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-bottom: 1px solid #F3F4F6;
    font-size: 14px;
    color: #374151;
}

.bid-doc-list li:last-child {
    border-bottom: none;
}

.bid-doc-list li a {
    color: #1D4ED8;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 4px;
    transition: all 0.15s;
}
.bid-doc-list li a::before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%231D4ED8' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M7 21h10a2 2 0 002-2V9.414a1 1 0 00-.293-.707l-5.414-5.414A1 1 0 0012.586 3H7a2 2 0 00-2 2v14a2 2 0 002 2z'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    flex-shrink: 0;
}
.bid-doc-list li a:hover {
    background: #EFF6FF;
    color: #1E40AF;
    text-decoration: none;
}

/* ---- 낙찰 결과 ---- */
.bid-result-box {
    background: #F5F3FF;
    border: 1px solid #DDD6FE;
    border-radius: 8px;
    padding: 20px;
}

.bid-result-box .result-title {
    font-size: 15px;
    font-weight: 700;
    color: #6A1B9A;
    margin-bottom: 14px;
}

.bid-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
}

.bid-result-item {
    background: #fff;
    border: 1px solid #E9D5FF;
    border-radius: 6px;
    padding: 12px 14px;
}

.bid-result-item .r-label {
    font-size: 12px;
    color: #7C3AED;
    font-weight: 600;
    margin-bottom: 4px;
}

.bid-result-item .r-value {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
}

/* ---- 투찰 분석 게이트 ---- */
.bid-opening-gate {
    background: linear-gradient(135deg, #EFF6FF 0%, #F5F3FF 100%);
    border: 1px solid #BFDBFE;
    border-radius: 10px;
    padding: 24px;
    text-align: center;
}

.bid-opening-gate .gate-title {
    font-size: 17px;
    font-weight: 700;
    color: #1E40AF;
    margin-bottom: 8px;
}

.bid-opening-gate .gate-desc {
    font-size: 14px;
    color: #374151;
    margin-bottom: 16px;
    line-height: 1.6;
}

/* ---- 통계 카드 ---- */
.bid-stat-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
    align-items: stretch;
}

.bid-stat-card,
.bid-stat-card-accent {
    margin: 0;
    padding: 14px 16px;
}

.bid-stat-card dd,
.bid-stat-card-accent dd {
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bid-stat-card {
    flex: 1;
    min-width: 130px;
    background: #fff;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 14px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bid-stat-card .stat-label {
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 6px;
    font-weight: 500;
    white-space: nowrap;
}

.bid-stat-card .stat-value {
    font-size: 20px;
    font-weight: 700;
    color: #1565C0;
    line-height: 1.3;
    word-break: break-all;
}

.bid-stat-card .stat-unit {
    font-size: 11px;
    color: #9CA3AF;
    margin-top: 2px;
}

/* ---- 유형별 분포 바 ---- */
.bid-type-bar-wrap {
    margin-top: 8px;
}

.bid-type-bar-row {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 13px;
}

.bid-type-bar-row .bar-label {
    width: 40px;
    color: #374151;
    font-weight: 600;
    flex-shrink: 0;
}

.bid-type-bar-row .bar-track {
    flex: 1;
    height: 10px;
    background: #E5E7EB;
    border-radius: 5px;
    overflow: hidden;
}

.bid-type-bar-row .bar-fill {
    height: 100%;
    border-radius: 5px;
}

.bar-fill-construction { background: #3B82F6; }
.bar-fill-service { background: #10B981; }
.bar-fill-goods { background: #F59E0B; }

.bid-type-bar-row .bar-count {
    width: 40px;
    text-align: right;
    color: #6B7280;
    font-size: 12px;
}

/* ---- 리스트 테이블 ---- */
.bid-list-table-wrap {
    overflow-x: auto;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.bid-list-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    min-width: 600px;
}

.bid-list-table thead th {
    background: linear-gradient(135deg, #1E3A5F 0%, #1E40AF 100%);
    color: #fff;
    font-weight: 600;
    padding: 13px 14px;
    border: none;
    border-right: 1px solid rgba(255,255,255,0.1);
    text-align: left;
    white-space: nowrap;
    font-size: 13px;
    letter-spacing: -0.2px;
}
.bid-list-table thead th:last-child {
    border-right: none;
}

.bid-list-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #F3F4F6;
    border-right: none;
    border-left: none;
    color: #111827;
    vertical-align: middle;
    transition: background 0.15s;
}

.bid-list-table tbody tr:nth-child(even) {
    background: #FAFBFC;
}

.bid-list-table tbody tr:hover {
    background: #EFF6FF;
}

.bid-list-table .td-title {
    max-width: 320px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bid-list-table .td-title a {
    color: #1D4ED8;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.15s;
}
.bid-list-table .td-title a:hover {
    color: #1E40AF;
    text-decoration: underline;
}

.bid-list-table .td-status {
    white-space: nowrap;
    text-align: center;
}

.bid-list-table .td-price {
    text-align: right;
    white-space: nowrap;
    font-weight: 700;
    color: #1565C0;
    font-variant-numeric: tabular-nums;
}

.bid-list-table .td-date {
    white-space: nowrap;
    color: #6B7280;
    font-size: 12px;
}

.bid-list-table .td-org {
    font-size: 12px;
    color: #4B5563;
    max-width: 140px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* ---- CTA 박스 ---- */
.bid-cta-box {
    background: #F5F7FA;
    border: 1px solid #E0E0E0;
    border-radius: 8px;
    padding: 28px 24px;
    text-align: center;
    margin-top: 32px;
}

.bid-cta-box .cta-title {
    font-size: 18px;
    font-weight: 700;
    color: #1F2937;
    margin-bottom: 8px;
}

.bid-cta-box .cta-desc {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 20px;
    line-height: 1.6;
}

.bid-cta-button {
    display: inline-block;
    background: #1565C0;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 12px 32px;
    border-radius: 6px;
    text-decoration: none;
    transition: background 0.2s;
}

.bid-cta-button:hover {
    background: #0D47A1;
    color: #fff;
}

.bid-cta-button-secondary {
    display: inline-block;
    background: transparent;
    color: #1565C0;
    font-size: 14px;
    font-weight: 600;
    padding: 10px 24px;
    border-radius: 6px;
    border: 2px solid #1565C0;
    text-decoration: none;
    margin-left: 10px;
    transition: all 0.2s;
}

.bid-cta-button-secondary:hover {
    background: #EFF6FF;
    color: #1565C0;
}

/* ---- 원문 링크 (보조 스타일) ---- */
.bid-external-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #374151;
    background: #fff;
    border: 1.5px solid #D1D5DB;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 11px 22px;
    border-radius: 8px;
    transition: all 0.2s;
}
.bid-external-link svg {
    color: #6B7280;
}
.bid-external-link:hover {
    background: #F9FAFB;
    border-color: #9CA3AF;
    color: #111827;
    text-decoration: none;
}

/* ---- 기관 전체 입찰 보기 (버튼형) ---- */
.bid-internal-link-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #1D4ED8;
    background: #EFF6FF;
    border: 1.5px solid #BFDBFE;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.2s;
}
.bid-internal-link-btn:hover {
    background: #DBEAFE;
    border-color: #93C5FD;
    color: #1E40AF;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(29,78,216,0.12);
}

/* ---- 비고 박스 ---- */
.bid-remark-box {
    background: #FFFBEB;
    border: 1px solid #FDE68A;
    border-radius: 6px;
    padding: 14px 16px;
    font-size: 14px;
    color: #374151;
    line-height: 1.7;
    white-space: pre-line;
}

/* ---- 낙찰업체 리스트 ---- */
.bid-winner-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bid-winner-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid #F3F4F6;
    font-size: 14px;
}

.bid-winner-list li:last-child {
    border-bottom: none;
}

.bid-winner-list .winner-rank {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #E5E7EB;
    color: #374151;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.bid-winner-list li:nth-child(1) .winner-rank { background: #FEF3C7; color: #92400E; }
.bid-winner-list li:nth-child(2) .winner-rank { background: #F3F4F6; color: #374151; }
.bid-winner-list li:nth-child(3) .winner-rank { background: #FEF2E4; color: #92400E; }

.bid-winner-list .winner-name {
    flex: 1;
    font-weight: 600;
    color: #111827;
}

.bid-winner-list .winner-count {
    font-size: 13px;
    color: #6B7280;
}

/* ---- Breadcrumb ---- */
.bid-breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 4px;
    font-size: 13px;
    color: #6B7280;
    margin-bottom: 20px;
    padding: 0;
    list-style: none;
}

.bid-breadcrumb li {
    display: flex;
    align-items: center;
    gap: 4px;
}

.bid-breadcrumb li + li::before {
    content: '>';
    color: #D1D5DB;
    margin-right: 2px;
}

.bid-breadcrumb a {
    color: #6B7280;
    text-decoration: none;
}

.bid-breadcrumb a:hover {
    color: #1565C0;
    text-decoration: underline;
}

.bid-breadcrumb .current {
    color: #374151;
    font-weight: 600;
}

/* ---- 핵심 지표 카드 (강조형) ---- */
.bid-stat-card-accent {
    flex: 1;
    min-width: 130px;
    background: linear-gradient(135deg, #EFF6FF 0%, #F0F9FF 100%);
    border: 1px solid #BFDBFE;
    border-radius: 10px;
    padding: 18px 16px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bid-stat-card-accent .stat-label {
    font-size: 12px;
    color: #3B82F6;
    margin-bottom: 6px;
    font-weight: 600;
    letter-spacing: -0.2px;
}

.bid-stat-card-accent .stat-value {
    font-size: 22px;
    font-weight: 800;
    color: #1E40AF;
    word-break: break-all;
}

.bid-stat-card-accent .stat-unit {
    font-size: 11px;
    color: #60A5FA;
    margin-top: 2px;
}

/* ---- 인라인 스타일 대체 유틸리티 ---- */
.stat-value-sm { font-size: 15px !important; }

/* ---- button CTA 리셋 ---- */
button.bid-cta-button {
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ---- 상태별 알림 배너 ---- */
.bid-status-banner {
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    line-height: 1.6;
}

.bid-status-banner-ing {
    background: #ECFDF5;
    border: 1px solid #A7F3D0;
    color: #065F46;
}

.bid-status-banner-comp {
    background: #F5F3FF;
    border: 1px solid #DDD6FE;
    color: #5B21B6;
}

.bid-status-banner-end {
    background: #FFF7ED;
    border: 1px solid #FED7AA;
    color: #9A3412;
}

.bid-status-banner-pre {
    background: #EFF6FF;
    border: 1px solid #BFDBFE;
    color: #1E40AF;
}

.bid-status-banner .banner-icon {
    font-size: 22px;
    flex-shrink: 0;
}

.bid-status-banner strong {
    font-weight: 700;
}

#dday-countdown {
    font-weight: 800;
    font-size: 16px;
}

/* ---- 가격 히어로 ---- */
.bid-price-hero {
    background: #fff;
    border: 2px solid #1565C0;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
    text-align: center;
}

.bid-price-label {
    font-size: 13px;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 6px;
}

.bid-price-hero .price-main {
    font-size: 28px;
    font-weight: 800;
    color: #1565C0;
    letter-spacing: -0.5px;
}

.bid-price-hero .price-sub {
    font-size: 14px;
    color: #6B7280;
    margin-top: 4px;
}

/* ---- 가격 비율 시각화 ---- */
.price-ratio-wrap {
    margin-top: 16px;
    padding: 16px;
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
}
.price-ratio-title {
    font-size: 12px;
    font-weight: 600;
    color: #6B7280;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.price-ratio-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.price-ratio-row:last-child {
    margin-bottom: 0;
}
.price-ratio-label {
    width: 72px;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    flex-shrink: 0;
    text-align: right;
}
.price-ratio-bar-track {
    flex: 1;
    height: 22px;
    background: #E5E7EB;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}
.price-ratio-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.6s ease;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-right: 8px;
    min-width: 40px;
}
.price-ratio-bar-fill span {
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    white-space: nowrap;
}
.bar-fill-primary {
    background: linear-gradient(90deg, #3B82F6, #1D4ED8);
}
.bar-fill-success {
    background: linear-gradient(90deg, #10B981, #059669);
}
.bar-fill-warning {
    background: linear-gradient(90deg, #F59E0B, #D97706);
}
.bar-fill-purple {
    background: linear-gradient(90deg, #8B5CF6, #7C3AED);
}
.price-ratio-value {
    width: 80px;
    font-size: 13px;
    font-weight: 700;
    color: #111827;
    text-align: right;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

/* ---- 내부링크 태그 ---- */
.bid-tag-link {
    display: inline-block;
    background: #EFF6FF;
    color: #1D4ED8;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 10px;
    border-radius: 4px;
    text-decoration: none;
    margin: 2px 4px 2px 0;
    transition: background 0.15s;
}

.bid-tag-link:hover {
    background: #DBEAFE;
    color: #1E40AF;
    text-decoration: none;
}

.bid-internal-link {
    color: #1D4ED8;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 14px;
    border-radius: 6px;
    background: #EFF6FF;
    border: 1px solid #DBEAFE;
    font-size: 13px;
    transition: all 0.15s;
}

.bid-internal-link:hover {
    text-decoration: none;
    background: #DBEAFE;
    border-color: #93C5FD;
    color: #1E40AF;
}

/* ---- FAQ 내부 인라인 링크 버튼 ---- */
.faq-inline-btn {
    display: inline-block;
    color: #1D4ED8;
    background: #EFF6FF;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 600;
    font-size: 13px;
    text-decoration: none;
    transition: all 0.15s;
    margin-top: 4px;
}
.faq-inline-btn:hover {
    background: #DBEAFE;
    color: #1E40AF;
    text-decoration: none;
}

/* ---- 첨부문서 리스트 개선 ---- */
.bid-doc-list li {
    padding: 10px 0;
    border-bottom: 1px solid #F3F4F6;
}

/* ---- 참가자격 상세 긴 텍스트 ---- */
.bid-pre-wrap {
    white-space: pre-line;
    line-height: 1.7;
    max-height: 200px;
    overflow-y: auto;
}

/* ---- Mid-page CTA ---- */
.bid-mid-cta {
    background: linear-gradient(135deg, #F0F9FF 0%, #EFF6FF 50%, #F5F3FF 100%);
    border: 1px solid #BFDBFE;
    border-radius: 12px;
    padding: 28px 24px;
    text-align: center;
    margin: 32px 0;
}

.bid-mid-cta .mid-cta-title {
    font-size: 17px;
    font-weight: 700;
    color: #1E40AF;
    margin-bottom: 8px;
}

.bid-mid-cta .mid-cta-desc {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    margin-bottom: 16px;
}

/* ---- 투찰 분석 블러 게이트 ---- */
.gate-preview {
    position: relative;
    margin-bottom: 20px;
}

.gate-blur-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
    filter: blur(4px);
    user-select: none;
    pointer-events: none;
}

.gate-blur-table th,
.gate-blur-table td {
    padding: 10px 12px;
    border: 1px solid #E5E7EB;
}

.gate-blur-table thead th {
    background: #F3F4F6;
    font-weight: 700;
}

.gate-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(2px);
    border-radius: 8px;
}

.gate-lock-icon {
    width: 48px;
    height: 48px;
    background: #1565C0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    font-size: 20px;
    color: #fff;
}

.gate-overlay .gate-text {
    font-size: 15px;
    font-weight: 600;
    color: #1E40AF;
    margin-bottom: 12px;
}

/* ---- 낙찰 결과 카드 그리드 ---- */
.bid-result-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 12px;
}

.bid-result-card {
    background: #fff;
    border: 1px solid #E9D5FF;
    border-radius: 8px;
    padding: 16px;
    text-align: center;
}

.bid-result-card .rc-label {
    font-size: 12px;
    color: #7C3AED;
    font-weight: 600;
    margin-bottom: 4px;
}

.bid-result-card .rc-value {
    font-size: 18px;
    font-weight: 700;
    color: #111827;
}

.bid-result-card .rc-value a {
    color: #1D4ED8;
    text-decoration: none;
}

.bid-result-card .rc-value a:hover {
    text-decoration: underline;
}

/* ---- 관련 입찰 내부링크 그리드 ---- */
.bid-related-links {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-top: 16px;
}

.related-link-group {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    padding: 16px;
}

.related-link-group .rlg-title {
    font-size: 13px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 10px;
    padding-bottom: 6px;
    border-bottom: 1px solid #E5E7EB;
}

.related-link-group .rlg-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

/* ---- FAQ 아코디언 ---- */
.bid-faq-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.bid-faq-item {
    border: 1px solid #E5E7EB;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}

.bid-faq-item summary {
    padding: 14px 16px;
    font-size: 15px;
    font-weight: 600;
    color: #1F2937;
    cursor: pointer;
    background: #F9FAFB;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.bid-faq-item summary::-webkit-details-marker {
    display: none;
}

.bid-faq-item summary::before {
    content: 'Q.';
    color: #1565C0;
    font-weight: 800;
    flex-shrink: 0;
}

.bid-faq-item summary::after {
    content: '+';
    margin-left: auto;
    font-size: 18px;
    color: #9CA3AF;
    transition: transform 0.2s;
}

.bid-faq-item[open] summary::after {
    content: '-';
}

.bid-faq-item .faq-answer {
    padding: 14px 16px;
    font-size: 14px;
    color: #374151;
    line-height: 1.7;
    background: #fff;
    border-top: 1px solid #E5E7EB;
}

/* ---- CTA 신뢰 지표 ---- */
.cta-trust {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 16px;
    padding-top: 14px;
    border-top: 1px solid #E5E7EB;
}

.cta-trust-item {
    font-size: 12px;
    color: #6B7280;
    text-align: center;
}

.cta-trust-item strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
    color: #374151;
}

/* ---- 투찰 분석 배지 ---- */
.bo-badge {
    display: inline-block;
    background: #DBEAFE;
    color: #1D4ED8;
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 12px;
    margin-left: 8px;
    vertical-align: middle;
}

/* ---- 투찰 분석 테이블 래퍼 ---- */
.bo-table-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    border: 1px solid #E5E7EB;
}
.bo-fade-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: linear-gradient(to bottom, rgba(250,251,252,0) 0%, rgba(250,251,252,0.85) 60%, rgba(250,251,252,1) 100%);
    pointer-events: none;
}

/* ---- 투찰 분석 CTA ---- */
.bo-cta-area {
    text-align: center;
    margin-top: 14px;
}
.bo-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #F59E0B, #D97706);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
    box-shadow: 0 3px 10px rgba(217,119,6,0.3);
}
.bo-cta-btn:hover {
    background: linear-gradient(135deg, #D97706, #B45309);
    box-shadow: 0 5px 16px rgba(217,119,6,0.4);
    transform: translateY(-1px);
    color: #fff;
    text-decoration: none;
}
.bo-cta-sub {
    font-size: 13px;
    color: #6B7280;
    margin-top: 10px;
    margin-bottom: 0;
}

/* ---- 투찰 분석 실데이터 테이블 ---- */
.bid-opening-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin-bottom: 0;
}

.bid-opening-table thead th {
    background: #1E40AF;
    color: #fff;
    font-weight: 600;
    padding: 12px 14px;
    border: none;
    text-align: left;
    white-space: nowrap;
    font-size: 13px;
}
.bid-opening-table .th-rank { width: 60px; text-align: center; }
.bid-opening-table .th-price { text-align: right; }
.bid-opening-table .th-rate { text-align: right; width: 90px; }

.bid-opening-table tbody td {
    padding: 12px 14px;
    border-bottom: 1px solid #F3F4F6;
    color: #111827;
    vertical-align: middle;
}

.bid-opening-table .rank-cell {
    text-align: center;
    width: 56px;
}
.rank-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #F3F4F6;
    color: #374151;
    font-weight: 800;
    font-size: 13px;
}
.rank-gold {
    background: linear-gradient(135deg, #FCD34D, #F59E0B);
    color: #fff;
    box-shadow: 0 2px 8px rgba(245,158,11,0.35);
    font-size: 14px;
}
.rank-silver {
    background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
    color: #fff;
}
.rank-bronze {
    background: linear-gradient(135deg, #D4956B, #B87333);
    color: #fff;
}

.bid-opening-table .name-cell {
    font-weight: 500;
}

.bid-opening-table .price-cell {
    text-align: right;
    font-weight: 700;
    color: #1D4ED8;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

.bid-opening-table .rate-cell {
    text-align: right;
    white-space: nowrap;
    font-variant-numeric: tabular-nums;
}

/* 실데이터 공개 행 */
.bid-opening-table .reveal-row td {
    background: #fff;
}
.bid-opening-table .reveal-row:hover td {
    background: #F9FAFB;
}

/* 블러 행 */
.bid-opening-table .blur-row td {
    user-select: none;
    background: #FAFBFC;
    color: #9CA3AF;
}
.bid-opening-table .blur-row .price-cell {
    color: #9CA3AF !important;
}
.bid-opening-table .blur-row .rate-cell {
    color: #9CA3AF !important;
}
.blur-text {
    filter: blur(5px);
    opacity: 0.5;
    user-select: none;
    pointer-events: none;
    display: inline-block;
    color: #9CA3AF !important;
}

/* 1위 행 특별 스타일 */
.bid-opening-table .rank-1 td {
    background: #FFFBEB;
    border-bottom: 2px solid #FDE68A;
}
.bid-opening-table .rank-1 .blur-text {
    filter: blur(6px);
    opacity: 0.5;
    color: #92400E;
}

/* 나머지 업체 행 */
.bid-opening-table .more-row td {
    text-align: center;
    color: #6B7280;
    font-size: 13px;
    padding: 14px;
    background: #FAFBFC;
}
.bid-opening-table .more-row svg {
    vertical-align: -2px;
    margin-right: 4px;
    filter: blur(3px);
    user-select: none;
}

/* ---- 회원가입 모달 ---- */
.bid-signup-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bid-signup-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(2px);
}

.bid-signup-modal-content {
    position: relative;
    background: #fff;
    border-radius: 16px;
    padding: 32px;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

.bid-signup-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 24px;
    color: #9CA3AF;
    cursor: pointer;
    padding: 4px;
    line-height: 1;
}

.bid-signup-modal-close:hover {
    color: #374151;
}

.bid-signup-modal-body h3 {
    font-size: 20px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 16px;
    line-height: 1.4;
}

.bid-signup-modal-benefits {
    list-style: none;
    padding: 0;
    margin: 0 0 8px;
}

.bid-signup-modal-benefits li {
    padding: 8px 0;
    font-size: 15px;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
}

.bid-signup-modal-benefits li::before {
    content: '\2713';
    color: #10B981;
    font-weight: 700;
    font-size: 16px;
    flex-shrink: 0;
}

/* ---- 모달 탭 & 로그인 폼 ---- */
.modal-tab-wrap {
    display: flex;
    border-bottom: 2px solid #E5E7EB;
    margin-top: 16px;
    margin-bottom: 0;
}

.modal-tab {
    flex: 1;
    padding: 10px 0;
    background: none;
    border: none;
    font-size: 14px;
    font-weight: 600;
    color: #9CA3AF;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    margin-bottom: -2px;
    transition: color 0.2s, border-color 0.2s;
}

.modal-tab:hover {
    color: #374151;
}

.modal-tab.active {
    color: #2563EB;
    border-bottom-color: #2563EB;
}

.modal-tab-content {
    display: none;
    padding-top: 16px;
}

.modal-tab-content.active {
    display: block;
}

.modal-input-group {
    margin-bottom: 12px;
}

.modal-input-group label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 4px;
}

.modal-input-group input {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D1D5DB;
    border-radius: 6px;
    font-size: 14px;
    color: #111827;
    background: #F9FAFB;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.modal-input-group input:focus {
    outline: none;
    border-color: #2563EB;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modal-input-group input::placeholder {
    color: #9CA3AF;
}

.modal-login-error {
    background: #FEF2F2;
    color: #DC2626;
    font-size: 13px;
    padding: 8px 12px;
    border-radius: 6px;
    margin-bottom: 8px;
    line-height: 1.5;
}

.modal-login-links {
    text-align: center;
    margin-top: 12px;
    font-size: 13px;
    color: #6B7280;
}

.modal-login-links a {
    color: #6B7280;
    text-decoration: none;
}

.modal-login-links a:hover {
    color: #2563EB;
    text-decoration: underline;
}

.modal-login-links span {
    margin: 0 8px;
    color: #D1D5DB;
}

.modal-signup-desc {
    font-size: 14px;
    color: #6B7280;
    margin-bottom: 16px;
    line-height: 1.6;
    text-align: center;
}

/* ---- Sticky CTA (공통) ---- */
.bid-sticky-cta {
    display: none;
    position: fixed;
    z-index: 999;
}

/* ---- Desktop Sticky CTA (플로팅 버튼, 우측 하단) ---- */
@media (min-width: 769px) {
    .bid-sticky-cta {
        bottom: 32px;
        right: 32px;
        left: auto;
        background: transparent;
        border-top: none;
        padding: 0;
        box-shadow: none;
        text-align: right;
    }

    .bid-sticky-cta.visible {
        display: block;
    }

    .bid-sticky-cta .bid-cta-button {
        width: auto;
        display: inline-block;
        text-align: center;
        padding: 14px 24px;
        font-size: 15px;
        border-radius: 32px;
        box-shadow: 0 4px 20px rgba(37, 99, 235, 0.35);
        transition: transform 0.15s ease, box-shadow 0.15s ease;
    }

    .bid-sticky-cta .bid-cta-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 8px 28px rgba(37, 99, 235, 0.45);
    }
}

/* ---- Mobile Sticky CTA (하단 풀 너비 바) ---- */
@media (max-width: 768px) {
    .bid-sticky-cta {
        bottom: 0;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid #E5E7EB;
        padding: 12px 16px;
        text-align: center;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.08);
    }

    .bid-sticky-cta .bid-cta-button {
        width: 100%;
        display: block;
        text-align: center;
        padding: 14px;
        font-size: 16px;
        border-radius: 8px;
    }
}

/* ---- 반응형 ---- */
@media (max-width: 768px) {
    .bid-seo-container {
        padding: 72px 12px 100px;
    }

    .bid-seo-container h1 {
        font-size: 20px;
    }

    .bid-stat-row {
        gap: 8px;
    }

    .bid-stat-card,
    .bid-stat-card-accent {
        min-width: 45%;
        padding: 12px 10px;
    }

    .bid-stat-card .stat-value,
    .bid-stat-card-accent .stat-value {
        font-size: 17px;
    }

    .bid-info-table th {
        width: 38%;
        font-size: 13px;
    }

    .bid-info-list dt {
        width: 38%;
        min-width: 38%;
        font-size: 13px;
    }

    .bid-panel-grid,
    .bid-conditions-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .bid-detail-panel {
        padding: 16px;
    }

    .bid-section-alt-bg {
        margin-left: -16px;
        margin-right: -16px;
        padding: 20px 16px;
    }

    .bid-result-cards {
        grid-template-columns: 1fr 1fr;
    }

    .bid-result-grid {
        grid-template-columns: 1fr 1fr;
    }

    .bid-cta-button-secondary {
        margin-left: 0;
        margin-top: 8px;
    }

    .bid-cta-box {
        padding: 20px 16px;
    }

    .bid-price-hero .price-main {
        font-size: 22px;
    }

    .bid-price-highlight {
        font-size: 18px;
    }

    .bid-related-links {
        grid-template-columns: 1fr;
    }

    .bid-mid-cta {
        padding: 20px 16px;
    }

    .bid-sticky-cta.visible {
        display: block;
    }

    .cta-trust {
        gap: 12px;
    }

    .bid-breadcrumb {
        font-size: 12px;
    }

    .bid-signup-modal-content {
        padding: 24px 20px;
        max-width: 340px;
    }

    .bid-signup-modal-body h3 {
        font-size: 18px;
    }

    .bid-detail-meta {
        flex-direction: column;
        gap: 4px 0;
    }
    .bid-detail-meta dd {
        border-right: none;
        padding-right: 0;
        margin-right: 0;
        margin-bottom: 4px;
    }

    /* 리스트 테이블 모바일 */
    .bid-list-table-wrap {
        border-radius: 8px;
    }
    .bid-list-table thead th {
        padding: 10px 10px;
        font-size: 12px;
    }
    .bid-list-table tbody td {
        padding: 10px 10px;
        font-size: 12px;
    }
    .bid-list-table .td-title {
        max-width: 180px;
    }

    /* 타임라인 모바일 */
    .tl-content {
        padding-bottom: 14px;
    }
    .tl-label {
        font-size: 12px;
    }
    .tl-date {
        font-size: 13px;
    }

    /* 투찰 분석 모바일 */
    .bid-opening-table {
        font-size: 12px;
    }
    .bid-opening-table thead th {
        padding: 10px 8px;
        font-size: 11px;
    }
    .bid-opening-table tbody td {
        padding: 10px 8px;
    }
    .bid-opening-table .name-cell {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .bo-cta-btn {
        padding: 12px 20px;
        font-size: 14px;
    }

    /* 가격 비율 바 모바일 */
    .price-ratio-wrap {
        margin-top: 12px;
    }

    /* 외부/내부 링크 버튼 모바일 */
    .bid-external-link,
    .bid-internal-link-btn {
        font-size: 13px;
        padding: 10px 16px;
    }
}

/* ---- 모바일 카드뷰 (리스트 페이지) ---- */
.bid-list-mobile-cards { display: none; }

@media (max-width: 768px) {
    .bid-list-table-wrap { display: none; }
    .bid-list-mobile-cards { display: flex; flex-direction: column; gap: 10px; }

    .bid-mobile-card {
        display: block;
        border: 1px solid #E5E7EB;
        border-radius: 10px;
        padding: 14px 16px;
        background: #fff;
        text-decoration: none;
        color: inherit;
        transition: box-shadow 0.15s;
    }
    .bid-mobile-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

    .bid-mobile-card .card-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 8px;
    }
    .bid-mobile-card .card-title {
        font-size: 14px;
        font-weight: 600;
        color: #111827;
        line-height: 1.5;
        margin-bottom: 8px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .bid-mobile-card .card-meta {
        display: flex;
        justify-content: space-between;
        font-size: 13px;
        color: #6B7280;
    }
    .bid-mobile-card .card-price {
        font-weight: 700;
        color: #1565C0;
    }
    .bid-mobile-card .card-date {
        font-size: 12px;
        color: #9CA3AF;
    }
}
