/* 페이지 전체 배경 */
.consultation-wrapper {
    background-color: #f8f9fa;
    padding: 50px 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.consultation-title {
    font-size: 32px;
    font-weight: 800;
    color: #111;
}

/* 폼 컨테이너 */
.form-container {
    background-color: #fff;
    width: 100%;
    max-width: 800px;
    padding: 0px 10px 60px;
    border-radius: 20px;
    /* box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05); */
    box-sizing: border-box;
    margin: 0 23% 0;
}

/* 입력 그룹 레이아웃 (2열) */
.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
    margin: 30px 0;
}

.input-grid-title {
    display: grid;
    gap: 20px 40px;
    margin-bottom: 30px;
}

.input-group {
    display: flex;
    flex-direction: column;
}

.input-label {
    font-size: 1.5em;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
}

.label-star { color: #6e41ff; } /* 강조 별색상 */
.label-sub { font-size: 12px; color: #999; font-weight: 400; }

/* 공통 입력창 스타일 */
.form-input, .form-select, .form-textarea {
    background-color: #f1f3f5;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 15px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}

.input-group input[type="text"],
  input[type="tel"],
  input[type="email"],
  input[type="password"] {
    background-color: #f1f3f5;
    border: none;
    border-radius: 8px;
    padding: 15px;
    font-size: 15px;
    outline: none;
    width: 100%;
    box-sizing: border-box;
  }

.form-textarea {
    height: 150px;
    resize: none;
    line-height: 1.6;
}

/* 개인정보 동의 영역 */
.agreement-section {
    margin-top: 30px;
    border-top: 1px solid #eee;
    padding-top: 20px;
}

.agree-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.agree-item input { margin-right: 10px; width: 18px; height: 18px; }
.agree-link { text-decoration: underline; margin-left: 5px; color: #333; }

/* 버튼 */
.submit-btn-wrap {
    display: flex;
    justify-content: center;
    margin: 40px 0 0 ;
}

.submit-btn {
    background-color: #222;
    color: #fff;
    padding: 18px 60px;
    border-radius: 35px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover { background-color: #444; }

/* 모바일 대응 */
@media (max-width: 600px) {
    .input-grid { grid-template-columns: 1fr; }
    .form-container { padding: 0 0px; margin: 0;}
    .submit-btn-wrap {
        display: flex;
        justify-content: center;
        margin: 40px 0 40px;
    }
}