/* /resources/css/pages/support/transpoGeneralFee.css */

/* ===== 전체 랩핑 ===== */
.general-fee-wrap {
    width: 100%;
    max-width: 1490px;
    margin: 0 auto;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 50px;
    padding-bottom: 40px;
}

/* ===== 상단 검색 영역 ===== */
.general-fee-search {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 10px;
}
.vehicle-search {
    font-size: 1.08rem;
    font-weight: 500;
    color: #343a40;
    padding-left: 20px;
    letter-spacing: 0.16em;
}

/* 'select' 박스에 공통 디자인 테마 적용 */
.transit-vehicle-select {
    width: 200px;
    height: 40px;
    font-size: 1.03rem;
    padding: 8px 12px;
    border: 1px solid #79c4ff;
    border-radius: 5px;
    outline: none;
    background: #f0f5f5 url('/resources/images/comm/icon/menu_down.svg') no-repeat right 10px center/24px 24px;
    transition: border-color 0.15s, background-color 0.15s, box-shadow 0.15s;
    font-family: inherit;
    font-weight: 400;
    box-sizing: border-box;
    letter-spacing: 0.13rem;
    color: #5a5959;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
.transit-vehicle-select:hover,
.transit-vehicle-select:focus {
    border-color: #2196f3;
    background-color: #eef7fd;
    background-image: url('/resources/images/comm/icon/menu_down.svg'); /* 호버/포커스 시에도 이미지 유지 */
    box-shadow: 0 0 0 2px #bae2ff;
}
.transit-vehicle-select option {
    color: #222;
}
.transit-vehicle-select option[value=""] {
    color: #b1b7c5;
}

.general-fee-divider {
    margin: 10px 0;
    border: none;
    border-top: 2px solid #43a2f7;
}

.unit-wrap {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 5px;
}
.general-fee-unit {
    color: #3e3d3d;
    font-weight: 300;
    font-size: 0.8rem;
}

/* ===== 테이블 공통 스타일 ===== */
.general-fee-table-wrap,
.spec-table-wrap {
    overflow-x: auto;
}
.general-fee-table,
.spec-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
.general-fee-table th, .general-fee-table td,
.spec-table th, .spec-table td {
    padding: 9px 4px;
    border: 1px solid #0799F4;
    text-align: center;
    font-size: 1.0rem;
    width: 8.33%; /* 12열 기준 */
    word-break: break-all;
    white-space: nowrap; /* 내용이 길어져도 줄바꿈 방지 */
}

/* ===== 요금표 테이블 고유 스타일 ===== */
.general-fee-table th {
    background: #e0effc;
    font-weight: 400;
}
.general-fee-table td {
    background: #fff;
    color: #070707;
    font-weight: 300;
    text-align: right; /* 숫자 오른쪽 정렬 */
    padding-right: 8px; /* 오른쪽 여백 */
}
.general-fee-table td:first-child {
    background: #e0effc;
    font-weight: 400;
    text-align: center;
    padding-right: 4px;
}
.general-fee-table .tbody-row:hover td {
    background: #eaf2fe;
}

/* ===== 규격표 테이블 고유 스타일 ===== */
.spec-table th {
    background: #e9f0fa;
    font-weight: 400;
}
.spec-table td {
    font-weight: 300;
}
.spec-table td:first-child {
    background: #e9f0fa;
    font-weight: 400;
}

/* ===== 적재함 규격 섹션 ===== */
.transit-spec-section {
    display: flex;
    flex-direction: column;
    margin-top: 30px;
}
.spec-title-set {
    display: flex;
    align-items: flex-end; /* h3와 unit의 베이스라인 정렬 */
    margin-bottom: 10px;
}
.spec-title {
    display: flex;
    align-items: center;
    gap: 8px;
}
.spec-title img {
    width: 24px;
    height: 24px;
}
.spec-title h3 {
    font-size: 1.2rem;
    font-weight: bold;
    color: #3d2363;
    margin: 0;
}
.unit-meter-text {
    margin-left: auto;
    color: #868686;
    font-size: 0.8rem;
    font-weight: 400;
    margin-bottom: 2px; /* h3와 높이 미세조정 */
}

/* ===== 엑셀 다운로드 버튼 ===== */
.down-btn-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 25px;
}
.btn-fee-list {
    font-size: 1.04rem;
    width: 180px;
    background: #348BEE;
    color: #fff;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 22px;
    transition: background 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn-fee-list:hover,
.btn-fee-list:focus {
    background: #3180de;
    box-shadow: 0 2px 10px rgba(49, 137, 251, 0.3);
}
.btn-fee-list img {
    width: 32px;
    height: 32px;
    /* margin-right: 5px; */
}
/* ===== 설명문 영역 ===== */
.spec-desc {
    font-size: 0.98rem;
    color: #555;
    list-style-type: disc;
    padding-left: 22px;
    line-height: 1.7;
    margin-top: 30px;
}
.spec-desc li {
    margin-bottom: 4px;
}
.spec-alarm {
    color: #e63946;
    font-weight: 550;
    margin-top: 20px;
}

/* ==================
    반응형 - 모바일 대응
   ================== */
@media (max-width: 1100px) {
    .general-fee-table th, .general-fee-table td,
    .spec-table th, .spec-table td {
        font-size: 0.93rem;
        padding: 7px 2px;
    }
    .transit-vehicle-select {
        width: 150px;
        font-size: 0.95rem;
    }
    .btn-fee-list {
        font-size: 0.96rem;
        width: 130px;
    }
}

@media (max-width: 800px) {
    .general-fee-wrap {
        gap: 32px;
        padding-bottom: 18px;
    }
    .spec-title h3 {
        font-size: 1.05rem;
    }
    .general-fee-table th, .general-fee-table td,
    .spec-table th, .spec-table td {
        font-size: 0.85rem;
        padding: 5px 1px;
    }
}