@charset "utf-8";

#container {
    min-height: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

/* content 상단 이미지는 사용하지 않음 */
#ctt_himg {
    display: none;
}

#ctt.jc-request {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: #ffffff;
}

/* request / form 전체 래퍼 */
#ctt.jc-request .jc-request-form {
    width: 100%;
    background: #ffffff;
}

/* section > wrap 패턴으로 다른 페이지와 동일하게 정렬 */
#ctt.jc-request .jc-request-wrap {
    box-sizing: border-box;
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: 64px 160px 160px 160px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 56px;
}

/* 헤드 영역 */
#ctt.jc-request .jc-request-head {
    width: 100%;
    max-width: 1120px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

#ctt.jc-request .jc-request-title {
    margin: 0;
    width: 100%;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000000;
    word-break: keep-all;
}

#ctt.jc-request .jc-request-desc {
    margin: 0;
    width: 100%;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 34px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000000;
    word-break: keep-all;
}

/* 본문 form */
#ctt.jc-request .jc-request-body {
    width: 100%;
    max-width: none;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    align-self: stretch;
}

#ctt.jc-request .jc-request-fields {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    align-self: stretch;
}

/* 체크박스 그룹 */
#ctt.jc-request .jc-request-checkbox-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    align-self: stretch;
}

#ctt.jc-request .jc-checkbox-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    align-self: stretch;
}

#ctt.jc-request .jc-check-chip-wrap {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 22px;
    cursor: pointer;
}

#ctt.jc-request .jc-check-chip-wrap input[type="checkbox"] {
    position: absolute;
    inset: 0 auto auto 0;
    width: 16px;
    height: 16px;
    margin: 0;
    opacity: 0;
    pointer-events: none;
}

#ctt.jc-request .jc-check-chip-box {
    position: relative;
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    flex: 0 0 16px;
    border: 1px solid #616161;
    border-radius: 4px;
    background: #f7f7f7;
}

#ctt.jc-request .jc-check-chip-box::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 45%;
    width: 4px;
    height: 8px;
    border-right: 1.6px solid #f7f7f7;
    border-bottom: 1.6px solid #f7f7f7;
    opacity: 0;
    transform: translate(-50%, -50%) rotate(45deg);
}

#ctt.jc-request .jc-check-chip-wrap input[type="checkbox"]:checked + .jc-check-chip-box {
    border-color: #FFB84D;
    background: #FFB84D;
}

#ctt.jc-request .jc-check-chip-wrap input[type="checkbox"]:checked + .jc-check-chip-box::after {
    opacity: 1;
}

#ctt.jc-request .jc-check-chip-wrap input[type="checkbox"]:focus-visible + .jc-check-chip-box {
    outline: 2px solid var(--jc-primary-dark);
    outline-offset: 2px;
}

#ctt.jc-request .jc-checkbox-text {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 16px;
    line-height: 1.4;
    color: #000000;
}

#ctt.jc-request .jc-checkbox-required .jc-checkbox-text::after {
    content: "*";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #F29712;
    font-size: 16px;
    line-height: 1;
}

#ctt.jc-request .jc-checkbox-desc {
    display: flex;
    align-items: center;
    min-height: 22px;
    margin: 0 0 0 28px;
    font-family: "Inter", "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #828282;
    text-decoration: none;
    word-break: keep-all;
}

#ctt.jc-request .jc-checkbox-desc-link {
    font-style: normal;
    text-decoration: underline;
    text-underline-offset: 2px;
}

#ctt.jc-request .jc-checkbox-desc-note {
    font-style: normal;
    text-decoration: none;
}

/* captcha */
#ctt.jc-request .jc-request-captcha {
    width: 100%;
    max-width: 100%;
    margin-top: 8px;
}

#ctt.jc-request .jc-request-captcha #captcha {
    box-sizing: border-box;
    width: 100%;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto auto;
    grid-template-areas:
        "legend legend legend legend"
        "img key mp3 reload"
        "audio audio audio audio"
        "info info info info";
    align-items: center;
    gap: 8px 12px;
    padding: 16px 20px;
    border: 1px solid #ebebeb;
    border-radius: 8px;
    background: #f9f9f9;
    box-shadow: none;
}

#ctt.jc-request .jc-request-captcha #captcha.m_captcha {
    grid-template-columns: auto minmax(0, 1fr) auto;
    grid-template-areas:
        "legend legend legend"
        "img key reload"
        "audio audio audio"
        "info info info";
}

#ctt.jc-request .jc-request-captcha #captcha legend {
    display: none;
}

#ctt.jc-request .jc-request-captcha #captcha legend label {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.4;
    color: #000000;
}

#ctt.jc-request .jc-request-captcha #captcha legend label::after {
    content: "*";
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    color: #F29712;
    font-size: 16px;
    line-height: 1;
}

#ctt.jc-request .jc-request-captcha #captcha #captcha_audio {
    grid-area: audio;
    display: none;
    width: 0;
    height: 0;
    margin: 0;
}

#ctt.jc-request .jc-request-captcha #captcha #captcha_img {
    grid-area: img;
    display: block;
    justify-self: start;
    height: 46px;
    max-width: 100%;
    margin: 0;
    padding: 0;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    background: #ffffff;
    box-shadow: none;
}

#ctt.jc-request .jc-request-captcha #captcha #captcha_key {
    grid-area: key;
    box-sizing: border-box;
    width: 100%;
    min-width: 0;
    height: 46px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    background: #ffffff;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    letter-spacing: 0.1em;
    color: #000000;
    text-align: left;
    vertical-align: middle;
}

#ctt.jc-request .jc-request-captcha #captcha #captcha_key::placeholder {
    color: #b4b4b4;
    font-weight: 400;
    letter-spacing: normal;
}

#ctt.jc-request .jc-request-captcha #captcha #captcha_mp3,
#ctt.jc-request .jc-request-captcha #captcha #captcha_reload {
    box-sizing: border-box;
    min-width: 100px;
    height: 46px;
    margin: 0;
    padding: 0 16px;
    border: 1px solid #ebebeb;
    border-radius: 6px;
    background: #ffffff;
    background-image: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
    text-indent: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: #44403c;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s ease;
}

#ctt.jc-request .jc-request-captcha #captcha #captcha_mp3 {
    grid-area: mp3;
}

#ctt.jc-request .jc-request-captcha #captcha #captcha_reload {
    grid-area: reload;
}

#ctt.jc-request .jc-request-captcha #captcha #captcha_mp3 span,
#ctt.jc-request .jc-request-captcha #captcha #captcha_reload span {
    display: none;
}

#ctt.jc-request .jc-request-captcha #captcha #captcha_mp3:hover,
#ctt.jc-request .jc-request-captcha #captcha #captcha_mp3:focus-visible,
#ctt.jc-request .jc-request-captcha #captcha #captcha_reload:hover,
#ctt.jc-request .jc-request-captcha #captcha #captcha_reload:focus-visible {
    background: #f9f9f9;
    border-color: #dcdcdc;
    color: #111827;
}

#ctt.jc-request .jc-request-captcha #captcha #captcha_mp3:focus-visible,
#ctt.jc-request .jc-request-captcha #captcha #captcha_reload:focus-visible {
    outline: 2px solid var(--jc-primary-dark);
    outline-offset: 3px;
}

#ctt.jc-request .jc-request-captcha #captcha #captcha_info {
    grid-area: info;
    margin: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 13px;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0;
    color: #828282;
    word-break: keep-all;
}

#ctt.jc-request .jc-request-captcha #captcha #mp3_audio,
#ctt.jc-request .jc-request-captcha #captcha #mp3_object,
#ctt.jc-request .jc-request-captcha #captcha #mp3_embed {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

/* 하단 버튼 */
#ctt.jc-request .jc-request-actions {
    margin-top: 0;
    display: flex;
    justify-content: flex-start;
}

#ctt.jc-request .jc-request-submit {
    /* PC: lg (jc-btn--lg), 테블릿/모바일은 미디어쿼리에서 md/xs 적용 */
}

#ctt.jc-request .jc-request-submit-text {
    white-space: nowrap;
}

#ctt.jc-request .jc-request-modal-backdrop {
    position: fixed;
    inset: 0;
    z-index: 9998;
    background: rgba(17, 24, 39, 0.48);
    -webkit-backdrop-filter: blur(3px);
    backdrop-filter: blur(3px);
}

#ctt.jc-request .jc-request-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    box-sizing: border-box;
    overflow-y: auto;
}

#ctt.jc-request .jc-request-modal[hidden],
#ctt.jc-request .jc-request-modal-backdrop[hidden] {
    display: none !important;
}

#ctt.jc-request .jc-request-modal-inner {
    width: min(480px, 100%);
    padding: 36px 32px 28px;
    border-radius: 20px;
    background: #ffffff;
    box-shadow: 0 28px 80px rgba(15, 23, 42, 0.22);
    text-align: center;
}

#ctt.jc-request .jc-request-modal-title {
    margin: 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    color: #111827;
    word-break: keep-all;
}

#ctt.jc-request .jc-request-modal-desc {
    margin: 14px 0 0;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: #4b5563;
    white-space: pre-line;
    word-break: keep-all;
}

#ctt.jc-request .jc-request-modal-close {
    margin-top: 24px;
    min-width: 132px;
    height: 48px;
    padding: 0 20px;
    border: 0;
    border-radius: 999px;
    background: #111827;
    font-family: "Pretendard", "SUIT Variable", "Noto Sans KR", sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
}

#ctt.jc-request .jc-request-modal-close:hover,
#ctt.jc-request .jc-request-modal-close:focus-visible {
    background: #0b1220;
}

#ctt.jc-request .jc-request-modal-close:focus-visible {
    outline: 2px solid var(--jc-primary-dark);
    outline-offset: 3px;
}

#ctt.jc-request .jc-request-modal-loading .jc-request-modal-inner {
    width: min(380px, 100%);
    padding-top: 40px;
    padding-bottom: 32px;
}

#ctt.jc-request .jc-request-loading-spinner {
    display: inline-block;
    width: 56px;
    height: 56px;
    margin-bottom: 18px;
    border: 4px solid rgba(255, 113, 63, 0.18);
    border-top-color: var(--jc-primary-dark);
    border-radius: 50%;
    animation: jc-request-spin 0.8s linear infinite;
}

body.jc-request-modal-open {
    overflow: hidden;
}

/* 반응형 */
@media (max-width: 1279px) {
    #ctt.jc-request .jc-request-wrap {
        width: 100%;
    }
}

@media (max-width: 1024px) {
    #ctt.jc-request .jc-request-wrap {
        padding: 80px 96px;
        gap: 48px;
    }

    #ctt.jc-request .jc-request-captcha {
        max-width: 100%;
    }

    #ctt.jc-request .jc-request-captcha #captcha {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        grid-template-areas:
            "legend legend"
            "img img"
            "key key"
            "mp3 reload"
            "audio audio"
            "info info";
        padding: 20px;
    }

    #ctt.jc-request .jc-request-captcha #captcha.m_captcha {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "legend"
            "img"
            "key"
            "reload"
            "audio"
            "info";
        padding: 20px;
    }

    #ctt.jc-request .jc-request-captcha #captcha #captcha_mp3,
    #ctt.jc-request .jc-request-captcha #captcha #captcha_reload {
        width: 100%;
        min-width: 0;
    }

    #ctt.jc-request .jc-request-submit {
        /* 테블릿: md */
        --jc-btn-min-width: 100px;
        --jc-btn-height: 40px;
        --jc-btn-gap: 6px;
        --jc-btn-padding-y: 0;
        --jc-btn-padding-x: 18px;
        --jc-btn-font-size: 16px;
        --jc-btn-icon-size: 16px;
    }
}

@media (max-width: 768px) {
    #ctt.jc-request .jc-request-title,
    #ctt.jc-request .jc-request-desc {
        font-size: 28px;
        font-weight: 700;
    }
}

@media (max-width: 640px) {
    #ctt.jc-request .jc-request-submit {
        /* 모바일: xs */
        --jc-btn-min-width: 80px;
        --jc-btn-height: 24px;
        --jc-btn-gap: 4px;
        --jc-btn-padding-y: 0;
        --jc-btn-padding-x: 18px;
        --jc-btn-font-size: 12px;
        --jc-btn-icon-size: 12px;
    }

    #ctt.jc-request .jc-request-wrap {
        padding: 48px 32px;
        gap: 56px;
    }

    #ctt.jc-request .jc-request-title,
    #ctt.jc-request .jc-request-desc {
        font-size: 20px;
        font-weight: 700;
    }

    #ctt.jc-request .jc-radio-text,
    #ctt.jc-request .jc-checkbox-text {
        font-size: 15px;
    }

    #ctt.jc-request .jc-request-captcha #captcha,
    #ctt.jc-request .jc-request-captcha #captcha.m_captcha {
        padding: 16px;
    }

    #ctt.jc-request .jc-checkbox-desc {
        font-size: 13px;
    }

    #ctt.jc-request .jc-request-modal {
        padding: 18px;
    }

    #ctt.jc-request .jc-request-modal-inner {
        padding: 30px 22px 24px;
        border-radius: 18px;
    }

    #ctt.jc-request .jc-request-modal-title {
        font-size: 24px;
    }

    #ctt.jc-request .jc-request-modal-desc {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    #ctt.jc-request .jc-request-title,
    #ctt.jc-request .jc-request-desc {
        font-size: 24px;
    }

    #ctt.jc-request .jc-request-actions {
        justify-content: flex-start;
    }

    #ctt.jc-request .jc-request-submit {
        max-width: 100%;
        white-space: nowrap;
    }

    #ctt.jc-request .jc-request-captcha #captcha {
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "legend"
            "img"
            "key"
            "mp3"
            "reload"
            "audio"
            "info";
    }

    #ctt.jc-request .jc-request-modal-title {
        font-size: 22px;
    }

    #ctt.jc-request .jc-request-modal-close {
        width: 100%;
    }
}

@keyframes jc-request-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

#ctt.jc-request input[type=text]:focus,
#ctt.jc-request input[type=password]:focus,
#ctt.jc-request textarea:focus,
#ctt.jc-request select:focus {
    box-shadow: none !important;
    border: 0 !important;
    outline: none !important;
}

#ctt.jc-request .jc-request-captcha #captcha #captcha_key:focus {
    border: 1px solid #FFB84D !important;
    outline: none !important;
    box-shadow: none !important;
    background: #fffdfb;
}
