/* ==========================================
   CUSTOM AUTH FORMS - SLIDING PANEL STYLE
   ========================================== */

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,800');

* {
	box-sizing: border-box;
}
.elementor-element.elementor-element-3e0d6f1.elementor-widget.elementor-widget-global.elementor-global-16758.elementor-widget-spacer {
    display: none;
}
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* Page Wrapper */
body.woocommerce-account:not(.logged-in) {
	background: #0b1020;
}
button.woocommerce-button.button {
    border: 1px solid;
}
.woocommerce form .password-input, .woocommerce-page form .password-input {
    width: 100%;
}
body.woocommerce-account:not(.logged-in) .site-header,
body.woocommerce-account:not(.logged-in) .site-footer {
	display: none !important;
}

.woocommerce-account:not(.logged-in) .woocommerce {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	font-family: 'Montserrat', sans-serif;
	padding: 40px 20px;
}

/* Container */
.custom-auth-wrapper {
	width: 100%;
	max-width: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
}

.auth-container {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 14px 28px rgba(0,0,0,0.25), 0 10px 10px rgba(0,0,0,0.22);
	position: relative;
	overflow: hidden;
	width: 920px;
	max-width: 100%;
	min-height: 670px;
}

/* Single form (no registration) */
.auth-container .single-form {
	position: relative;
	width: 100%;
	opacity: 1;
	z-index: 2;
}

/* Form Containers */
.form-container {
	position: absolute;
	top: 0;
	height: 100%;
	transition: all 0.6s ease-in-out;
}

.sign-in-container {
	left: 0;
	width: 50%;
	z-index: 2;
}

.auth-container.right-panel-active .sign-in-container {
	transform: translateX(100%);
}

.sign-up-container {
	left: 0;
	width: 50%;
	opacity: 0;
	z-index: 1;
}

.auth-container.right-panel-active .sign-up-container {
	transform: translateX(100%);
	opacity: 1;
	z-index: 5;
	animation: show 0.6s;
}

@keyframes show {
	0%, 49.99% {
		opacity: 0;
		z-index: 1;
	}
	50%, 100% {
		opacity: 1;
		z-index: 5;
	}
}

/* Forms */
form {
	background-color: #FFFFFF;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 40px;
	height: 100%;
	text-align: center;
}

form h1 {
	font-weight: bold;
	margin: 0 0 8px 0;
	font-size: 28px;
	color: #333;
}

form span {
	font-size: 12px;
	color: #666;
	margin: 8px 0 12px 0;
}

form .info-text {
	font-size: 12px;
	color: #666;
	margin: 8px 0;
	line-height: 1.4;
}

form a {
	color: #333;
	font-size: 14px;
	text-decoration: none;
	margin: 10px 0;
	transition: color 0.3s ease;
}

form a:hover {
	color: #7c3aed;
}

form input {
	background-color: #eee;
	border: 1px solid #ddd;
	padding: 12px 16px;
	margin: 6px 0;
	width: 100%;
	max-width: 100%;
	border-radius: 6px;
	font-size: 14px;
	font-family: 'Montserrat', sans-serif;
	box-sizing: border-box;
	min-height: 48px;
	line-height: 1.5;
}

form input:focus {
	outline: none;
	background-color: #e0e0e0;
}

form button {
	border-radius: 20px;
	border: 1px solid #7c3aed;
	background-color: #7c3aed;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: bold;
	padding: 12px 45px;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: transform 80ms ease-in;
	cursor: pointer;
	margin-top: 8px;
	font-family: 'Montserrat', sans-serif;
}

form button:active {
	transform: scale(0.95);
}

form button:focus {
	outline: none;
}

form button:hover {
	background-color: #6d28d9;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

/* Social Container */
.social-container {
	margin: 12px 0;
}

/* Mobile Toggle Link */
.mobile-toggle-link {
	display: none;
	font-size: 14px;
	color: #666;
	margin: 0 0 10px 0;
}

.mobile-toggle-link a {
	color: #7c3aed;
	font-weight: 600;
	text-decoration: none;
	margin-left: 5px;
}

.mobile-toggle-link a:hover {
	text-decoration: underline;
}

/* Overlay Container */
.overlay-container {
	position: absolute;
	top: 0;
	left: 50%;
	width: 50%;
	height: 100%;
	overflow: hidden;
	transition: transform 0.6s ease-in-out;
	z-index: 10;
}

.auth-container.right-panel-active .overlay-container {
	transform: translateX(-100%);
}

/* Overlay */
.overlay {
	background: #7c3aed;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: 0 0;
	color: #FFFFFF;
	position: relative;
	left: -100%;
	height: 100%;
	width: 200%;
	transform: translateX(0);
	transition: transform 0.6s ease-in-out;
}

.auth-container.right-panel-active .overlay {
	transform: translateX(50%);
}

/* Overlay Panels */
.overlay-panel {
	position: absolute;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	padding: 0 40px;
	text-align: center;
	top: 0;
	height: 100%;
	width: 50%;
	transform: translateX(0);
	transition: transform 0.6s ease-in-out;
}

.overlay-panel h1 {
	font-weight: bold;
	margin: 0 0 15px 0;
	font-size: 32px;
}

.overlay-panel p {
	font-size: 14px;
	font-weight: 100;
	line-height: 20px;
	letter-spacing: 0.5px;
	margin: 20px 0 30px;
}

.overlay-panel button {
	border-radius: 20px;
	border: 1px solid #FFFFFF;
	background-color: transparent;
	color: #FFFFFF;
	font-size: 12px;
	font-weight: bold;
	padding: 12px 45px;
	letter-spacing: 1px;
	text-transform: uppercase;
	transition: all 0.3s ease;
	cursor: pointer;
}

.overlay-panel button:hover {
	background-color: #FFFFFF;
	color: #7c3aed;
	transform: translateY(-2px);
}

.overlay-left {
	transform: translateX(-20%);
}

.auth-container.right-panel-active .overlay-left {
	transform: translateX(0);
}

.overlay-right {
	right: 0;
	transform: translateX(0);
}

.auth-container.right-panel-active .overlay-right {
	transform: translateX(20%);
}

/* WooCommerce Messages */
.woocommerce-message,
.woocommerce-error,
.woocommerce-info {
	margin-bottom: 20px;
	padding: 12px 16px;
	border-radius: 8px;
	border-left: 4px solid;
	font-size: 14px;
}

.woocommerce-error {
	background: #fef2f2;
	border-left-color: #dc2626;
	color: #991b1b;
}

.woocommerce-message {
	background: #f0fdf4;
	border-left-color: #16a34a;
	color: #166534;
}

.woocommerce-info {
	background: #eff6ff;
	border-left-color: #2563eb;
	color: #1e40af;
}

/* Responsive */
@media (max-width: 768px) {
	.auth-container {
		min-height: 700px;
	}

	.form-container {
		width: 100% !important;
		position: absolute;
		top: 0;
		left: 0;
		transition: all 0.6s ease-in-out;
	}

	.sign-in-container {
		width: 100% !important;
		z-index: 2;
		opacity: 1;
		transform: translateX(0);
	}

	.auth-container.right-panel-active .sign-in-container {
		transform: translateX(-100%);
		opacity: 0;
		z-index: 1;
	}

	.sign-up-container {
		width: 100% !important;
		z-index: 1;
		opacity: 0;
		transform: translateX(100%);
	}

	.auth-container.right-panel-active .sign-up-container {
		transform: translateX(0);
		opacity: 1;
		z-index: 2;
	}

	.overlay-container {
		display: none;
	}

	/* Show mobile toggle link */
	.mobile-toggle-link {
		display: block;
	}

	form {
		padding: 0 30px;
	}
}

@media (max-width: 480px) {
	.auth-container {
		min-height: 650px;
	}

	form {
		padding: 0 20px;
	}

	form h1 {
		font-size: 24px;
	}

	form button {
		padding: 10px 35px;
	}
}
