/* ------------------------------------------------------------ *\
	Login Style - Thriveal Theme
\* ------------------------------------------------------------ */

body.login {
	background-color: #c7b39c;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Center and style the login container */
#login {
	background: white;
	border-radius: 8px;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
	padding: 40px;
	margin: 60px auto;
	max-width: 400px;
}

/* Logo styling */
#login h1 a,
.login h1 a {
	background: url(../resources/images/logo-black@2x.png) no-repeat center / contain;
	width: 265px;
	height: 114px;
	margin: 0 auto 30px;
	padding: 0;
	text-decoration: none;
	text-indent: -9999px;
	outline: none;
	overflow: hidden;
	display: block;
}

/* Form styling */
.login form {
	background: transparent;
	box-shadow: none;
	border: none;
	padding: 0;
}

/* Input styling */
.login form .input,
.login input[type=text],
.login input[type=password],
.login input[type=email] {
	background: #f9f9f9;
	border: 2px solid #e0e0e0;
	border-radius: 4px;
	color: #333;
	font-size: 16px;
	padding: 12px;
	width: 100%;
	box-sizing: border-box;
}

.login form .input:focus,
.login input[type=text]:focus,
.login input[type=password]:focus,
.login input[type=email]:focus {
	border-color: #c7b39c;
	box-shadow: 0 0 0 2px rgba(199, 179, 156, 0.2);
	outline: none;
}

/* Button styling */
.wp-core-ui .button-primary {
	background: #c7b39c;
	border-color: #c7b39c;
	color: #000;
	border-radius: 4px;
	font-size: 16px;
	font-weight: 600;
	padding: 12px 24px;
	text-shadow: none;
	box-shadow: none;
	width: 100%;
	margin-top: 16px;
}

.wp-core-ui .button-primary:hover,
.wp-core-ui .button-primary:focus {
	background: #000;
	border-color: #000;
	color: #fff;
}

/* Links styling */
.login #backtoblog a, 
.login #nav a {
	color: #666;
	font-size: 14px;
	text-decoration: none;
}

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

/* Custom member message */
.login-member-message {
	text-align: center;
	margin-top: 24px;
	padding-top: 20px;
	border-top: 1px solid #e0e0e0;
	color: #666;
	font-size: 14px;
}

.login-member-message a {
	color: #c7b39c;
	text-decoration: none;
	font-weight: 600;
}

.login-member-message a:hover {
	text-decoration: underline;
}

/* Responsive adjustments */
@media (max-width: 480px) {
	#login {
		margin: 20px auto;
		padding: 30px 20px;
	}
}
