/*!
 * Copyright (c) 2024 StyloPress - CodeWS.online
 * This file is part of StyloPress.
 *
 * This file is licensed under the same terms as the main plugin (GNU GPL v2 or later).
 */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body.spss {
	font-family: Arial, sans-serif;
	background-color: #f4f4f4;
	height: 100vh;
	position: relative;
	overflow: hidden;
}

body.spss .login-container {
	width: 100%;
	max-width: 320px;
	display: block;
	margin: 0 auto;
	position: relative;
}

body.spss .login-title {
	text-align: center;
	font-size: 28px;
	color: #333;
	margin-bottom: 0;
}

body.spss .login-title a {
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
	color: #3c434a;
	display: block;
	margin: 0 auto;
	width: 100%;
}

body.spss .message-info {
	display: none;
	border-left: 4px solid #72aee6;
	background-color: #fff;
	color: #3c434a;
	padding: 10px;
	border-radius: 0;
	margin-top: 20px;
	margin-bottom: 20px;
	font-size: 13px;
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}

body.spss .message-error {
	display: none;
	border-left: 4px solid #d63638;
	background-color: #fff;
	color: #3c434a;
	padding: 10px;
	border-radius: 0;
	margin-top: 20px;
	margin-bottom: 20px;
	font-size: 13px;
	box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
}

body.spss #custom-login-form {
	max-width: 320px;
	background-color: #fff;
	padding: 26px 24px 18px 24px;
	border: 1px solid #a2a0a0;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
	border-radius: 0;
}

body.spss .form-field {
	margin-bottom: 15px;
}

body.spss .form-label {
	font-size: 13px;
	color: #333;
	margin-bottom: 3px;
	display: block;
}

body.spss .input-field {
	width: 100%;
	color: #2c3338;
	padding: 0.1875rem 0.3125rem;
	font-size: 24px;
	line-height: 1.3;
	border: 1px solid #a2a0a0;
	border-radius: 4px;
	border-width: 0.0625rem;
	min-height: 40px;
	max-height: none;
}

body.spss .password-wrapper {
	position: relative;
}

body.spss .toggle-password {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	background: none;
	border: none;
	cursor: pointer;
	color: #036391;
	transition: color 0.3s ease;
}

body.spss .toggle-password:hover {
	color: #00354f;
}

.remember-me {
	float: left;
	font-size: 13px;
}

body.spss .remember-me input {
	vertical-align: middle;
	margin: 0 0.5rem 0 0;
}

body.spss .remember-me span {
	vertical-align: middle;
	position: relative;
	top: 2px;
}

input[type='checkbox'] {
	width: 15px;
	height: 15px;
	appearance: inherit;
	background-color: transparent;
	border: 1px solid white;
	position: relative;
}

input[type='checkbox']:checked {
	background-color: transparent;
}

input[type='checkbox']:checked::before {
	content: '✔';
	position: absolute;
	top: 45%;
	left: 55%;
	transform: translate(-50%, -50%);
	font-size: 14px;
	color: white;
}

body.spss button.submit-button {
	display: block;
	width: 70px;
	padding: 10px;
	background-color: #036391;
	color: white;
	font-size: 13px;
	border: 1px solid #036391;
	border-radius: 2px;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

body.spss button.submit-button:hover {
	background-color: #00354f;
}

body.spss .forgot-password {
	text-align: center;
	font-size: 14px;
	color: #0073aa;
	text-decoration: none;
}

body.spss .forgot-password:hover {
	text-decoration: underline;
}

body.spss #nav {
	margin-top: 25px;
	color: #333;
}

body.spss .wp-login-register {
	font-size: 13px;
	text-decoration: none;
	color: #333;
	cursor: pointer;
}

body.spss .wp-login-lost-password {
	font-size: 13px;
	text-decoration: none;
	color: #333;
	cursor: pointer;
}
