@charset "UTF-8";
/* ----------------------------------------
 * COSFET21 Inquiry Page Styles
 * Created : 202504
 * topbar 공통 스타일은 cosfet21.css 참고
 --------------------------------------- */

/* ===== 페이지 배경 (login-page-wrap 동일 패턴) ===== */
.inquiry-page-wrap {
    width: 100%;
    min-height: calc(85vh - 80px);
    background-color: #E4E4E4;
    display: flex;
    flex-direction: column;
}

/* topbar 좌측 기준 오버라이드 (login-page-wrap .cft21-topbar 동일) */
.inquiry-page-wrap .cft21-topbar {
    width: 100%;
    max-width: 948px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* ===== 카드 중앙 정렬 영역 (login-card-area 동일 패턴) ===== */
.inquiry-card-area {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 20px 16px 80px;
}

/* ===== 문의 카드 =====
 * login-card와 동일: border 1.5px #EAAEAE / border-radius 15px / bg #FFF
 * 차이: width 520px (login: 320px) / padding 40px 76px 60px (내부 폭 368px)
 */
.inquiry-card {
    width: 520px;
    background-color: #FFFFFF;
    border-radius: 15px;
    border: 1.5px solid #EAAEAE;
    padding: 40px 76px 60px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== 카드 제목 ===== */
.inquiry-card__title {
    margin: 0 0 32px 0;
    font-size: 24px;
    font-weight: 700;
    color: #161616;
    letter-spacing: -0.5px;
    font-family: 'Pretendard', 'Inter', sans-serif;
}

/* ===== 폼 ===== */
.inquiry-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* ===== 폼 그룹 (레이블 + 입력 묶음) ===== */
.inquiry-form__group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

/* 레이블 + 부가 텍스트 나란히 (이름 필드) */
.inquiry-form__label-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

/* ===== 레이블 =====
 * color #626262, font-size 11px → login-card__link color 동일
 */
.inquiry-form__label {
    font-size: 11px;
    font-weight: 500;
    color: #626262;
    font-family: 'Pretendard', 'Inter', sans-serif;
}

.inquiry-form__label-sub {
    font-size: 8px;
    color: #949494;
    font-family: 'Pretendard', 'Inter', sans-serif;
}

/* ===== 입력 필드 =====
 * login-card__input 동일: border #CCCCCC / bg #EEEEEE / border-radius 2px
 */
.inquiry-form__input {
    width: 100%;
    height: 25px;
    border: 1px solid #CCCCCC;
    border-radius: 2px;
    background-color: #FFFFFF;
    padding: 0 8px;
    font-size: 10px;
    font-weight: 400;
    color: #161616;
    font-family: 'Pretendard', 'Inter', sans-serif;
    box-sizing: border-box;
    outline: none;
}

.inquiry-form__input::placeholder {
    color: #999999;
}

.inquiry-form__input:focus {
    border-color: #EAAEAE;
    background-color: #FFFFFF;
}

/* ===== 연락처 3분할 ===== */
.inquiry-form__phone-group {
    display: flex;
    gap: 12px;
}

/* 전화번호 자리수 특성상 고정 너비 유지 (ratio 미적용) */
.inquiry-form__input--phone {
    width: 36px;
    flex-shrink: 0;
    text-align: center;
    padding: 0;
}

/* ===== Textarea ===== */
.inquiry-form__textarea {
    width: 100%;
    height: 98px;
    border: 1px solid #CCCCCC;
    border-radius: 2px;
    background-color: #FFFFFF;
    padding: 8px;
    font-size: 10px;
    font-weight: 400;
    color: #161616;
    font-family: 'Pretendard', 'Inter', sans-serif;
    box-sizing: border-box;
    outline: none;
    resize: none;
}

.inquiry-form__textarea::placeholder {
    color: #999999;
}

.inquiry-form__textarea:focus {
    border-color: #EAAEAE;
    background-color: #FFFFFF;
}

/* ===== 문의 유형 체크박스 그룹 ===== */
.inquiry-form__check-group {
    display: flex;
    gap: 15px;
    align-items: center;
}

.inquiry-form__check-label {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 11px;
    color: #626262;
    font-family: 'Pretendard', 'Inter', sans-serif;
}

/* ===== 커스텀 체크박스/라디오 ===== */
/* base.css: input[type="radio"],input[type="checkbox"] { border:0; height:auto } 특이도(0,1,1)를 !important로 재정의 */
.inquiry-form__checkbox {
    appearance: none;
    -webkit-appearance: none;
    display: inline-block !important;
    width: 11px !important;
    height: 11px !important;
    border: 1.5px solid #9E9E9E !important;
    border-radius: 2px;
    background-color: #FFFFFF;
    cursor: pointer;
    position: relative;
    flex-shrink: 0;
    box-sizing: border-box;
}

.inquiry-form__checkbox:checked {
    background-color: #1A1A1A;
    border-color: #1A1A1A;
}

.inquiry-form__checkbox:checked::after {
    content: '✔';
    color: #FFFFFF;
    font-size: 8px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    line-height: 1;
}

input[type="radio"].inquiry-form__checkbox {
    border-radius: 50%;
}

input[type="radio"].inquiry-form__checkbox:checked {
    background-color: #FFFFFF;
    border-color: #1A1A1A;
}

input[type="radio"].inquiry-form__checkbox:checked::after {
    content: '';
    display: block;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background-color: #1A1A1A;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* 개인정보 동의용 체크박스 (더 큰 사이즈) */
.inquiry-form__checkbox--lg {
    width: 13px !important;
    height: 13px !important;
    border-color: #8C8A8A !important;
}

/* ===== 첨부 파일 ===== */
.inquiry-form__group--file {
    flex-direction: column;
    gap: 4px;
}

.inquiry-form__file-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.inquiry-form__file-name {
    display: none;
    font-size: 11px;
    color: #626262;
    font-family: 'Pretendard', 'Inter', sans-serif;
    max-width: 150px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.inquiry-form__file-desc {
    font-size: 9px;
    color: #999999;
    font-family: 'Pretendard', 'Inter', sans-serif;
}

.inquiry-form__file-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 19px;
    background-color: #8B8B8B;
    border: 1px solid #606060;
    border-radius: 2px;
    color: #FFFFFF;
    font-size: 10px;
    font-family: 'Pretendard', 'Inter', sans-serif;
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.15s ease;
}

.inquiry-form__file-btn:hover {
    background-color: #6e6e6e;
}

.inquiry-form__file-input {
    display: none;
}

/* ===== 개인정보 섹션 ===== */
.inquiry-privacy {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
}

.inquiry-privacy__title {
    margin: 0 0 10px 0;
    font-size: 12px;
    font-weight: 700;
    color: #3C3C3C;
    letter-spacing: 0.72px;
    font-family: 'Pretendard', 'Inter', sans-serif;
}

.inquiry-privacy__box {
    width: 100%;
    height: 168px;
    border: 1px solid #CBCBCB;
    border-radius: 2px;
    padding: 12px;
    box-sizing: border-box;
    font-size: 9px;
    color: #8C8A8A;
    line-height: 19px;
    letter-spacing: 0.54px;
    overflow-y: auto;
    font-family: 'Pretendard', 'Inter', sans-serif;
}

.inquiry-privacy__agree {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    cursor: pointer;
}

.inquiry-privacy__agree-text {
    font-size: 9px;
    color: #8C8A8A;
    letter-spacing: 0.54px;
    font-family: 'Pretendard', 'Inter', sans-serif;
}

.inquiry-privacy__agree-req {
    color: #F07D7D;
}

/* ===== 제출 버튼 =====
 * login-card__btn 동일: bg #1A1A1A / color #FFF
 * 차이: width 58% (Figma 214px ÷ 내부폭 368px ≈ 58%) / border-radius 5px
 */
.inquiry-form__footer {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.inquiry-form__submit {
    width: 58%;
    min-width: 214px;
    height: 29px;
    background-color: #1A1A1A;
    border: none;
    border-radius: 5px;
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 700;
    font-family: 'Pretendard', 'Inter', sans-serif;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.inquiry-form__submit:hover {
    background-color: #333333;
    color: #FFFFFF;
}

/* ================================================
   문의 등록완료 페이지 전용
   inquiry-card, inquiry-page-wrap, inquiry-card-area 재사용
   ================================================ */

/* inquiry-card에 box-shadow 추가 + 완료 전용 padding
 * 비율 환산: card 268px = padding-top(72) + icon(78) + gap(12) + texts(~50) + padding-bottom(56)
 */
.inquiry-card--complete {
    padding: 72px 40px 56px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

/* 체크 아이콘 원형
 * gradient(180deg): #FE6156 → #EC298E (cosfet21-btn 수평 gradient와 방향만 다름)
 */
.inquiry-complete__icon-wrap {
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: linear-gradient(180deg, #FE6156 0%, #EC298E 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* 텍스트 그룹 */
.inquiry-complete__text-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
}

.inquiry-complete__title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #424242;
    line-height: 1.3;
    letter-spacing: -0.02em;
    font-family: 'Pretendard', 'Inter', sans-serif;
    text-align: center;
}

.inquiry-complete__desc {
    margin: 0;
    font-size: 12px;
    font-weight: 400;
    color: #424242;
    opacity: 0.8;
    line-height: 1.5;
    font-family: 'Pretendard', 'Inter', sans-serif;
    text-align: center;
}

/* ================================================
   RESPONSIVE — Tablet (768px ~ 1199px)
   ================================================ */
@media only screen and (max-width: 1199px) {

    .inquiry-page-wrap .cft21-topbar {
        padding: 40px 24px 20px;
    }

    .inquiry-card-area {
        padding: 20px 24px 64px;
    }

    .inquiry-card {
        width: 100%;
        max-width: 520px;
        padding: 40px 48px 60px;
    }

    .inquiry-card--complete {
        padding: 60px 40px 48px;
    }
}

/* ================================================
   RESPONSIVE — Mobile (~ 767px)
   ================================================ */
@media only screen and (max-width: 767px) {

    .inquiry-page-wrap {
        min-height: calc(65vh - 60px);
    }

    .inquiry-page-wrap .cft21-topbar {
        padding: 24px 16px 16px;
    }

    .inquiry-card-area {
        padding: 20px 16px 48px;
    }

    .inquiry-card {
        width: 100%;
        padding: 32px 24px 40px;
        border-radius: 10px;
    }

    .inquiry-card--complete {
        padding: 48px 24px 40px;
    }

    .inquiry-card__title {
        font-size: 20px;
        margin-bottom: 24px;
    }

    .inquiry-form__check-group {
        flex-wrap: wrap;
        gap: 10px 15px;
    }

    .inquiry-privacy__box {
        height: 140px;
    }

    .inquiry-form__submit {
        width: 100%;
        min-width: unset;
    }

    .inquiry-complete__icon-wrap {
        width: 64px;
        height: 64px;
    }

    .inquiry-complete__icon-wrap svg {
        width: 28px;
        height: 28px;
    }

    .inquiry-complete__title {
        font-size: 18px;
    }

    .inquiry-complete__desc {
        font-size: 11px;
    }
}
