/**
 * El Holandés Picante — Custom Login Screen
 *
 * Brand colors:
 *   Primary red:    #c40034
 *   Dark text:      #333333
 *   Medium gray:    #666666
 *   Green accent:   #3e9b59
 *   White:          #ffffff
 *
 * @version 1.0.0
 */

/* ---- Background ---- */
body.login {
	background: #c40034;
	background: linear-gradient(135deg, #c40034 0%, #8b0025 100%);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* ---- Logo ---- */
#login h1 a {
	background-image: url('../../../uploads/2015/05/logo-el-holandes-picante.png');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	width: 320px;
	height: 80px;
	margin-bottom: 20px;
	/* Invert logo to white for the dark bg — if logo is already white, remove this */
	filter: brightness(0) invert(1);
}

/* ---- Login Form ---- */
#loginform,
#registerform,
#lostpasswordform {
	background: #ffffff;
	border: none;
	border-radius: 8px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
	padding: 26px 24px 34px;
}

#login {
	width: 340px;
	padding: 6% 0 0;
}

/* ---- Labels ---- */
#loginform label,
#registerform label,
#lostpasswordform label {
	color: #333333;
	font-weight: 500;
}

/* ---- Inputs ---- */
#loginform input[type="text"],
#loginform input[type="password"],
#registerform input[type="text"],
#registerform input[type="email"],
#lostpasswordform input[type="text"] {
	border: 1px solid #ddd;
	border-radius: 4px;
	padding: 8px 12px;
	font-size: 15px;
	transition: border-color 0.2s ease;
}

#loginform input[type="text"]:focus,
#loginform input[type="password"]:focus,
#registerform input[type="text"]:focus,
#registerform input[type="email"]:focus,
#lostpasswordform input[type="text"]:focus {
	border-color: #c40034;
	box-shadow: 0 0 0 1px #c40034;
	outline: none;
}

/* ---- Submit Button ---- */
#wp-submit,
.wp-core-ui .button-primary {
	background: #c40034 !important;
	border-color: #a0002a !important;
	border-radius: 4px !important;
	box-shadow: 0 2px 8px rgba(196, 0, 52, 0.3) !important;
	color: #ffffff !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	letter-spacing: 0.3px;
	padding: 6px 24px !important;
	text-shadow: none !important;
	transition: background 0.2s ease, box-shadow 0.2s ease;
}

#wp-submit:hover,
.wp-core-ui .button-primary:hover {
	background: #a0002a !important;
	box-shadow: 0 4px 12px rgba(196, 0, 52, 0.45) !important;
}

#wp-submit:focus,
.wp-core-ui .button-primary:focus {
	background: #a0002a !important;
	box-shadow: 0 0 0 1px #fff, 0 0 0 3px #c40034 !important;
}

/* ---- Remember Me checkbox ---- */
.login .forgetmenot label {
	color: #666666;
}

/* ---- Links below form ---- */
#login #nav a,
#login #backtoblog a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	transition: color 0.2s ease;
}

#login #nav a:hover,
#login #backtoblog a:hover {
	color: #ffffff;
	text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

#login #nav,
#login #backtoblog {
	text-align: center;
}

/* ---- Error / Messages ---- */
#login .message,
#login .success {
	border-left-color: #3e9b59;
	border-radius: 4px;
}

#login #login_error {
	border-left-color: #c40034;
	border-radius: 4px;
}

/* ---- Privacy Policy link ---- */
.login .privacy-policy-page-link a {
	color: rgba(255, 255, 255, 0.7);
}

.login .privacy-policy-page-link a:hover {
	color: #ffffff;
}

/* ---- Language switcher (WP 5.9+) ---- */
.language-switcher {
	background: rgba(255, 255, 255, 0.1) !important;
	border: none !important;
	border-radius: 8px;
}

.language-switcher label {
	color: rgba(255, 255, 255, 0.85) !important;
}
