.page-wrapper {
	display: flex;
}

.registration-form {
	background-color: #ffffff;
	padding: 20px;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	width: 30%;
	box-sizing: border-box;
	margin: auto;
	margin-top: 5px;
}

.login__heading {
    text-align: center;
    margin-bottom: 15px;
}

.registration-form h2 {
	text-align: center;
	color: #333;
	margin-bottom: 20px;
}

.required-asterisk {
	color: red;
}

label {
	margin: 10px 0 5px;
	color: #666;
	font-size: 15px;
}

.register-link-container {
    margin: auto;
    text-align: center;
}

.register-link {
    text-decoration: underline;
	margin: auto;
}

.register-link:hover {
    color: #0066cc;
}

.auth {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.login__logo {
	display: flex;
	align-items: center;
	justify-content: center;
}

.login__form {
	display: flex;
	flex-direction: column;
	gap: 15px;
	margin-top: 30px;
	width: 350px;
}

.forgot-password-link {
	margin: auto;
}

.button {
	margin-top: 15px;
}

img {
	width: 350px;
}

.login__label {
	font-size: 12px;
}

@media(max-width: 550px) {
	img {
		width: 270px;
	}

	.login__form {
		width: 270px;
	}
}

.login__title {
	font-size: 33px;
	color: var(--color-button);
	font-family: 'Roboto bold', sans-serif;
	font-weight: 700;
	text-align: center;
	margin: 0 auto 32px;
	max-width: 100%;
}
@media (max-width: 480px) {
	.login__title {
		font-size: 32px;
	}
}

.popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000;
    background: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 5px;
    text-align: center;
    width: 300px;
}

.popup-content h2 {
    margin-top: 0;
    color: #0066cc;
}

.popup-content button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: #0066cc;
    color: #fff;
    border-radius: 3px;
    cursor: pointer;
}

.popup-content button:hover {
    background: #0066cc;
}

.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
}

.login__form {
	display: flex;
	flex-direction: column;
	gap: 15px;
	width: 350px;
}

.register-link-container {
	text-align: center;
	color: #999999;
    font-weight: 600;
	margin-top: 10px;
}

.register-link-container a,
.forgot-password-link {
	color: #2381FF;
	font-weight: 600;
}

.auth {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.forgot-password-link {
	margin: auto;
}

.button {
	margin-top: 15px;
}

img {
	width: 270px;
}

.login__label {
	font-size: 12px;
}

@media(max-width: 550px) {
	img {
		width: 200px;
	}

	.login__form {
		width: 270px;
	}
}

.login .hidden-form {
	display: none;
}

.toggle-buttons-wrap button {
	border: 1.5px solid transparent;
}

.toggle-buttons-wrap button.active {
	background: var(--color-bg-hover);
    border: 1.5px solid var(--color-text-secondary);
    color: var(--color-text-active);
    transition: all 0.3s ease-out;
}

.toggle-buttons-wrap {
	margin-bottom: 1rem;
}

.actions {
	justify-content: space-between;
    align-items: center;
}

.actions a {
	text-decoration: underline;
}

.button .js__register__button {
	margin-top: 0;
}

.item--checkbox {
	margin-top: 18px;
	display: flex;
}

.item--checkbox input {
	width: unset;
}

.recover-email-message {
	padding: 10px 0;
    color: red;
    margin-top: 35px;
}

.recover-email-message a {
	text-decoration: underline;
}

.terms-overlay {
    position: fixed;
    z-index: 10050;
    inset: 0;
    background: rgba(24, 27, 34, 0.95);
    display: flex;
    justify-content: center;
    transition: opacity 0.18s;
    align-items: center;
}

.terms-overlay .block {
    max-width: 700px;
    overflow: auto;
    height: 80vh;
}

.address-overlay__close {
    background: none;
    border: none;
    color: var(--color-text-teritary);
    cursor: pointer;
    border-radius: 0.6em;
    transition: background 0.18s;
    padding: 0.4em;
    display: flex;
}

.auth {
	margin-top: 50px;
}

.login__image svg {
	width: 100%;
    height: 100%;
}

.input--username {
	margin-bottom: 10px;
}

.login__form-wrapper {
	display: flex;
    justify-content: center;
    align-items: center;
	flex-direction: column;
}

@media(max-width: 992px) {
	.login__image {
		display: none;
	}
}

@media(min-width: 992px) {
	.login {
		display: grid;
    	grid-template-columns: 50% 50%;
	}
}

.register {
	display: flex;
    flex-direction: column;
	max-width: 900px;
    margin: auto;
}

.item--checkbox .item__label {
	margin: 0;
}

.social__wrapper {
	display: flex;
    gap: 10px;
    flex-direction: column;
}

.social__login {
	background-color: #1a73e8;
    color: #fff;
    border-radius: 4px;
    box-sizing: border-box;
    -webkit-transition: background-color .218s, border-color .218s, opacity .218s;
    transition: background-color .218s, border-color .218s, opacity .218s;
    background-image: none;
    cursor: pointer;
    font-family: "Google Sans", arial, sans-serif;
    font-size: 14px;
    height: 40px;
    letter-spacing: .25px;
    outline: none;
    overflow: hidden;
    position: relative;
    text-align: center;
    vertical-align: middle;
    white-space: nowrap;
    width: auto;
}

.social__login:hover, 
.social__login:focus {
    box-shadow: none;
    border-color: rgb(210, 227, 252);
    outline: none;
	opacity: 0.8;
}

.social__login button {
	-webkit-flex-grow: 1;
    color: #fff;
    -webkit-box-flex: 1;
    flex-grow: 1;
    font-family: "Google Sans", arial, sans-serif;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: top;
    display: flex;
    align-items: center;
    height: 100%;
	width: 100%;
}

.social__login-logo {
	border-top-left-radius: 3px;
    border-bottom-left-radius: 3px;
    display: -webkit-box;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
    -webkit-box-align: center;
    -webkit-align-items: center;
    align-items: center;
    background-color: #fff;
    height: 36px;
    margin-left: 2px;
    margin-right: 3px;
    min-width: 36px;
    width: 36px;
}

.social__login-text {
	width: 100%;
    text-align: center;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
}

.social__login svg path {
	color: #1a73e8;
}