﻿/*
    브라우저 초기화 코드
    추가하지 마시오
*/

*, *::before, *::after {
    box-sizing: border-box;
}

/* reset.css */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
    display: block;
}

body {
    line-height: 1;
    /* 본문 텍스트 선택/드래그 허용. 탭·사이드바·리본 등 UI 크롬은 Layout.css 에서
       개별적으로 user-select:none 을 유지하므로 여기서 전역 차단하지 않는다. */
    -webkit-user-select: text;
    -moz-user-select: text;
    -ms-user-select: text;
    user-select: text;
}

ol, ul {
    list-style: none;
}

blockquote, q {
    quotes: none;
}

    blockquote:before, blockquote:after,
    q:before, q:after {
        content: '';
        content: none;
    }

table {
    border-collapse: collapse;
    border-spacing: 0;
}

a {
    color: #333333;
    text-decoration: none;
    outline: none
}


/* ── 화면 안 확인창 / 입력창 (UI_CONFIRM / UI_PROMPT, Common.js) — 안드로이드 웹뷰는 window.confirm 이 안 뜸 ── */
.ui-dlg-ov {
    position: fixed; inset: 0; z-index: 2147483000;
    background: rgba(15, 23, 42, .45);
    display: flex; align-items: center; justify-content: center; padding: 16px;
}
.ui-dlg {
    width: 100%; max-width: 380px; box-sizing: border-box;
    background: #fff; border-radius: 12px; padding: 20px 18px 16px;
    box-shadow: 0 12px 32px rgba(0, 0, 0, .25);
    font-family: inherit;
}
.ui-dlg-msg { font-size: 15px; line-height: 1.55; color: #263143; white-space: pre-wrap; word-break: keep-all; overflow-wrap: anywhere; }
.ui-dlg-input {
    display: block; width: 100%; box-sizing: border-box; margin-top: 12px; padding: 8px 10px;
    border: 1px solid #cdd4e0; border-radius: 8px; font-size: 14px; font-family: inherit; resize: vertical;
}
.ui-dlg-input:focus { outline: none; border-color: #2a5298; }
.ui-dlg-input.ui-dlg-err { border-color: #c0392b; background: #fff6f5; }
.ui-dlg-btns { display: flex; justify-content: flex-end; gap: 8px; margin-top: 16px; }
.ui-dlg-btns button {
    min-width: 84px; min-height: 44px; padding: 0 16px; border-radius: 8px;
    font-size: 15px; font-weight: 700; cursor: pointer; border: 1px solid transparent;
}
.ui-dlg-no  { background: #fff; color: #556; border-color: #cdd4e0 !important; }
.ui-dlg-yes { background: #2a5298; color: #fff; border-color: #2a5298 !important; }
.ui-dlg-yes.danger { background: #c0392b; border-color: #c0392b !important; }
