/* izoa: s.php 전면 페이지 스타일 (인라인 <style> 에서 추출)
 * 색상은 :root 변수로 일원화 — 테마 변경 시 한 곳만 수정. */
:root {
	--izoa-primary:      #1877d2;
	--izoa-primary-dark: #1565c0;
	--izoa-link:         #1a73e8;
}

/* DOCTYPE(표준 모드) 세로 중앙 정렬
 * h-100(height:100%) 체인은 조상 높이가 모두 정의돼야 동작 → 표준 모드에서 깨짐.
 * 정렬 담당 flex 행에 뷰포트 높이를 직접 줘서 조상 의존 없이 중앙 배치. */
html, body { height: 100%; }
.container-fluid.h-100 > .row.align-items-center { min-height: 100vh; }

/* izoa: 로그인창 + 단축창 옆 배치 레이아웃 */
.izoa-shell { display:flex; gap:18px; align-items:stretch; justify-content:center; flex-wrap:wrap; }
/* 단축창 / 로그인창 폭 */
.izoa-shell .izoa-col-main { flex:1 1 720px; max-width:760px; min-width:300px; display:flex; }
.izoa-shell .izoa-col-side { flex:0 0 300px; max-width:300px; min-width:260px; display:flex; }
.izoa-shell .izoa-col-main > .card,
.izoa-shell .izoa-col-side > .izoa-auth-box { width:100%; height:100%; box-sizing:border-box; }
/* 두 박스 본체 높이 동일 */
.izoa-shell .izoa-col-main > .card { display:flex; flex-direction:column; }
.izoa-shell .izoa-col-side > .izoa-auth-box { display:flex; flex-direction:column; }

/* 카드 헤더 띠 (단축창·로그인창 공통) — 흰 모서리 제거 위해 카드 전체 overflow hidden */
.izoa-col-main > .card { overflow:hidden; border-radius:14px !important; background:rgba(255,255,255,0.95) !important; }
.izoa-auth-box.izoa-headered { padding:0 !important; overflow:hidden; border-radius:14px !important; border:none !important; background:rgba(255,255,255,0.95) !important; }
.izoa-card-header { background:var(--izoa-primary); padding:14px 0; text-align:center; }
.izoa-card-header span { color:#fff; font-size:16px; font-weight:600; display:inline-flex; align-items:center; gap:7px; }
.izoa-auth-body { padding:1.5rem; display:flex; flex-direction:column; flex:1; }
/* 단축창 본문도 같은 패딩 */
.izoa-col-main .card-body { flex:1; display:flex; flex-direction:column; justify-content:center; }

/* 단축 입력칸 + 버튼 맞물림 */
#shortenlink .input-group { display:flex; gap:0; flex-wrap:nowrap; }
#shortenlink #url {
	flex:1 1 auto; min-width:0;
	padding:11px 15px !important;
	background:#eceff1 !important; color:#333 !important;
	border:1px solid #d8dee5 !important; border-right:none !important;
	border-top-right-radius:0 !important; border-bottom-right-radius:0 !important;
}
#shortenlink #url::placeholder { color:#6b7884 !important; }
#shortenlink #shorten-button {
	flex:0 0 auto; margin:0 !important;
	border-top-left-radius:0 !important; border-bottom-left-radius:0 !important;
	white-space:nowrap;
	background:var(--izoa-primary) !important; border-color:var(--izoa-primary) !important; color:#fff !important;
}
#shortenlink #shorten-button:hover { background:var(--izoa-primary-dark) !important; border-color:var(--izoa-primary-dark) !important; }

/* 단축창 안내 문구 색상 (시안처럼 진하게) */
.izoa-col-main .card-body > p { color:#333 !important; font-size:15px; }

/* 로그인 / 환영 박스 */
.izoa-shell .izoa-col-side > .izoa-auth-box { background:rgba(255,255,255,0.95) !important; }
.izoa-auth-box { background:rgba(255,255,255,0.95) !important; border:0.5px solid #e6e8eb; border-radius:12px; display:flex; flex-direction:column; }
.izoa-auth-box input {
	width:100%; margin-bottom:8px;
	padding:10px 13px !important; height:auto !important; border-radius:8px !important;
	background:#eceff1 !important; color:#333 !important; border:1px solid #d8dee5 !important;
	box-sizing:border-box !important;
}
.izoa-auth-box input::placeholder { color:#6b7884 !important; }
.izoa-auth-submit {
	width:100%; background:var(--izoa-primary); color:#fff; border:none; font-weight:600;
	padding:10px 0; border-radius:8px; cursor:pointer; margin:4px 0 10px;
}
.izoa-auth-submit:hover { background:var(--izoa-primary-dark); }
.izoa-auth-links { display:flex; justify-content:space-between; font-size:12px; margin-top:auto; }
.izoa-auth-links a { text-decoration:none; }
.izoa-auth-links .reg { color:var(--izoa-link); }
.izoa-auth-links .reg:hover { color:#1557b0; }
.izoa-auth-links .find { color:#9aa3ad; }

/* 로그인 후 환영 박스 */
.izoa-welcome-head { display:flex; align-items:center; gap:10px; margin-bottom:1.1rem; }
.izoa-avatar {
	display:inline-flex; align-items:center; justify-content:center;
	width:38px; height:38px; border-radius:50%; background:#eef5fa; color:var(--izoa-primary);
	font-size:15px; font-weight:600; text-transform:uppercase;
}
.izoa-welcome-name { font-size:15px; font-weight:600; line-height:1.3; }
.izoa-welcome-name small { font-weight:400; color:#9aa3ad; }
.izoa-welcome-hi { font-size:12px; color:#9aa3ad; line-height:1.3; }

/* 푸터 — shell 폭에 맞춰 중앙 배치하되 내용은 왼쪽 */
/* ?contact 직접 링크: 단축창·로그인창·푸터 렌더링 즉시 숨김 */
body.izoa-contact-page .izoa-shell,
body.izoa-contact-page .izoa-footer { visibility:hidden; }

.izoa-footer {
	display:inline-flex !important; width:auto !important; max-width:calc(100% - 8px);
	margin:14px auto 0; padding:9px 16px;
	text-align:center; font-size:12px; font-weight:700; letter-spacing:.02em; color:#f8fafc;
	position:relative; z-index:5; flex-wrap:wrap; gap:0; justify-content:center !important;
	background:rgba(0,0,0,.28); border-radius:10px;
	box-shadow:0 2px 10px rgba(0,0,0,.08);
	backdrop-filter:blur(4px); -webkit-backdrop-filter:blur(4px);
	text-shadow:0 1px 2px rgba(0,0,0,.55);
}
.izoa-footer-wrap { max-width:1038px; margin:0 auto; text-align:center; }
.izoa-footer a { color:#f8fafc; text-decoration:none; font-weight:700; text-shadow:0 1px 2px rgba(0,0,0,.55); }
.izoa-footer a:hover { color:#fff; text-shadow:0 1px 3px rgba(0,0,0,.7); }
.izoa-footer-sep { margin:0 6px; opacity:.6; }
.izoa-btn-admin {
	display:flex; align-items:center; justify-content:center; gap:7px;
	background:var(--izoa-primary); color:#fff; font-size:14px; font-weight:600;
	padding:11px 0; border-radius:8px; text-decoration:none; margin-bottom:9px;
}
.izoa-btn-admin:hover { background:var(--izoa-primary-dark); color:#fff; }
.izoa-btn-logout {
	display:flex; align-items:center; justify-content:center; gap:6px;
	background:#fff; color:#c0392b; font-size:13px; font-weight:600;
	padding:9px 0; border-radius:8px; border:0.5px solid #e6b3b3; text-decoration:none;
	margin-top:auto;
}
.izoa-btn-logout:hover { background:#fdeaea; color:#c0392b; }
/* 정보 변경 버튼 — 관리 페이지와 로그아웃 사이(중간) */
.izoa-btn-settings {
	display:flex; align-items:center; justify-content:center; gap:7px;
	background:#eef5fa; color:var(--izoa-primary); font-size:14px; font-weight:600;
	padding:10px 0; border-radius:8px; border:0.5px solid #d5e6f1; text-decoration:none;
	cursor:pointer; width:100%; box-sizing:border-box; margin-bottom:9px; font-family:inherit;
}
.izoa-btn-settings:hover { background:#e0edf5; color:var(--izoa-primary-dark); }
.izoa-note { border-radius:8px; padding:10px 12px; font-size:12.5px; line-height:1.45; margin-bottom:12px; }
.izoa-note.ok  { background:#e9f6ee; color:#1b7a44; border:0.5px solid #b7e0c5; }
.izoa-note.err { background:#fdecea; color:#a32d2d; border:0.5px solid #f3c4c0; }
.izoa-note ul { margin:4px 0 0; padding-left:18px; }
.izoa-login-err { display:flex; align-items:flex-start; gap:7px; background:#fdecea; color:#a32d2d; border:0.5px solid #f3c4c0; border-radius:8px; padding:11px 13px; font-size:12.5px; line-height:1.45; margin-bottom:12px; }
.izoa-login-err svg { flex-shrink:0; margin-top:1px; }
.izoa-login-err span { flex:1; }

/* 단축 완료 화면 — 정보/QR 안내 카드 hover */
.tad-hint { transition:background .15s,border-color .15s; }
.tad-hint:hover { background:#eef5fa !important; border-color:#cfe0ec !important; }
