@import '/static/style/css/base.css';

.content_page_login {
	min-height: calc(100vh - var(--header-height) - var(--footer-height) - 80px);
	padding: 60px 30px;
}

.login-form {
	max-width: 300px;
	border: 2px solid var(--light-accent);
	border-radius: 10px;
	margin: 0 auto;
	padding: 20px;
	box-shadow: 3px 3px 4px 0px rgba(50, 50, 50, 0.3);
}

.login-form__header {
	color: var(--dark-shades);
	font-size: 1.5rem;
	text-align: center;
	margin: 0 0 0.8em;
}

.login-form__message {
	font-size: 0.8rem;
	text-align: left;
	color: #f00;
	margin: 0 0 0.5rem;
}

.login-form__form {
	display: block;
	position: relative;
	box-sizing: border-box;
}

/* F028 registration honeypot — visually hidden (not type=hidden); scoped under .login-form */
.login-form__honeypot {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
	left: 0;
	top: 0;
}

.login-form__honeypot-label,
.login-form__honeypot-input {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	clip-path: inset(50%);
	white-space: nowrap;
	border: 0;
}

.login-form__label {
	color: var(--dark-shades);
	font-size: 0.9rem;
}

.login-form__input {
	display: block;
	width: 100%;
	font-size: 0.9rem;
	border: 1px solid var(--dark-gray);
	padding: 8px;
	margin-bottom: 1rem;
	box-sizing: inherit;
}

.login-form__agree-checkbox {
	height: 20px;
	display: inline-block;
	vertical-align: middle;
	padding: 0;
	margin: 0;
}

.login-form__agree-label {
	font-size: 0.8rem;
	display: inline-block;
	line-height: 1rem;
	vertical-align: middle;
	margin: 0 0 0 4px;
	cursor: pointer;
	user-select: none;
}

.login-form__privacy-notice {
	font-size: 0.8rem;
	line-height: 1.35;
	color: var(--dark-shades);
	margin: 0.75rem 0 0;
}

.login-form__privacy-link {
	color: var(--light-accent);
	text-decoration: underline;
}

.login-form__privacy-link:hover {
	color: var(--light-shades);
}

.login-form__button {
	display: block;
	width: 100%;
	padding: 8px 16px;
	margin: 1rem 0;
	user-select: none;
	border: none;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	box-sizing: inherit;
	background-color: var(--main-brand-color);
	color: #fff;
	font-size: 1rem;
}

.login-form__registration {
	display: block;
	float: left;
	color: var(--dark-shades);
	font-size: 0.8rem;
	text-align: left;
	text-decoration: underline;
	width: 50%;
	box-sizing: inherit;
	overflow: hidden;
	white-space: nowrap;
	cursor: pointer;
}

.login-form__registration:hover {
	color: var(--light-shades);
}

.login-form__restore {
	display: block;
	font-size: 0.8rem;
	color: var(--dark-shades);
	text-align: right;
	text-decoration: underline;
	margin-left: 50%;
	box-sizing: inherit;
	overflow: hidden;
	white-space: nowrap;
	cursor: pointer;
}

.login-form__restore:hover {
	color: var(--light-shades);
}

/* Registration confirmation */
.registration-confirmation {
	max-width: 400px;
	border: 2px solid var(--light-accent);
	border-radius: 10px;
	box-sizing: border-box;
	margin: 0 auto;
	padding: 20px;
	box-shadow: 3px 3px 4px 0 rgba(50, 50, 50, 0.3);
}

.registration-confirmation__header {
	color: var(--dark-shades);
	font-size: 1.3rem;
	text-align: center;
	margin: 0 0 1rem;
}

.registration-confirmation__message {
	color: var(--dark-shades);
	font-size: 1rem;
	text-align: center;
	margin: 2rem 0;
}

/* Restore form helpers (F027) */
.login-form__hint {
	color: var(--dark-shades);
	font-size: 0.8rem;
	line-height: 1.35;
	text-align: left;
	margin: 0 0 1rem;
}

.login-form__back {
	display: block;
	color: var(--dark-shades);
	font-size: 0.8rem;
	text-align: left;
	text-decoration: underline;
	cursor: pointer;
}

.login-form__back:hover {
	color: var(--light-shades);
}

/* Profile (F027) — scoped under .profile-form; brand tokens only */
.profile-form {
	max-width: 360px;
	border: 2px solid var(--light-accent);
	border-radius: 10px;
	margin: 0 auto;
	padding: 20px;
	box-shadow: 3px 3px 4px 0 rgba(50, 50, 50, 0.3);
	box-sizing: border-box;
}

.profile-form__header {
	color: var(--dark-shades);
	font-size: 1.5rem;
	text-align: center;
	margin: 0 0 0.8em;
}

.profile-form__success {
	color: var(--light-shades);
	font-size: 0.9rem;
	text-align: center;
	margin: 0 0 1rem;
}

.profile-form__form {
	display: block;
	box-sizing: border-box;
}

.profile-form__field {
	margin: 0 0 1rem;
}

.profile-form__label {
	display: block;
	color: var(--dark-shades);
	font-size: 0.9rem;
	margin-bottom: 0.25rem;
}

.profile-form__email {
	display: block;
	color: var(--dark-shades);
	font-size: 1rem;
	word-break: break-word;
}

.profile-form__agree-checkbox {
	height: 20px;
	display: inline-block;
	vertical-align: middle;
	padding: 0;
	margin: 0;
}

.profile-form__agree-label {
	font-size: 0.8rem;
	display: inline-block;
	line-height: 1rem;
	vertical-align: middle;
	margin: 0 0 0 4px;
	cursor: pointer;
	user-select: none;
}

.profile-form__button {
	display: block;
	width: 100%;
	padding: 8px 16px;
	margin: 1rem 0 0;
	user-select: none;
	border: none;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	white-space: nowrap;
	box-sizing: inherit;
	background-color: var(--main-brand-color);
	color: #fff;
	font-size: 1rem;
}