:root {
	/* Colors */
	--color-2nd-KTA: #3956c8;
	--color-KTA: #283F9B;
	--color-white: #fff;
	--color-black: #050a13;
	--color-slate: #020617;
	--color-cyan: #083344;
	--color-pink: #500724;
	--color-blue: #23c8d4;
	--color-orange: #fd6413;
}

body,
html {
	display: grid;
	grid-template-rows: 75px 1fr;
	width: 100vw;
	height: 100vh;
}

* {
	box-sizing: border-box;
}

a {
	text-decoration: none;
	color: black;
}

.search-bar {
	display: flex;
	align-items: center;
	gap: 10px;
}
.search-input {
	flex: 1;
	padding: 5px;
}

.icon {
	cursor: pointer;
}

b {
	font-weight: 700;
	color: black;
	text-shadow: .08px .08px 0 black, -0.08px -0.08px 0 black, .08px -0.08px 0 black, -0.08px .08px 0 black;
}

i {
	font-style: italic;
	color: black;
}

u {
	text-decoration: underline;
	color: black;
}

sub {
	vertical-align: sub;
	font-size: x-small;
}

sup {
	vertical-align: super;
	font-size: x-small;
}

.error-message {
	margin-top: .25rem;
	color: #ff1a2a;
}

.txt {
	display: inline;
}

.txt_b {
		font-weight: 700;
		color: black;
		text-shadow: .08px .08px 0 black, -0.08px -0.08px 0 black, .08px -0.08px 0 black, -0.08px .08px 0 black;
}

.txt_i {
	font-style: italic;
	color: black;
}

.txt_u {
	text-decoration: underline;
	color: black;
}

.txt_sub {
	vertical-align: sub;
	font-size: x-small;
}

.txt_sup {
	vertical-align: super;
	font-size: x-small;
}

.txt_del {
	background: #ffe6e6;
	text-decoration: line-through;
}

.txt_ins {
	background: #e6ffe6;
	text-decoration: underline;
}

.lang_code {
	display: flex;
	background: #f8e2e2;
	padding: .15rem .4rem;
	border: none;
	border-radius: .5rem;
	margin-right: .5rem;
}

.highlight {
	background-color: #f6ff00;
}

.icon__button {
	display: flex;
	cursor: pointer;
	justify-content: center;
	align-items: center;
	position: relative;
	z-index: 1;
	color: rgb(190, 177, 177);
}

.icon__button.active {
	color: black;
}

.icon__button::after {
	content: '';
	display: block;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	position: absolute;
	background-color: rgb(207, 188, 188);
	opacity: 0;
	border-radius: 100%;
	z-index: -1;
	transform: translate(0%, 0%);
	transition: opacity 200ms ease-in;
}

.icon__button:hover::after {
	opacity: 0.5;
}

.icon__button:active {
	color: rgb(53, 53, 253);
}
.icon__button:active::after {
	opacity: 0;
}

.link__name {
	text-decoration: none;
		cursor: pointer;
		color: rgb(43, 43, 216);
}

.link__name:hover {
	color: rgb(84, 84, 153);
}

.link_wait {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex-direction: row;
	color: #cecece;
}

.link_err,
.link_err > i {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	flex-direction: row;
	color: #e14040;
}

/* 제출 버튼 */
.submit {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-top: 1rem;
	justify-content: center;
	font-size: 1rem;
	gap: 0.5rem;
    padding: 0.625rem 1.25rem; /* 패딩 */
    color: white; /* 글자색 */
    background-color: #007BFF; /* 배경색 */
    border: none; /* 테두리 없음 */
    border-radius: .3125rem; /* 모서리 둥글게 */
    cursor: pointer; /* 커서 모양 */
}

.submit:hover {
    background-color: #0056b3; /* 호버 상태에서 배경색 변경 */
}

.hidden {
	display: none !important;
}

.dialog__bg {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: rgba(0, 0, 0, 0.5);
	z-index: 9;
}

.dialog__container {
	display: flex;
	position: fixed;
	flex-direction: column;
	background-color: white;
	top: 50%;
	left: 50%;
	padding: 8px 16px;
	width: 90%;
	transform: translate(-50%, -50%);
	border-radius: 8px;
	outline: rgb(0, 0, 0) .1875rem solid;
	z-index: 10;
}

.dialog__image {
	width: 100%;
	;
	max-height: 80vh;
	object-fit: contain;
	outline: black 1px solid;
}

.dialog__bg.open {
	display: flex;
}

.editor__item > p {
	word-break: break-all;
}