/* =========================================
   1115 UX 점검(고객 앱) — docs 「개선 점검 목록」 C1~C9. 화면별 표시는 각 PHP 의 「1115 UX 점검 Cn」 주석
========================================= */

/* C1 홈 — 배너 아래 큰 「수거 신청하기」 */
.home-cta { margin: 20px 20px 4px; text-align: center; }
.home-cta .home-cta__btn { font-size: 17px; }
.home-cta__sub { margin: 8px 0 0; font-size: 13px; line-height: 1.5; color: #555555; word-break: keep-all; }

/* C3 신청 확인 — 약관 체크 대신 문구 */
#complete .terms_notice { margin: 4px 0 16px; font-size: 14px; line-height: 1.6; color: #334155; text-align: center; word-break: keep-all; }
#complete .terms_notice a { position: relative; color: #1a3952; font-weight: 600; text-decoration: underline; }
#complete .terms_notice a::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 44px; transform: translateY(-50%); }

/* C9 신청 확인 — 지난 내놓는 날 미리 경고 */
#complete .putout_past { margin: 0 0 16px; padding: 14px 16px; border-radius: 12px; background: #fff4e5; border: 1px solid #f5c06b; color: #7a4100; font-size: 14px; line-height: 1.6; word-break: keep-all; }
#complete .putout_past a { display: inline-block; margin-top: 2px; color: #7a4100; font-weight: 700; text-decoration: underline; }

/* C5 신청서 사진 — 「사진 추가」 한 칸 + 썸네일마다 ✕ */
#order .photo_pick.file_wr { display: block; height: auto; padding: 0; border: 0; background: none; overflow: visible; position: relative; }
#order .photo_pick .photo_add { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 48px; padding: 0 14px; box-sizing: border-box;
    border: 1px dashed #94a3b8; border-radius: 12px; background: #f8fafc; color: #1a3952; font-size: 15px; font-weight: 600; cursor: pointer; }
#order .photo_pick .photo_add__plus { font-size: 20px; line-height: 1; }
#order .photo_pick #photo_count { font-weight: 500; color: #475569; }
#order .photo_pick.is-full .photo_add { border-style: solid; border-color: #e2e8f0; color: #64748b; }
#order .photo_pick .photo_input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
#order .photo_pick .photo_input:focus-visible + .photo_add, #order .photo_pick .photo_add:focus-within { outline: 2px solid #1a3952; outline-offset: 2px; }
#order .photo_note { color: #c2410c; }
#order .photo_previews { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 10px; }
#order .photo_previews:empty { display: none; }
#order .photo_thumb { position: relative; width: 80px; height: 80px; }
#order .photo_thumb img { width: 80px; height: 80px; object-fit: cover; border-radius: 8px; border: 1px solid #dddddd; box-sizing: border-box; display: block; }
#order .photo_thumb .photo_del { position: absolute; top: -8px; right: -8px; width: 28px; height: 28px; padding: 0; border: 2px solid #ffffff; border-radius: 50%;
    background: #1e293b; color: #ffffff; font-size: 13px; line-height: 1; cursor: pointer; font-family: inherit; }
#order .photo_thumb .photo_del::after { content: ""; position: absolute; left: -8px; right: -8px; top: -8px; bottom: -8px; } /* 누르는 자리 44px */

/* C6 주문내역 — 날짜 칸 「11/15(일) / 밤 내놓기」 두 줄 */
#detail table td:first-child { line-height: 1.4; word-break: keep-all; }

/* C7 햄버거 메뉴 */
.aside-menu .top-links .menu-name { color: #1a3952; font-weight: 700; font-size: 14px; }
.aside-menu li.menu-main { color: #1a3952; }
.aside-menu li.menu-sep { height: 1px; margin: 6px 24px; padding: 0; background: #eaeaea; cursor: default; width: auto; }
.aside-menu li.menu-sep:hover { background: #eaeaea; }
.aside-menu li.menu-logout { margin-top: 16px; height: auto; line-height: 1.4; padding: 0 24px 24px; cursor: default; }
.aside-menu li.menu-logout:hover { background: none; }
.aside-menu li.menu-logout a { display: inline-flex; align-items: center; min-height: 44px; font-size: 14px; font-weight: 500; color: #555555; text-decoration: underline; }
.aside-menu ul { padding-bottom: 40px; box-sizing: border-box; }

/* C8 가입 — 「전체 동의」·줄 전체 누르기(44px) */
#join div.terms div.agree_all_row { padding-bottom: 8px; margin-bottom: 8px; border-bottom: 1px solid #e2e8f0; }
#join div.terms label.agree_row { display: flex; align-items: center; gap: 10px; flex: 1; min-height: 44px; padding: 6px 0; box-sizing: border-box; font-size: 14px; color: #333333; cursor: pointer; }
#join div.terms label.agree_row input[type="checkbox"] { flex: none; width: 24px; height: 24px; margin: 0; }
#join div.terms label.agree_all { font-size: 16px; font-weight: 700; color: #111111; }
#join div.terms label.agree_all small { font-size: 12px; font-weight: 500; color: #555555; }
#join div.terms .req { color: #1a3952; font-weight: 700; }
#join div.terms .opt { color: #555555; font-weight: 600; }

/* C9 옅은 글자 대비 — 홈 추천 포인트 안내·신청 단계(흰 바탕 4.5:1 넘게), MY 회원탈퇴는 일부러 옅게 두되 4.5:1 */
.benefit-note { color: #666666; }
#complete .ing.ing-steps li { color: #64748b; }
#complete .ing.ing-steps li.done span { background: #64748b; color: #ffffff; }
#complete .ing.ing-steps li span { color: #475569; }
#mypage .my-leave .ss-link--muted { color: #66717f; }

/* C9 후기 글쓰기 — 제목·안내·「사진 첨부」 칸 */
#bo_w .bo_w_title { margin: 0 0 8px; font-size: 22px; }
#bo_w .bo_w_guide { margin: 0 0 16px; font-size: 14px; line-height: 1.6; color: #555555; text-align: center; word-break: keep-all; }
#bo_w .bo_w_flie .file_wr { padding-left: 86px; }
#bo_w .bo_w_flie .lb_icon.lb_txt { width: 86px; font-size: 13px; font-weight: 600; color: #495057; }
#bo_w [data-ssak-file-slot][hidden] { display: none !important; }

/* =========================================
   1116 UX 2차(고객 앱) B3·B8 — 화면별 표시는 각 PHP 의 「1116 UX 2차」 주석
========================================= */

/* B3 홈 — 한 번에 쓸 수 있는 포인트 */
.benefit-card .benefit-cap { display: inline-block; margin-top: 2px; font-weight: 700; }

/* B8 홈 — 가입 직후 한 번 환영 줄 */
.home-welcome { margin: 16px 20px 0; padding: 12px 14px; border-radius: 12px; background: #eef3f8; color: #1a3952; font-size: 14px; line-height: 1.5; word-break: keep-all; }

/* B8 가입·로그인 로고 — 첫 화면을 다 차지했다. 로그인 버튼 디자인은 그대로 */
#login h1, #join h1 { width: 120px; margin-bottom: 24px; }

/* B8 환경설정 — 푸시가 꺼져 있으면 광고 줄을 흐리게(스위치는 그대로 쓸 수 있다) */
#setting #ad_push_row.is-muted h2, #setting #ad_push_row.is-muted .push { opacity: 0.55; }
#setting #ad_push_row h2 { padding-right: 64px; }
#setting .ad_push_off_note { display: block; margin-top: 2px; font-size: 12.5px; font-weight: 400; line-height: 1.4; color: #64748b; word-break: keep-all; }
#setting .ad_push_off_note[hidden] { display: none; }

/* B8 후기 쓰기 사진 — 신청서와 같은 「+ 사진 추가」(기본 파일칸 글자 숨김) */
#bo_w .bo_w_flie .file_wr.photo_pick { display: block; position: relative; height: auto; padding: 0; border: 0; background: none; overflow: visible; }
#bo_w .photo_pick .photo_input { position: absolute; left: 0; top: 0; width: 1px; height: 1px; padding: 0; opacity: 0; overflow: hidden; }
#bo_w .photo_pick .photo_add { display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 48px; padding: 0 14px; box-sizing: border-box;
    border: 1px dashed #94a3b8; border-radius: 12px; background: #f8fafc; color: #1a3952; font-size: 15px; font-weight: 600; cursor: pointer; }
#bo_w .photo_pick .photo_add__plus { font-size: 20px; line-height: 1; }
#bo_w .photo_pick .photo_input:focus-visible + .photo_add { outline: 2px solid #1a3952; outline-offset: 2px; }
#bo_w .photo_name { margin: 6px 2px 0; font-size: 13px; color: #475569; word-break: break-all; }
