/* 상담신청 페이지 스타일 */

/* 체크박스 강제 표시 */
input[type="checkbox"] {
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: relative !important;
}

.consultation-page-wrap {
    background: #f5f5f5;
    padding: 60px 20px;
    min-height: 100vh;
}

.consultation-page-wrap .container {
    max-width: 800px;
    margin: 0 auto;
}

/* 페이지 헤더 */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.page-desc {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
}

/* 폼 컨테이너 */
.consultation-form-container {
    background: white;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    margin-bottom: 30px;
}

/* 폼 그룹 */
.consult-form-group {
    margin-bottom: 25px;
}

.consult-label {
    display: block;
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.consult-label .required {
    color: #E91E63;
    margin-left: 3px;
}

/* 라디오 그룹 */
.consult-radio-group {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.consult-radio {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    padding: 10px 18px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: white;
    transition: all 0.3s;
}

.consult-radio:hover {
    border-color: #E91E63;
    background: #fff0f5;
}

.consult-radio input[type="radio"] {
    display: none;
}

.consult-radio input[type="radio"]:checked + span {
    color: #E91E63;
    font-weight: 600;
}

.consult-radio input[type="radio"]:checked ~ * {
    border-color: #E91E63;
}

.consult-radio:has(input[type="radio"]:checked) {
    border-color: #E91E63;
    background: #fff0f5;
}

.consult-radio span {
    font-size: 14px;
    color: #666;
}

/* 입력 필드 */
.consult-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
    box-sizing: border-box;
}

.consult-input:focus {
    outline: none;
    border-color: #E91E63;
    background: #fff0f5;
}

.consult-input::placeholder {
    color: #aaa;
}

/* 이메일 그룹 */
.email-group {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.email-input {
    flex: 1;
    min-width: 120px;
}

.email-at {
    font-size: 16px;
    color: #666;
    font-weight: 600;
}

.consult-select {
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    min-width: 150px;
}

.consult-select:focus {
    outline: none;
    border-color: #E91E63;
}

/* 텍스트에리어 */
.consult-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    resize: vertical;
    transition: all 0.3s;
    box-sizing: border-box;
}

.consult-textarea:focus {
    outline: none;
    border-color: #E91E63;
    background: #fff0f5;
}

.consult-textarea::placeholder {
    color: #aaa;
}

.textarea-count {
    text-align: right;
    font-size: 13px;
    color: #999;
    margin-top: 5px;
}

/* 섹션 타이틀 */
.consult-section-title {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin: 35px 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #E91E63;
}

/* 동의 항목 */
.consult-agreement {
    margin: 30px 0;
    padding: 25px;
    background: #fff9f0;
    border: 2px solid #ffe0b2;
    border-radius: 10px;
}

.agreement-item {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 18px;
    padding: 15px;
    background: white;
    border-radius: 8px;
}

.agreement-item:last-child {
    margin-bottom: 0;
}

.agreement-checkbox {
    display: flex;
    align-items: center;
    cursor: pointer;
    flex: 1;
    gap: 12px;
}

.agreement-checkbox input[type="checkbox"] {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    margin: 0 !important;
    flex-shrink: 0;
    cursor: pointer;
    accent-color: #E91E63;
    opacity: 1 !important;
    visibility: visible !important;
    display: inline-block !important;
    position: relative !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    appearance: checkbox !important;
}

.agreement-checkbox input[type="checkbox"]:checked {
    background-color: #E91E63;
    border-color: #E91E63;
}

.checkbox-text {
    font-size: 15px;
    color: #333;
    font-weight: 500;
    line-height: 1.5;
    word-break: keep-all;
    flex: 1;
}

.checkbox-text em {
    color: #E91E63;
    font-style: normal;
    font-weight: 700;
    white-space: nowrap;
}

.agreement-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 14px;
    color: #666;
}

.agreement-toggle:hover {
    color: #E91E63;
}

.agreement-content {
    margin-top: 10px;
    padding: 15px;
    background: white;
    border-radius: 6px;
    border: 1px solid #ddd;
}

.agreement-box {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.agreement-box p {
    margin: 10px 0;
}

.agreement-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
}

.agreement-table th,
.agreement-table td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: center;
    font-size: 12px;
}

.agreement-table th {
    background: #f5f5f5;
    font-weight: 600;
}

/* 버튼 그룹 */
.consult-btn-group {
    display: flex;
    gap: 15px;
    margin-top: 40px;
}

.consult-btn-cancel,
.consult-btn-submit {
    flex: 1;
    padding: 15px 30px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.consult-btn-cancel {
    background: #f5f5f5;
    color: #666;
}

.consult-btn-cancel:hover {
    background: #e0e0e0;
}

.consult-btn-submit {
    background: #E91E63;
    color: white;
}

.consult-btn-submit:hover {
    background: #d81b60;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(233, 30, 99, 0.3);
}

/* 고객센터 정보 박스 */
.contact-info-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.contact-info-box h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
}

.contact-info-box .phone-number {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
}

.contact-info-box .phone-number a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.contact-info-box .phone-number a:hover {
    text-shadow: 0 0 10px rgba(255,255,255,0.5);
}

.contact-info-box .phone-time {
    font-size: 15px;
    opacity: 0.9;
}

/* 모바일 반응형 */
@media (max-width: 768px) {
    .consultation-page-wrap {
        padding: 30px 15px;
    }
    
    .page-title {
        font-size: 24px;
    }
    
    .page-desc {
        font-size: 14px;
    }
    
    .consultation-form-container {
        padding: 25px 20px;
    }
    
    .consult-radio-group {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        gap: 8px;
    }
    
    /* 차량 종류 - 가로 2개씩 */
    .vehicle-type-group .consult-radio {
        width: calc(50% - 4px) !important;
        flex: 0 0 calc(50% - 4px) !important;
        justify-content: center;
        box-sizing: border-box;
    }
    
    /* 차량 댓수 - 가로 3개씩 */
    .vehicle-count-group .consult-radio {
        width: calc(33.333% - 6px) !important;
        flex: 0 0 calc(33.333% - 6px) !important;
        justify-content: center;
        box-sizing: border-box;
    }
    
    .email-group {
        flex-direction: column;
    }
    
    .email-input,
    .consult-select {
        width: 100%;
    }
    
    .email-at {
        display: none;
    }
    
    .consult-btn-group {
        flex-direction: column;
    }
    
    .consult-btn-cancel,
    .consult-btn-submit {
        width: 100%;
    }
    
    .contact-info-box {
        padding: 30px 20px;
    }
    
    .contact-info-box h3 {
        font-size: 18px;
    }
    
    .contact-info-box .phone-number {
        font-size: 28px;
    }
    
    .agreement-table {
        font-size: 11px;
    }
    
    .agreement-table th,
    .agreement-table td {
        padding: 8px 5px;
    }
    
    .consult-agreement {
        padding: 20px 15px;
    }
    
    .agreement-item {
        padding: 12px;
        gap: 8px;
    }
    
    .agreement-checkbox {
        gap: 10px;
    }
    
    .agreement-checkbox input[type="checkbox"] {
        width: 20px !important;
        height: 20px !important;
        min-width: 20px !important;
        max-width: 20px !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: inline-block !important;
        flex-shrink: 0;
    }
    
    .checkbox-text {
        font-size: 14px;
        line-height: 1.4;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 20px;
    }
    
    .consultation-form-container {
        padding: 20px 15px;
    }
    
    .consult-section-title {
        font-size: 16px;
    }
    
    /* 차량 종류 - 가로 2개씩 */
    .vehicle-type-group .consult-radio {
        width: calc(50% - 4px) !important;
        flex: 0 0 calc(50% - 4px) !important;
        justify-content: center;
        box-sizing: border-box;
        padding: 8px 10px;
        font-size: 13px;
    }
    
    /* 차량 댓수 - 가로 3개씩 */
    .vehicle-count-group .consult-radio {
        width: calc(33.333% - 6px) !important;
        flex: 0 0 calc(33.333% - 6px) !important;
        justify-content: center;
        box-sizing: border-box;
        padding: 8px 5px;
        font-size: 13px;
    }
}

