@charset "UTF-8";


.admin-body {
	background: #FAF8F5;
}

.admin-wrapper {
	display: flex;
}


.admin-header {
	height: 80px;
	background: var(--bg1);
	color: #fff;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0 30px;
	position: sticky;
	top: 0;
	z-index: 1000;
}

.admin-header-left {
	display: flex;
	align-items: center;
	margin-left: -25px;
}

.admin-header-left a{
	height: 75px;
}

.admin-header-left a img {
	height: 100%;
	width: auto;
	object-fit: cover;
}

.admin-header h1 {
	font-size: var(--thfs);
	letter-spacing: 0.5px;
}

.admin-header-right {
	display: flex;
	align-items: center;
	gap: 15px;
}

.admin-user {
	font-size: var(--thfs);
}

.admin-logout {
	color: #fff;
	text-decoration: none;
	padding: 6px 12px;
	border: 1px solid #fff;
	border-radius: 4px;
	font-size: var(--tdfs);
	transition: all 0.2s ease;
}

.admin-logout:hover {
	background: #fff;
	color: var(--bg1);
}


.admin-sidebar {
	width: 220px;
	background: var(--bg2);
	color: #fff;
	padding-top: 30px;
	position: sticky;
	top: 60px;
	height: calc(100vh - 60px);
	overflow-y: auto;
}

.admin-sidebar ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.admin-sidebar li {
	margin-bottom: 8px;
}

.admin-sidebar a {
	color: #fff;
	text-decoration: none;
	padding: 12px 20px;
	display: block;
	font-size: var(--thfs);
	transition: all 0.2s ease;
}

.admin-sidebar a:hover {
	background: var(--bg3);
	padding-left: 24px;
}

.admin-sidebar ul li.active a {
	background: var(--bg3);
	padding-left: 24px;
}

/* 현재 메뉴 */
.admin-sidebar a.active {
	background: var(--bg3);
	font-weight: 600;
}


.admin-content {
	flex: 1;
	padding: 40px 40px 0 40px;
	background: #ffffff;
	min-height: calc(100vh - 60px);
}


.admin-table td {
	height: 40px !important;
	line-height: 20px !important;
}

.facility-table td {
	height: 40px !important;
	line-height: 20px !important;
}

.form-group {
	margin-bottom: 20px;
	display: flex;
	align-items: center;
}

.form-group label {
	width: 30%;
	font-size: 14px;
}

.form-group input {
	width: 70%;
	padding: 8px;
	border: 1px solid #ddd;
	border-radius: 4px;
}

button {
	width: 100%;
	padding: 10px;
	background: var(--bg2);
	color: #fff;
	border: none;
	cursor: pointer;
	border-radius: 4px;
	transition: background 0.2s ease;
}

button:hover {
	background: #333;
}

.pagination {
	margin-top: 30px;
	text-align: center;
	user-select: none;
}

.pagination a, .pagination span {
	display: inline-block;
	padding: 6px 12px;
	margin: 2px;
	border: 1px solid #ddd;
	text-decoration: none;
	color: #333;
}

.pagination a:hover {
	background: var(--ctbg);
}

.pagination .active {
	background: var(--color4);
	color: #fff;
	border-color: var(--color4);
}

.pagination .disabled {
	display: inline-block;
	padding: 6px 12px;
	margin: 2px;
	border: 1px solid #ddd;
	color: #aaa;
	background: var(--ctbg);
	cursor: default;
}