/* Modern auth pages — register & login */

.warcry-modern:has(.wc-auth-page) .sub_head_image {
	display: none !important;
}

.warcry-modern .main_b_holder:has(.wc-auth-page) {
	top: 0 !important;
	min-height: 0 !important;
	padding-top: 132px;
	background: transparent !important;
}

.warcry-modern .sec_b_holder:has(.wc-auth-page) {
	padding-bottom: 48px !important;
	background: none !important;
	margin-top: 0 !important;
	overflow: visible !important;
}

.warcry-modern #body:has(.wc-auth-page) {
	min-height: 0;
	padding-bottom: 0;
}

.warcry-modern .wc-auth-page {
	padding: 0 16px 32px;
	max-width: 720px;
	margin: 0 auto;
	width: 100%;
	box-sizing: border-box;
	position: relative;
	z-index: 20;
}

.warcry-modern .wc-auth-page.content_holder {
	width: 100% !important;
	max-width: 720px !important;
	height: auto !important;
	float: none !important;
}

.warcry-modern .wc-auth-shell {
	background: #12100e;
	border: 1px solid rgba(201, 162, 90, 0.28);
	border-radius: 16px;
	box-shadow:
		0 24px 48px rgba(0, 0, 0, 0.55),
		inset 0 1px 0 rgba(255, 255, 255, 0.05);
	overflow: hidden;
}

.warcry-modern .wc-auth-header {
	padding: 28px 32px 8px;
	text-align: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.warcry-modern .wc-auth-header h1 {
	margin: 0;
	font-size: 1.75rem;
	font-weight: 700;
	color: #e8c878;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
	letter-spacing: 0.02em;
}

.warcry-modern .wc-auth-lead {
	margin: 10px 0 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.62);
	max-width: 36em;
	margin-inline: auto;
}

.warcry-modern .wc-auth-page .error-holder {
	padding: 0 32px;
	margin-top: 20px;
}

.warcry-modern .wc-auth-page .error-holder .error_box,
.warcry-modern .wc-auth-page .error-holder .success_box {
	border-radius: 10px;
	text-align: start;
}

.warcry-modern .wc-auth-form {
	padding: 24px 32px 32px;
}

.warcry-modern .wc-auth-section {
	margin-bottom: 28px;
}

.warcry-modern .wc-auth-section:last-of-type {
	margin-bottom: 8px;
}

.warcry-modern .wc-auth-section__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid rgba(201, 162, 90, 0.15);
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #c9a25a;
}

.warcry-modern .wc-auth-section__title::before {
	content: "";
	flex: 0 0 8px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #c9a25a;
	box-shadow: 0 0 10px rgba(201, 162, 90, 0.6);
}

.warcry-modern .wc-auth-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 14px;
}

@media (min-width: 600px) {
	.warcry-modern .wc-auth-grid--two {
		grid-template-columns: 1fr 1fr;
	}
}

.warcry-modern .wc-auth-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
	width: 100%;
	height: auto !important;
	float: none !important;
	margin: 0 !important;
	clear: both;
}

.warcry-modern .wc-auth-field label {
	display: block;
	float: none !important;
	width: auto;
	height: auto;
	padding: 0;
	box-shadow: none;
	font-size: 0.88rem;
	font-weight: 600;
	color: rgba(255, 255, 255, 0.78);
	text-shadow: none;
}

.warcry-modern .wc-auth-field label .wc-auth-optional {
	font-weight: 400;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.42);
}

.warcry-modern .wc-auth-field input[type="text"],
.warcry-modern .wc-auth-field input[type="password"],
.warcry-modern .wc-auth-field input[type="email"],
.warcry-modern .wc-auth-field select,
.warcry-modern .wc-auth-field .js-select {
	float: none !important;
	width: 100% !important;
	min-width: 0 !important;
	max-width: none;
	height: 44px;
	padding: 0 14px;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 0.95rem;
	color: #f0ebe3;
	background: rgba(0, 0, 0, 0.45);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.25);
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
	box-sizing: border-box;
}

.warcry-modern .wc-auth-field input::placeholder {
	color: rgba(255, 255, 255, 0.32);
}

.warcry-modern .wc-auth-field input:focus,
.warcry-modern .wc-auth-field select:focus {
	border-color: rgba(201, 162, 90, 0.55);
	box-shadow:
		inset 0 2px 6px rgba(0, 0, 0, 0.25),
		0 0 0 3px rgba(201, 162, 90, 0.12);
	background: rgba(0, 0, 0, 0.55);
}

.warcry-modern .wc-auth-birthday {
	display: grid;
	grid-template-columns: 1.4fr 0.7fr 1.1fr;
	gap: 10px;
	width: 100%;
}

.warcry-modern .wc-auth-birthday input,
.warcry-modern .wc-auth-birthday select,
.warcry-modern .wc-auth-birthday .js-select {
	margin: 0 !important;
}

.warcry-modern .wc-auth-hint {
	margin: 6px 0 0;
	font-size: 0.78rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.4);
}

.warcry-modern .wc-auth-actions {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 14px;
	margin-top: 28px;
	padding-top: 24px;
	border-top: 1px solid rgba(255, 255, 255, 0.06);
	height: auto !important;
	float: none !important;
	clear: both;
}

.warcry-modern .wc-auth-submit {
	display: block;
	width: 100%;
	height: 48px;
	padding: 0 24px;
	border: none;
	border-radius: 12px;
	font-family: Vazirmatn, Tahoma, Arial, sans-serif;
	font-size: 1rem;
	font-weight: 700;
	color: #1a1408;
	cursor: pointer;
	background: linear-gradient(180deg, #e8c878 0%, #c9a25a 48%, #a67c3a 100%);
	box-shadow:
		0 4px 16px rgba(201, 162, 90, 0.35),
		inset 0 1px 0 rgba(255, 255, 255, 0.35);
	transition: transform 0.15s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.warcry-modern .wc-auth-submit:hover {
	filter: brightness(1.06);
	box-shadow:
		0 6px 22px rgba(201, 162, 90, 0.45),
		inset 0 1px 0 rgba(255, 255, 255, 0.4);
	transform: translateY(-1px);
}

.warcry-modern .wc-auth-footer {
	padding: 20px 32px 28px;
	text-align: center;
	background: rgba(0, 0, 0, 0.28);
	border-top: 1px solid rgba(255, 255, 255, 0.05);
	font-size: 0.92rem;
	color: rgba(255, 255, 255, 0.55);
}

.warcry-modern .wc-auth-footer a {
	color: #e8c878;
	font-weight: 600;
	text-decoration: none;
}

.warcry-modern .wc-auth-footer a:hover {
	color: #f5d892;
	text-decoration: underline;
}

.warcry-modern .wc-auth-page--login .wc-auth-form {
	padding-bottom: 16px;
}

.warcry-modern .wc-auth-remember-row {
	display: flex;
	align-items: center;
	gap: 8px;
	float: none !important;
	height: auto !important;
	padding: 0;
	box-shadow: none;
	margin-bottom: 4px;
}

.warcry-modern .wc-auth-remember-row p {
	margin: 0;
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.88rem;
}

.warcry-modern .wc-auth-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 4px;
}

.warcry-modern .wc-auth-links a {
	color: #c9a25a;
	font-size: 0.88rem;
}

.warcry-modern .wc-auth-page .container_2,
.warcry-modern .wc-auth-page .container_3 {
	width: 100% !important;
	max-width: none !important;
	background: transparent !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	border-radius: 0 !important;
	height: auto !important;
	min-height: 0 !important;
	overflow: visible !important;
}

.warcry-modern .wc-auth-page form .row {
	width: 100% !important;
	height: auto !important;
	float: none !important;
}

.warcry-modern .wc-auth-page .seperator {
	display: none !important;
}

.warcry-modern .wc-auth-honeypot {
	position: absolute !important;
	left: -10000px !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	opacity: 0;
	pointer-events: none;
}

.warcry-modern .wc-page-notification .wc-notification-headline {
	margin: 0 0 16px;
	font-size: 1.35rem;
	color: #e8c878;
	font-weight: 700;
}

.warcry-modern .wc-notification-text {
	font-size: 0.98rem;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.78);
	padding: 0 8px 8px;
}

.warcry-modern .wc-auth-submit--link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #1a1408 !important;
}

.warcry-modern .wc-auth-page form::after,
.warcry-modern .wc-auth-page .wc-auth-shell::after,
.warcry-modern .wc-auth-page .container_2::after,
.warcry-modern .wc-auth-page .container_3::after {
	content: "";
	display: table;
	clear: both;
}
