/* ==========================================================================
   Datacleaning DC+ — login (opción D · navy total)
   Requiere dc-tokens.css cargado antes.
   ========================================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
	font-family: var(--dc-font);
	color: #fff;
	background: radial-gradient(1200px 700px at 70% -10%, var(--dc-navy-700), var(--dc-navy-900) 60%);
	display: flex; align-items: center; justify-content: center;
	padding: 24px; overflow: hidden; position: relative;
}

/* marca de agua: monograma DC */
.dc-marca {
	position: fixed; right: -140px; top: 50%; transform: translateY(-50%);
	width: 640px; height: 640px; opacity: .07; pointer-events: none;
}

.dc-wrap {
	width: 100%; max-width: 960px; position: relative;
	display: grid; grid-template-columns: 1fr 400px; gap: 80px; align-items: center;
}

/* --- columna de marca --- */
.dc-brand img { width: 300px; margin-bottom: 34px; }
.dc-brand h1 { font-size: 40px; font-weight: 700; letter-spacing: -.025em; line-height: 1.1; margin-bottom: 16px; }
.dc-brand p  { font-size: 16px; color: rgba(255,255,255,.75); max-width: 40ch; line-height: 1.6; margin-bottom: 34px; }
.dc-mods { list-style: none; display: grid; gap: 10px; font-size: 14px; color: rgba(255,255,255,.85); }
.dc-mods li { display: flex; gap: 10px; align-items: center; }
.dc-mods li::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--dc-cyan-500); flex: none; }

/* --- tarjeta del cliente --- */
.dc-card {
	background: #fff; color: var(--dc-ink); border-radius: 18px;
	padding: 40px 36px 28px; box-shadow: 0 30px 80px rgba(0,0,0,.45);
}
.dc-cliente { height: 52px; width: auto; margin-bottom: 26px; display: block; }
.dc-card h2 { font-size: 22px; font-weight: 700; letter-spacing: -.02em; margin-bottom: 4px; color: var(--dc-navy-800); }
.dc-sub { color: var(--dc-ink-2); font-size: 14px; margin-bottom: 24px; }

.dc-field { margin-bottom: 18px; }
.dc-field label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--dc-ink); }
.dc-field input {
	width: 100%; padding: 13px 16px; border: 1.5px solid var(--dc-line); border-radius: 10px;
	font: 15px var(--dc-font); color: var(--dc-ink); background: #fff;
	transition: border-color .15s, box-shadow .15s;
}
.dc-field input::placeholder { color: #A7B1C2; }
.dc-field input:focus { outline: none; border-color: var(--dc-navy-800); box-shadow: 0 0 0 4px rgba(39,187,229,.22); }
/* jquery.validate */
.dc-field label.error { font-size: 12px; font-weight: 500; color: var(--dc-error); margin: 6px 0 0; }
.dc-field input.error { border-color: var(--dc-error); }

.dc-error {
	display: flex; gap: 10px; align-items: flex-start;
	background: #FBE5E5; color: var(--dc-error); border-radius: 10px;
	padding: 12px 14px; font-size: 13px; line-height: 1.45; margin-bottom: 18px;
}
.dc-error svg { flex: none; margin-top: 1px; }

.btn-login {
	width: 100%; padding: 14px; background: var(--dc-navy-800); color: #fff; border: none;
	border-radius: 10px; font: 600 15px var(--dc-font); cursor: pointer; transition: background .15s;
}
.btn-login:hover { background: var(--dc-navy-700); }
.btn-login:focus-visible { outline: 3px solid var(--dc-cyan-500); outline-offset: 2px; }

.dc-recovery { margin-top: 18px; text-align: center; font-size: 14px; }
.dc-recovery a { color: var(--dc-navy-600); text-decoration: none; }
.dc-recovery a:hover { text-decoration: underline; }

.dc-ambiente { margin-top: 14px; text-align: center; }
.dc-ambiente span {
	display: inline-block; font-size: 11px; font-weight: 600; padding: 3px 10px; border-radius: 999px;
	background: #FCF1DC; color: var(--dc-warn);
}

.dc-firma-login {
	margin-top: 26px; padding-top: 18px; border-top: 1px solid var(--dc-line);
	display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--dc-ink-2);
}
.dc-firma-login img { height: 22px; width: 22px; }
.dc-firma-login b { color: var(--dc-navy-800); font-weight: 600; }
.dc-firma-login .v { margin-left: auto; font-variant-numeric: tabular-nums; }

.dc-foot { position: fixed; bottom: 22px; left: 0; right: 0; text-align: center; font-size: 12px; color: rgba(255,255,255,.5); }

@media (max-width: 900px) {
	.dc-wrap { grid-template-columns: 1fr; max-width: 420px; }
	.dc-brand { display: none; }
	.dc-marca { display: none; }
}
@media (max-width: 480px) {
	body { padding: 16px; }
	.dc-card { padding: 32px 24px 22px; }
}
