/** {*/
/*    font-family: 'Nanum Gothic', sans-serif;*/
/*}*/


.page-title, .page-title span {
    font-family: 'NanumSquareNeo', sans-serif;
    /*line-height: normal;*/
    font-size: 3.2rem;
    color: black;
    font-weight: 300;
    margin: 0px;
}

.sub-title { margin: 0; }

#title_wrapper {
    margin-top: 20px;
}

.card {
    border: 1px solid lightgray;
    border-radius: 10px;
    padding: 12px;
    margin: 10px 0px;
}

/*.panel-title {*/
/*    line-height: 2;*/
/*}*/
/* 필터 컨테이너 스타일 */
.filter-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 28px;
    margin: 20px 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.filter-container:hover {
    border-color: #cbd5e1;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 4px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* 필터 섹션 스타일 */
.filter-section {
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.filter-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* 렌트기간과 약정주행거리를 한 행에 배치 */
.filter-section-row {
    display: flex;
    gap: 32px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e2e8f0;
}

.filter-section-row .filter-section {
    flex: 1;
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-section-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

/* 필터 타이틀 스타일 */
.filter-title {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
}

.filter-title i {
    margin-right: 8px;
    color: #64748b;
    font-size: 18px;
}

.filter-title span {
    font-family: 'Nanum Gothic', sans-serif;
}

/* 필터 콘텐츠 스타일 */
.filter-content {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* 버튼 그룹 스타일 */
.button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
}

/* 필터 칩 스타일 */
.filter-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 20px;
    background: #f8fafc;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    min-height: 48px;
    user-select: none;
    position: relative;
    overflow: hidden;
    opacity: 0.7;
}

.filter-chip:hover {
    background: #e0f2fe;
    border-color: #0ea5e9;
    color: #0c4a6e;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(14, 165, 233, 0.3);
    opacity: 0.9;
}

.filter-chip:active {
    transform: translateY(0);
}

/* 라디오 버튼이 체크된 상태의 칩 스타일 */
input[type="radio"]:checked + .filter-chip {
    background: #3b82f6;
    border-color: #3b82f6;
    color: #ffffff;
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
    opacity: 1;
    transform: translateY(-1px);
}

input[type="radio"]:checked + .filter-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
    border-radius: 10px;
}

/* 선택된 버튼에 체크 아이콘 추가 (차종 제외) - 제거됨 */

/* 라디오 버튼 숨김 */
input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* 차종 선택 버튼들 (동적으로 추가되는 요소들) */
#sel_car .filter-chip {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid #cbd5e1;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    opacity: 0.7;
    transition: all 0.3s ease;
}

/* 차종 선택 컨테이너 */
#sel_car {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

#sel_car .filter-chip:hover {
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-color: #0ea5e9;
    color: #0c4a6e;
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.2);
}

#sel_car input[type="radio"]:checked + .filter-chip {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #3b82f6;
    color: #ffffff;
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(59, 130, 246, 0.4);
}

/* 선택된 차종에 체크 아이콘 추가 - 제거됨 */

/* 선택된 상태의 글리터 효과 */
#sel_car input[type="radio"]:checked + .filter-chip::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
    border-radius: 10px;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* 반응형 디자인 */
@media (max-width: 768px) {
    .filter-container {
        padding: 20px;
        margin: 16px 0;
        border-radius: 16px;
    }
    
    .filter-title {
        font-size: 16px;
        margin-bottom: 12px;
    }
    
    .filter-chip {
        padding: 10px 16px;
        font-size: 13px;
        min-height: 44px;
    }
    
    .button-group {
        gap: 6px;
    }
    
    .filter-content {
        gap: 6px;
    }
    
    /* 모바일에서는 세로 배치로 되돌림 */
    .filter-section-row {
        flex-direction: column;
        gap: 24px;
    }
}

@media (max-width: 480px) {
    .filter-chip {
        flex: 1;
        min-width: calc(50% - 3px);
        text-align: center;
    }
    
    .button-group {
        justify-content: space-between;
    }
    
    #sel_car .filter-chip {
        min-width: 50px;
        max-width: 70px;
        font-size: 10px;
        padding: 5px 3px;
        min-height: 30px;
        letter-spacing: 0.2px;
    }
    
    #sel_car {
        gap: 4px;
    }
}

/* 기존 스타일 유지 */
#select_wrapper {
    /*margin: 20px;*/
    border: 1px solid #d1d5db;
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

#select_wrapper input[type="radio"] {
    margin-right: 4px;
}

#select_wrapper div {
    margin-bottom: 0;
}

/*#select_wrapper label {*/
/*    margin-bottom: 0;*/
/*    width: 140px;*/
/*    font-weight: 400;*/
/*}*/

/*#sel_car {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    flex-wrap: wrap;*/
/*}*/

/*#sel_reg {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    flex-wrap: wrap;*/
/*}*/

/*#sel_able {*/
/*    display: flex;*/
/*    flex-direction: row;*/
/*    flex-wrap: wrap;*/
/*}*/

#table_header {
    background-color: #9a9a9a;
}
.detail_btn {
    padding: 4px 10px;
    background: #9a9a9a;
    color: white;
    border: 1px solid #9a9a9a;
    word-break: keep-all;
    transition: 0.3s all ease-in-out;
    border-radius: 10px;
}
.detail_btn:hover {
    color: #9a9a9a;
    background: white;
}
/*.monthly_content {*/
/*    !*padding: 50px 240px 60px;*!*/
/*}*/

#mobileCard {
    height: auto;
    display: none;
}

#mobileCard .card {
    /*width: 98%;*/
    /*margin: 10px auto;*/
    height: auto;
    border: 1px solid lightgray;
    border-radius: 10px;
    padding: 20px;
    background-color: #fafafa;
}

#mobileCard .card p {
    margin-bottom: 5px;
}

#mobileCard .card h4 {
    line-height: inherit;
    font-weight: 700;
}

.card button {
    width: 50%;
    word-break: keep-all;
    margin: 10px 25% 0 25%;
}


/*.to-prior-rent-month-text {*/
/*    !*padding: 10px 0px;*!*/
/*}*/
/*.to-prior-rent-month-button-wrap {*/
/*    margin-bottom: 10px;*/
/*}*/
.to-prior-rent-month-button {
    background: white;
    border: 1px solid black;
    padding: 10px;
    border-radius: 10px;
}
.to-price-rent-month-button {
    background: white;
    border: 1px solid dodgerblue;
    padding: 10px;
    border-radius: 10px;
}
/*.table_available tr th p {*/
/*    margin: 0;*/
/*}*/
/*.table_expected tr th p {*/
/*    margin: 0;*/
/*}*/
/*.discount-wrap {*/
/*    display: flex;*/
/*    justify-content: center;*/
/*    height: 25px;*/
/*    line-height: 200%;*/
/*}*/
/*.originalPrice {*/
/*    margin: 0 0 5px 0;*/
/*}*/
.discountPrice {
    font-weight: bold;
    color: darkred;
}
.discountAnimation {
    color:darkred;
    font-weight: 600;
    animation: colorChange 1s infinite alternate;
    margin-right: 5px;
}
.empty-list-card {
    text-align: center;
    margin: 2rem 0;
}
.empty-list-card p {
    font-size: 16px;
    color: darkblue;
}

@media (max-width: 600px) {

/*    .monthly_content {*/
/*        !*padding: 80px 30px 30px;*!*/
/*    }*/

    #mainTable table {
        display: none;
    }

    #mobileCard {
        height: auto;
        display: block;
    }

    #sel_car .filter-chip {
        min-width: 55px;
        max-width: 75px;
        flex: 0 1 auto;
        font-size: 11px;
        padding: 6px 4px;
        min-height: 32px;
        text-align: center;
        letter-spacing: 0.3px;
    }

    #sel_term .filter-chip, #sel_reg .filter-chip, #sel_able .filter-chip {
        min-width: 100px;
        flex: 1;
        font-size: 12px;
        padding: 8px 12px;
        min-height: 36px;
    }

    .discount-wrap {
        justify-content: end;
        /*padding-right: 25px;*/
        line-height: unset;
    }
}


@keyframes colorChange {
    0% {
        color:darkred;
    }
    30% {
        color:red;
    }
    60% {
        color: mediumvioletred;
    }
}

/* 휴대폰 인증 상태 메시지 스타일 */
.status-success {
    color: #0f9d58;
    display: block;
}

.status-error {
    color: #d93025;
    display: block;
}

.status-info {
    color: #4285f4;
    display: block;
}

/* 인증 버튼 스타일 */
.input-group {
    position: relative;
    display: table;
    border-collapse: separate;
    width: 100%;
}

.input-group .form-control {
    display: table-cell;
    position: relative;
    z-index: 2;
    float: left;
    width: 100%;
    margin-bottom: 0;
}

.input-group-btn {
    display: table-cell;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
    position: relative;
    font-size: 0;
    white-space: nowrap;
}

.input-group-btn > .btn {
    position: relative;
    display: inline-block;
    white-space: nowrap;
    width: auto;
    min-width: 100px;
    font-size: 14px; /* font-size: 0을 상쇄 */
}

.input-group-btn .btn-default {
    color: #333;
    background-color: #fff;
    border-color: #ccc;
    display: inline-block;
    padding: 6px 12px;
    margin-bottom: 0;
    font-size: 14px;
    font-weight: normal;
    line-height: 1.42857143;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    cursor: pointer;
    border: 1px solid transparent;
    border-radius: 4px;
}

.input-group-btn .btn-default:hover {
    color: #333;
    background-color: #e6e6e6;
    border-color: #adadad;
}

/* 인증번호 전송/확인 버튼이 보이도록 보장 */
#reservation-simple-send-code,
#reservation-simple-confirm-code {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: auto !important;
    min-width: 100px;
}

/* 인증요청/인증확인 버튼에 커서 포인터 추가 */
.input-group-addon[onclick] {
    cursor: pointer !important;
}