/* Modal Styles */
#mana-login-modal {
	display: none;
	position: fixed;
	z-index: 999999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: auto;
	background-color: rgb(0 0 0 / 58%);
	flex-direction: column;
	align-content: center;
	align-items: center;
	justify-content: center;
}

.page-id-5012  a.login-btn.btn.btn-gray.show-login-modal {	
    display: none;
}

#mana-login-modal .modal-content {
	background-color: #fefefe;
	/* margin: 5vh auto; */
	padding: 0;
	border: 1px solid #888;
	width: 80%;
	max-width: 421px;
	position: relative;
	max-height: 100vh;
	height: 450px;
	border-radius: 8px;
}

#mana-login-modal .close-modal {
	cursor: pointer;
	position: absolute;
	top: 10px;
	left: 10px;
	font-size: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 200;
}


a.login-modal-logo {
    width: 86px;
    height: 63px;
    display: block;
    background: url(../svg/TOSAN-TECHNO-LOGO.svg);
    background-size: cover;
    background-repeat: no-repeat;
	
    margin-bottom: auto;
}

.wc-proceed-to-checkout > a {
	display:none
}

#mana-login-modal .close-modal:hover, .back-modal:hover {
	color: #000;
}

div#mana-login-modal #login-modal {
	max-width: unset !important;
	width: 100%;
	height: 100%;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: stretch;
	gap: 24px;
	padding: 16px 16px 40px;
}

div#mana-login-modal div#login-modal-div {
	width: 100%;
	height: 100%;
}

div#mana-login-modal .custom-logo {
	max-width: 98px;
	aspect-ratio: 1.5;
	object-fit: cover;
}


div#login-modal-div {
	
	/* height: 100vh; */
	display: flex;
	align-items: center;
	justify-content: center;
}
div#login-modal-div div#login-modal {
	/* padding: 16px; */
	/* border: 1px solid #eee; */
	/* max-width: 320px; */
}
div#login-modal-div p.rules {
	font-size: 10px;
	margin: 0;
	font-weight: 300;
	text-align: center;
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100%;
	padding: 16px;
}
div#login-modal-div input {
	width: 100%;
	text-align: center;
	font-size: 20px !important;
	height: 42px;
	border-radius: 5px;
	border: 1px solid #eee;
}
div#login-modal-div button.btn.btn-primary {
	display: block;
	width: 100%;
	border-radius: 5px;
}

form#login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: auto;
}


div#login-modal a.custom-logo-link {
    margin-bottom: auto;
}
