/* Reset some defaults */
#login {
	width: 400px;
	padding: 5% 0 0;
	margin: auto;
	background: #fff;
	padding: 50px 45px;
	border: 1px solid #ccc;
	box-shadow: -14px 12px 0px #0000004f;
	border-radius: 15px;
}
body.login::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background: #dfdbdb6b;
	z-index: 0;
}
body.login * {
	z-index: 1;
}
/* Login form container */
.login form {
	background: transparent;
	border: 1px solid #e2e8f0;
	padding: 30px;
	box-shadow: none;
	border-radius: 8px;
	background-color: transparent !important;
	border: none;
	padding: 0;
}
/* Logo */
.forgetmenot {
	display: flex;
	align-items: center;
	gap: 5px;
	margin-bottom: 10px !important;
}


#login form p.submit input {
	width: 100%;
	padding: 6px 20px !important;
	border-radius: 10px !important;
	border: none;
}
/* Input fields */
.login form .input, .login input[type="text"], .login input[type="password"] {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	width: 100%;
	border-radius: 10px;
	box-shadow: none;
	padding: 6px 20px !important;
}

/* Label styles */
.login label {
    font-weight: 600;
    color: #334155;
    display: block;
    margin-bottom: 5px;
}

/* Submit button */
.login .button-primary {
    background: #2563eb;
    border-color: #2563eb;
    color: #fff;
    font-weight: 600;
    border-radius: 5px;
    padding: 10px;
    transition: background 0.3s ease;
}

.login .button-primary:hover {
    background: #1e40af;
}

/* Lost password & links */
#backtoblog {
	display: flex;
	justify-content: end;
}
.login #nav {
	margin: 0 !important;
	padding: 0;
}
.login #nav a, .login #backtoblog a {
	color: #334155;
	font-weight: 500;
	transition: color 0.3s ease;
}

.login #nav a:hover,
.login #backtoblog a:hover {
    color: #1e40af;
}

/* Responsive tweak */
@media (max-width: 480px) {
    .login form {
        padding: 20px;
    }

    .login h1 a {
        width: 120px;
        height: 40px;
    }
}
