.rsg-login-wrap {
	min-height: 70vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 32px 16px;
}

.rsg-login-card {
	width: 100%;
	max-width: 440px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 24px;
	padding: 28px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.rsg-login-title {
	margin: 0 0 8px;
	font-size: clamp(1.8rem, 6vw, 2.4rem);
	line-height: 1.1;
}

.rsg-login-intro {
	margin: 0 0 24px;
	font-size: 1rem;
	line-height: 1.5;
	opacity: 0.8;
}

.rsg-login-help {
	margin: 6px 0 0;
	font-size: 0.92rem;
	line-height: 1.4;
	opacity: 0.72;
}

.rsg-login-error {
	margin-bottom: 18px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #fff1f1;
	border: 1px solid #f3b4b4;
	color: #7a1f1f;
}

.rsg-login-success {
	margin-bottom: 18px;
	padding: 12px 14px;
	border-radius: 14px;
	background: #f0fdf4;
	border: 1px solid #86efac;
	color: #166534;
}

.rsg-login-form label {
	display: block;
	margin: 16px 0 8px;
	font-weight: 700;
}

.rsg-login-form input[type="text"],
.rsg-login-form input[type="email"],
.rsg-login-form input[type="password"] {
	width: 100%;
	min-height: 48px;
	border-radius: 14px;
	border: 1px solid rgba(0, 0, 0, 0.18);
	padding: 10px 14px;
	font-size: 1rem;
}

.rsg-login-remember {
	display: flex !important;
	align-items: center;
	gap: 10px;
	margin: 18px 0;
	font-weight: 400 !important;
}

.rsg-login-remember input {
	width: 18px;
	height: 18px;
}

.rsg-login-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	border: 0;
	border-radius: 999px;
	padding: 12px 18px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	background: #1f2937;
	color: #fff;
}

.rsg-login-button:hover,
.rsg-login-button:focus {
	color: #fff;
	filter: brightness(1.08);
}

.rsg-login-links {
	margin: 18px 0 0;
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

.rsg-login-links-separator {
	opacity: 0.5;
}

body.rsg-login-page-template {
	margin: 0;
	background: #f7f4ef;
}

body.rsg-auth-body {
	margin: 0;
	background: #f7f4ef;
}

.rsg-login-page-main {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
}

.rsg-login-page-content {
	width: 100%;
	max-width: 520px;
}

.rsg-auth-page {
	min-height: 100vh;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px 16px;
	box-sizing: border-box;
}

.rsg-auth-card {
	width: 100%;
	max-width: 440px;
	background: #fff;
	border: 1px solid rgba(0, 0, 0, 0.08);
	border-radius: 24px;
	padding: 28px;
	box-shadow: 0 18px 45px rgba(0, 0, 0, 0.08);
}

.rsg-auth-card h1 {
	margin: 0 0 8px;
	font-size: clamp(1.8rem, 6vw, 2.4rem);
	line-height: 1.1;
}

.rsg-auth-card p {
	line-height: 1.5;
}

.rsg-auth-error {
	margin: 18px 0;
	padding: 12px 14px;
	border-radius: 14px;
	background: #fff1f1;
	border: 1px solid #f3b4b4;
	color: #7a1f1f;
}

.rsg-auth-form label {
	display: block;
	margin: 16px 0 8px;
	font-weight: 700;
}

.rsg-auth-form input[type="text"] {
	width: 100%;
	min-height: 48px;
	border-radius: 14px;
	border: 1px solid rgba(0, 0, 0, 0.18);
	padding: 10px 14px;
	font-size: 1rem;
	box-sizing: border-box;
}

.rsg-auth-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 50px;
	border: 0;
	border-radius: 999px;
	padding: 12px 18px;
	margin-top: 12px;
	font-size: 1rem;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	background: #1f2937;
	color: #fff;
}

.rsg-auth-button:hover,
.rsg-auth-button:focus {
	color: #fff;
	filter: brightness(1.08);
}

.rsg-auth-cancel {
	margin: 18px 0 0;
	text-align: center;
}
