/**
 * System and access-control page styles.
 */

.ld-sc-system {
	--ld-sc-black: #000000;
	--ld-sc-white: #ffffff;
	--ld-sc-surface: #2a2a2a;
	--ld-sc-surface-high: #2a2a2a;
	--ld-sc-border: #353535;
	--ld-sc-outline: #444748;
	--ld-sc-muted: #c4c7c8;
	--ld-sc-secondary: #adc6ff;
	--ld-sc-accent: #0566d9;
	--ld-sc-radius-xl: 12px;
	--ld-sc-btn-primary-bg: #ffffff;
	--ld-sc-btn-primary-color: #2f3131;
	--ld-sc-btn-secondary-bg: #2a2a2a;
	--ld-sc-btn-secondary-hover-bg: #333333;
	--ld-sc-link-color: var(--ld-sc-secondary);
	--ld-sc-link-hover-color: var(--ld-sc-white);
	--ld-sc-link-active-color: var(--ld-sc-white);
	--ld-sc-link-hover-bg: transparent;
	--ld-sc-link-active-bg: transparent;

	min-height: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: var(--ld-sc-layout-pt, 40px) var(--ld-sc-layout-pr, 20px) var(--ld-sc-layout-pb, 40px) var(--ld-sc-layout-pl, 20px);
	text-align: center;
	color: var(--ld-sc-white, #e5e2e1);
	background: var(--ld-sc-black, transparent);
}

.ld-sc-system__brand {
	margin-bottom: 48px;
	font-size: 24px;
	font-weight: 700;
}

.ld-sc-system__panel {
	max-width: 480px;
	width: 100%;
}

.ld-sc-system__icon-wrap {
	margin: 0 auto 32px;
	width: 96px;
	height: 96px;
	border-radius: 50%;
	background: #2a2a2a;
	border: 1px solid #444748;
}

.ld-sc-icon--system {
	width: 48px;
	height: 48px;
}

.ld-sc-system__title {
	margin: 0 0 12px;
	font-size: clamp(28px, 4vw, 32px);
	font-weight: 700;
}

.ld-sc-system__text {
	margin: 0 auto 40px;
	max-width: 320px;
	color: #c4c7c8;
	font-size: 16px;
	line-height: 1.5;
}

.ld-sc-system__actions {
	display: flex;
	flex-direction: column;
	gap: 24px;
	max-width: 280px;
	margin: 0 auto;
}

.ld-sc-system__secondary {
	color: var(--ld-sc-link-color, #c4c7c8);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.ld-sc-system__secondary:hover {
	color: var(--ld-sc-link-hover-color, #fff);
	background-color: var(--ld-sc-link-hover-bg, transparent);
}

.ld-sc-system__secondary:active {
	color: var(--ld-sc-link-active-color, var(--ld-sc-link-hover-color, #fff));
	background-color: var(--ld-sc-link-active-bg, var(--ld-sc-link-hover-bg, transparent));
}

.ld-sc-system__footer {
	margin-top: 64px;
	padding-top: 32px;
	border-top: 1px solid #353535;
	max-width: 600px;
	width: 100%;
}

.ld-sc-system__footer-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 12px;
}

.ld-sc-system__footer-links a {
	color: var(--ld-sc-link-color, #c4c7c8);
	text-decoration: none;
	font-size: 14px;
	transition: color 0.15s ease, background-color 0.15s ease;
}

.ld-sc-system__footer-links a:hover {
	color: var(--ld-sc-link-hover-color, #fff);
	background-color: var(--ld-sc-link-hover-bg, transparent);
}

.ld-sc-system__footer-links a:active {
	color: var(--ld-sc-link-active-color, var(--ld-sc-link-hover-color, #fff));
	background-color: var(--ld-sc-link-active-bg, var(--ld-sc-link-hover-bg, transparent));
}

.ld-sc-system__copyright {
	margin: 0;
	color: #c4c7c8;
	opacity: 0.6;
	font-size: 14px;
}

/* Phone verification */
.ld-sc-phone__panel {
	max-width: 480px;
}

.ld-sc-phone__icon-wrap {
	margin: 0 auto 24px;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: #353535;
}

.ld-sc-phone__icon-wrap--success {
	background: rgba(255, 255, 255, 0.1);
}

.ld-sc-icon--phone {
	width: 32px;
	height: 32px;
}

.ld-sc-icon--phone-success {
	width: 48px;
	height: 48px;
	color: #fff;
}

.ld-sc-phone__input-group {
	display: flex;
	align-items: stretch;
	background: #1a1a1a;
	border: 1px solid #404040;
	border-radius: 12px;
	overflow: hidden;
	--ld-sc-phone-country-width: 72px;
}

.ld-sc-phone__input-group:focus-within {
	border-color: #fff;
}

.ld-sc-phone__country {
	flex: 0 0 var(--ld-sc-phone-country-width, 72px);
	width: var(--ld-sc-phone-country-width, 72px);
	max-width: var(--ld-sc-phone-country-width, 72px);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 8px;
	border: 0;
	border-right: 1px solid #404040;
	background: transparent;
}

.ld-sc-phone__country-code {
	width: 100%;
	min-width: 0;
	min-height: 56px;
	padding: 0;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none;
	color: #e5e2e1;
	font: inherit;
	font-size: 16px;
	text-align: center;
}

.ld-sc-phone__number {
	flex: 1 1 0;
	min-width: 0;
	width: auto !important;
	min-height: 56px;
	padding: 0 16px;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	outline: none;
	color: #e5e2e1;
	font: inherit;
}

.ld-sc-phone__country-code:focus,
.ld-sc-phone__number:focus {
	border: 0 !important;
	box-shadow: none !important;
	outline: none;
}

.ld-sc-phone__back {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 4px;
}

.ld-sc-field__label--static {
	display: block;
	margin-bottom: 8px;
	margin-left: 4px;
	color: #c4c7c8;
	font-size: 14px;
}

.ld-sc-auth__footer--compact {
	margin-top: 48px;
	text-align: center;
	color: #c4c7c8;
	opacity: 0.4;
	font-size: 14px;
}
