/* 중도금 대출 방문예약 페이지 - 네이버 스타일 */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    color: #222;
    line-height: 1.5;
}

.membership {
    min-height: 100vh;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Malgun Gothic", "맑은 고딕", helvetica, "Apple SD Gothic Neo", sans-serif;
}

.memebership_top {
    background: #ffffff;
    padding: 20px;
    border-bottom: none;
}

.memebership_top ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.memebership_top ul li img {
    max-height: 40px;
    width: auto;
}

/* 안내 텍스트 */
.membership_text {
    background: #ffffff;
    margin: 0 15px 15px 15px;
    padding: 15px !important;
    border-radius: 6px;
    text-align: center;
    color: #333;
    line-height: 1.5;
    border: 1px solid #e4e8eb;
    font-size: 13px;
}

.membership_text i {
    color: #ff6b35;
    font-size: 20px;
    margin-bottom: 8px;
    display: block;
}

/* 네이버 스타일 컨테이너 */
.container {
    max-width: none !important;
    background: #ffffff !important;
    border-radius: 6px !important;
    border: 1px solid #e4e8eb !important;
    box-shadow: none !important;
    overflow: hidden;
    margin-top:20px;
}

.formContent01 {
    padding: 0 !important;
}

/* 네이버 스타일 테이블 */
.personal {
    margin-bottom: 0 !important;
	padding: 0 !important
}

table.register {
    width: 100%;
    border-collapse: collapse !important;
    border-spacing: 0;
    background: #fff;
    border-radius: 0 !important;
    overflow: hidden;
    box-shadow: none !important;
    margin-bottom: 0 !important;
}

table.register tr {
    display: block !important;
    margin-bottom: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    overflow: visible;
    background: transparent;
    border-bottom: 1px solid #f1f3f4 !important;
}

table.register tr:last-child {
    margin-bottom: 0 !important;
    border-bottom: none !important;
}

table.register td {
    display: block !important;
    width: 100% !important;
    padding: 12px 15px !important;
    border: none !important;
    vertical-align: middle;
}

table.register td.tit {
    background: #f8f9fa !important;
    color: #333 !important;
    font-weight: 600;
    font-size: 14px;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #e4e8eb !important;
}

table.register td.article1 {
    width: 100% !important;
    background: #fff !important;
    font-weight: 600;
    color: #333 !important;
    font-size: 13px;
    padding: 12px 15px 6px 15px !important;
    border-bottom: none !important;
    border-right: none !important;
}

table.register td.article1 span {
    color: #ff6b35 !important;
    font-weight: 700 !important;
}

table.register td.article2 {
    background: #fff !important;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    padding: 6px 15px 12px 15px !important;
    flex-direction: column !important;
    align-items: stretch !important;
}

/* 네이버 스타일 입력 필드 */
.textbox {
    width: 100% !important;
    min-width: auto !important;
    padding: 10px 12px !important;
    border: 1px solid #dadde6 !important;
    border-radius: 4px !important;
    font-size: 13px !important;
    line-height: 1.4 !important;
    transition: all 0.1s ease !important;
    background: #fff !important;
    color: #333 !important;
    font-family: inherit !important;
    margin-bottom: 6px;
    box-sizing: border-box !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
}

.textbox:focus {
    outline: none !important;
    border-color: #ff6b35 !important;
    box-shadow: 0 0 0 1px #ff6b35 !important;
    transform: none;
}

.textbox:hover:not(:focus) {
    border-color: #b0b8c1 !important;
}

.input-num-size {
    width: 100% !important;
    min-width: auto !important;
    margin-bottom: 8px;
}

/* 시간 선택기 */
.time-selector {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    flex-direction: row;
}

.time-select {
    flex: 1;
    min-width: 90px;
    max-width: none;
    width: 100%;
    padding: 14px 12px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
}

@media (max-width: 768px) {
    .time-selector {
        flex-direction: row;
        gap: 8px;
    }
}

/* 네이버 스타일 개인정보 동의 섹션 */
.container2 {
    background: #f8f9fa !important;
    padding: 16px !important;
    border: 1px solid #e4e8eb !important;
    margin: 0 !important;
    border-radius: 4px !important;
    max-height: 200px !important;
    overflow-y: auto !important;
    font-size: 12px !important;
    line-height: 1.5;
}

.container2::-webkit-scrollbar {
    width: 6px;
}

.container2::-webkit-scrollbar-track {
    background: #f1f3f4;
    border-radius: 3px;
}

.container2::-webkit-scrollbar-thumb {
    background: #dadde6;
    border-radius: 3px;
}

.container2::-webkit-scrollbar-thumb:hover {
    background: #b0b8c1;
}

.container2 h3 {
    margin-top: 12px !important;
    margin-bottom: 8px;
    color: #333;
    font-size: 13px !important;
    font-weight: 600;
}

.container2 .container2_tit {
    font-size: 12px !important;
    font-weight: 500;
    color: #333;
    line-height: 1.5;
}

/* 네이버 스타일 동의 버튼 - 최신 트렌드 적용 */
.agree {
    margin: 0 !important;
    display: flex !important;
    justify-content: flex-start !important;
    align-items: center !important;
    padding: 10px 0; /* 패딩값 줄임 */
    background: transparent;
    border-radius: 0;
    border: none;
    flex-direction: row !important;
}

.agree label {
    display: flex !important;
    align-items: center;
    cursor: pointer;
    padding: 0 0 0 36px;
    transition: all 0.2s ease !important;
    font-weight: 500;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    margin: 0 !important;
    font-size: 15px;
    color: #333;
    position: relative;
    overflow: hidden;
    text-align: left !important;
}

.agree label:hover {
    color: #ff6b35;
}

/* 선택된 상태 스타일 */
.agree input[type="checkbox"]:checked + label {
    color: #ff6b35 !important;
    font-weight: 600;
}

.agree input[type="checkbox"] {
    display: none;
}

/* 체크박스 아이콘 효과 */
.agree label::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 22px;
    height: 22px;
    border: 2px solid #ccc;
    border-radius: 4px;
    transform: translateY(-50%);
    transition: all 0.2s ease;
    background-color: #fff;
}

.agree label::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 0;
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: transparent;
    transform: translateY(-50%) scale(0);
    transition: all 0.2s ease;
}

.agree input[type="checkbox"]:checked + label::before {
    background: #ff6b35;
    border-color: #ff6b35;
}

.agree input[type="checkbox"]:checked + label::after {
    color: #fff;
    transform: translateY(-50%) scale(1);
}

/* 동의하지 않음 선택 시 체크 아이콘 색상 */
.agree input[type="checkbox"][value="N"]:checked + label::after {
    color: #333;
    transform: translateY(-50%) scale(1);
}

/* 네이버 스타일 버튼 */
.submit_btn {
    background: #ff6b35 !important;
    color: white !important;
    padding: 18px 24px !important;
    border: none !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    transition: all 0.2s ease !important;
    min-width: 160px;
    user-select: none !important;
    -webkit-tap-highlight-color: transparent !important;
    font-family: inherit !important;
    width: 100% !important;
    line-height: 1.4 !important;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3) !important;
    text-transform: none !important;
    letter-spacing: 0.5px !important;
}

.submit_btn:hover {
    background: #e55a2b !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4) !important;
}

.submit_btn:active {
    background: #cc4d24 !important;
    transform: translateY(0) !important;
    box-shadow: 0 2px 8px rgba(255, 107, 53, 0.3) !important;
}

/* 버튼 영역 스타일 */
table.register td.btn_chk {
    padding: 30px 20px 20px 20px !important;
    text-align: center !important;
    background: #fff !important;
    border-top: 2px solid #f1f3f4 !important;
    margin-top: 20px !important;
}

.register-txt {
    text-align: left !important;
    font-size: 12px !important;
    color: #888 !important;
    padding: 16px 20px !important;
    background: #fff !important;
    border-radius: 0;
    line-height: 1.4;
    font-weight: 400 !important;
    margin: 0 !important;
    border-top: 1px solid #f1f3f4;
    display: block !important;
    width: 100% !important;
}

/* 입력 필드 상태 스타일 */
.textbox.success {
    border-color: #ff6b35 !important;
    background-color: #fff !important;
}

.textbox.error {
    border-color: #ff6b35 !important;
    background-color: #fff !important;
}

/* 확인 결과 표시 스타일 */
.confirmation-section {
    padding: 20px;
    text-align: center;
}

.confirmation-icon {
    font-size: 60px;
    color: #27ae60;
    margin-bottom: 20px;
}

.confirmation-title {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 15px;
}

.confirmation-text {
    font-size: 16px;
    color: #7f8c8d;
    margin-bottom: 30px;
}

.info-card {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.info-card h4 {
    color: #495057;
    margin-bottom: 15px;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 5px 0;
}

.info-label {
    font-weight: bold;
    color: #6c757d;
}

.info-value {
    color: #495057;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .memebership_top {
        padding: 16px;
    }
    
    .memebership_top ul {
        gap: 12px;
    }
    
    .memebership_top ul li img {
        max-height: 32px;
    }
    
    .membership_text {
        margin: 0 16px 16px 16px !important;
        padding: 16px !important;
        font-size: 13px;
    }
    

    /* 모바일에서 테이블을 세로형으로 변경 */
    table.register {
        display: table !important;
    }
    
    table.register tr {
        display: block !important;
        margin-bottom: 0 !important;
        border: none !important;
        border-radius: 0 !important;
        overflow: visible;
        background: transparent;
        border-bottom: 1px solid #f1f3f4 !important;
    }
    
    table.register tr:last-child {
        margin-bottom: 0 !important;
        border-bottom: none !important;
    }
    
    table.register td {
        display: block !important;
        width: 100% !important;
        padding: 12px 16px !important;
        border: none !important;
    }
    
    table.register td.tit {
        padding: 12px 16px !important;
        font-size: 14px !important;
        background: #f8f9fa !important;
        border-bottom: 1px solid #e4e8eb !important;
    }
    
    table.register td.article1 {
        width: 100% !important;
        font-size: 14px !important;
        padding: 12px 16px 8px 16px !important;
        background: #fff !important;
        font-weight: 600 !important;
        border-bottom: none !important;
        border-right: none !important;
    }
    
    table.register td.article2 {
        padding: 4px 16px 12px 16px !important;
        flex-direction: column !important;
        gap: 8px !important;
        background: #fff !important;
    }
    
    /* 버튼 영역 스타일 */
    table.register td.btn_chk {
        padding: 16px !important;
        text-align: center !important;
        background: #fff !important;
    }
    
    /* 연락처 필드를 세로로 배치 */
    table.register td.article2 {
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    .textbox {
        width: 100% !important;
        min-width: auto !important;
        padding: 14px 12px !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    
    .input-num-size {
        width: 100% !important;
        min-width: auto !important;
        margin-bottom: 8px;
        padding: 14px 12px !important;
        font-size: 14px !important;
    }
    
    .time-selector {
        flex-direction: row;
        gap: 8px;
    }
    
    .time-select {
        width: 100%;
        max-width: none;
        padding: 14px 12px !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
    }
    
    /* select 박스 통일 */
    select.textbox {
        padding: 14px 12px !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        height: 46px !important;
        min-height: 46px !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 14px;
        padding-right: 40px !important;
        box-sizing: border-box !important;
    }
    
    .submit_btn {
        width: 100% !important;
        padding: 16px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        line-height: 1.4 !important;
    }
    
    .register-txt {
        font-size: 12px !important;
        padding: 12px 16px !important;
    }
}

@media (max-width: 480px) {
    .memebership_top ul {
        flex-direction: column;
        gap: 8px;
    }
    
    .tab-menu2 li {
        padding: 10px 6px;
        font-size: 12px;
    }
    
    .membership_text {
        font-size: 12px !important;
        padding: 12px !important;
    }
    
    table.register td.article1 {
        width: 100% !important;
        font-size: 13px !important;
        color: #333 !important;
        font-weight: 600 !important;
    }
    
    .container2 {
        font-size: 10px !important;
    }
}

/* 숨김/표시 클래스 */
.visit.hidden {
    display: none !important;
}

.visit-date.hidden {
    display: none !important;
}

.tab1-text, .tab2-text {
    color: #fff !important;
}

/* 터치 디바이스 최적화 */
@media (hover: none) and (pointer: coarse) {
    .textbox {
        min-height: 44px !important;
    }
    
    .date-input {
        min-height: 44px !important;
        height: 44px !important;
        font-size: 16px !important;
        -webkit-text-size-adjust: none;
    }
    
    .date-input-wrapper {
        min-height: 44px !important;
    }
    
    /* iOS Safari select 박스 최적화 */
    select.textbox {
        min-height: 44px !important;
        height: 44px !important;
        font-size: 16px !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px !important;
        line-height: 1.4 !important;
        border-radius: 4px !important;
        -webkit-text-size-adjust: none;
    }
    
    /* 시간 선택 필드 최적화 */
    .time-select {
        min-height: 44px !important;
        height: 44px !important;
        font-size: 16px !important;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
        background-repeat: no-repeat;
        background-position: right 12px center;
        background-size: 16px;
        padding-right: 40px !important;
        line-height: 1.4 !important;
        border-radius: 4px !important;
        -webkit-text-size-adjust: none;
    }
    
    .submit_btn {
        min-height: 44px !important;
        padding: 12px 24px !important;
    }
    
    .agree label {
        min-height: 44px !important;
        display: flex !important;
        align-items: center !important;
    }
}

/* 접근성 개선 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 포커스 표시 개선 */
.textbox:focus-visible,
.submit_btn:focus-visible,
input[type="checkbox"]:focus-visible {
    outline: 2px solid #ff6b35 !important;
    outline-offset: 2px;
}

.submit_btn {
    width: 100% !important;
    padding: 18px !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    line-height: 1.4 !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3) !important;
    letter-spacing: 0.5px !important;
}

.container2 {
    padding: 12px !important;
    font-size: 11px !important;
    max-height: 160px !important;
    margin: 0 !important;
}

.agree {
    flex-direction: column !important;
    gap: 8px !important;
    padding: 16px 0 !important;
}

.agree label {
    width: 100% !important;
    min-width: auto !important;
    padding: 14px 20px 14px 44px !important;
    font-size: 14px !important;
}

.register-txt {
    font-size: 12px !important;
    padding: 12px 16px !important;
    line-height: 1.4 !important;
}

/* 날짜 입력 필드 개선 */
.date-input::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

/* 모바일 기기별 날짜 입력 필드 통일 */
.date-input {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: none;
    background-color: #fff !important;
    position: relative;
    z-index: 1;
}

/* 안드로이드 화살표 제거 */
.date-input::-webkit-inner-spin-button,
.date-input::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* iOS Safari 스타일 초기화 */
.date-input::-webkit-date-and-time-value {
    text-align: left;
    font-family: inherit;
    font-size: 14px;
}

/* 날짜 입력 래퍼 크기 고정 */
.date-input-wrapper {
    position: relative;
    width: 100%;
    min-height: 46px;
    display: flex;
    align-items: center;
}

.date-input {
    padding-right: 40px !important;
    cursor: pointer;
    width: 100% !important;
    height: 46px !important;
    line-height: 46px !important;
    box-sizing: border-box !important;
}

.date-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #ff6b35;
    font-size: 18px;
    pointer-events: none;
    z-index: 2;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 날짜 입력 필드 포커스 시 아이콘 색상 변경 */
.date-input:focus + .date-icon {
    color: #ff6b35;
}

/* 날짜 입력 필드 호버 효과 */
.date-input-wrapper:hover .date-input {
    border-color: #b0b8c1 !important;
}

.date-input-wrapper:hover .date-icon {
    color: #ff6b35;
}

/* 날짜 입력 필드 포커스 상태 */
.date-input-wrapper.focused .date-input {
    border-color: #ff6b35 !important;
    box-shadow: 0 0 0 1px #ff6b35 !important;
}

.date-input-wrapper.focused .date-icon {
    color: #ff6b35;
}

/* 날짜 변경 애니메이션 */
.date-input.changed {
    animation: dateChanged 0.3s ease;
}

@keyframes dateChanged {
    0% { transform: scale(1); }
    50% { transform: scale(1.02); border-color: #ff6b35; }
    100% { transform: scale(1); }
}

/* select 박스 통일 */
select.textbox {
    padding: 14px 12px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    height: 46px !important;
    min-height: 46px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    padding-right: 40px !important;
    box-sizing: border-box !important;
}

/* 시간 선택기 통일 */
.time-select {
    width: 100%;
    max-width: none;
    padding: 14px 40px 14px 12px !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    height: 46px !important;
    min-height: 46px !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 14px;
    box-sizing: border-box !important;
}

.call-number{color:#ff6b35; font-weight:800; font-size:24px; line-height:0.9;}

/* 중도금 대출 방문예약 유의사항 스타일 */
.notice-container {
    background: #f8f9fa !important;
    border: 1px solid #e4e8eb !important;
    padding: 20px !important;
    max-height: none !important;
    overflow: visible !important;
}

.notice-container .container2_tit {
    color: #333 !important;
    font-size: 13px !important;
    font-weight: 600 !important;
    margin-bottom: 16px !important;
    display: block !important;
    line-height: 1.5 !important;
}

.notice-list {
    margin: 0;
    padding: 0;
}

.notice-item {
    margin: 0 0 12px 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.6 !important;
    color: #333 !important;
    display: flex !important;
    align-items: flex-start !important;
    text-align: left !important;
}

.notice-item:last-child {
    margin-bottom: 0 !important;
}

.notice-number {
    background: #ff6b35 !important;
    color: #fff !important;
    font-weight: 700 !important;
    font-size: 11px !important;
    width: 18px !important;
    height: 18px !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-right: 10px !important;
    flex-shrink: 0 !important;
    line-height: 1 !important;
}

.notice-item strong {
    color: #ff6b35 !important;
    font-weight: 700 !important;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .notice-container {
        padding: 16px !important;
    }
    
    .notice-container .container2_tit {
        font-size: 12px !important;
        margin-bottom: 14px !important;
    }
    
    .notice-item {
        font-size: 11px !important;
        margin-bottom: 10px !important;
        line-height: 1.5 !important;
    }
    
    .notice-number {
        width: 16px !important;
        height: 16px !important;
        font-size: 10px !important;
        margin-right: 8px !important;
    }
}

@media (max-width: 480px) {
    .notice-container {
        padding: 12px !important;
    }
    
    .notice-container .container2_tit {
        font-size: 11px !important;
        margin-bottom: 12px !important;
    }
    
    .notice-item {
        font-size: 10px !important;
        margin-bottom: 8px !important;
        line-height: 1.4 !important;
    }
    
    .notice-number {
        width: 14px !important;
        height: 14px !important;
        font-size: 9px !important;
        margin-right: 6px !important;
    }
} 

/* 네이버 스타일 탭 메뉴 */
.tab-menu2 {
    display: flex;
    margin: 0;
    padding: 0;
    list-style: none;
    background: #ffffff;
    border-radius: 6px;
    border: 1px solid #ccc;
    overflow: hidden;
}

.tab-menu2 li {
    flex: 1;
    text-align: center;
    padding: 14px 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #666;
    font-weight: 500;
    font-size: 14px;
    position: relative;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    background: #ffffff;
    border-right: 1px solid #e4e8eb;
}

.tab-menu2 li:last-child {
    border-right: none;
}

.tab-menu2 li.active {
    background: #ff6b35;
    color: #ffffff;
    border-bottom: 1px solid #ff6b35;
}

.tab-menu2 li:hover:not(.active) {
    background: #f8f9fa;
    color: #333;
}

/* 모바일 최적화 */
@media (max-width: 768px) {
    .tab-menu2 {
        margin: 0 16px 16px 16px !important;
    }
    
    .tab-menu2 li {
        padding: 12px 8px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .tab-menu2 li {
        padding: 10px 6px;
        font-size: 12px;
    }
} 

/* 유효성 검사 메시지 스타일 */
.validation-message {
    display: block;
    margin-top: 4px;
    font-size: 12px;
    line-height: 1.4;
}

.error-message {
    color: #e74c3c;
}

.success-message {
    color: #27ae60;
}

/* 시간 선택 비활성화 스타일 */
.time-select:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
    opacity: 0.6;
}

.time-select:disabled option {
    color: #999;
}

/* 시간 선택 옵션 스타일 */
.time-select option[data-remaining="0"] {
    color: #e74c3c;
    font-weight: bold;
}

.time-select option[data-remaining="0"]::after {
    content: " (마감)";
}

/* 시간 선택 성공/에러 상태 */
.time-select.time-available {
    border-color: #27ae60;
}

.time-select.time-full {
    border-color: #e74c3c;
}

/* 연락처 입력 필드 상태 */
.textbox.success {
    border-color: #27ae60;
    box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2);
}

.textbox.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}

/* 날짜 선택 후 시간 선택 활성화 애니메이션 */
.time-select:not(:disabled) {
    transition: all 0.3s ease;
    animation: enableTimeSelect 0.3s ease;
}

@keyframes enableTimeSelect {
    from {
        opacity: 0.6;
        transform: scale(0.98);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
} 

/* sub_title_in 애니메이션 강화 */
.sub_title_in {
    position: relative;
    overflow: hidden;
}

.sub_title_in.animated {
    animation: pulse 2s ease-in-out infinite;
}

.sub_title_in h2,
.sub_title_in p {
    position: relative;
    z-index: 2;
}

/* 추가 애니메이션 효과 */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.02);
    }
}

/* 애니메이션 지연 클래스 */
.animate-delay-1 { animation-delay: 0.2s; }
.animate-delay-2 { animation-delay: 0.4s; }
.animate-delay-3 { animation-delay: 0.6s; }
.animate-delay-4 { animation-delay: 0.8s; }

/* 부드러운 전환 효과 */
.sub_title_in * {
    transition: all 0.3s ease-out;
}

/* 호버 효과 */
.sub_title_in:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* 호수 입력 필드에 입력 제한 안내 메시지 추가 */
.date-select option:contains('로딩 중') {
    color: #856404 !important;
    font-style: italic;
}

/* 날짜 옵션 호버 효과 */
.date-select:hover {
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.1);
}

/* 날짜 옵션 포커스 효과 */
.date-select:focus {
    border-color: #ff6b35;
    box-shadow: 0 0 0 2px rgba(255, 107, 53, 0.2);
    outline: none;
} 