@import url("https://fonts.googleapis.com/css2?family=Golos+Text:wght@400;500;600;700&family=Russo+One&display=swap");
.page {
	min-height: 100vh;
	padding: clamp(24px, 4vw, 52px);
	display: flex;
	flex-direction: column;
	gap: 28px;
	animation: pageReveal 700ms ease both;
}

.page-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.page-header h1 {
	font-family: var(--heading-font);
	font-size: clamp(28px, 3vw, 44px);
	letter-spacing: 0.02em;
}

.subtitle {
	color: var(--muted);
	margin-top: 6px;
	max-width: 640px;
}

.eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.35em;
	font-size: 0.68rem;
	color: var(--muted);
	margin-bottom: 8px;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	justify-content: flex-end;
}

.user-pill {
	padding: 8px 16px;
	border-radius: 999px;
	background: rgba(30, 40, 54, 0.9);
	border: 1px solid var(--border);
	font-weight: 500;
	color: var(--text);
	backdrop-filter: blur(6px);
}

.banner {
	padding: 12px 16px;
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
	background: rgba(255, 255, 255, 0.06);
	font-weight: 500;
	animation: fadeIn 300ms ease;
}

.banner-success {
	border-color: rgba(var(--success), 0.5);
	background: rgba(var(--success), 0.12);
	color: #c2f7d7;
}

.banner-error {
	border-color: rgba(var(--danger), 0.5);
	background: rgba(var(--danger), 0.12);
	color: #fecaca;
}

.banner-info {
	border-color: rgba(var(--accent), 0.5);
	background: rgba(var(--accent), 0.12);
	color: #bae6fd;
}

.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
}

.service-card {
	position: relative;
	padding: 22px;
	border-radius: var(--radius-lg);
	background: linear-gradient(160deg, rgba(30, 40, 54, 0.96), rgba(17, 24, 39, 0.96));
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	gap: 14px;
	overflow: hidden;
	opacity: 0;
	transform: translateY(16px);
	animation: liftIn 700ms ease forwards;
	animation-delay: var(--delay);
	transition: transform 240ms ease, box-shadow 240ms ease, border-color 240ms ease;
}

.service-card:hover {
	border-color: rgba(148, 163, 184, 0.35);
	box-shadow: 0 28px 60px rgba(4, 10, 20, 0.55);
	transform: translateY(-2px);
}

.service-card .btn {
\tmargin-top: auto;
}

.service-card::before {
	content: '';
	position: absolute;
	inset: -40% auto auto -20%;
	width: 220px;
	height: 220px;
	background: radial-gradient(circle, rgba(var(--accent), 0.35), transparent 70%);
	opacity: 0.65;
	pointer-events: none;
}

.service-header {
	display: flex;
	align-items: center;
	gap: 16px;
	z-index: 1;
}

.service-icon {
	width: 56px;
	height: 56px;
	border-radius: 18px;
	background: rgba(var(--accent), 0.18);
	border: 1px solid rgba(var(--accent), 0.35);
	display: grid;
	place-items: center;
	flex-shrink: 0;
	box-shadow: inset 0 0 20px rgba(var(--accent), 0.25);
}

.service-icon img {
	width: 32px;
	height: 32px;
	object-fit: contain;
	filter: drop-shadow(0 6px 12px rgba(4, 10, 20, 0.35));
}

.service-heading {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.service-heading h3 {
	font-size: 1.3rem;
	margin: 0;
	font-family: var(--heading-font);
}

.service-status {
	align-self: flex-start;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 0.7rem;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	border: 1px solid transparent;
}

.service-status[data-tone='ok'] {
	background: rgba(var(--success), 0.2);
	border-color: rgba(var(--success), 0.45);
	color: #bbf7d0;
}

.service-status[data-tone='warning'] {
	background: rgba(var(--warning), 0.2);
	border-color: rgba(var(--warning), 0.5);
	color: #fde68a;
}

.service-status[data-tone='muted'] {
	background: rgba(148, 163, 184, 0.2);
	border-color: rgba(148, 163, 184, 0.3);
	color: #d1d5db;
}

.service-description {
	color: var(--muted);
	font-size: 0.95rem;
	z-index: 1;
}

.service-note {
	color: #fef3c7;
	font-size: 0.85rem;
	padding: 10px 12px;
	border-radius: var(--radius-md);
	background: rgba(var(--warning), 0.12);
	border: 1px solid rgba(var(--warning), 0.35);
	z-index: 1;
}

.service-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 10px 12px;
	border-radius: var(--radius-md);
	border: 1px solid var(--border);
	background: rgba(15, 23, 42, 0.6);
	color: #e2e8f0;
	font-size: 0.85rem;
	z-index: 1;
}

.toggle-control {
	position: relative;
	width: 46px;
	height: 24px;
	display: inline-flex;
}

.toggle-control input {
	opacity: 0;
	width: 0;
	height: 0;
}

.toggle-slider {
	position: absolute;
	inset: 0;
	border-radius: 999px;
	background: rgba(148, 163, 184, 0.25);
	border: 1px solid rgba(148, 163, 184, 0.4);
	transition: background 200ms ease, border-color 200ms ease;
}

.toggle-slider::before {
	content: '';
	position: absolute;
	top: 2px;
	left: 2px;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #f8fafc;
	box-shadow: 0 4px 10px rgba(15, 23, 42, 0.3);
	transition: transform 200ms ease;
}

.toggle-control input:checked + .toggle-slider {
	background: rgba(var(--success), 0.35);
	border-color: rgba(var(--success), 0.55);
}

.toggle-control input:checked + .toggle-slider::before {
	transform: translateX(22px);
}

.toggle-control input:disabled + .toggle-slider {
	opacity: 0.5;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 18px;
	border-radius: 12px;
	border: 1px solid transparent;
	font-weight: 600;
	font-size: 0.95rem;
	cursor: pointer;
	transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, background 200ms ease;
}

.btn-primary {
	background: linear-gradient(130deg, rgba(var(--accent), 0.95), rgba(var(--accent), 0.75));
	color: #041019;
	box-shadow: 0 12px 24px rgba(var(--accent), 0.25);
}

.btn-primary:hover {
	transform: translateY(-1px);
	border-color: rgba(var(--accent), 0.6);
}

.btn-primary:disabled {
	cursor: not-allowed;
	opacity: 0.6;
	transform: none;
	box-shadow: none;
}

.btn:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(var(--accent), 0.35);
}

.btn-ghost {
	background: transparent;
	border: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--text);
}

.btn-ghost:hover {
	border-color: rgba(255, 255, 255, 0.4);
}

.form {
	display: grid;
	gap: 16px;
}

.field {
	display: grid;
	gap: 8px;
	font-size: 0.9rem;
	color: var(--muted);
}

.field input {
	padding: 12px 14px;
	border-radius: 12px;
	border: 1px solid var(--border);
	background: rgba(15, 23, 42, 0.85);
	color: var(--text);
	font-size: 0.95rem;
	transition: border-color 200ms ease, box-shadow 200ms ease;
}

.field input:focus {
	outline: none;
	border-color: rgba(var(--accent), 0.6);
	box-shadow: 0 0 0 3px rgba(var(--accent), 0.25);
}

.field input[type='file'] {
	padding: 10px 12px;
}

.field input[type='file']::file-selector-button {
	margin-right: 12px;
	padding: 6px 12px;
	border-radius: 10px;
	border: 1px solid rgba(var(--accent), 0.5);
	background: rgba(var(--accent), 0.2);
	color: var(--text);
	cursor: pointer;
}

.auth-screen {
	min-height: 100vh;
	padding: clamp(24px, 4vw, 60px);
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 28px;
	align-items: center;
	animation: pageReveal 700ms ease both;
}

.auth-panel {
	padding: clamp(24px, 4vw, 40px);
	border-radius: var(--radius-lg);
	background: linear-gradient(150deg, rgba(30, 40, 54, 0.9), rgba(17, 24, 39, 0.96));
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.auth-panel h1 {
	font-family: var(--heading-font);
	font-size: clamp(28px, 3vw, 40px);
}

.auth-text {
	color: var(--muted);
	font-size: 1rem;
}

.auth-services {
	display: flex;
	gap: 16px;
	flex-wrap: wrap;
}

.auth-service {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(30, 40, 54, 0.7);
	font-weight: 500;
}

.auth-service img {
	width: 20px;
	height: 20px;
}

.auth-card {
	padding: clamp(24px, 4vw, 40px);
	border-radius: var(--radius-lg);
	background: rgba(17, 24, 39, 0.94);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.auth-card h2 {
	font-size: 1.4rem;
	font-family: var(--heading-font);
}

.modal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(5, 9, 16, 0.65);
	backdrop-filter: blur(8px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	z-index: 20;
	animation: fadeIn 200ms ease;
}

.modal {
	width: min(520px, 100%);
	border-radius: var(--radius-lg);
	background: rgba(22, 30, 45, 0.98);
	border: 1px solid var(--border);
	box-shadow: var(--shadow);
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding: 24px;
	animation: modalPop 260ms ease;
	max-height: 90vh;
	overflow: auto;
}

.modal-header {
	display: flex;
	justify-content: space-between;
	gap: 16px;
}

.modal-title {
	font-size: 1.4rem;
	margin-bottom: 6px;
}

.modal-subtitle {
	color: var(--muted);
	font-size: 0.95rem;
}

.icon-button {
	width: 36px;
	height: 36px;
	border-radius: 50%;
	border: 1px solid var(--border);
	background: transparent;
	color: var(--text);
	font-size: 1.2rem;
	cursor: pointer;
}

.icon-button:hover {
	border-color: rgba(var(--accent), 0.6);
	color: #ffffff;
}

.icon-button:focus-visible {
	outline: none;
	box-shadow: 0 0 0 3px rgba(var(--accent), 0.35);
}

.modal-body {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.modal-section {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.modal-actions {
	display: flex;
	justify-content: flex-end;
	gap: 12px;
	flex-wrap: wrap;
}

.helper-text {
	font-size: 0.85rem;
	color: var(--muted);
	line-height: 1.5;
	word-break: break-word;
}

@keyframes liftIn {
	0% {
		opacity: 0;
		transform: translateY(18px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes pageReveal {
	0% {
		opacity: 0;
		transform: translateY(12px);
	}
	100% {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}
	100% {
		opacity: 1;
	}
}

@keyframes modalPop {
	0% {
		opacity: 0;
		transform: translateY(8px) scale(0.98);
	}
	100% {
		opacity: 1;
		transform: translateY(0) scale(1);
	}
}

@media (max-width: 960px) {
	.auth-screen {
		grid-template-columns: 1fr;
	}

	.page-header {
		align-items: flex-start;
	}

	.header-actions {
		justify-content: flex-start;
	}
}

@media (prefers-reduced-motion: reduce) {
	.page,
	.auth-screen,
	.service-card,
	.banner,
	.modal,
	.modal-backdrop {
		animation: none;
	}

	.btn {
		transition: none;
	}

	.service-card {
		transition: none;
	}
}



:root {
	color-scheme: dark;
	font-family: 'Golos Text', 'Segoe UI', 'Tahoma', sans-serif;
	--heading-font: 'Russo One', 'Golos Text', sans-serif;
	--bg: #111827;
	--bg-2: #1d2635;
	--panel: #1e2836;
	--panel-2: #243146;
	--text: #d1d5db;
	--muted: #9ca3af;
	--accent: 0, 164, 220;
	--success: 34, 197, 94;
	--warning: 245, 158, 11;
	--danger: 239, 68, 68;
	--border: rgba(148, 163, 184, 0.16);
	--shadow: 0 24px 60px rgba(4, 10, 20, 0.6);
	--radius-lg: 18px;
	--radius-md: 12px;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	min-height: 100vh;
	background-color: var(--bg);
	background-image: radial-gradient(1200px 600px at 0% -10%, rgba(0, 164, 220, 0.18), transparent 60%),
		radial-gradient(900px 600px at 100% 8%, rgba(56, 189, 248, 0.14), transparent 55%),
		linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 100%);
	color: var(--text);
	line-height: 1.6;
}

#root {
	min-height: 100vh;
}

img {
	display: block;
	max-width: 100%;
}

button,
input {
	font-family: inherit;
}

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

::selection {
	background: rgba(0, 164, 220, 0.35);
	color: #ffffff;
}


/*# sourceMappingURL=main.css.map*/