/* ============================================================
 * 가론녹취록속기사무소 - dialog.css
 * 공통 alert / confirm 다이얼로그
 * ============================================================ */

.gd-backdrop {
	position: fixed;
	inset: 0;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: rgba(15, 22, 40, 0.55);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
}
.gd-backdrop.show {
	opacity: 1;
	pointer-events: auto;
}

.gd-dialog {
	background: #fff;
	border-radius: 14px;
	box-shadow:
		0 24px 64px rgba(0, 0, 0, 0.28),
		0 4px 12px rgba(0, 0, 0, 0.08);
	width: calc(100% - 40px);
	max-width: 420px;
	padding: 30px 28px 22px;
	font-family: 'Nanum Gothic', 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
	transform: translateY(-12px) scale(0.96);
	transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
	border-top: 3px solid #d4af37;
}
.gd-backdrop.show .gd-dialog {
	transform: translateY(0) scale(1);
}

.gd-message {
	font-size: 15px;
	line-height: 1.7;
	color: #1a2540;
	margin: 0 0 26px;
	white-space: pre-wrap;
	word-break: keep-all;
	letter-spacing: -0.2px;
}

.gd-buttons {
	display: flex;
	justify-content: flex-end;
	gap: 8px;
	margin: 0;
}

.gd-btn {
	border: none;
	border-radius: 6px;
	padding: 11px 22px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
	font-family: inherit;
	min-width: 84px;
	letter-spacing: -0.2px;
	line-height: 1;
}
.gd-btn:focus {
	outline: 2px solid rgba(212, 175, 55, 0.4);
	outline-offset: 2px;
}

.gd-btn-cancel {
	background: transparent;
	color: #6a7684;
	border: 1px solid #d8dde3;
}
.gd-btn-cancel:hover {
	background: #f5f6f8;
	color: #1a2540;
	border-color: #c5cad0;
}

.gd-btn-ok {
	background: #d4af37;
	color: #fff;
	border: 1px solid #d4af37;
}
.gd-btn-ok:hover {
	background: #c19d2a;
	border-color: #c19d2a;
}

/* 모바일 */
@media (max-width: 480px) {
	.gd-dialog {
		max-width: 340px;
		padding: 26px 22px 20px;
		border-radius: 12px;
	}
	.gd-message {
		font-size: 14px;
		margin-bottom: 22px;
	}
	.gd-btn {
		padding: 10px 18px;
		font-size: 13px;
		min-width: 72px;
	}
}
