@charset "UTF-8";
/* ============================================================================
 * style_dev.css  —  개발팀 전용 CSS
 * ----------------------------------------------------------------------------
 * - style.css 는 퍼블팀이 별도로 형상관리하므로 개발팀은 절대 수정하지 않는다.
 * - 개발팀이 추가하는 모든 CSS 는 이 파일에만 작성한다.
 * - 본 파일은 config.html 에서 style.css "앞"에 로드된다.
 *   따라서 동일 우선순위(specificity) 충돌 시, 나중에 로드되는 style.css 가 우선 적용된다.
 *   => 신규 컴포넌트 스타일만 추가하고, 기존 style.css 선택자 재정의는 지양한다.
 *      (부득이하게 덮어써야 하면 퍼블팀과 협의 / style.css 에 반영 요청)
 * - 클래스 네이밍은 '-dev' 접미사를 붙여 퍼블 클래스와 충돌을 피한다.
 * ========================================================================== */

/* ----------------------------------------------------------------------------
 * 폼 아이템 간격
 * 적용 위치: pages/find/password_new.html, pages/join/account.html,
 *           pages/mypage/info_confirm.html, pages/mypage/password.html
 * 주의: .date-wrap / .unit-wrap 은 form-item 을 flex 로 나란히 배치하는 2단 레이아웃이라 제외
 *       (제외 안 하면 두 번째 input 에 margin-top 이 붙어 짝과 높이가 어긋남)
 * -------------------------------------------------------------------------- */
.form-wrap:not(.date-wrap):not(.unit-wrap) .form-item + .form-item {
    margin-top: 24px;
}

/* ----------------------------------------------------------------------------
 * 약관 전체동의 체크박스 강조
 * 적용 위치: pages/join/agree.html
 * -------------------------------------------------------------------------- */
.form-check.all-check {
    padding: 16px;
    background-color: #F8F8F8;
    border-radius: 8px;
}

.form-check.all-check .txt {
    font-weight: 700;
}

.form-wrap .form-check.all-check + .form-check {
    margin-top: 24px;
}

/* ----------------------------------------------------------------------------
 * 매장 선택 리스트
 * 적용 위치: pages/join/store.html
 * -------------------------------------------------------------------------- */
.selection-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.selection-list .selection-box {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    border: 1px solid transparent;
}

.selection-list .selection-box input[type=radio] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.selection-list .selection-box .store-nm {
    color: #222222;
    font-size: 16px;
    line-height: 140%;
    font-weight: 700;
}

.selection-list .selection-box .store-addr {
    margin-top: 4px;
    color: #757575;
    font-size: 14px;
    line-height: 160%;
}

.selection-list .selection-box.selected {
    border-color: var(--primary);
    background-color: color-mix(in srgb, var(--primary) 10%, #FFFFFF);
}

.selection-list .selection-box.selected .store-nm {
    color: var(--primary);
}

/* ----------------------------------------------------------------------------
 * 약관 동의 항목 리스트 - 필수/선택 배지, 동의완료 상태 텍스트
 * 적용 위치: pages/mypage/terms_list.html
 * -------------------------------------------------------------------------- */
.label-tp-dev {
    margin-right: 4px;
    font-weight: 700;
}

.label-tp-dev.required {
    color: #FC604C;
}

.label-tp-dev.optional {
    color: #999999;
}

.desc-text.agreed-dev {
    color: #3ACA83;
    font-weight: 700;
}

.terms-status-dev {
    display: flex;
    align-items: center;
    gap: 4px;
    flex: none;
    margin-left: auto;
}

.terms-notice-dev {
    margin-top: 16px;
    padding: 0 4px;
    color: #999999;
    font-size: 13px;
    line-height: 160%;
}

/* ----------------------------------------------------------------------------
 * 처갓집 style.css 에만 있는 규칙 (쿼드 style.css 미포함분)
 * 적용 위치: pages/find/*.html, pages/mypage/my_page.html, pages/mypage/store_info.html
 * -------------------------------------------------------------------------- */
.find-wrap.info-box {
    margin-top: 24px;
    padding: 16px;
    background-color: #F8F8F8;
    border-radius: 8px;
}
.find-wrap.info-box .item-title {
    display: block;
    margin-bottom: 8px;
    color: #757575;
    font-size: 14px;
    line-height: 160%;
    letter-spacing: 0;
    font-weight: 400;
}
.find-wrap.info-box .sub-title {
    margin-bottom: 4px;
    font-size: 18px;
}
.find-wrap.info-box .desc-text {
    color: #757575;
    font-size: 14px;
    line-height: 160%;
    letter-spacing: 0;
    font-weight: 400;
}
.login-info .text-cont .store-name {
    margin-top: 4px;
    font-size: 20px;
    line-height: 140%;
    letter-spacing: -0.5px;
    font-weight: 800;
}
.main-menu .main-menu-list {
    margin-top: 12px;
    padding: 0 24px;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.08);
}
.main-menu .main-menu-list ul {
    display: flex;
    flex-direction: column;
}
.main-menu .main-menu-list ul li {
    padding: 24px 0;
    border-bottom: 1px solid #EEEEEE;
}

/* ----------------------------------------------------------------------------
 * 로고 이미지 크기 제한 (처갓집 style.css 기준)
 * - 헤더 로고 / 로그인·가입완료 로고 이미지가 원본 크기로 노출되는 문제
 * -------------------------------------------------------------------------- */
.header-cont .logo img {
    display: block;
    height: 26px;
    width: auto;
}
.title-box .logo-area img {
    display: block;
    margin: 0 auto;
    width: auto;
    max-width: 100%;
    max-height: 66px;
}

/* ----------------------------------------------------------------------------
 * 메인 화면 (청자다방 style.css 기준)
 * 적용 위치: pages/main.html, common/fragments/header.html
 * - style.css 의 .main-menu / .main-menu ul 규칙이 나중에 로드되므로
 *   충돌 속성은 선택자 우선순위를 높여 재정의
 * -------------------------------------------------------------------------- */
.header .btn-menu-setting {
    position: absolute;
    top: 8px;
    right: 14px;
    width: 32px;
    height: 32px;
}
.header .btn-menu-setting span {
    margin: -1px;
    padding: 0;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    position: absolute;
}
.ico.setting-32 {
    width: 32px;
    height: 32px;
    background-image: none;
    background-color: var(--brand-font);
    -webkit-mask: url("/assets/images/common/icon/ico32_setting.svg") no-repeat center center/contain;
    mask: url("/assets/images/common/icon/ico32_setting.svg") no-repeat center center/contain;
}

/* 로그아웃 버튼 매장명 하단 배치 + 테두리 색상을 글씨 색상과 동일하게 */
.round-section-primary .login-info {
    display: block;
}
.round-section-primary .login-info .button-logout {
    border-color: var(--brand-font);
}

.login-info .text-cont {
    margin-bottom: 20px;
}
.login-info .text-cont .user-name {
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0;
    font-weight: 500;
}

.round-section .main-menu {
    padding: 0 0 56px;
}
.main-menu .sub-title {
    color: #757575;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0;
    font-weight: 700;
}
.main-menu .sub-title:not(:first-child) {
    margin-top: 32px;
}
.main-menu .main-menu-list ul {
    gap: 0;
}

.ico.menu-receipt-list,
.ico.menu-reservation,
.ico.menu-management,
.ico.menu-time-sale,
.ico.menu-coupon,
.ico.menu-sales-status,
.ico.menu-notice,
.ico.menu-mypage-dev {
    width: 24px;
    height: 24px;
    background-color: var(--primary);
}
.ico.menu-receipt-list {
    -webkit-mask: url("/assets/images/common/icon/ico24_receipt_list.svg") no-repeat center center/contain;
    mask: url("/assets/images/common/icon/ico24_receipt_list.svg") no-repeat center center/contain;
}
.ico.menu-reservation {
    -webkit-mask: url("/assets/images/common/icon/ico24_reservation.svg") no-repeat center center/contain;
    mask: url("/assets/images/common/icon/ico24_reservation.svg") no-repeat center center/contain;
}
.ico.menu-management {
    -webkit-mask: url("/assets/images/common/icon/ico24_menu_management.svg") no-repeat center center/contain;
    mask: url("/assets/images/common/icon/ico24_menu_management.svg") no-repeat center center/contain;
}
.ico.menu-time-sale {
    -webkit-mask: url("/assets/images/common/icon/ico24_menu_time_sale.svg") no-repeat center center/contain;
    mask: url("/assets/images/common/icon/ico24_menu_time_sale.svg") no-repeat center center/contain;
}
.ico.menu-coupon {
    -webkit-mask: url("/assets/images/common/icon/ico24_coupon.svg") no-repeat center center/contain;
    mask: url("/assets/images/common/icon/ico24_coupon.svg") no-repeat center center/contain;
}
.ico.menu-sales-status {
    -webkit-mask: url("/assets/images/common/icon/ico24_sales_status.svg") no-repeat center center/contain;
    mask: url("/assets/images/common/icon/ico24_sales_status.svg") no-repeat center center/contain;
}
.ico.menu-notice {
    -webkit-mask: url("/assets/images/common/icon/ico24_main_notice.svg") no-repeat center center/contain;
    mask: url("/assets/images/common/icon/ico24_main_notice.svg") no-repeat center center/contain;
}
.ico.menu-mypage-dev {
    -webkit-mask: url("/assets/images/common/icon/ico24_mypage_dev.svg") no-repeat center center/contain;
    mask: url("/assets/images/common/icon/ico24_mypage_dev.svg") no-repeat center center/contain;
}

/* ----------------------------------------------------------------------------
 * 메뉴 관리 (청자다방 style.css 기준)
 * 적용 위치: pages/item/menu_management_list.html, pages/item/menu_detail.html
 * - style.css 의 .tab-fixed.scroll 규칙이 나중에 로드되므로 선택자 우선순위를 높여 재정의
 * -------------------------------------------------------------------------- */
.content .tab-fixed.small-line ul li a,
.content .tab-fixed.small-line ul li button {
    position: relative;
    min-width: auto;
    white-space: nowrap;
}
.content .tab-fixed.small-line ul li a::after,
.content .tab-fixed.small-line ul li button::after {
    display: none;
}
.content .tab-fixed.small-line ul li.active a::after,
.content .tab-fixed.small-line ul li.active button::after {
    display: inline-flex;
}
.content .tab-scroll {
    position: sticky;
    top: 44px;
}
.content .no-sales-today {
    padding: 16px;
    background-color: #F8F8F8;
}

/* ----------------------------------------------------------------------------
 * 입력 항목명 (항목명과 입력란 플레이스홀더 겹침 방지)
 * 적용 위치: pages/join/account.html, pages/mypage/password.html
 * -------------------------------------------------------------------------- */
.form-item > .item-title {
    display: block;
    margin-bottom: 16px;
    color: #222222;
    font-size: 16px;
    line-height: 140%;
    font-weight: 700;
}

.form-item + .form-item > .item-title {
    margin-top: 28px;
}

/* 약관 동의 항목 - 필수 여부/약관명 폰트를 '동의완료'와 동일하게 (pages/mypage/terms_list.html) */
.main-menu .termsList .menu-wrap .menu-name {
    font-size: 16px;
}

/* ----------------------------------------------------------------------------
 * 회원가입 완료 (기획서 App2_FO_JOIN_007 비율 기준: 연결매장명 18px 를 기준으로 환산)
 * 적용 위치: pages/join/complete.html
 * -------------------------------------------------------------------------- */
.title-box.join-complete {
    margin-top: 40px;
    text-align: center;
}
.title-box.join-complete .logo-area img {
    max-height: 110px;
}
.title-box.join-complete .title {
    margin-top: 28px;
    color: #222222;
    font-size: 22px;
    line-height: 140%;
    letter-spacing: 0;
    font-weight: 700;
}
.title-box.join-complete .desc-text {
    margin-top: 8px;
    color: #757575;
    font-size: 16px;
    line-height: 160%;
}
.title-box.join-complete + .find-wrap.info-box {
    margin-top: 8px;
}

/* ----------------------------------------------------------------------------
 * 마이페이지 > 버전 정보 (기획서 비율 기준)
 * 적용 위치: pages/mypage/version.html
 * -------------------------------------------------------------------------- */
.version-info-dev {
    text-align: center;
}
.version-status-dev {
    margin-top: 32px;
    font-size: 14px;
    line-height: 160%;
    font-weight: 700;
}
.version-status-dev.latest {
    color: #2E7D32;
}
.version-status-dev.old {
    color: #FC604C;
}
.version-box-dev {
    margin-top: 40px;
    padding: 12px 20px;
    border-radius: 12px;
    background-color: #F8F8F8;
    text-align: left;
}
.version-box-dev .row {
    display: flex;
    align-items: flex-start;
    gap: 0 12px;
    padding: 12px 0;
}
.version-box-dev .row + .row {
    border-top: 1px solid #EEEEEE;
}
.version-box-dev dt {
    flex: none;
    width: 80px;
    color: #999999;
    font-size: 14px;
    line-height: 160%;
    font-weight: 400;
}
.version-box-dev dd {
    color: #222222;
    font-size: 14px;
    line-height: 160%;
    font-weight: 400;
}
.version-box-dev dd.latest-version {
    color: var(--primary);
    font-weight: 700;
}
.version-btn-dev {
    margin-top: 16px;
}

/* ----------------------------------------------------------------------------
 * 약관 상세 - 시행안(버전) 선택 (FO mobile style.css 기준)
 * 적용 위치: pages/mypage/terms_detail.html
 * -------------------------------------------------------------------------- */
.terms-head-dev .title-text {
    padding: 4px 0 15px;
    color: #222222;
    font-size: 18px;
    line-height: 140%;
    letter-spacing: 0;
    font-weight: 600;
}
.terms-head-dev .button-select {
    height: 48px;
}
.term-select-cont {
    padding-bottom: 80px;
}
.term-select-cont li:not(:first-child) {
    margin-top: 16px;
}
.term-select-cont li .term-select-list {
    position: relative;
    width: 100%;
    color: #757575;
    font-size: 16px;
    line-height: 160%;
    letter-spacing: 0;
    font-weight: 400;
    text-align: left;
}
.term-select-cont li.active .term-select-list {
    color: #222222;
}
.term-select-cont li.active .term-select-list::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 24px;
    height: 24px;
    background-color: var(--primary);
    -webkit-mask: url("/assets/images/common/icon/ico_check_line_black_on.svg") no-repeat center/13px 9px;
            mask: url("/assets/images/common/icon/ico_check_line_black_on.svg") no-repeat center/13px 9px;
}
