/**
 * ComprasGuate login page branding.
 * Replaces the WordPress logo + footer credit with our marketplace look.
 */

body.login {
	background: linear-gradient(180deg, #1e73be 0%, #0F4C81 100%);
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	min-height: 100vh;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	padding: 24px 16px;
}

/* Hide WP's default credit/back-to-blog links — we provide our own. */
body.login .privacy-policy-page-link,
body.login .backtoblog,
body.login p#nav,
body.login #language-switcher {
	color: rgba(255, 255, 255, 0.7);
}
body.login p#nav a,
body.login .backtoblog a {
	color: #fff !important;
	text-decoration: none;
	font-weight: 600;
}
body.login p#nav a:hover,
body.login .backtoblog a:hover {
	color: #FBBF24 !important;
}

/* ---- Logo: replace WP mark with brand text ---- */
body.login #login h1 a {
	background-image: none !important;
	width: auto !important;
	height: auto !important;
	text-indent: 0 !important;
	overflow: visible !important;
	color: #fff !important;
	font-size: 0;
	line-height: 1;
	margin: 0 auto 18px;
	display: block;
	text-align: center;
	pointer-events: auto;
}
body.login #login h1 a::before {
	content: "compras";
	display: block;
	font-size: 18px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #fff;
	opacity: 0.85;
}
body.login #login h1 a::after {
	content: "Guate";
	display: block;
	font-size: 38px;
	font-weight: 900;
	letter-spacing: -0.01em;
	color: #FBBF24;
	line-height: 0.9;
	margin-top: -2px;
}

/* ---- Card / form ---- */
body.login #login {
	width: 100%;
	max-width: 380px;
	padding: 0;
}
body.login form {
	background: #fff;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
	padding: 28px 28px 24px;
	margin-top: 4px;
}
body.login label {
	font-size: 13px;
	font-weight: 700;
	color: #111827;
}
body.login form .input,
body.login input[type="text"],
body.login input[type="email"],
body.login input[type="password"] {
	background: #fff;
	border: 1px solid #E5E7EB;
	border-radius: 6px;
	padding: 10px 12px;
	font-size: 14px;
	font-family: inherit;
	color: #111827;
	box-shadow: none;
	height: auto;
	margin-top: 4px;
}
body.login form .input:focus,
body.login input[type="text"]:focus,
body.login input[type="email"]:focus,
body.login input[type="password"]:focus {
	border-color: #1e73be;
	box-shadow: 0 0 0 3px rgba(30, 115, 190, 0.18);
	outline: none;
}
body.login .button-primary,
body.login .wp-core-ui .button-primary {
	background: #FBBF24 !important;
	color: #7C2D12 !important;
	border: 0 !important;
	border-radius: 6px !important;
	padding: 10px 22px !important;
	height: auto !important;
	font-weight: 800 !important;
	font-size: 13px !important;
	text-shadow: none !important;
	box-shadow: none !important;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	float: none;
	width: 100%;
	margin-top: 8px;
}
body.login .button-primary:hover,
body.login .wp-core-ui .button-primary:hover {
	background: #F59E0B !important;
	color: #7C2D12 !important;
}

/* Lost password / register links inside the card */
body.login #nav,
body.login #backtoblog {
	padding: 0;
	margin-top: 14px;
	text-align: center;
}

/* Our own footer note we inject in login_footer */
.cgmp-login-footer-note {
	margin-top: 24px;
	text-align: center;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.85);
}
.cgmp-login-footer-note a {
	color: #FBBF24;
	text-decoration: none;
	font-weight: 700;
}
.cgmp-login-footer-note a:hover { text-decoration: underline; }

/* Hide the language switcher pulldown at the very bottom on the
   default WP login screen. */
body.login .language-switcher { display: none; }
