/* Tela de login do Painel ADIMCO (sugestão "ADIMCO Login"). Fontes locais, sem terceiros. */

@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-500-italic.woff2) format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Cormorant Garamond"; src: url(../fonts/cormorant-garamond-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(../fonts/plus-jakarta-sans-500-normal.woff2) format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(../fonts/plus-jakarta-sans-600-normal.woff2) format("woff2"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Plus Jakarta Sans"; src: url(../fonts/plus-jakarta-sans-700-normal.woff2) format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }

body.login {
	display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-rows: auto 1fr auto; min-height: 100vh; margin: 0;
	background: #f7f5f1; color: #121210; font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased;
}
body.login > * { grid-column: 2; }
body.login .language-switcher, body.login #backtoblog, body.login .privacy-policy-page-link, body.login #login h1 { display: none; }

/* Painel da marca */
body.login > .cvap-login-marca {
	grid-column: 1; grid-row: 1 / 4; position: sticky; top: 12px; height: calc(100vh - 24px); min-height: 520px; margin: 12px; border-radius: 28px;
	overflow: hidden; background: #121210; color: #f7f5f1; display: flex; flex-direction: column; justify-content: space-between; padding: 40px; box-sizing: border-box;
}
.cvap-login-marca__foto { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.cvap-login-marca__veu { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 12, 11, .5) 0%, rgba(12, 12, 11, .2) 45%, rgba(12, 12, 11, .9) 100%); }
.cvap-login-marca__logo { position: relative; align-self: flex-start; }
.cvap-login-marca__logo img { display: block; width: 156px; height: auto; }
.cvap-login-marca__texto { position: relative; display: flex; flex-direction: column; gap: 16px; max-width: 520px; }
.cvap-login-marca__olho { font-size: 11px; letter-spacing: .3em; font-weight: 600; color: #d4b56a; text-transform: uppercase; }
.cvap-login-marca__titulo { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(44px, 4.4vw, 68px); line-height: .98; color: #f7f5f1; }
.cvap-login-marca__titulo em { color: #d4b56a; font-style: italic; }
.cvap-login-marca__sub { font-size: 14px; color: #c9ccd0; }

/* Topo e rodapé da coluna do formulário */
.cvap-login-topo { grid-row: 1; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 24px clamp(20px, 5vw, 64px) 0; }
.cvap-login-marca-curta { display: none; font-family: "Cormorant Garamond", Georgia, serif; font-size: 26px; font-weight: 600; letter-spacing: .16em; color: #b8963e; text-decoration: none; }
.cvap-login-voltar { display: flex; align-items: center; gap: 6px; margin-left: auto; font-size: 13px; font-weight: 600; color: #4a4946; text-decoration: none; }
.cvap-login-voltar:focus { color: #121210; }
.cvap-login-voltar:hover { color: #121210; }
.cvap-login-rodape { grid-row: 3; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 0 clamp(20px, 5vw, 64px) 24px; text-align: center; }
.cvap-login-ajuda { margin: 0; max-width: 400px; font-size: 13px; line-height: 1.55; color: #6e6c68; }
.cvap-login-ajuda a { font-weight: 600; color: #121210; text-decoration: underline; }
.cvap-login-legal { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin: 0; font-size: 12px; color: #8d8a84; }
.cvap-login-legal a { color: #8d8a84; text-decoration: none; }
.cvap-login-legal a:hover { color: #121210; }

/* Formulário */
body.login #login { grid-row: 2; align-self: center; justify-self: center; width: min(400px, calc(100% - 40px)); padding: 40px 0; margin: 0; }
.cvap-login-cab { display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.cvap-login-cab__olho { display: flex; align-items: center; gap: 8px; margin: 0; font-size: 12px; font-weight: 600; letter-spacing: .06em; color: #9a7b30; }
.cvap-login-cab__titulo { margin: 0; font-family: "Cormorant Garamond", Georgia, serif; font-weight: 500; font-size: clamp(40px, 4vw, 52px); line-height: 1; color: #121210; }
.cvap-login-cab__texto { margin: 0; font-size: 15px; line-height: 1.55; color: #6e6c68; }
body.login form { margin: 0; padding: 0; background: none; border: 0; box-shadow: none; overflow: visible; }
body.login form p, body.login .user-pass-wrap { margin: 0; }
body.login label { display: block; margin-bottom: 8px; font-size: 14px; font-weight: 700; color: #121210; }
body.login form .input, body.login input[type="text"], body.login input[type="password"], body.login input[type="email"] {
	height: 52px; min-height: 52px; margin: 0 0 16px; padding: 0 16px; border: 1px solid #cfccc6; border-radius: 14px; background: #fff;
	font-family: inherit; font-size: 15px; font-weight: 500; line-height: 1; color: #121210; box-shadow: none;
}
body.login .wp-pwd input[type="password"], body.login .wp-pwd input[type="text"] { padding-right: 52px; }
body.login form .input:focus, body.login input[type="text"]:focus, body.login input[type="password"]:focus { border-color: #121210; box-shadow: 0 0 0 3px rgba(184, 150, 62, .28); outline: 0; }
body.login .button.wp-hide-pw { top: 0; right: 2px; width: 48px; height: 52px; min-height: 52px; display: flex; align-items: center; justify-content: center; color: #6e6c68; border: 0; background: transparent; box-shadow: none; }
body.login .button.wp-hide-pw:focus { box-shadow: 0 0 0 2px #b8963e; border-radius: 12px; }
body.login .button.wp-hide-pw .dashicons { top: 0; color: #6e6c68; }
.cvap-login-rotulo { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-bottom: 8px; }
.cvap-login-rotulo label { margin: 0; }
.cvap-login-esqueci { font-size: 13px; font-weight: 600; color: #121210; text-decoration: underline; }
.cvap-login-caps { display: flex; align-items: center; gap: 6px; margin: -8px 0 14px; font-size: 12px; font-weight: 600; color: #7a5d17; }
.cvap-login-caps[hidden] { display: none; }
body.login .forgetmenot { float: none; display: flex; align-items: center; margin: 2px 0 22px; }
body.login .forgetmenot label { display: flex; align-items: center; gap: 10px; margin: 0; font-size: 14px; font-weight: 500; cursor: pointer; }
body.login input[type="checkbox"] { width: 20px; height: 20px; margin: 0; border: 1.5px solid #b9bcc0; border-radius: 6px; box-shadow: none; }
body.login input[type="checkbox"]:checked { background: #121210; border-color: #121210; }
body.login input[type="checkbox"]:checked::before { content: url("data:image/svg+xml;utf8,%3Csvg%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20viewBox%3D%270%200%2020%2020%27%3E%3Cpath%20d%3D%27M14.83%204.89l1.34.94-5.81%208.38H9.02L5.78%209.67l1.34-1.25%202.57%202.4z%27%20fill%3D%27%23d4b56a%27%2F%3E%3C%2Fsvg%3E"); margin: -1px 0 0 -1px; width: 20px; height: 20px; }
body.login input[type="checkbox"]:focus { box-shadow: 0 0 0 2px #b8963e; }
body.login .submit { clear: both; }
body.login #wp-submit, body.login .button-primary {
	float: none; width: 100%; height: 54px; min-height: 54px; padding: 0 20px; border: 0; border-radius: 999px; background: #121210; color: #f7f5f1;
	font-family: inherit; font-size: 15px; font-weight: 600; box-shadow: none; text-shadow: none;
}
@media (hover: hover) { body.login #wp-submit:hover, body.login .button-primary:hover { background: #2a2a27; } }
body.login #wp-submit:focus, body.login .button-primary:focus { box-shadow: 0 0 0 3px rgba(184, 150, 62, .5); outline: 0; }
body.login #nav { margin: 18px 0 0; padding: 0; text-align: center; font-size: 13px; }
body.login #nav a { color: #121210; font-weight: 600; text-decoration: underline; }
body.login #login_error, body.login .message, body.login .notice, body.login .success {
	margin: 0 0 20px; padding: 12px 14px; border: 1px solid #ecdcb4; border-left-width: 1px; border-radius: 12px; background: #faf3e0; box-shadow: none;
	font-size: 13px; font-weight: 600; line-height: 1.45; color: #6f561c;
}
body.login .message, body.login .notice-info, body.login .success { border-color: #e2e0dc; background: #fff; color: #4a4946; }
body.login .notice p, body.login #login_error p { margin: 0; }
body.login .indicator-hint, body.login .description { font-size: 12px; color: #6e6c68; }

@media (max-width: 959px) {
	body.login { grid-template-columns: minmax(0, 1fr); }
	body.login > * { grid-column: 1; }
	body.login > .cvap-login-marca { display: none; }
	.cvap-login-marca-curta { display: block; }
}
