/**
 * WooCommerce auth stranice (prijava, registracija, izgubljena šifra) — Rigel izgled.
 */

body.rigel-react-chrome-active {
	--rigel-auth-cream: #f7f5f1;
	--rigel-auth-cream-soft: #fbfaf7;
	--rigel-auth-forest: #2f3e33;
	--rigel-auth-forest-2: #4b5f51;
	--rigel-auth-gold: #c89a43;
	--rigel-auth-gold-hover: #ad8135;
	--rigel-auth-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
	--rigel-auth-sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--rigel-auth-field-font: 1.4rem;
	--rigel-auth-label-font: 1.29rem;
	background: var(--rigel-auth-cream) !important;
}

body.rigel-react-chrome-active #wrap,
body.rigel-react-chrome-active #main,
body.rigel-react-chrome-active .site-content,
body.rigel-react-chrome-active #content,
body.rigel-react-chrome-active #content-wrap,
body.rigel-react-chrome-active .content-area,
body.rigel-react-chrome-active #primary {
	background: var(--rigel-auth-cream) !important;
}

body.rigel-react-chrome-active #footer,
body.rigel-react-chrome-active #footer-bottom,
body.rigel-react-chrome-active #footer-widgets,
body.rigel-react-chrome-active .site-footer,
body.rigel-react-chrome-active #scroll-top {
	display: none !important;
}

body.rigel-react-chrome-active .page-header,
body.rigel-react-chrome-active .site-breadcrumbs,
body.rigel-react-chrome-active .entry-header {
	display: none !important;
}

body.rigel-react-chrome-active .woocommerce {
	max-width: 640px;
	margin: 0 auto;
	padding: clamp(24px, 5vw, 44px) clamp(18px, 4vw, 32px) clamp(44px, 8vw, 72px);
	font-family: var(--rigel-auth-sans);
	color: #1a1c1d;
}

body.rigel-react-chrome-active .woocommerce > h1,
body.rigel-react-chrome-active .woocommerce > h2,
body.rigel-react-chrome-active .entry-title {
	display: none !important;
}

.rigel-auth-page-head {
	margin: 0 0 1.75rem;
	padding: 22px 22px 18px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--rigel-auth-forest) 0%, #3a4d40 62%, rgba(200, 154, 67, 0.18) 100%);
	border: 1px solid rgba(200, 154, 67, 0.28);
	box-shadow: 0 16px 40px rgba(47, 62, 51, 0.16);
	text-align: center;
}

.rigel-auth-page-head__title {
	margin: 0;
	font-family: var(--rigel-auth-serif);
	font-size: clamp(2rem, 6vw, 2.45rem);
	font-weight: 600;
	line-height: 1.12;
	color: #fff;
}

.rigel-auth-page-head__tag {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.42rem;
	margin: 0.55rem 0 0;
	font-family: var(--rigel-auth-sans);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.78);
}

.rigel-auth-page-head__star {
	color: var(--rigel-auth-gold);
	font-size: 0.82rem;
}

body.rigel-react-chrome-active .woocommerce > p,
body.rigel-react-chrome-active .woocommerce-ResetPassword > p:first-of-type {
	font-size: 1.05rem;
	line-height: 1.65;
	color: #5c5f62;
	text-align: center;
	margin: 0 0 1.5rem;
}

body.rigel-react-chrome-active .woocommerce-ResetPassword.lost_reset_password,
body.rigel-react-chrome-active #customer_login .woocommerce-form,
body.rigel-react-chrome-active .woocommerce-form-login,
body.rigel-react-chrome-active .woocommerce-form-register {
	background: var(--rigel-auth-cream-soft);
	border: 1px solid rgba(47, 62, 51, 0.12);
	border-radius: 16px;
	box-shadow: 0 18px 48px rgba(20, 28, 22, 0.08);
	padding: clamp(1.35rem, 4vw, 1.85rem);
}

body.rigel-react-chrome-active .woocommerce-form-login h2,
body.rigel-react-chrome-active .woocommerce-form-register h2 {
	margin: 0 0 1rem;
	font-family: var(--rigel-auth-serif);
	font-size: clamp(1.55rem, 4vw, 1.85rem);
	font-weight: 600;
	line-height: 1.15;
	color: var(--rigel-auth-forest);
}

body.rigel-react-chrome-active .rigel-sl {
	margin: 0 0 1rem;
	padding: 14px;
	border: 1px solid rgba(47, 62, 51, 0.1);
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.72);
}

body.rigel-react-chrome-active .rigel-sl__label {
	margin: 0 0 10px;
	font-family: var(--rigel-auth-sans);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: #5c5f62;
}

body.rigel-react-chrome-active .rigel-sl__buttons {
	flex-direction: column;
	gap: 10px;
}

body.rigel-react-chrome-active .rigel-sl__btn {
	width: 100%;
	min-height: 52px;
	border-radius: 10px;
	font-family: var(--rigel-auth-sans);
	font-size: 1rem;
	font-weight: 700;
	filter: none;
	transform: none;
}

body.rigel-react-chrome-active .rigel-sl__btn--google,
body.rigel-react-chrome-active .rigel-sl__btn--microsoft {
	background: #fff !important;
	color: var(--rigel-auth-forest) !important;
	border: 1px solid rgba(47, 62, 51, 0.18) !important;
	box-shadow: 0 4px 14px rgba(47, 62, 51, 0.08);
}

body.rigel-react-chrome-active .rigel-sl__btn--google:hover,
body.rigel-react-chrome-active .rigel-sl__btn--microsoft:hover {
	background: #fff !important;
	border-color: rgba(200, 154, 67, 0.55) !important;
	color: var(--rigel-auth-gold-hover) !important;
	transform: translateY(-1px);
}

body.rigel-react-chrome-active .rigel-sl__btn-icon {
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #fff;
	box-shadow: inset 0 0 0 1px rgba(47, 62, 51, 0.14);
}

body.rigel-react-chrome-active .rigel-sl__btn--google .rigel-sl__btn-icon svg path:first-child {
	fill: var(--rigel-auth-forest) !important;
}

body.rigel-react-chrome-active .rigel-sl__or span {
	background: var(--rigel-auth-cream-soft);
	color: #5c5f62;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

body.rigel-react-chrome-active .woocommerce-ResetPassword label,
body.rigel-react-chrome-active .woocommerce-form label {
	font-size: var(--rigel-auth-label-font);
	font-weight: 600;
	color: #1f2723;
}

body.rigel-react-chrome-active .woocommerce-ResetPassword input.input-text,
body.rigel-react-chrome-active .woocommerce-form input.input-text {
	width: 100%;
	min-height: 64px;
	padding: 0 16px;
	border-radius: 10px;
	border: 1px solid rgba(47, 62, 51, 0.16);
	background: #fff;
	font-family: var(--rigel-auth-sans);
	font-size: var(--rigel-auth-field-font);
	color: #1a1c1d;
}

body.rigel-react-chrome-active .woocommerce-ResetPassword input.input-text:focus,
body.rigel-react-chrome-active .woocommerce-form input.input-text:focus {
	border-color: rgba(200, 154, 67, 0.65);
	box-shadow: 0 0 0 3px rgba(200, 154, 67, 0.15);
	outline: none;
}

body.rigel-react-chrome-active .woocommerce-form__label-for-checkbox,
body.rigel-react-chrome-active .woocommerce-form-login__rememberme {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 1.12rem;
	font-weight: 500;
	color: #5c5f62;
}

body.rigel-react-chrome-active input[type="checkbox"] {
	accent-color: var(--rigel-auth-gold);
}

body.rigel-react-chrome-active .woocommerce-ResetPassword .woocommerce-Button,
body.rigel-react-chrome-active .woocommerce-ResetPassword button,
body.rigel-react-chrome-active .woocommerce-form .woocommerce-button,
body.rigel-react-chrome-active .woocommerce-form button[type="submit"] {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 56px !important;
	margin-top: 0.5rem;
	border: 1px solid var(--rigel-auth-gold) !important;
	border-radius: 10px !important;
	background: var(--rigel-auth-gold) !important;
	color: #fff !important;
	font-family: var(--rigel-auth-sans) !important;
	font-size: 1.12rem !important;
	font-weight: 700 !important;
	letter-spacing: 0.02em;
	text-transform: none !important;
	box-shadow: 0 8px 22px rgba(200, 154, 67, 0.28);
	transition: background 0.2s ease, border-color 0.2s ease;
}

body.rigel-react-chrome-active .woocommerce-ResetPassword .woocommerce-Button:hover,
body.rigel-react-chrome-active .woocommerce-form .woocommerce-button:hover {
	background: var(--rigel-auth-gold-hover) !important;
	border-color: var(--rigel-auth-gold-hover) !important;
	color: #fff !important;
}

body.rigel-react-chrome-active .woocommerce-LostPassword a,
body.rigel-react-chrome-active .lost_password a {
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--rigel-auth-forest);
	text-decoration: underline;
	text-underline-offset: 2px;
}

body.rigel-react-chrome-active .woocommerce-LostPassword a:hover,
body.rigel-react-chrome-active .lost_password a:hover {
	color: var(--rigel-auth-gold-hover);
}

body.rigel-react-chrome-active .woocommerce-notices-wrapper {
	margin-bottom: 1rem;
}

body.rigel-react-chrome-active .woocommerce-notices-wrapper .woocommerce-message,
body.rigel-react-chrome-active .woocommerce-notices-wrapper .woocommerce-error,
body.rigel-react-chrome-active .woocommerce-notices-wrapper .woocommerce-info {
	border-radius: 12px;
	border: 1px solid rgba(47, 62, 51, 0.1);
	background: #fff;
	padding: 0.9rem 1rem;
	font-size: 1.05rem;
}

body.rigel-react-chrome-active #customer_login {
	display: block;
	max-width: none;
}

body.rigel-react-chrome-active #customer_login .u-column1,
body.rigel-react-chrome-active #customer_login .u-column2 {
	width: 100% !important;
	float: none !important;
	margin-bottom: 1.25rem;
}

@media (max-width: 767px) {
	body.rigel-react-chrome-active .woocommerce {
		padding-top: 16px;
	}

	.rigel-auth-page-head {
		padding: 18px 16px 16px;
		border-radius: 16px;
	}

	body.rigel-react-chrome-active .woocommerce-form-login,
	body.rigel-react-chrome-active .woocommerce-form-register {
		padding: 1.15rem;
	}
}
