/* Login Styles */
.custom-login-wrapper {
	width: 100%;
	/* max-width: 500px; */
	background-color: #ffffff;
	padding: 60px 111px;
	box-sizing: border-box;
	text-align: center;
	display: flex;
	justify-content: space-between;
}
.woocommerce-form-login {
	width: 425px;
	padding: 0;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
}
/* Logo Styles */
.custom-login-logo {
	margin-bottom: 40px;
	width: 88px;
}

.logo-symbol svg {
    width: 60px;
    height: 60px;
}

/* Header Styles */
.custom-login-header {
	margin-bottom: 50px;
	text-align: left;
	width: 315px;
}

.woocommerce-account .woocommerce-Input {
	border: 1px solid #79747E !important;
	width: 100% !important;
	padding: 4px 16px;
	font-size: 16px;
	color: #171717;
}
/* #49454F */
.welcome-title {
	font-size: 64px;
	font-weight: 300;
	color: #000000;
	margin: 0 0 16px 0;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.welcome-subtitle {
	font-size: 16px;
	color: #212529;
	margin: 0;
	line-height: 1.5;
	font-weight: 400;
	font-family: Gravity;
}

/* Form Styles */
.custom-login-form {
    text-align: left;
}

.custom-form-group {
    margin-bottom: 24px;
    position: relative;
}

.custom-form-label {
	display: block;
	font-size: 12px;
	margin-bottom: 8px;
	font-weight: 400;
	text-transform: none;
	background-color: white;
	position: absolute;
	top: -8px;
	left: 12px;
	padding: 0 5px;
	color: #49454F;
	width: auto !important;
}

.custom-form-input {
    width: 100%;
    padding: 16px 20px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 16px;
    color: #000000;
    background-color: #ffffff;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.custom-form-input:focus {
    outline: none;
    border-color: #000000;
}

.custom-form-input::placeholder {
    color: #999999;
    font-size: 16px;
}

/* Checkbox Styles */
.custom-checkbox-group {
	margin-bottom: 48px;
}

.custom-checkbox-label {
	display: flex;
	align-items: center;
	font-size: 16px;
	color: #000000;
	cursor: pointer;
	position: relative;
	user-select: none;
	margin: 0;
	font-family: Gravity, Arial, sans-serif;
	font-size: 16px;
}

.custom-checkbox {
    opacity: 0;
    position: absolute;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    height: 20px;
    width: 20px;
    background-color: #ffffff;
    border: 2px solid #d0d0d0;
    border-radius: 3px;
    margin-right: 12px;
    position: relative;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.custom-checkbox-label:hover .checkmark {
    border-color: #000000;
}

.custom-checkbox:checked ~ .checkmark {
    background-color: #000000;
    border-color: #000000;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
    left: 5px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.custom-checkbox:checked ~ .checkmark:after {
    display: block;
}
.custom-login-button.ds-button-lg,
.custom-forgot-password.ds-button-lg{
	max-width: unset;
}
/* Button Styles */
.custom-login-button {
    width: 100%;
    padding: 16px 20px;
    background-color: #000000;
    color: #ffffff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.custom-login-button:hover {
    background-color: #333333;
    color: #ffffff;
}

.custom-login-button:active {
    background-color: #000000;
}

/* Forgot Password Link */
.custom-forgot-password {
    display: block;
    width: 100%;
    padding: 16px 20px;
    text-align: center;
    color: #000000;
    text-decoration: none;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    background-color: #ffffff;
    box-sizing: border-box;
}

.custom-forgot-password:hover {
    background-color: #f8f8f8;
    border-color: #000000;
    color: #000000;
    text-decoration: none;
}

/* Footer */
.custom-login-footer {
    margin-top: 40px;
    text-align: center;
}

.footer-text {
    font-size: 16px;
    color: #888888;
    display: none; /* Показываем только на мобильных */
}

/* Mobile Styles */
@media (max-width: 1120px) {
	.custom-login-wrapper {
		flex-direction: column;
		align-items: center;
	}
	.custom-login-wrapper {
		padding: 20px 0px;
	}
	.custom-login-logo{
		width: 72px;
	}
	.welcome-title{
		font-size: 38px;
	}
	.custom-login-header {
		margin-bottom: 50px;
		text-align: center;
		width: auto;
	}
}



/* Hide default WooCommerce styling */
.woocommerce .woocommerce-error,
.woocommerce .woocommerce-message,
.woocommerce .woocommerce-info {
    background-color: #f8f8f8;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    padding: 16px;
    margin-bottom: 24px;
}

/* Override WooCommerce default form styles */
.woocommerce-form-login .form-row {
    margin: 0;
    padding: 0;
}

.woocommerce form .form-row {
    margin: 0;
    padding: 0;
}