/* =========================================================
   단체행사 신청 (guide/group_form) - customer_voice.css 의 카드 · 폼 스타일을 함께 쓴다
   ========================================================= */

/* 골프장 (4곳) */
.cv_wrap .gf_clubs { grid-template-columns: repeat(4, minmax(0, 1fr)); }

/* 선택 칩 (신청기관 · 행사성격 · 행사인원) */
.cv_wrap .gf_chips { display: flex; flex-wrap: wrap; gap: 8px; }
.cv_wrap .gf_chip { position: relative; cursor: pointer; }
.cv_wrap .gf_chip input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.cv_wrap .gf_chip span {
    display: inline-flex;
    align-items: center;
    height: 44px;
    padding: 0 20px;
    border: 1px solid #ddd;
    border-radius: 22px;
    background: #fff;
    font-size: 16px;
    color: #666;
    transition: border-color .15s ease, color .15s ease, background .15s ease, box-shadow .15s ease;
}
.cv_wrap .gf_chip:hover span { border-color: #9e8621; color: #9e8621; }
.cv_wrap .gf_chip input:checked + span {
    border-color: #9e8621;
    background: linear-gradient(180deg, #ad942c 0%, #9e8621 55%, #8f7819 100%);
    color: #fff;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 3px 8px rgba(158,134,33,.25);
}
.cv_wrap .gf_chip input:focus-visible + span { outline: 2px solid rgba(158,134,33,.45); outline-offset: 2px; }

/* 행사기간 */
.cv_wrap .gf_period { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 12px 20px; }
.cv_wrap .gf_period_item { display: flex; flex-direction: column; gap: 6px; }
.cv_wrap .gf_sub { font-size: 14px; color: #888; }
.cv_wrap .gf_period input[type=date] { width: 220px; cursor: pointer; }
.cv_wrap .gf_nights { flex-direction: row; flex-wrap: wrap; align-items: flex-end; gap: 6px 8px; }
.cv_wrap .gf_nights .gf_sub { flex: 0 0 100%; }
.cv_wrap .gf_stepper { display: inline-flex; border: 1px solid #ddd; background: #fff; }
.cv_wrap .gf_stepper .cf_input { width: 64px; border: 0; text-align: center; box-shadow: none; }
.cv_wrap .gf_step {
    width: 46px;
    border: 0;
    background: #f7f7f7;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.cv_wrap .gf_step:hover { background: #f5f0dc; color: #9e8621; }
.cv_wrap .gf_unit { align-self: center; padding-bottom: 2px; font-size: 16px; color: #555; }
.cv_wrap .gf_period_txt {
    flex: 1 1 100%;
    margin: 4px 0 0;
    padding: 10px 14px;
    background: #fdfcf7;
    border-left: 3px solid #9e8621;
    font-size: 15px;
    font-weight: 500;
    color: #8a7a3c;
}
.cv_wrap .gf_period_txt:empty { display: none; }

/* 선택 항목 표시 · 짧은 입력칸 */
.cv_wrap .gf_opt { padding: 0 6px; background: #f3f3f3; font-size: 11px; font-weight: 500; line-height: 20px; color: #999; }
.cv_wrap .gf_short { max-width: 320px; }

/* 주소 */
.cv_wrap .gf_addr { display: grid; gap: 8px; max-width: 640px; }
.cv_wrap .gf_zip { display: flex; gap: 8px; }
.cv_wrap .gf_zip .cf_input { flex: 0 0 180px; }
.cv_wrap .gf_zip_btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 18px;
    border: 1px solid #9e8621;
    background: #fff;
    font-size: 15px;
    font-weight: 500;
    color: #9e8621;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease;
}
.cv_wrap .gf_zip_btn:hover { background: #9e8621; color: #fff; }
.cv_wrap .gf_zip_btn svg { width: 16px; height: 16px; }

/* 접수 완료 */
.cv_wrap .gf_done {
    max-width: 560px;
    margin: 20px auto 0;
    padding: 48px 32px 40px;
    border: 5px solid #f0f0f0;
    background: #fff;
    text-align: center;
}
.cv_wrap .gf_done_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: #f8f5ea;
    color: #9e8621;
}
.cv_wrap .gf_done_badge svg { width: 46px; height: 46px; }
.cv_wrap .gf_done_badge .ck_circle { stroke-dasharray: 120; stroke-dashoffset: 120; animation: gf_draw .5s ease-out forwards; }
.cv_wrap .gf_done_badge .ck_mark { stroke-dasharray: 30; stroke-dashoffset: 30; animation: gf_draw .35s .4s ease-out forwards; }
@keyframes gf_draw { to { stroke-dashoffset: 0; } }
.cv_wrap .gf_done_title { margin: 22px 0 0; font-size: 22px; font-weight: 600; line-height: 1.5; color: #333; }
.cv_wrap .gf_done_desc { margin: 8px 0 0; font-size: 16px; color: #777; }
.cv_wrap .gf_done_btns { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.cv_wrap .gf_done_btns .cf_btn { min-width: 160px; }

@media (min-width: 769px) {
    .cv_wrap .gf_period input[type=date],
    .cv_wrap .gf_stepper .cf_input { height: 54px; }
}
@media (max-width: 1024px) {
    .cv_wrap .gf_clubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 768px) {
    .cv_wrap .gf_chips { gap: 6px; }
    .cv_wrap .gf_chip span { height: 40px; padding: 0 14px; font-size: 14px; }
    .cv_wrap .gf_period { gap: 12px; }
    .cv_wrap .gf_period_item { flex: 1 1 100%; }
    .cv_wrap .gf_period input[type=date] { width: 100%; }
    .cv_wrap .gf_period_txt { font-size: 14px; }
    .cv_wrap .gf_short { max-width: none; }
    .cv_wrap .gf_zip .cf_input { flex: 1 1 auto; }
    .cv_wrap .gf_zip_btn { padding: 0 12px; font-size: 14px; }
    .cv_wrap .gf_done { padding: 32px 18px 26px; border-width: 3px; }
    .cv_wrap .gf_done_badge { width: 76px; height: 76px; }
    .cv_wrap .gf_done_badge svg { width: 36px; height: 36px; }
    .cv_wrap .gf_done_title { font-size: 18px; }
    .cv_wrap .gf_done_desc { font-size: 14px; }
    .cv_wrap .gf_done_btns .cf_btn { flex: 1 1 0; min-width: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .cv_wrap .gf_done_badge .ck_circle, .cv_wrap .gf_done_badge .ck_mark { animation: none; stroke-dashoffset: 0; }
}

/* 골프장 버튼 크기 축소 (글씨 크기는 그대로) */
.cv_wrap .gf_clubs { grid-template-columns: repeat(4, minmax(0, 190px)); }
.cv_wrap .gf_clubs .cf_club span { height: 44px; }
@media (max-width: 768px) {
    .cv_wrap .gf_clubs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cv_wrap .gf_clubs .cf_club span { height: 40px; }
}
