/* Reset body styles for login page */


body.woocommerce-account {
	margin: 0;
	padding: 0;
}

.woocommerce {
	margin: 0 !important;
	padding: 0 !important;
}

.custom-login-page {
	min-height: 100vh;
	background: url('https://webcrowd.co.in/wp-content/uploads/2025/10/background-11-ezgif.com-png-to-webp-converter.webp');
	display: flex;
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	align-items: center;
	justify-content: center;
	padding: 20px;
	box-sizing: border-box;
	position: relative;
}

.custom-login-card {
	background: white;
	border-radius: 24px;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
	max-width: 1000px;
	width: 100%;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	overflow: hidden;
	position: relative;
}

.custom-welcome-panel {
	background: #FFFFFF;
	padding: 80px 50px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.custom-logo-icon {

  width: 70px;
  height: 70px;
  background-image: url('https://webcrowd.co.in/wp-content/uploads/2024/02/webcrowd-logo.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  display: inline-block;
  margin-bottom:20px;
}
.custom-logo-icon img {
  width: 70px;
  height: auto;
  display: block;
}

.custom-logo-icon::before {
	content: '';
	width: 35px;
	height: 35px;
	background: white;
	border-radius: 50%;
	opacity: 0.9;
}

.custom-welcome-panel h1 {
	font-size: 42px;
	font-weight: 700;
	color: #2c3e50;
	margin: 0 0 20px 0;
	line-height: 1.2;
}

.custom-welcome-panel p {
	font-size: 17px;
	color: #666;
	line-height: 1.7;
	margin: 0;
}

.custom-form-panel {
	background: #F5F5F5;
	padding: 80px 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.custom-form-panel h2 {
	font-size: 32px;
	font-weight: 700;
	color: #2c3e50;
	margin: 0 0 40px 0;
}

/* Hide default WooCommerce notices */
.custom-form-panel .woocommerce-notices-wrapper {
	display: none !important;
}

/* Field Error Message Styles */
.field-error-message {
	display: block;
	color: #dc3545;
	font-size: 13px;
	margin-top: 6px;
	padding-left: 4px;
	animation: slideDown 0.3s ease;
}

@keyframes slideDown {
	from {
		opacity: 0;
		transform: translateY(-5px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* General Success/Info Messages */
.custom-general-message {
	padding: 14px 18px;
	border-radius: 10px;
	margin-bottom: 20px;
	font-size: 14px;
	line-height: 1.6;
	border-left: 4px solid;
}

.custom-general-message.error {
	background: #fee;
	border-left-color: #dc3545;
	color: #721c24;
}

.custom-general-message.success {
	background: #d4edda;
	border-left-color: #28a745;
	color: #155724;
}

.custom-general-message.info {
	background: #d1ecf1;
	border-left-color: #17a2b8;
	color: #0c5460;
}

.woocommerce-form-row {
	margin-bottom: 16px;
	position: relative;
}

.woocommerce-form-row label {
	display: block;
	font-size: 15px;
	color: #555;
	margin-bottom: 10px;
	font-weight: 500;
}

.woocommerce-form-row label .required,
.woocommerce-form-row label .screen-reader-text {
	display: none;
}

.woocommerce-Input {
	width: 100%;
	padding: 16px 18px;
	background: #EBEBEB;
	border: 2px solid transparent;
	border-radius: 10px;
	font-size: 15px;
	color: #333;
	transition: all 0.3s ease;
	box-sizing: border-box;
	font-family: inherit;
}

.woocommerce-Input.error {
	border-color: #dc3545;
	background: #fff5f5;
}

.woocommerce-Input::placeholder {
	color: #999;
}

.woocommerce-Input:focus {
	outline: none;
	background: #e5e5e5;
	border-color: #5CB3C4;
}

.woocommerce-Input.error:focus {
	border-color: #dc3545;
}

.custom-form-options {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin: 24px 0 30px 0;
}

.woocommerce-form-login__rememberme {
	display: flex;
	align-items: center;
	margin: 0;
	font-size: 15px;
	color: #555;
}

.woocommerce-form-login__rememberme input[type="checkbox"] {
	width: 18px;
	height: 18px;
	margin: 0 10px 0 0;
	cursor: pointer;
	accent-color: #5CB3C4;
}

.woocommerce-LostPassword {
	margin: 0;
}

.woocommerce-LostPassword a {
	color: #5CB3C4;
	text-decoration: none;
	font-size: 15px;
	font-weight: 500;
}

.woocommerce-LostPassword a:hover {
	text-decoration: underline;
}

.custom-submit-group {
	margin-top: 30px;
}

.woocommerce-button,
.woocommerce-Button {
	width: 100%;
	padding: 16px;
	background: #5CB3C4;
	color: white;
	border: none;
	border-radius: 100px;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 14px;
	font-family: inherit;
}

.custom-google-btn {
	width: 100%;
	padding: 16px;
	background: #5CB3C4;
	color: white;
	border: none;
	border-radius: 100px;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 14px;
	font-family: inherit;
	
}

.custom-google-btn:hover {
  background: #4a9fb0;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(92, 179, 196, 0.4);
}

.woocommerce-button:hover,
.woocommerce-Button:hover {
	background: #4a9fb0;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(92, 179, 196, 0.4);
}

.woocommerce-button:active,
.woocommerce-Button:active {
	transform: translateY(0);
}

.custom-register-btn {
	width: 100%;
	padding: 16px;
	background: #5CB3C4;
	color: white;
	border: none;
	border-radius: 100px;
	font-size: 17px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	margin-bottom: 14px;
	font-family: inherit;
}

.custom-register-btn:hover {
	background: #4a9fb0;
	transform: translateY(-2px);
	box-shadow: 0 8px 20px rgba(92, 179, 196, 0.4);
}

/* Registration Form Styles */
.custom-register-form {
	display: none;
}

.custom-register-form.active {
	display: block;
}

.custom-login-form.hidden {
	display: none;
}

.custom-info-message {
	background: #f0f9fb;
	border-left: 4px solid #5CB3C4;
	padding: 16px;
	border-radius: 8px;
	font-size: 14px;
	color: #555;
	margin-bottom: 20px;
}

/* Responsive Design */
@media (max-width: 968px) {
	.custom-login-card {
		grid-template-columns: 1fr;
		max-width: 600px;
	}
	
	.custom-welcome-panel {
		padding: 50px 40px;
		text-align: center;
	}
	
	.custom-logo-icon {
		margin-left: auto;
		margin-right: auto;
	}
	
	.custom-form-panel {
		padding: 50px 40px;
	}
	
	.custom-welcome-panel h1 {
		font-size: 36px;
	}
	
	.custom-form-panel h2 {
		font-size: 28px;
	}
}

@media (max-width: 640px) {
	.custom-login-page {
		padding: 15px;
	}
	
	.custom-welcome-panel,
	.custom-form-panel {
		padding: 40px 30px;
	}
	
	.custom-welcome-panel h1 {
		font-size: 32px;
	}
	
	.custom-form-panel h2 {
		font-size: 24px;
		margin-bottom: 30px;
	}
	
	.custom-form-options {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
}

@media (max-width: 480px) {
	.custom-logo-icon {
		width: 60px;
		height: 60px;
	}
	
	.custom-logo-icon::before {
		width: 28px;
		height: 28px;
	}
	
	.custom-welcome-panel {
		padding: 35px 25px;
	}
	
	.custom-form-panel {
		padding: 35px 25px;
	}
	
	.woocommerce-Input {
		padding: 14px 16px;
		font-size: 14px;
	}
}

/* Hide WooCommerce notices OUTSIDE the card (global ones) */
body.woocommerce-account > .woocommerce-notices-wrapper,
body > .woocommerce-notices-wrapper,
.woocommerce-notices-wrapper {
	display: none !important;
}

/* Only show notices inside the form panel */
.custom-form-panel .woocommerce-notices-wrapper {
	display: block !important;
}

/* Hide account links */
.owp-account-links {
	display: none !important;
}

/* Override default WooCommerce styles */
.u-columns,
.u-column1,
.u-column2 {
	width: 100% !important;
	float: none !important;
	margin: 0 !important;
}