/* Digitiendita v1.0.23.3 — Identidad aprobada + login refinado */
:root{--dt-brand-red:#ff1c2d;--dt-brand-red2:#d90d1a;--dt-brand-black:#050506;--dt-brand-card:#0b0b0d;--dt-brand-line:#2d2d33;--dt-brand-text:#f8f8fa;--dt-brand-muted:#a5a5ad}

/* Logo principal: mantiene proporción y no fuerza recortes */
.c4-logo img,.c4-side-logo img,.footer-logo img,.auth-brand-inner>img,.mobile-auth-logo,.result-logo{object-fit:contain!important;object-position:left center!important;background:transparent!important}
.c4-logo img{width:300px!important;height:72px!important;max-width:100%!important;filter:drop-shadow(0 0 16px rgba(255,28,45,.18))!important}
.c4-side-logo img{width:220px!important;height:auto!important;margin:2px auto 18px!important}
.footer-logo{max-width:330px!important}.footer-logo img{width:100%!important;height:auto!important}

/* Panel: isotipo aprobado, sin el antiguo logo D plano */
.admin-brand-full.admin-brand-lockup>img{width:58px!important;height:58px!important;object-fit:contain!important;border-radius:14px!important;filter:drop-shadow(0 0 14px rgba(255,28,45,.14))!important}
.admin-top-brand img{width:40px!important;height:40px!important;object-fit:contain!important;border-radius:10px!important}
.admin-brand-full .brand-mark-copy strong{color:#fff!important;background:none!important;-webkit-text-fill-color:initial!important}
.admin-brand-full .brand-mark-copy small{color:#96969e!important}

/* Login / registro: negro grafito, rojo como acento y marca grande */
.auth-shell{background:radial-gradient(circle at 18% 18%,rgba(255,28,45,.12),transparent 28%),#050506!important}
.auth-brand{background:linear-gradient(145deg,#070708,#050506)!important;border-right:1px solid #2b1014!important}
.auth-brand:after{background-image:linear-gradient(rgba(255,28,45,.035) 1px,transparent 1px),linear-gradient(90deg,rgba(255,28,45,.035) 1px,transparent 1px)!important;background-size:34px 34px!important;opacity:.7!important}
.auth-brand-inner{max-width:680px!important;text-align:left!important}
.auth-brand-inner>img{width:min(650px,94%)!important;max-height:none!important;margin:0 0 34px!important}
.auth-brand-inner h1{font-size:clamp(42px,5.1vw,70px)!important;line-height:.98!important;letter-spacing:-2.2px!important;margin:0 0 18px!important;color:#fff!important;max-width:650px!important}
.auth-brand-inner p{font-size:17px!important;line-height:1.7!important;color:#b7b7bd!important;max-width:560px!important}
.auth-benefits{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px!important;max-width:580px!important}
.auth-benefit{background:#0b0b0d!important;border:1px solid #2b2b31!important;color:#eeeef2!important;padding:13px 14px!important}
.auth-panel{background:#070708!important}
.auth-card{background:linear-gradient(160deg,#0d0d0f,#080809)!important;border:1px solid #303036!important;box-shadow:0 30px 80px rgba(0,0,0,.48)!important;color:#fff!important}
.auth-card-heading{padding-bottom:16px!important;border-bottom:1px solid #232328!important}
.auth-mini-icon{width:64px!important;height:64px!important;border-radius:15px!important;object-fit:contain!important;background:#050506!important;border:1px solid #301014!important;padding:3px!important}
.auth-card h2{color:#fff!important}.auth-card .muted,.auth-card .field-help{color:#a7a7ae!important}
.auth-card .input{background:#09090a!important;border:1px solid #34343a!important;color:#fff!important}
.auth-card .input:focus{border-color:var(--dt-brand-red)!important;box-shadow:0 0 0 3px rgba(255,28,45,.11)!important}
.auth-card .password-toggle{background:#111113!important;color:#ddd!important}
.auth-card .checkbox-card{background:#0a0a0c!important;border-color:#2c2c32!important;color:#d7d7dc!important}
.auth-card a b{color:#ff3a49!important}
.auth-card .btn-primary{background:linear-gradient(135deg,var(--dt-brand-red),var(--dt-brand-red2))!important;border-color:#ff5662!important;color:#fff!important;box-shadow:0 10px 28px rgba(255,28,45,.16)!important}
.mobile-auth-logo{width:min(420px,92%)!important;height:auto!important;margin:0 auto 24px!important}

/* Perfil, soporte y resultados también usan la nueva marca sin deformación */
.profile-brand-avatar,.support-agent-logo img,.agent-avatar img,.new-chat-logo{object-fit:contain!important;background:#070708!important;border-radius:12px!important}
.result-logo{width:min(460px,94%)!important;height:auto!important;margin:0 auto 24px!important}

@media(max-width:1180px){.c4-logo img{width:260px!important}.auth-brand-inner>img{width:min(560px,92%)!important}}
@media(max-width:1020px){.c4-logo img{width:220px!important;height:58px!important}}
@media(max-width:720px){
  .c4-logo img{width:188px!important;height:52px!important}
  .auth-card{padding:24px 20px!important;border-radius:22px!important}
  .auth-card .mobile-auth-logo{display:block!important;width:min(360px,94%)!important}
  .auth-benefits{grid-template-columns:1fr!important}
}
