@font-face {
	font-family: 'Inter';
	src: url('/fonts/Inter-Regular.ttf') format('truetype');
	font-style: normal;
	font-weight: 400;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('/fonts/Inter-Medium.ttf') format('truetype');
	font-style: normal;
	font-weight: 500;
	font-display: swap;
}
@font-face {
	font-family: 'Inter';
	src: url('/fonts/Inter-Bold.ttf') format('truetype');
	font-style: normal;
	font-weight: 700;
	font-display: swap;
}
#feya-signup,
#feya-signup *,
#feya-signup *::before,
#feya-signup *::after {
    margin: 0;padding: 0;border: 0;box-sizing: border-box;font: inherit; }
#feya-signup a {
    color: inherit;text-decoration: none; }
#feya-signup input:focus,
#feya-signup select:focus,
#feya-signup button:focus {outline: none; }
#feya-signup {
    --feya-signup-bg: #F5F5F7;--feya-signup-surface: #ECECF0;--feya-signup-card: #ffffff;--feya-signup-line: #e2e2e2;--feya-signup-line-strong: #a8a8a8;--feya-signup-text: #1A1A1A;--feya-signup-muted: #6B6B6B;--feya-signup-placeholder: #A8A8A8;--feya-signup-accent: #0070FF;--feya-signup-accent-soft: rgba(0, 112, 255, 0.12);--feya-signup-ok: #0d8111; }
html[data-theme="dark"] #feya-signup {
    --feya-signup-bg: #121212;--feya-signup-surface: #222222;--feya-signup-card: #1E1E1E;--feya-signup-line: #222222;--feya-signup-line-strong: #414141;--feya-signup-text: #ffffff;--feya-signup-muted: #A8A8A8;--feya-signup-placeholder: #8A8A8A; }
html[data-theme="dark"] {
    background-color: #121212; }
html[data-theme="light"] {
    background-color: #F5F5F7; }
#feya-signup {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;color: var(--feya-signup-text);background-color: var(--feya-signup-bg);background-image: none;display: flex;justify-content: center;align-items: flex-start;min-height: 100vh;padding: 40px 0 60px;-webkit-font-smoothing: antialiased;-moz-osx-font-smoothing: grayscale;-webkit-text-size-adjust: 100%;color-scheme: light; }
html[data-theme="dark"] #feya-signup {
    color-scheme: dark; }
#feya-signup .wrapper {
    width: 100%;max-width: 360px;padding: 0 28px;text-align: center; }
#feya-signup .page-title {
	font-size: 32px;
	font-weight: 700;
	color: var(--text);
	letter-spacing: 0;
	margin-bottom: 32px;
	text-align: left;
}
#feya-signup .page-title span {
	color: var(--accent);
}
#feya-signup .error {
    margin-bottom: 16px;padding: 10px 12px;border: 1px solid var(--feya-signup-line-strong);border-radius: 8px;background: var(--feya-signup-surface);color: var(--feya-signup-accent);font-size: 12px;font-weight: 500;line-height: 1.45;text-align: left; }
#feya-signup .field-group {
    margin-bottom: 16px; }
#feya-signup .field-label {
	display: block;
	text-align: left;
	font-size: 11px;
	font-weight: 500;
	color: var(--muted);
	letter-spacing: 1px;
	text-transform: uppercase;
	margin-bottom: 7px;
}
#feya-signup .field-input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid var(--line-strong);
	border-radius: 8px;
	font-size: 12px;
	font-family: inherit;
	background-color: var(--surface);
	color: var(--text);
	transition: border-color 0.25s, background-color 0.25s;
	appearance: none;
	-webkit-appearance: none;
}
#feya-signup .field-input::placeholder {
	color: var(--placeholder);
	opacity: 1;
}
#feya-signup .field-input:focus {
	border-color: var(--accent);
	background-color: var(--surface);
}
#feya-signup .field-input.error {
	border-color: var(--accent);
}
#feya-signup .field-input.success {
	border-color: var(--ok);
}
#feya-signup .field-group.has-error .field-input {
    border-color: var(--feya-signup-accent); }
#feya-signup .gender-row {
    display: flex;gap: 8px; }
#feya-signup .gender-btn {
	flex: 1;
	padding: 12px 8px;
	border-radius: 8px;
	border: 1px solid var(--line-strong);
	background: var(--surface);
	color: var(--muted);
	font-size: 12px;
	font-weight: 500;
	cursor: pointer;
	transition: all 0.2s;
	-webkit-tap-highlight-color: transparent;
}
#feya-signup .gender-btn:hover {
	border-color: var(--accent-soft);
	color: var(--text);
}
#feya-signup .gender-btn.active {
	border-color: var(--accent);
	background: var(--accent-soft);
	color: var(--text);
}
#feya-signup .date-row {
    display: flex;gap: 8px; }
#feya-signup .date-row .field-input {
    text-align: center;padding: 12px 8px; }
#feya-signup .date-row .field-input[name="day"],
#feya-signup .date-row .field-input[name="month"] {
    flex: 1; }
#feya-signup .date-row .field-input[name="year"] {
    flex: 1.6; }
#feya-signup .error-msg {
	display: none;
	text-align: left;
	color: var(--accent);
	font-size: 11px;
	font-weight: 500;
	margin-top: 6px;
	padding-left: 4px;
	letter-spacing: 0.3px;
}
#feya-signup .error-msg.visible {
    display: block; }
#feya-signup .divider {
	height: 1px;
	background: var(--line);
	margin: 8px 0 20px;
}
#feya-signup .btn {
    width: 100%;padding: 14px;font-size: 13px;font-weight: 500;font-family: inherit;border-radius: 8px;cursor: pointer;transition: all 0.2s;border: none;letter-spacing: 0.5px; }
#feya-signup .btn--main {
	background: var(--accent-btn);
	color: #fff;
	margin-bottom: 12px;
}
#feya-signup .btn--main:hover {
	box-shadow: 0 10px 30px var(--accent-soft);
	transform: translateY(-1px);
}
#feya-signup .btn--main:active {
	transform: scale(0.98);
	box-shadow: 0 4px 12px var(--accent-soft);
}
#feya-signup .btn--main:disabled {
    opacity: 0.5;cursor: not-allowed;transform: none;box-shadow: none; }
#feya-signup .btn--secondary {
	background-color: var(--surface);
	color: var(--muted);
	border: 1px solid var(--line-strong);
	font-weight: 500;
}
#feya-signup .btn--secondary:hover {
	border-color: var(--accent);
	color: var(--text);
}
#feya-signup .btn--secondary:active {
    transform: scale(0.98); }
#feya-signup .input-wrap {
    position: relative; }
#feya-signup .input-wrap .field-input {
    padding-right: 50px; }
#feya-signup .toggle-pass {
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	padding: 0;
	color: var(--muted);
	font-size: 16px;
	transition: color 0.2s;
	line-height: 1;
}
#feya-signup .toggle-pass:hover {
	color: var(--text);
}
#feya-signup .pass-strength {
    display: flex;gap: 4px;margin-top: 8px; }
#feya-signup .pass-strength__bar {
	height: 3px;
	flex: 1;
	border-radius: 2px;
	background: var(--line);
	transition: background 0.3s;
}
#feya-signup .pass-strength__bar.weak {
	background: var(--accent);
}
#feya-signup .pass-strength__bar.medium {
	background: color-mix(in srgb, var(--accent) 60%, transparent);
}
#feya-signup .pass-strength__bar.strong {
	background: var(--ok);
}
#feya-signup .consent-row {
    display: flex;align-items: flex-start;gap: 12px;margin: 4px 0 8px; }
#feya-signup .consent-checkbox {
	width: 20px;
	height: 20px;
	border-radius: 6px;
	border: 1px solid var(--line-strong);
	background: var(--surface);
	appearance: none;
	-webkit-appearance: none;
	cursor: pointer;
	flex-shrink: 0;
	margin-top: 1px;
	transition: all .2s;
	position: relative;
}
#feya-signup .consent-checkbox:checked {
	background: var(--accent);
	border-color: var(--accent);
}
#feya-signup .consent-checkbox:checked::after {
	content: '';
	position: absolute;
	left: 5px;
	top: 2px;
	width: 6px;
	height: 10px;
	border: 2px solid white;
	border-top: none;
	border-left: none;
	transform: rotate(45deg);
}
#feya-signup .consent-text {
	font-size: 11px;
	color: var(--muted);
	font-weight: 500;
	line-height: 1.6;
	text-align: left;
}
#feya-signup .consent-text a {
	color: var(--accent);
	text-decoration: underline;
	text-decoration-color: color-mix(in srgb, var(--accent) 35%, transparent);
	cursor: pointer;
}
#feya-signup .consent-text a:hover {
    opacity: 0.8; }
#feya-signup .legal-backdrop {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,0.85);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
	z-index: 200;
	display: none;
	align-items: flex-end;
	justify-content: center;
}
#feya-signup .legal-backdrop.open {
	display: flex;
	animation: lgIn .22s ease;
}
@keyframes feyaSignupLgIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
#feya-signup .legal-modal {
	background: var(--feya-signup-card);
	border: 1px solid var(--feya-signup-line);
	border-radius: 24px 24px 0 0;
	width: 100%;
	max-width: 560px;
	height: 85dvh;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}
#feya-signup .legal-modal__header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px 14px;
	border-bottom: 1px solid rgba(255,255,255,0.07);
	flex-shrink: 0;
}
#feya-signup .legal-modal__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--text);
	flex: 1;
	margin-right: 12px;
}
#feya-signup .legal-modal__close {
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--surface);
	border: none;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	color: var(--muted);
	flex-shrink: 0;
}
#feya-signup .legal-modal__close svg {
    width: 16px;height: 16px; }
#feya-signup .legal-modal__body {
    flex: 1;overflow-y: auto;padding: 18px 20px 32px; }
#feya-signup .legal-modal__body::-webkit-scrollbar {
    width: 3px; }
#feya-signup .legal-modal__body::-webkit-scrollbar-thumb {
	background: var(--surface);
	border-radius: 2px;
}
#feya-signup .legal-text {
	font-size: 13px;
	font-weight: 400;
	color: var(--muted);
	line-height: 1.75;
}
#feya-signup .legal-text strong,
#feya-signup .legal-text b {
	color: var(--text);
	font-weight: 700;
}
#feya-signup .legal-text p { margin-bottom: 12px; }
#feya-signup .legal-text ul { padding-left: 18px; margin-bottom: 12px; }
#feya-signup .legal-text li { margin-bottom: 6px; }
#feya-signup .feya-signup-theme-toggle {
    position: fixed;top: 14px;right: 14px;z-index: 120;width: 42px;height: 42px;padding: 0;margin: 0;display: flex;align-items: center;justify-content: center;border: 1px solid var(--feya-signup-line);border-radius: 50%;background: var(--feya-signup-surface);color: var(--feya-signup-muted);cursor: pointer;flex-shrink: 0;-webkit-tap-highlight-color: transparent;transition: transform 0.1s; }
#feya-signup .feya-signup-theme-toggle:active {
    transform: scale(0.94); }
#feya-signup .feya-signup-theme-toggle:focus-visible {
    outline: 2px solid var(--feya-signup-accent);outline-offset: 2px; }
#feya-signup .feya-signup-theme-toggle svg {
    width: 20px;height: 20px;pointer-events: none; }
#feya-signup .feya-signup-theme-toggle .feya-signup-theme-toggle__moon { display: block; }
#feya-signup .feya-signup-theme-toggle .feya-signup-theme-toggle__sun { display: none; }
html[data-theme="dark"] #feya-signup .feya-signup-theme-toggle .feya-signup-theme-toggle__moon { display: none; }
html[data-theme="dark"] #feya-signup .feya-signup-theme-toggle .feya-signup-theme-toggle__sun { display: block; }

@media screen and (min-width: 600px) {
	#feya-signup {
		max-width: none;
		margin: 0;
	}
	#feya-signup .header,
	#feya-signup .chat-header,
	#feya-signup .pv-header {
		width: 100%;
		max-width: none;
		margin: 0;
		padding-left: max(24px, calc((100% - 640px) / 2));
		padding-right: max(24px, calc((100% - 640px) / 2));
	}
	#feya-signup .content,
	#feya-signup .scroll,
	#feya-signup .feed,
	#feya-signup .chats-list {
		width: 100%;
		max-width: 640px;
		margin-left: auto;
		margin-right: auto;
	}
	#feya-signup .modal,
	#feya-signup .sup-modal,
	#feya-signup .legal-modal,
	#feya-signup .confirm-modal {
		width: 100%;
		max-width: 520px;
		margin-left: auto;
		margin-right: auto;
	}
}

@media screen and (min-width: 900px) {
	#feya-signup .content,
	#feya-signup .scroll,
	#feya-signup .feed,
	#feya-signup .chats-list {
		max-width: 720px;
	}
	#feya-signup .header,
	#feya-signup .chat-header,
	#feya-signup .pv-header {
		padding-left: max(24px, calc((100% - 720px) / 2));
		padding-right: max(24px, calc((100% - 720px) / 2));
	}
	#feya-signup .modal,
	#feya-signup .sup-modal,
	#feya-signup .legal-modal,
	#feya-signup .confirm-modal {
		max-width: 560px;
	}
}
