@charset "UTF-8";
/* skin/nstyle_contact_us.css — 聯絡我們 contact_us 頁「專屬」CSS（新版設計）
   取代舊 custom-def 的 .contact_form／.contact_check_item／.contact_but／.contact_input_* 版面。
   卡身用共用 .info_card（nstyle_base）；表單樣式 scope 到 .nstyle_theme.page_contact_us。
   個資彈窗改用 Bootstrap 5 Modal（#cuPrivacyModal），內容直接內嵌（原 privacy_pop2.html 條文），不套 iframe。 */

/* 卡片：與漸層標題留一點距離 */
.nstyle_theme.page_contact_us .cu_card {
    margin-top: 28px;
}

/* 必填紅星 */
.nstyle_theme.page_contact_us .cu_req {
    color: #e2456b;
    font-weight: 700;
}

/* 區塊標題列（左：圖示徽章＋標題；右：提示語） */
.nstyle_theme.page_contact_us .cu_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.nstyle_theme.page_contact_us .cu_head_main {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nstyle_theme.page_contact_us .cu_head_title {
    color: #172659;
    font-size: 22px;
    font-weight: 700;
}

.nstyle_theme.page_contact_us .cu_head_note {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #707b98;
    font-size: 14px;
}

.nstyle_theme.page_contact_us .cu_head_note .material-icons-round {
    font-size: 18px;
    color: #5aa6ef;
}

/* 分隔線 */
.nstyle_theme.page_contact_us .cu_divider {
    border: 0;
    border-top: 1px solid #e4ecf7;
    margin: 28px 0;
    opacity: 1;
}

/* 諮詢類別 chips（圖示卡，勾選變藍） */
.nstyle_theme.page_contact_us .cu_chips {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.nstyle_theme.page_contact_us .cu_chip {
    margin: 0;
    cursor: pointer;
}

.nstyle_theme.page_contact_us .cu_chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nstyle_theme.page_contact_us .cu_chip_box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 100%;
    padding: 14px 12px;
    border: 1px solid #d3deff;
    border-radius: 14px;
    background: #fff;
    color: #3c3d3e;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.15s ease;
}

.nstyle_theme.page_contact_us .cu_chip_box .material-icons-round {
    font-size: 20px;
    color: #5aa6ef;
}

.nstyle_theme.page_contact_us .cu_chip input:checked + .cu_chip_box {
    background: linear-gradient(180deg, #5aa6ef 0%, #2f74d6 100%);
    border-color: #2f74d6;
    color: #fff;
}

.nstyle_theme.page_contact_us .cu_chip input:checked + .cu_chip_box .material-icons-round {
    color: #fff;
}

.nstyle_theme.page_contact_us .cu_chip input:focus-visible + .cu_chip_box {
    box-shadow: 0 0 0 3px rgba(47, 116, 214, 0.25);
}

/* 身分切換 segmented */
.nstyle_theme.page_contact_us .cu_seg {
    display: inline-flex;
    border: 1px solid #d3deff;
    border-radius: 999px;
    padding: 4px;
    margin-bottom: 4px;
}

.nstyle_theme.page_contact_us .cu_seg_btn {
    padding: 6px 20px;
    border-radius: 999px;
    cursor: pointer;
    color: #707b98;
    font-size: 15px;
}

.nstyle_theme.page_contact_us .cu_seg_btn_act {
    background: linear-gradient(180deg, #5aa6ef 0%, #2f74d6 100%);
    color: #fff;
}

/* 欄位：兩欄（左右等高，右側內容欄撐滿） */
.nstyle_theme.page_contact_us .cu_fields {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 20px;
    align-items: stretch;
}

.nstyle_theme.page_contact_us .cu_fcol {
    flex: 1 1 320px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nstyle_theme.page_contact_us .cu_field {
    display: flex;
    flex-direction: column;
}

.nstyle_theme.page_contact_us .cu_field--grow {
    flex: 1 1 auto;
}

.nstyle_theme.page_contact_us .cu_flabel {
    color: #172659;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 8px;
}

/* 輸入欄（含 leading 圖示） */
.nstyle_theme.page_contact_us .cu_input_wrap {
    position: relative;
}

.nstyle_theme.page_contact_us .cu_input_wrap--grow {
    flex: 1 1 auto;
    display: flex;
}

.nstyle_theme.page_contact_us .cu_ic {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #9fb4d8;
    font-size: 20px;
    pointer-events: none;
}

.nstyle_theme.page_contact_us .cu_ic--top {
    top: 16px;
    transform: none;
}

.nstyle_theme.page_contact_us .cu_input {
    width: 100%;
    border: 1px solid #d3deff;
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 15px;
    box-shadow: none;
}

.nstyle_theme.page_contact_us .cu_input--ic {
    padding-left: 44px;
}

.nstyle_theme.page_contact_us .cu_input:focus {
    border-color: #2f74d6;
    box-shadow: 0 0 0 3px rgba(47, 116, 214, 0.12);
}

.nstyle_theme.page_contact_us .cu_textarea {
    flex: 1 1 auto;
    min-height: 168px;
    resize: vertical;
    padding-top: 14px;
}

.nstyle_theme.page_contact_us .cu_count {
    position: absolute;
    right: 14px;
    bottom: 10px;
    color: #9aa6bf;
    font-size: 13px;
    pointer-events: none;
}

/* 底部：左（同意＋驗證碼）／右（送出） */
.nstyle_theme.page_contact_us .cu_bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.nstyle_theme.page_contact_us .cu_bottom_main {
    flex: 1 1 420px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.nstyle_theme.page_contact_us .cu_agree {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #3c3d3e;
    font-size: 15px;
}

.nstyle_theme.page_contact_us .cu_agree a {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #2f74d6;
    text-decoration: underline;
}

.nstyle_theme.page_contact_us .cu_agree a .material-icons-round {
    font-size: 16px;
}

/* 驗證碼 */
.nstyle_theme.page_contact_us .cu_captcha {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.nstyle_theme.page_contact_us .cu_captcha .cu_flabel {
    margin: 0;
    white-space: nowrap;
}

.nstyle_theme.page_contact_us .cu_captcha img {
    height: 46px;
    border-radius: 8px;
    background: #eef1f6;
}

.nstyle_theme.page_contact_us .cu_captcha_refresh {
    display: inline-flex;
    padding: 4px;
    border: 0;
    background: transparent;
    color: #5aa6ef;
    cursor: pointer;
}

.nstyle_theme.page_contact_us .cu_captcha_input {
    flex: 1 1 160px;
    width: auto;
}

/* 送出鈕（取代舊 contact_send.png） */
.nstyle_theme.page_contact_us .cu_send {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 220px;
    border: 0;
    border-radius: 14px;
    padding: 16px 32px;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    background: linear-gradient(180deg, #5aa6ef 0%, #2f74d6 100%);
    box-shadow: 0 6px 16px rgba(47, 116, 214, 0.3);
    cursor: pointer;
    transition: filter 0.15s ease;
}

.nstyle_theme.page_contact_us .cu_send:hover {
    filter: brightness(1.05);
}

.nstyle_theme.page_contact_us .cu_send .material-icons-round {
    font-size: 20px;
}

/* 個資彈窗內容（BS5 Modal 內嵌條文；modal 為 fixed 覆蓋層，用 id 選取以防位置差異） */
#cuPrivacyModal .cu_privacy_lead {
    color: #3c3d3e;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 16px;
}

#cuPrivacyModal .cu_privacy_list {
    margin: 0;
    padding-left: 1.4em;
    color: #3c3d3e;
    font-size: 15px;
    line-height: 1.9;
}

#cuPrivacyModal .cu_privacy_list > li {
    margin-bottom: 10px;
}

#cuPrivacyModal .cu_privacy_sub {
    margin: 8px 0 0;
    padding-left: 1.4em;
}

#cuPrivacyModal .cu_privacy_sub > li {
    margin-bottom: 4px;
}

/* RWD */
@media (max-width: 991.98px) {
    .nstyle_theme.page_contact_us .cu_chips {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .nstyle_theme.page_contact_us .cu_chips {
        grid-template-columns: repeat(2, 1fr);
    }

    .nstyle_theme.page_contact_us .cu_head_title {
        font-size: 18px;
    }

    .nstyle_theme.page_contact_us .cu_send {
        flex: 1 1 100%;
        width: 100%;
    }
}
