﻿:root {
	color-scheme: light;
	--bg: #f4f7fb;
	--surface: #ffffff;
	--surface-soft: #f8fafc;
	--text: #14213d;
	--muted: #61708a;
	--line: #dbe4ef;
	--nav: #06234b;
	--nav-2: #07396f;
	--blue: #075dcc;
	--blue-soft: #e8f1ff;
	--ok: #10b981;
	--ok-soft: #e7f8f1;
	--warn: #f59e0b;
	--warn-soft: #fff4de;
	--danger: #ef4444;
	--danger-soft: #feecec;
	--neutral: #64748b;
	--neutral-soft: #eef2f7;
	--violet: #7c3aed;
	--shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}



* {
	box-sizing: border-box;
}

body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: Arial, "Noto Sans KR", sans-serif;
	font-size: 14px;
	letter-spacing: 0;
}

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

button,
input,
select,
textarea {
	font: inherit;
}

.app-shell {
	display: grid;
	grid-template-columns: 248px minmax(0, 1fr);
	min-height: 100vh;
}

.sidebar {
	position: sticky;
	top: 0;
	height: 100vh;
	display: flex;
	flex-direction: column;
	padding: 22px 12px;
	background: linear-gradient(180deg, var(--nav), var(--nav-2));
	color: #ffffff;
}

.brand {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 0 12px 22px;
	font-size: 20px;
	font-weight: 800;
}

.brand-mark {
	display: inline-block;
	width: 34px;
	height: 34px;
	flex: 0 0 34px;
	border-radius: 0;
	background: url("/images/logo.png") center / contain no-repeat;
	box-shadow: none;
}

.side-nav {
	display: grid;
	gap: 6px;
}

.side-nav a {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 46px;
	padding: 0 12px;
	border-radius: 8px;
	color: rgba(255, 255, 255, 0.84);
	font-weight: 700;
}

.side-nav a:hover,
.side-nav a.active {
	background: #0c63ce;
	color: #ffffff;
}

.nav-icon {
	width: 18px;
	height: 18px;
	border: 2px solid currentColor;
	border-radius: 5px;
	opacity: 0.9;
}

.nav-alert {
	border-radius: 50% 50% 45% 45%;
}

.nav-api {
	border-radius: 50%;
}

.operator-card {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 12px;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.06);
}

.operator-card small {
	display: block;
	margin-top: 2px;
	color: rgba(255, 255, 255, 0.68);
}

.avatar {
	display: inline-flex;
	width: 34px;
	height: 34px;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background: #1d75e8;
	font-weight: 800;
}

.workspace {
	min-width: 0;
	padding: 0 26px 34px;
}

.topbar {
	position: sticky;
	top: 0;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	min-height: 74px;
	margin: 0 -26px 24px;
	padding: 0 26px;
	border-bottom: 1px solid var(--line);
	background: rgba(244, 247, 251, 0.92);
	backdrop-filter: blur(10px);
}

.breadcrumb {
	margin: 0 0 5px;
	color: var(--muted);
	font-size: 13px;
	font-weight: 700;
}

.topbar h1 {
	margin: 0;
	font-size: 25px;
	line-height: 1.2;
}

.topbar-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 12px;
}

.search-box {
	display: flex;
	align-items: center;
	gap: 10px;
	width: min(420px, 38vw);
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	color: var(--muted);
}

.search-box span {
	font-size: 12px;
	font-weight: 800;
}

.search-box input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--text);
}

.icon-button {
	width: 42px;
	height: 42px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background:
		linear-gradient(90deg, transparent 46%, var(--blue) 46% 54%, transparent 54%),
		linear-gradient(0deg, transparent 46%, var(--blue) 46% 54%, transparent 54%),
		var(--surface);
}

.logout-form {
	margin: 0;
}

.logout-button {
	min-width: 78px;
	height: 42px;
	padding: 0 14px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	color: var(--blue);
	font-weight: 800;
	white-space: nowrap;
}

.logout-button:hover {
	background: var(--blue-soft);
}

.notice {
	margin-bottom: 16px;
	padding: 12px 14px;
	border: 1px solid #b7ead6;
	border-radius: 8px;
	background: var(--ok-soft);
	color: #047857;
	font-weight: 700;
}

.page-grid {
	display: grid;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 18px;
}

.metric-row {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 14px;
}

.metric-card,
.panel {
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	box-shadow: var(--shadow);
}

.metric-card {
	display: block;
	min-height: 128px;
	padding: 18px;
	transition: transform 0.14s ease, border-color 0.14s ease;
}

.metric-card:hover {
	transform: translateY(-2px);
	border-color: #adc5e7;
}

.metric-card span {
	display: block;
	color: var(--muted);
	font-weight: 800;
}

.metric-card strong {
	display: block;
	margin-top: 18px;
	font-size: 34px;
	line-height: 1;
}

.metric-card small {
	display: block;
	margin-top: 10px;
	color: var(--muted);
}

.metric-card.normal strong {
	color: var(--ok);
}

.metric-card.degraded strong {
	color: var(--warn);
}

.metric-card.down strong {
	color: var(--danger);
}

.metric-card.maintenance strong {
	color: var(--neutral);
}

.panel {
	overflow: hidden;
}

.status-panel {
	grid-column: span 4;
}

.trend-panel {
	grid-column: span 8;
}

.table-panel {
	grid-column: span 8;
}

.compact-panel {
	grid-column: span 2;
}

.panel-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 14px;
	padding: 18px;
	border-bottom: 1px solid var(--line);
}

.panel-head h2 {
	margin: 0;
	font-size: 18px;
}

.panel-head p {
	margin: 6px 0 0;
	color: var(--muted);
	line-height: 1.5;
}

.text-link {
	color: var(--blue);
	font-weight: 800;
	white-space: nowrap;
}

.strong-link {
	color: #084fbd;
	font-weight: 800;
}

.status-split {
	display: grid;
	grid-template-columns: 190px minmax(0, 1fr);
	gap: 20px;
	align-items: center;
	padding: 24px;
}

.donut {
	--normalEnd: calc(var(--normal) / var(--total) * 1turn);
	--degradedEnd: calc((var(--normal) + var(--degraded)) / var(--total) * 1turn);
	--downEnd: calc((var(--normal) + var(--degraded) + var(--down)) / var(--total) * 1turn);
	width: 168px;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background:
		radial-gradient(circle, var(--surface) 0 48%, transparent 49%),
		conic-gradient(var(--ok) 0 var(--normalEnd), var(--warn) var(--normalEnd) var(--degradedEnd), var(--danger) var(--degradedEnd) var(--downEnd), var(--neutral) var(--downEnd) 1turn);
}

.donut div {
	text-align: center;
}

.donut strong {
	display: block;
	font-size: 30px;
}

.donut span {
	color: var(--muted);
	font-weight: 700;
}

.legend-list,
.event-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.legend-list {
	display: grid;
	gap: 12px;
}

.legend-list li {
	display: flex;
	align-items: center;
	gap: 9px;
	color: var(--muted);
}

.legend-list strong {
	margin-left: auto;
	color: var(--text);
}

.legend-dot,
.status-dot {
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: var(--neutral);
}

.legend-dot.normal,
.dot-NORMAL {
	background: var(--ok);
}

.legend-dot.degraded,
.dot-DEGRADED {
	background: var(--warn);
}

.legend-dot.down,
.dot-DOWN {
	background: var(--danger);
}

.legend-dot.maintenance,
.dot-MAINTENANCE {
	background: var(--neutral);
}

.signal-strip {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 12px;
	padding: 18px;
}

.signal-strip div,
.metric-strip div,
.info-grid div,
.hero-facts div {
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface-soft);
	padding: 14px;
}

.signal-strip span,
.metric-strip span,
.info-grid span,
.hero-facts span {
	display: block;
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
}

.signal-strip strong,
.metric-strip strong,
.info-grid strong,
.hero-facts strong {
	display: block;
	margin-top: 8px;
	font-size: 22px;
}

.trend-rail {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 10px;
	height: 126px;
	padding: 8px 18px 20px;
	align-items: end;
}

.trend-rail span {
	display: block;
	border-radius: 8px 8px 0 0;
	background: linear-gradient(180deg, #4f8df7, #b4d0ff);
}

.trend-rail span:nth-child(1) { height: 46%; }
.trend-rail span:nth-child(2) { height: 62%; }
.trend-rail span:nth-child(3) { height: 42%; }
.trend-rail span:nth-child(4) { height: 74%; background: linear-gradient(180deg, #11b9a6, #a5f3df); }
.trend-rail span:nth-child(5) { height: 54%; }
.trend-rail span:nth-child(6) { height: 68%; background: linear-gradient(180deg, #f59e0b, #fde68a); }

.table-wrap {
	overflow-x: auto;
}

table {
	width: 100%;
	min-width: 760px;
	border-collapse: collapse;
}

th,
td {
	padding: 13px 18px;
	border-bottom: 1px solid var(--line);
	text-align: left;
	vertical-align: middle;
}

th {
	color: var(--muted);
	font-size: 12px;
	text-transform: uppercase;
}

.selected-row {
	background: var(--blue-soft);
}

.empty-cell,
.empty-item {
	color: var(--muted);
}

.status,
.severity,
.deploy-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 86px;
	height: 28px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 800;
}

.status-NORMAL {
	background: var(--ok-soft);
	color: #047857;
}

.status-DEGRADED {
	background: var(--warn-soft);
	color: #a16207;
}

.status-DOWN {
	background: var(--danger-soft);
	color: #b91c1c;
}

.status-MAINTENANCE {
	background: var(--neutral-soft);
	color: #475569;
}

.severity-LOW,
.severity-MEDIUM {
	background: var(--blue-soft);
	color: #075dcc;
}

.severity-HIGH {
	background: var(--warn-soft);
	color: #a16207;
}

.severity-CRITICAL {
	background: var(--danger-soft);
	color: #b91c1c;
}

.severity.large {
	height: 34px;
	min-width: 72px;
}

.deploy-chip {
	background: #eef2ff;
	color: var(--violet);
}

.event-list {
	padding: 12px 18px 18px;
}

.event-list li {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 8px 10px;
	padding: 11px 0;
	border-bottom: 1px solid var(--line);
}

.event-list small {
	grid-column: 2;
	color: var(--muted);
}

.monitoring-layout,
.workbench-layout,
.detail-layout {
	display: grid;
	gap: 18px;
}

.monitoring-layout {
	grid-template-columns: minmax(0, 1fr) 380px;
}

.filter-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	padding: 14px 18px;
	border-bottom: 1px solid var(--line);
	background: var(--surface-soft);
}

.filter-bar select,
.filter-bar input,
.stack-form select,
.stack-form input,
.stack-form textarea {
	width: 100%;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface);
	color: var(--text);
	padding: 10px 11px;
	outline-color: var(--blue);
}

.filter-bar select {
	width: 180px;
}

.primary-button,
.secondary-button,
.danger-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 42px;
	border-radius: 8px;
	border: 1px solid transparent;
	padding: 0 16px;
	font-weight: 800;
	cursor: pointer;
}

.primary-button {
	background: var(--blue);
	color: #ffffff;
}

.primary-button.subtle {
	background: var(--blue-soft);
	color: var(--blue);
}

.secondary-button {
	border-color: var(--line);
	background: var(--surface);
	color: var(--text);
}

.danger-button {
	border: 1px solid #fecaca;
	background: var(--danger-soft);
	color: #b91c1c;
}

.compact-button {
	min-height: 32px;
	padding: 0 11px;
	font-size: 12px;
	white-space: nowrap;
}

.action-row {
	display: flex;
	align-items: center;
	gap: 8px;
}

.inline-form {
	display: inline-flex;
	margin: 0;
}

.form-panel {
	align-self: start;
}

.stack-form {
	display: grid;
	gap: 14px;
	padding: 18px;
}

.stack-form label span {
	display: block;
	margin-bottom: 7px;
	color: var(--muted);
	font-size: 12px;
	font-weight: 800;
}

.form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.mono {
	font-family: "Cascadia Mono", Consolas, monospace;
}

.truncate {
	max-width: 320px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.detail-layout {
	grid-template-columns: minmax(0, 1fr) 360px;
}

.hero-panel {
	grid-column: 1 / -1;
}

.device-hero {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	gap: 22px;
	align-items: center;
	padding: 22px;
}

.server-visual {
	display: grid;
	gap: 7px;
	width: 72px;
}

.server-visual span {
	height: 22px;
	border-radius: 5px;
	background: linear-gradient(90deg, #133b65, #24557d);
	box-shadow: inset 8px 0 0 #12c2b0, inset -10px 0 0 rgba(255, 255, 255, 0.18);
}

.device-title div {
	display: flex;
	align-items: center;
	gap: 10px;
}

.device-title h2 {
	margin: 0;
	font-size: 26px;
}

.device-title p {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 9px 0 0;
	color: var(--muted);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.hero-facts,
.metric-strip,
.info-grid {
	display: grid;
	gap: 12px;
}

.hero-facts {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 0 22px 22px;
}

.detail-main,
.detail-side {
	display: grid;
	gap: 18px;
	align-self: start;
}

.metric-strip {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	padding: 18px;
}

.metric-strip small,
.hero-facts small {
	display: block;
	margin-top: 6px;
	color: var(--muted);
}

.health-timeline {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 10px;
	padding: 0 18px 18px;
}

.health-timeline div {
	border-left: 4px solid var(--neutral);
	border-radius: 8px;
	background: var(--surface-soft);
	padding: 12px;
}

.health-timeline div.ok {
	border-left-color: var(--ok);
}

.health-timeline div.fail {
	border-left-color: var(--danger);
}

.health-timeline span,
.health-timeline small {
	display: block;
	color: var(--muted);
	font-size: 12px;
}

.health-timeline strong {
	display: block;
	margin: 6px 0;
}

.threshold-list {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 6px 18px 18px;
}

.threshold-list div {
	display: flex;
	justify-content: space-between;
	gap: 14px;
	padding: 12px 0;
	border-bottom: 1px solid var(--line);
}

.threshold-list dt {
	color: var(--muted);
	font-weight: 800;
}

.threshold-list dd {
	margin: 0;
	font-weight: 800;
}

.workbench-layout {
	grid-template-columns: minmax(0, 1fr) 520px;
}

.row-select {
	display: inline-flex;
	align-items: center;
	height: 28px;
	border-radius: 999px;
	background: var(--blue-soft);
	color: var(--blue);
	padding: 0 10px;
	font-weight: 800;
}

.incident-detail {
	align-self: start;
}

.incident-title {
	display: flex;
	gap: 14px;
	align-items: flex-start;
	padding: 20px;
	border-bottom: 1px solid var(--line);
}

.incident-title h2 {
	margin: 0;
	font-size: 22px;
}

.incident-title p {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 8px 0 0;
	color: var(--muted);
}

.incident-progress {
	display: grid;
	grid-template-columns: 1fr 80px 1fr;
	align-items: center;
	padding: 22px 24px;
}

.progress-step {
	text-align: center;
	color: var(--muted);
}

.progress-step span {
	display: block;
	width: 18px;
	height: 18px;
	margin: 0 auto 8px;
	border: 3px solid var(--line);
	border-radius: 50%;
	background: var(--surface);
}

.progress-step.active {
	color: var(--blue);
}

.progress-step.active span {
	border-color: var(--blue);
	box-shadow: 0 0 0 5px var(--blue-soft);
}

.progress-step strong,
.progress-step small {
	display: block;
}

.progress-line {
	height: 2px;
	background: var(--line);
}

.info-grid {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	padding: 0 20px 18px;
}

.analysis-box {
	margin: 0 20px 18px;
	padding: 16px;
	border: 1px solid var(--line);
	border-radius: 8px;
	background: var(--surface-soft);
}

.analysis-box h3 {
	margin: 0 0 8px;
}

.analysis-box p {
	margin: 0 0 12px;
	color: var(--muted);
	line-height: 1.6;
}

.empty-detail {
	padding: 24px;
	color: var(--muted);
}

@media (max-width: 1180px) {
	.metric-row,
	.signal-strip,
	.hero-facts,
	.metric-strip {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.status-panel,
	.trend-panel,
	.table-panel,
	.compact-panel {
		grid-column: 1 / -1;
	}

	.monitoring-layout,
	.detail-layout,
	.workbench-layout {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 760px) {
	.app-shell {
		grid-template-columns: 1fr;
	}

	.sidebar {
		position: static;
		height: auto;
	}

	.workspace {
		padding: 0 14px 24px;
	}

	.topbar {
		margin: 0 -14px 18px;
		padding: 14px;
		align-items: stretch;
		flex-direction: column;
	}

	.search-box {
		width: 100%;
	}

	.topbar-actions,
	.logout-form,
	.logout-button {
		width: 100%;
	}

	.metric-row,
	.signal-strip,
	.hero-facts,
	.metric-strip,
	.form-grid,
	.info-grid,
	.status-split {
		grid-template-columns: 1fr;
	}

	.device-hero {
		grid-template-columns: 1fr;
	}

	.hero-actions {
		justify-content: stretch;
	}

	.hero-actions form,
	.hero-actions button,
	.primary-button,
	.secondary-button {
		width: 100%;
	}

	.filter-bar select {
		width: 100%;
	}

	.login-page {
		padding: 0;
	}

	.login-shell {
		min-height: 100vh;
		grid-template-columns: 1fr;
		border: 0;
		border-radius: 0;
	}

	.login-visual {
		min-height: 440px;
		padding: 28px 20px;
	}

	.login-copy h1 {
		font-size: 30px;
	}

	.login-radar {
		min-height: 260px;
	}

	.radar-card {
		min-width: 126px;
	}

	.radar-card.server {
		left: 0;
		top: 30%;
	}

	.radar-card.database {
		left: 2%;
		bottom: 10%;
	}

	.radar-card.api {
		right: 0;
		bottom: 18%;
	}

	.login-status-grid {
		grid-template-columns: 1fr;
	}

	.login-card {
		padding: 32px 20px;
	}
}

/* Final login concept overrides. Keep this block last. */
.login-page {
	width: 100%;
	min-height: 100vh;
	display: block;
	padding: 0;
	overflow-x: hidden;
	background: #f6f9fd;
}

.login-shell {
	width: 100%;
	min-height: 100vh;
	display: grid;
	grid-template-columns: 52.55% 47.45%;
	border: 0;
	border-radius: 0;
	overflow: hidden;
	background: #ffffff;
	box-shadow: none;
}

.login-visual {
	position: relative;
	min-height: 100vh;
	display: block;
	padding: 50px 0 0 74px;
	overflow: hidden;
	color: #092253;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.96) 0%, rgba(236, 246, 255, 0.92) 25%, rgba(170, 211, 255, 0.72) 55%, rgba(16, 88, 168, 0.98) 100%),
		linear-gradient(135deg, #f7fbff 0%, #dcecff 42%, #1058a8 100%);
}

.login-visual::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		repeating-radial-gradient(circle at 56% 56%, rgba(255, 255, 255, 0.38) 0 2px, transparent 2px 90px),
		linear-gradient(112deg, rgba(255, 255, 255, 0.56) 0%, transparent 42%),
		linear-gradient(180deg, transparent 0 42%, rgba(10, 67, 143, 0.18) 42% 100%);
	opacity: 0.78;
}

.login-visual::after {
	content: "";
	position: absolute;
	right: -180px;
	top: 220px;
	width: 820px;
	height: 390px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.2);
	transform: rotate(-16deg);
}

.login-brand {
	position: relative;
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: 12px;
	width: fit-content;
	color: #082253;
	font-size: 30px;
	font-weight: 800;
	letter-spacing: 0;
}

.login-brand .brand-mark {
	width: 50px;
	height: 50px;
	flex: 0 0 50px;
	background: url("/images/logo.png") center / contain no-repeat;
	box-shadow: none;
}

.login-copy {
	position: relative;
	z-index: 3;
	max-width: 540px;
	margin-top: 124px;
	color: #082253;
}

.login-copy h1 {
	margin: 0;
	color: #082253;
	font-size: 43px;
	font-weight: 800;
	line-height: 1.35;
	letter-spacing: 0;
}

.login-copy p,
.login-copy p:last-child {
	margin: 24px 0 0;
	color: #596d8d;
	font-size: 17px;
	font-weight: 700;
	line-height: 1.7;
}

.server-wall {
	position: absolute;
	z-index: 1;
	left: 0;
	bottom: 220px;
	width: 330px;
	height: 330px;
	opacity: 0.34;
	background:
		linear-gradient(90deg, rgba(8, 34, 83, 0.5), rgba(255, 255, 255, 0.04)),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.78) 0 2px, transparent 2px 23px);
	clip-path: polygon(0 7%, 86% 0, 100% 100%, 0 100%);
}

.server-wall span {
	position: absolute;
	left: 28px;
	width: 210px;
	height: 44px;
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.12);
	box-shadow: inset 16px 0 0 rgba(255, 255, 255, 0.16);
}

.server-wall span:nth-child(1) { top: 40px; }
.server-wall span:nth-child(2) { top: 104px; }
.server-wall span:nth-child(3) { top: 168px; }
.server-wall span:nth-child(4) { top: 232px; }

.orbit-system {
	position: absolute;
	z-index: 2;
	left: 56%;
	top: 58%;
	width: min(650px, 78vw);
	height: min(650px, 78vw);
	transform: translate(-50%, -50%);
}

.orbit-ring {
	position: absolute;
	inset: 0;
	border-radius: 50%;
	border: 2px solid rgba(44, 150, 255, 0.76);
}

.ring-mid {
	inset: 105px;
	border-color: rgba(255, 255, 255, 0.34);
}

.ring-inner {
	inset: 205px;
	border-color: rgba(255, 255, 255, 0.46);
}

.orbit-line {
	position: absolute;
	left: 50%;
	top: 50%;
	width: 44%;
	height: 1px;
	background: linear-gradient(90deg, rgba(255, 255, 255, 0.86), rgba(42, 176, 255, 0.16));
	transform-origin: left center;
}

.line-server { transform: rotate(188deg); }
.line-database { transform: rotate(154deg); }
.line-network { transform: rotate(-26deg); }
.line-application { transform: rotate(34deg); }

.orbit-node {
	position: absolute;
	width: 12px;
	height: 12px;
	border-radius: 50%;
	background: #ffffff;
	box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.22);
}

.node-a { left: 17%; top: 26%; background: #198cff; }
.node-b { left: 28%; top: 62%; background: #00c2a8; }
.node-c { right: 15%; top: 38%; background: #00c2a8; }
.node-d { right: 20%; bottom: 25%; background: #ffffff; }
.node-e { left: 48%; top: 12%; background: #ffffff; }

.radar-core {
	position: absolute;
	left: 50%;
	top: 50%;
	display: grid;
	place-items: center;
	width: 92px;
	height: 92px;
	border-radius: 50%;
	background: rgba(0, 194, 168, 0.22);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.48), 0 0 0 18px rgba(255, 255, 255, 0.11);
	transform: translate(-50%, -50%);
}

.radar-core .shield-mark {
	position: relative;
	display: block;
	width: 56px;
	height: 56px;
	border: 0;
	border-radius: 50%;
	background: linear-gradient(180deg, #1cc8dc, #0a8fe3);
	box-shadow: 0 14px 30px rgba(12, 99, 206, 0.34);
}

.shield-mark::before {
	content: "";
	position: absolute;
	left: 15px;
	top: 11px;
	width: 26px;
	height: 31px;
	border: 3px solid #ffffff;
	border-radius: 5px 5px 12px 12px;
	clip-path: polygon(50% 0, 100% 15%, 92% 68%, 50% 100%, 8% 68%, 0 15%);
}

.shield-mark::after {
	content: "";
	position: absolute;
	left: 23px;
	top: 25px;
	width: 16px;
	height: 8px;
	border-left: 3px solid #ffffff;
	border-bottom: 3px solid #ffffff;
	transform: rotate(-45deg);
}

.radar-card {
	position: absolute;
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 126px;
	padding: 14px 18px;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.86);
	color: #243b6b;
	box-shadow: 0 16px 34px rgba(14, 54, 99, 0.18);
	backdrop-filter: blur(10px);
}

.radar-card strong,
.radar-card span {
	display: block;
}

.radar-card strong {
	margin-bottom: 5px;
	color: #243b6b;
	font-size: 13px;
	font-weight: 800;
	white-space: nowrap;
}

.radar-card div > span {
	color: #00a888;
	font-size: 14px;
	font-weight: 800;
}

.card-server {
	left: -6px;
	top: 39%;
}

.card-database {
	left: 18px;
	bottom: 9%;
	min-width: 150px;
}

.card-network {
	right: 68px;
	top: 11%;
	min-width: 136px;
}

.card-application {
	right: -16px;
	bottom: 14%;
	min-width: 170px;
}

.radar-icon {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 30px;
	flex: 0 0 30px;
}

.icon-server {
	border-radius: 4px;
	background:
		linear-gradient(90deg, #ffffff 12px, transparent 12px),
		repeating-linear-gradient(0deg, #1058a8 0 7px, #0b468b 7px 12px);
}

.icon-database {
	border-radius: 50%;
	border: 3px solid #1058a8;
	box-shadow: inset 0 6px 0 rgba(16, 88, 168, 0.14), inset 0 -6px 0 rgba(16, 88, 168, 0.14);
}

.icon-network {
	border: 4px solid #00c2a8;
	border-radius: 50%;
}

.icon-network::before,
.icon-network::after {
	content: "";
	position: absolute;
	background: #00c2a8;
}

.icon-network::before {
	left: 50%;
	top: 5px;
	width: 4px;
	height: 14px;
	transform: translateX(-50%);
}

.icon-network::after {
	left: 6px;
	top: 50%;
	width: 14px;
	height: 4px;
	transform: translateY(-50%);
}

.icon-application {
	border-radius: 50%;
	background: #1058a8;
}

.icon-application::before,
.icon-application::after {
	content: "";
	position: absolute;
	background: #ffffff;
}

.icon-application::before {
	left: 6px;
	right: 6px;
	top: 13px;
	height: 5px;
	border-radius: 5px;
}

.icon-application::after {
	left: 12px;
	top: 6px;
	width: 7px;
	height: 18px;
	border-radius: 5px;
}

.world-dots {
	position: absolute;
	z-index: 1;
	left: 152px;
	right: 92px;
	bottom: 48px;
	height: 190px;
	background-image: radial-gradient(circle, rgba(255, 255, 255, 0.44) 1.8px, transparent 2px);
	background-size: 11px 11px;
	mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
	opacity: 0.78;
}

.login-panel {
	position: relative;
	display: flex;
	min-height: 100vh;
	align-items: center;
	justify-content: center;
	padding: 64px 0 88px;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.96) 0%, rgba(247, 251, 255, 0.96) 56%, rgba(237, 246, 255, 0.98) 100%);
}

.login-card {
	width: min(594px, calc(100% - 96px));
	min-height: 786px;
	display: block;
	padding: 56px 44px 38px;
	border: 1px solid rgba(219, 228, 239, 0.72);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: 0 24px 54px rgba(36, 59, 107, 0.16);
}

.login-card-head {
	padding: 0;
	border: 0;
	text-align: center;
}

.login-card-head h2 {
	margin: 0;
	color: #082253;
	font-size: 38px;
	font-weight: 800;
	line-height: 1.2;
}

.login-card-head p {
	margin: 12px 0 0;
	color: #61708a;
	font-size: 16px;
	font-weight: 700;
	text-transform: none;
}

.login-divider {
	height: 1px;
	margin: 31px 0 28px;
	background: #d7dfeb;
}

.login-alert {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 52px;
	margin: 0 0 28px;
	padding: 12px 16px;
	border-radius: 8px;
	font-weight: 800;
	line-height: 1.5;
}

.login-alert.info {
	border: 1px solid #a9cdf7;
	background: #eef7ff;
	color: #23466f;
}

.login-alert.danger {
	border: 1px solid #fecaca;
	background: var(--danger-soft);
	color: #b91c1c;
}

.login-alert.success {
	border: 1px solid #b7ead6;
	background: var(--ok-soft);
	color: #047857;
}

.info-mark {
	display: inline-flex;
	width: 26px;
	height: 26px;
	align-items: center;
	justify-content: center;
	flex: 0 0 26px;
	border-radius: 50%;
	background: #1058a8;
	color: #ffffff;
	font-weight: 800;
}

.login-form {
	display: grid;
	gap: 22px;
	margin-top: 0;
}

.login-form label > span {
	display: block;
	margin-bottom: 10px;
	color: #14213d;
	font-size: 15px;
	font-weight: 800;
}

.input-wrap {
	position: relative;
	display: flex;
	align-items: center;
	height: 50px;
	border: 1px solid #cbd7e6;
	border-radius: 8px;
	background: #ffffff;
}

.input-wrap:focus-within {
	border-color: #7eb6f4;
	box-shadow: 0 0 0 3px rgba(126, 182, 244, 0.18);
}

.input-wrap input {
	width: 100%;
	height: 100%;
	border: 0;
	border-radius: 8px;
	padding: 0 46px 0 52px;
	color: #172033;
	outline: 0;
	background: transparent;
}

.input-wrap input::placeholder {
	color: #8a98ad;
}

.input-icon {
	position: absolute;
	left: 18px;
	top: 50%;
	width: 22px;
	height: 22px;
	transform: translateY(-50%);
}

.input-user .input-icon::before {
	content: "";
	position: absolute;
	left: 6px;
	top: 2px;
	width: 8px;
	height: 8px;
	border: 2px solid #697d9c;
	border-radius: 50%;
}

.input-user .input-icon::after {
	content: "";
	position: absolute;
	left: 2px;
	bottom: 1px;
	width: 16px;
	height: 9px;
	border: 2px solid #697d9c;
	border-bottom: 0;
	border-radius: 12px 12px 0 0;
}

.input-password .input-icon {
	width: 21px;
	height: 18px;
	border: 2px solid #697d9c;
	border-radius: 4px;
}

.input-password .input-icon::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 13px;
	width: 11px;
	height: 10px;
	border: 2px solid #697d9c;
	border-bottom: 0;
	border-radius: 9px 9px 0 0;
	transform: translateX(-50%);
}

.input-eye {
	position: absolute;
	right: 18px;
	top: 50%;
	width: 22px;
	height: 14px;
	border: 2px solid #697d9c;
	border-radius: 50%;
	transform: translateY(-50%);
}

.input-eye::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background: #697d9c;
	transform: translate(-50%, -50%);
}

.login-options {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	margin: -2px 0 4px;
	color: #52637f;
}

.remember-check {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0;
	color: #52637f;
	font-weight: 700;
}

.remember-check input {
	width: 20px;
	height: 20px;
	margin: 0;
	accent-color: #1058a8;
}

.remember-check span {
	margin: 0;
	color: inherit;
	font-size: 14px;
	font-weight: 700;
}

.login-links {
	display: flex;
	align-items: center;
	gap: 14px;
	white-space: nowrap;
}

.login-links a {
	color: #075dcc;
	font-weight: 800;
}

.login-links span,
.login-footer nav span {
	width: 1px;
	height: 14px;
	background: #ccd7e6;
}

.login-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 13px;
	width: 100%;
	height: 55px;
	margin-top: 7px;
	border: 0;
	border-radius: 8px;
	background: #075dcc;
	color: #ffffff;
	font-weight: 800;
	cursor: pointer;
	box-shadow: 0 14px 28px rgba(7, 93, 204, 0.22);
}

.login-submit:hover {
	background: #064fb0;
}

.login-lock {
	position: relative;
	width: 16px;
	height: 13px;
	border: 2px solid currentColor;
	border-radius: 4px;
}

.login-lock::before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 9px;
	width: 10px;
	height: 10px;
	border: 2px solid currentColor;
	border-bottom: 0;
	border-radius: 8px 8px 0 0;
	transform: translateX(-50%);
}

.login-security-note {
	display: flex;
	gap: 14px;
	margin-top: 28px;
	padding: 17px 18px;
	border: 1px solid #dbe4ef;
	border-radius: 8px;
	background: #f8fafc;
}

.security-icon {
	position: relative;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
}

.security-icon::before {
	content: "";
	position: absolute;
	left: 3px;
	top: 1px;
	width: 18px;
	height: 21px;
	border: 2px solid #52637f;
	border-radius: 4px 4px 10px 10px;
	clip-path: polygon(50% 0, 100% 16%, 90% 70%, 50% 100%, 10% 70%, 0 16%);
}

.security-icon::after {
	content: "";
	position: absolute;
	left: 9px;
	top: 10px;
	width: 8px;
	height: 4px;
	border-left: 2px solid #52637f;
	border-bottom: 2px solid #52637f;
	transform: rotate(-45deg);
}

.login-security-note strong {
	display: block;
	margin: 0 0 8px;
	color: #243b6b;
	font-size: 14px;
}

.login-security-note ul {
	margin: 0;
	padding-left: 18px;
	color: #61708a;
	line-height: 1.55;
}

.login-footer {
	position: absolute;
	left: 9%;
	right: 9%;
	bottom: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	color: #7b8ba3;
	font-weight: 700;
}

.login-footer nav {
	display: flex;
	align-items: center;
	gap: 22px;
}

.login-footer a {
	color: #52637f;
	font-weight: 800;
}

@media (max-width: 1180px) {
	.login-shell {
		grid-template-columns: 1fr;
	}

	.login-visual {
		min-height: 680px;
		padding: 38px 28px;
	}

	.login-copy {
		margin-top: 76px;
	}

	.orbit-system {
		left: 58%;
		top: 64%;
		width: min(620px, 92vw);
		height: min(620px, 92vw);
	}

	.login-panel {
		min-height: auto;
		padding: 48px 0 92px;
	}

	.login-footer {
		bottom: 26px;
	}
}

@media (max-width: 760px) {
	.login-shell {
		grid-template-columns: 1fr;
	}

	.login-visual {
		min-height: 560px;
		padding: 24px 20px;
	}

	.login-brand {
		font-size: 22px;
	}

	.login-brand .brand-mark {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.login-copy {
		margin-top: 48px;
	}

	.login-copy h1 {
		font-size: 30px;
	}

	.login-copy p {
		font-size: 14px;
	}

	.server-wall,
	.world-dots {
		display: none;
	}

	.orbit-system {
		left: 50%;
		top: 69%;
		width: 420px;
		height: 420px;
	}

	.ring-mid {
		inset: 72px;
	}

	.ring-inner {
		inset: 136px;
	}

	.radar-core {
		width: 74px;
		height: 74px;
	}

	.radar-core .shield-mark {
		width: 46px;
		height: 46px;
	}

	.card-network,
	.card-application {
		display: none;
	}

	.card-server {
		left: 0;
		top: 36%;
	}

	.card-database {
		left: 10px;
		bottom: 7%;
	}

	.login-panel {
		padding: 24px 0 122px;
	}

	.login-card {
		width: calc(100% - 32px);
		min-height: auto;
		padding: 34px 22px 26px;
	}

	.login-card-head h2 {
		font-size: 32px;
	}

	.login-options {
		align-items: flex-start;
		flex-direction: column;
	}

	.login-links {
		gap: 10px;
		font-size: 13px;
	}

	.login-security-note {
		padding: 14px;
	}

	.login-footer {
		left: 16px;
		right: 16px;
		bottom: 28px;
		align-items: center;
		flex-direction: column;
		text-align: center;
	}
}


