.estimate-tab {
    width: 100%;
    display: flex;
    justify-content: center;
    margin: 100px 0;
}

.tab-menu {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    justify-content: space-between;
}

.tab-menu li {
    margin: 0;
}

.tab-menu li a {
    display: block;
    width: 285px;
    padding: 1.5rem 0;
    text-decoration: none;
    color: #616161;
    font-size: 1.5rem;
    text-align: center;
    border: 1px solid #ccc;
    transition: all 0.3s ease;
}

.tab-menu li.active a,
.tab-menu li a:hover {
    background: #92C938;
    color: #fff;
    font-weight: bold;
    border-color: #92C938;
}

/* 반응형 */
@media (max-width: 768px) {
    .estimate-tab {
        margin: 25px 0;
    }

    .tab-menu {
        border-bottom: none;
    }

    .tab-menu li {
        width: 25%;
    }

    .tab-menu li a {
        width: 100%;
        padding: .5rem 0;
        font-size: 1rem;
    }

    .tab-menu li:not(:last-child) a {
        border-right: 0;
    }

    .tab-menu li:last-child a {
        border-bottom: 1px solid #ccc;
    }
}

/* 표준단가표 시작 */
.page-txt-wrap {
    color: #616161;
}

.page-txt-title {
    font-size: 1.75rem;
    font-weight: bold;
}

.page-txt-content,
.others-info-bold,
.others-info-txt {
    display: flex;
    align-items: flex-start;
    font-size: 1.1rem;
}

.page-txt-content-wrap .page-txt-content:first-of-type {
    margin-top: 3rem;
}

.list-bullet {
    display: inline-block;
    width: 1.75rem;
    flex-shrink: 0;
}

.list-txt {
    display: inline-block;
    flex: 1;
}

.estimate-table-wrap {
    margin-top: 5.25rem;
}

.estimate-table-title {
    font-size: 1.75rem;
    color: #616161;
}

table.estimate-table {
    width: 1200px;
    border-collapse: collapse;
    text-align: center;
    margin-bottom: 3rem;
}

.estimate-table th,
.estimate-table td {
    border: 1px solid #ccc;
    padding: 12px;
}

.estimate-table th {
    background-color: #8BC34A;
    color: white;
}

.estimate-table .category {
    /* font-weight: bold; */
}

.table-view-wrap {
    width: 1200px;
    margin: 0 auto;
    font-size: 1rem;
    color: #616161;
}

.estimate-view-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
    margin-bottom: 80px;
}

.estimate-view-table thead th {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    padding: 1rem 0;
    border-bottom: 1px solid #000;
}

.estimate-view-table tbody td {
    padding: 1rem 0;
    white-space: nowrap;
    border-bottom: 1px solid #e0e0e0;
}

.estimate-view-table tbody td.ellipsis {
    padding-left: .5rem;
    padding-right: .5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    width: 100px;
}

table.estimate-view-table {
    width: 1200px;
    border-collapse: collapse;
    text-align: center;
}

.estimate-view-table th,
.estimate-view-table td {
    border-bottom: 1px solid #ccc;
    padding: 1rem 0;
}

.estimate-view-table th {
    background-color: #fff;
    color: #616161;
}

.estimate-view-table .category {
    font-weight: bold;
}

.standard-rental-fee-wrap {
    margin-top: 6rem;
}

table.standard-rental-fee {
    width: 1200px;
    border-collapse: collapse;
    text-align: center;
    font-family: sans-serif;
    margin-bottom: 3rem;
}

.standard-rental-fee th,
.standard-rental-fee td {
    border: 1px solid #ccc;
    padding: 1rem;
    color: #616161;
}

.standard-rental-fee th {
    background-color: #8BC34A;
    color: white;
    border: 1px solid #ffffff;
}

.seasonal-rate-wrap {
    margin-top: 6rem;
}

table.seasonal-rate {
    width: 1200px;
    border-collapse: collapse;
    text-align: center;
    font-family: sans-serif;
    margin-bottom: 3rem;
}

.seasonal-rate th,
.seasonal-rate td {
    border: 1px solid #ccc;
    padding: 1rem;
    color: #616161;
}

.seasonal-rate th {
    background-color: #8BC34A;
    color: white;
    border: 1px solid #ffffff;
}

.others-info {
    font-size: 1.2rem;
    color: #616161;
}

.others-info-bold {
    font-weight: bold;
}

.info-flex {
    display: flex;
    align-items: flex-start;
    line-height: 1.5;
    margin-bottom: 8rem;
}

.others-info-txt {}

@media (max-width: 768px) {
    .page-txt-wrap {
        padding: 0 1rem;
    }

    .page-txt-title {
        margin-top: 3rem;
        font-size: 1.5rem;
    }

    .page-txt-content-wrap .page-txt-content:first-of-type {
        margin-top: 2rem;
    }

    .estimate-table-wrap {
        margin-top: 2.5rem;
    }

    .estimate-table-title {
        padding: 0 1rem;
        font-size: 1.3rem;
    }

    .others-info {
        padding: 0 1rem;
    }

    .standard-rental-fee-wrap {
        margin-top: 3.5rem;
    }
}

.table-wrap {
    width: 1200px;
    margin: 0 auto;
    font-size: 1rem;
    color: #616161;
}

.estimate-table {
    width: 100%;
    border-collapse: collapse;
}

.estimate-table thead th {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    padding: 1rem 0;
    border-bottom: 2px solid #ccc;
}

.estimate-table tbody td {
    padding: 1rem 0;
    border-bottom: 1px solid #e0e0e0;
}

@media (max-width: 768px) {

    .table-wrapper,
    .table-view-wrap {
        padding: 0 1rem;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Firefox */
    }

    .table-wrapper::-webkit-scrollbar,
    .table-view-wrap::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari, Edge */
    }

    .table-wrapper table {
        min-width: 100%;
        /* 최소 너비를 설정해야 스크롤이 생김 */
    }

    .estimate-table thead th {
        font-size: 1rem;
        padding: .75rem 0;
    }

    table.estimate-table {
        width: 670px;
        margin-bottom: 1rem;
    }

    .standard-rental-fee th,
    .standard-rental-fee td {
        padding: .75rem;
    }

    table.standard-rental-fee {
        margin-bottom: 1rem;
    }

    .seasonal-rate-wrap {
        margin-top: 3.5rem;
    }

    .seasonal-rate th,
    .seasonal-rate td {
        padding: .75rem;
    }

    table.seasonal-rate {
        margin-bottom: 1rem;
        width: 450px;
    }

    .info-flex {
        margin-bottom: 6rem;
        margin-top: .5rem;
    }

    .estimate-view-table {
        margin-bottom: 3rem;
    }

    .pagination {
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-evenly;
    }
}

/* 표준단가표 끝 */

.pagination {
    text-align: center;
}

.pagination a {
    display: inline-block;
    margin: 0 .4rem;
    padding: .4rem .8rem;
    font-size: 1rem;
    color: #616161;
    text-decoration: none;
    border: 0;
}

.pagination a.active {
    font-weight: bold;
    background-color: #fff;
}

.pagination .arrow {
    font-weight: bold;
}

/* 이용안내 시작 */
.guide-title-wrap {
    font-size: 1.75rem;
    color: #616161;
}

.guide-title-wrap p {
    margin: 0 0 .5rem;
}

.guide-title-wrap span {
    font-weight: bold;
}

.estimate-guide-wrap {
    margin: 100px 0;
}

.estimate-guide-wrap {
    padding: 20px 0;
}

/* 각 가이드 항목 */
.estimate-guide {
    display: flex;
    align-items: center;
    gap: 45px;
    /* li 간격 */
    margin-bottom: 50px;
    list-style: none;
    padding: 0;
}

/* 왼쪽 이미지 */
.estimate-guide li:first-child img {
    height: auto;
}

/* 오른쪽 텍스트 */
.estimate-guide li:last-child {
    flex: 1;
}

/* 번호 스타일 */
.estimate-guide .no {
    font-size: 2.25rem;
    color: #91C53C;
    margin-bottom: 5px;
}

/* 제목 스타일 (오타 수정 포함: calss → class) */
.estimate-guide .title {
    font-size: 1.25rem;
    color: #91C53C;
    margin-bottom: 15px;
}

/* 내용 스타일 */
.estimate-guide .content {
    font-size: 1rem;
    color: #616161;
    line-height: 1;
    margin-bottom: 10px;
}

/* 모바일 대응 (최대 768px 이하) */
@media screen and (max-width: 768px) {
    .wrapper {
        max-width: 100%;
        margin: 0 auto 50px;
    }

    .guide-title-wrap {
        padding: 3rem 2rem 0;
        font-size: 1.5rem;
    }

    .guide-title-wrap p {
        margin: 0 0 .5rem;
    }

    .guide-title-wrap span {}

    .estimate-guide-wrap {
        margin: 50px 0;
    }

    .estimate-guide {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
        gap: .7rem;
    }

    .estimate-guide li {
        padding: 0 1rem;
    }

    .estimate-guide li:first-child img {
        max-width: 100px;
    }

    .estimate-guide li:last-child {
        width: 100%;
        padding-left: 2rem;
    }

    .estimate-guide .no {
        font-size: 2rem;
    }

    .estimate-guide .title {
        font-size: 1.125rem;
    }

    .estimate-guide .content {
        font-size: 0.95rem;
        padding: 0 10px 0 0;
        line-height: 1.6;
    }
}

/* 이용안내 끝 */

/* 견적요청 시작 */
.estimate-form form {
    width: 100%;
}

.form-flex {
    display: flex;
    justify-content: space-between;
}

.form-box {
    margin-bottom: 1rem;
}

.form-box label {
    display: block;
    margin-bottom: .5rem;
}

.form-box input,
.form-box select {
    display: block;
    padding: .75rem;
    border: 1px solid #D9D9D9;
    font-size: 1.1rem;
    line-height: 1;
    height: 45px;
}

.form-box select {
    padding: .5rem .75rem;
}

.form-box .input1 {
    width: 220px;
}

.form-box .select1 {
    width: 300px;
}

.form-box .input2 {
    width: 123px;
}

.form-box .input3 {
    width: 154px;
    text-align: center;
}

.form-box .select2 {
    width: 130px;
}

.form-box .input4 {
    width: 250px;
}

.form-inner-relative {
    padding: 0;
    margin: 0;
    position: relative;
}

.form-inner-relative input {
    padding-right: 3rem;
}

.form-inner-relative .unit {
    position: absolute;
    bottom: .85rem;
    right: .75rem;
}

.date-flex {
    display: flex;
    align-items: flex-start;
}


.terms-wrap {
    font-size: 1rem;
    margin: 20px 0;
}

.terms-wrap input[type="checkbox"] {
    margin-right: 8px;
}

.toggle-privacy {
    color: #91C53C;
    text-decoration: underline;
    cursor: pointer;
}

.privacy-content {
    background-color: #ffffff;
    border: 1px solid #ccc;
    padding: 15px;
    margin-top: 10px;
    margin-bottom: 30px;
    font-size: 0.95rem;
    color: #333;
    line-height: 1.5;
    border-radius: 1rem;
}

.form-agree {}

.terms-wrap {
    text-align: center;
}

.form-agree h4 {
    margin-top: 1rem;
    text-align: center;
    font-size: 1.3rem;
    margin-bottom: .5rem;
}

#agree-checkbox {
  transform: scale(1.5);
}

.estimate-btn-wrap {
    text-align: center;
}

.estimate-btn {
    font-size: 1.5rem;
    color: #fff;
    background: #91C53C;
    border-radius: 2rem;
    border: 0;
    padding: 1rem 5rem;
    cursor: pointer;
}

/* 공통 스타일 */
.ui-datepicker {
    background: #fff;
    border: 2px solid #91C53C;
    padding: 10px;
    z-index: 9999 !important;
    font-size: 1rem;
    width: auto;
    max-width: 100%;
    box-sizing: border-box;
}

.ui-datepicker td {
    text-align: center;
    padding: 5px;
}

.ui-datepicker td a {
    padding: 6px;
    display: block;
    text-align: center;
    color: #333;
    border-radius: 4px;
    background-color: #fff;
    border: 1px solid #fff;
}

.ui-datepicker td a.ui-state-active {
    background-color: #91C53C !important;
    color: #fff !important;
    border-radius: 4px;
}

.ui-state-default,
.ui-widget-content .ui-state-default,
.ui-widget-header .ui-state-default,
.ui-button,
html .ui-button.ui-state-disabled:hover,
html .ui-button.ui-state-disabled:active {
    border: 1px solid #fff;
    background: #fff;
}

/* 날짜 hover 시 배경색 회색 (#d2d2d2) */
.ui-datepicker td a:hover {
    background-color: #91C53C !important;
}

.ui-widget-header {
    border: 0;
    border-bottom: 1px solid #dddddd;
    background: #ffffff;
    color: #333333;
    font-weight: bold;
}

.ui-datepicker select.ui-datepicker-month,
.ui-datepicker select.ui-datepicker-year {
    width: 35%;
}

.ui-datepicker .ui-datepicker-title select {
    margin: 1px .5rem 5px .5rem;
    padding: .2rem .3rem;
    border-radius: 5px;
    border: 1px solid #e5e5e5;
}

/* 반응형 대응 */
@media (max-width: 480px) {
    .ui-datepicker {
        font-size: 12px;
        padding: 8px;
    }

    .ui-datepicker td a {
        padding: 4px;
    }

    .ui-datepicker select.ui-datepicker-month,
    .ui-datepicker select.ui-datepicker-year {
        font-size: 12px;
        padding: 2px;
        margin: 2px;
    }
}

.slogan-wrap {
    position: relative;
    width: 100%;
    max-width: 1200px;
    margin: 150px auto 0;
    overflow: hidden;
}

.slogan-wrap img {
    width: 100%;
    height: auto;
    display: block;
}

.slogan-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    z-index: 2;
}

.slogan-line {
    font-size: 2.4rem;
    font-weight: 600;
    margin: 0.5rem 0;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
    /* 가독성 보완 */
}

@media screen and (max-width: 768px) {

    /* 전체 래퍼 */
    .estimate-form {
        margin-top: 3rem;
        padding: 0 1rem;
    }

    /* 제목 섹션 */
    .estimate-title-wrap {
        border-top-left-radius: 60px;
        border-top-right-radius: 60px;
        padding: 15px 10px;
    }

    .estimate-title {
        font-size: 1.2rem;
    }

    /* 폼 섹션 */
    .estimate-form form {
        padding: 0;
    }

    .form-flex {
        display: block;
    }

    .form-box {
        width: 100% !important;
        margin-bottom: 1rem;
    }

    .form-box input,
    .form-box select {
        width: 100% !important;
        font-size: 1rem;
        height: 42px;
    }

    .form-inner-relative .unit {
        bottom: 0.9rem;
        right: 0.75rem;
        font-size: 0.9rem;
    }

    /* 날짜 입력 라인 */
    .date-flex {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    .date-flex .form-box {
        width: calc(50% - 5px);
    }

    /* 이용약관 */
    .terms-wrap {
        font-size: 0.95rem;
        margin: 20px 0;
        padding: 0 5px;
    }

    .form-agree h4 {
        font-size: 1.1rem;
    }

    .privacy-content {
        font-size: 0.9rem;
        padding: 10px;
        margin-bottom: 0;
    }

    /* 버튼 */
    .estimate-btn-wrap {
        padding-top: 10px;
    }

    .estimate-btn {
        width: 100%;
        font-size: 1.25rem;
        padding: 0.9rem 0;
    }

    /* 희망차량 + 차량대수 */
    .form-flex .date-flex {
        display: flex;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .date-flex .form-box:first-child {
        flex: 0 0 65%;
    }

    .date-flex .form-box:last-child {
        flex: 0 0 30%;
    }

    /* 필요 시, 입력창들이 가득 채우도록 설정 */
    .date-flex .form-box input,
    .date-flex .form-box select {
        width: 100%;
        box-sizing: border-box;
    }

    .form-flex .date-flex .form-box {
        width: calc(50% - 5px);
    }

    .form-flex .date-flex .form-box.ml-20 {
        margin-left: 2% !important;
    }

    /* 출발일 + 출발시각, 도착일 + 도착시각 */
    .form-box .date-flex {
        display: flex;
        gap: 10px;
        flex-wrap: nowrap;
    }

    .form-box .date-flex input {
        flex: 0 0 65%;
        box-sizing: border-box;
    }

    .form-box .date-flex select {
        flex: 0 0 30%;
        box-sizing: border-box;
    }

    .form-box .date-flex select.ml-20 {
        margin-left: 2% !important;
    }

    .toggle-privacy {
        display: block;
    }

    .slogan-wrap {
        max-width: 100%;
        margin: 6rem auto 0;
    }

    .slogan-line {
        font-size: 1.2rem;
    }
}

/* 견적요청 끝 */