/* Troca APENAS o card de login pelo card do design (07/07/2026).
   Mantem intactos: fundo (predio), particulas, layout e o resto da pagina.
   Aplica-se sobre o .login-card-shell existente (React), so o conteudo/aparencia. */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@400;500&family=IBM+Plex+Sans:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,500;0,600;1,500&display=swap');

.login-card-shell.dcx-shell {
  border-radius: 18px !important;
  overflow: hidden !important;
  width: 100% !important;
  max-width: 340px !important;   /* menor: antes herdava clamp ate 520px */
  background: linear-gradient(160deg, rgba(20,26,40,0.92), rgba(10,14,22,0.94)) !important;
  border: 1px solid rgba(201,162,75,0.28) !important;
  box-shadow: 0 30px 64px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06) !important;
  -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
  padding: 0 !important;
  transform: translateY(28px) scale(0.945) !important;   /* +5% sobre 0.9 e desce um pouco */
  transform-origin: center top !important;
}
.dcx-accent { height: 3px; background: linear-gradient(90deg, transparent, #C9A24B 30%, #C4161C 70%, transparent); }
.dcx-body { padding: 26px 24px 22px; display: flex; flex-direction: column; gap: 16px; text-align: left; }

.dcx-brand { display: flex; flex-direction: column; align-items: center; gap: 7px; text-align: center; }
.dcx-tri { width: 17px; height: 17px; background: #C4161C; clip-path: polygon(50% 0, 100% 100%, 0 100%); }
.dcx-name { font-family: 'Playfair Display', serif; font-size: 21px; letter-spacing: 6px; color: #F4F1E8; }
.dcx-sub { font-family: 'IBM Plex Mono', monospace; font-size: 8.5px; letter-spacing: 2.5px; color: #7A8296; line-height: 1.5; }

.dcx-head { display: flex; flex-direction: column; gap: 5px; }
.dcx-eyebrow { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 4px; color: #C9A24B; }
.dcx-title { font-family: 'Playfair Display', serif; font-size: 23px; color: #F4F1E8; margin: 0; font-weight: 500; }
.dcx-lead { font-family: 'IBM Plex Sans', sans-serif; font-size: 12.5px; font-weight: 300; color: #A7ADBB; line-height: 1.45; }

.dcx-fields { display: flex; flex-direction: column; gap: 12px; }
.dcx-field { display: flex; flex-direction: column; gap: 6px; }
.dcx-field > span { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: 3px; color: #7A8296; }
.dcx-field input {
  height: 44px; border-radius: 9px; border: 1px solid rgba(201,162,75,0.25);
  background: rgba(6,8,13,0.7); color: #F4F1E8; font-family: 'IBM Plex Sans', sans-serif;
  font-size: 15px; padding: 0 14px; outline: none; width: 100%; transition: border-color .15s, box-shadow .15s;
}
.dcx-field input[type=password] { letter-spacing: 4px; }
.dcx-field input::placeholder { color: rgba(122,130,150,.6); letter-spacing: 0; }
.dcx-field input:focus { border-color: #C9A24B; box-shadow: 0 0 0 3px rgba(201,162,75,0.15); }

.dcx-actions { display: flex; flex-direction: column; gap: 11px; }
.dcx-error { display: none; font-family: 'IBM Plex Sans', sans-serif; font-size: 12.5px; color: #ff8f86;
  background: rgba(196,22,28,0.12); border: 1px solid rgba(196,22,28,0.4); border-radius: 8px; padding: 8px 11px; text-align: center; }
.dcx-error.show { display: block; }
.dcx-btn {
  height: 48px; border-radius: 9px; border: none; cursor: pointer;
  background: linear-gradient(180deg, #D3242A, #A9121A); color: #FFF4EC;
  font-family: 'IBM Plex Sans', sans-serif; font-size: 15px; font-weight: 600; letter-spacing: 1px;
  box-shadow: 0 10px 24px rgba(196,22,28,.32), inset 0 1px 0 rgba(255,255,255,.18);
  transition: background .15s, box-shadow .15s; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
}
.dcx-btn:hover:not(:disabled) { background: linear-gradient(180deg, #E03038, #B8161E); box-shadow: 0 12px 28px rgba(196,22,28,.45), inset 0 1px 0 rgba(255,255,255,.2); }
.dcx-btn:disabled { opacity: .7; cursor: default; }
.dcx-status { display: flex; align-items: center; justify-content: center; gap: 8px; }
.dcx-dot { width: 6px; height: 6px; border-radius: 50%; background: #2FA36B; box-shadow: 0 0 8px rgba(47,163,107,.8); }
.dcx-status > span:last-child { font-family: 'IBM Plex Sans', sans-serif; font-size: 11.5px; color: #A7ADBB; font-weight: 300; }

.dcx-foot { border-top: 1px solid rgba(201,162,75,0.18); padding-top: 14px; display: flex; flex-direction: column; gap: 4px; }
.dcx-foot .a { font-family: 'IBM Plex Sans', sans-serif; font-size: 12px; color: #E8E4DA; font-weight: 500; }
.dcx-foot .b { font-family: 'IBM Plex Sans', sans-serif; font-size: 11px; color: #7A8296; font-weight: 300; }

/* Remove o bloco de pilulas (.d4) e os cards de features (.d5) da coluna esquerda —
   estavam praticamente ilegiveis sobre o fundo do predio (pedido do dono 07/07). */
.brand-col .d4, .brand-col .d5 { display: none !important; }

/* ===================== VERSAO CLARA do card de login =====================
   Segue o tema da pagina (html[data-theme="light"]). O card base e escuro; aqui
   ele vira claro quando o tema claro esta ativo. Botao/triangulo/faixa (vermelho
   e dourado) ficam iguais — ja contrastam bem no claro. Pedido do dono 07/07. */
html[data-theme="light"] .login-card-shell.dcx-shell {
  background: linear-gradient(160deg, #ffffff, #f5f2ea) !important;
  border: 1px solid rgba(201,162,75,0.45) !important;
  box-shadow: 0 24px 56px rgba(40,30,10,0.16), 0 0 0 1px rgba(201,162,75,0.12), inset 0 1px 0 rgba(255,255,255,0.9) !important;
}
html[data-theme="light"] .dcx-name,
html[data-theme="light"] .dcx-title { color: #1b1f2b; }
html[data-theme="light"] .dcx-sub { color: #8a7c58; }
html[data-theme="light"] .dcx-eyebrow { color: #9a7419; }
html[data-theme="light"] .dcx-lead { color: #5c6374; }
html[data-theme="light"] .dcx-field > span { color: #8a8272; }
html[data-theme="light"] .dcx-field input {
  background: #fbf9f4; border: 1px solid rgba(201,162,75,0.40); color: #1b1f2b;
}
html[data-theme="light"] .dcx-field input::placeholder { color: #a29a88; }
html[data-theme="light"] .dcx-field input:focus { border-color: #C9A24B; box-shadow: 0 0 0 3px rgba(201,162,75,0.2); }
html[data-theme="light"] .dcx-status > span:last-child { color: #6b7280; }
html[data-theme="light"] .dcx-foot { border-top-color: rgba(201,162,75,0.30); }
html[data-theme="light"] .dcx-foot .a { color: #2a2e3a; }
html[data-theme="light"] .dcx-foot .b { color: #8a8272; }

/* ===================== LEGIBILIDADE do texto de marca =====================
   O paragrafo .d3 (subtitulo) usa color: var(--txt-soft) inline e NAO tem
   text-shadow, entao o texto NAO-negrito some sobre a parte iluminada da foto
   do predio. Aqui clareamos/escurecemos o texto por tema e damos um "halo"
   (text-shadow) que ancora o texto em qualquer parte da imagem. So o <p.d3>
   (nao a barrinha vermelha div.d3). O <b> herda o halo. Pedido do dono 07/07. */

/* DARK: texto claro sobre foto escura -> cor mais clara + halo escuro */
html[data-theme="dark"] .brand-col p.d3 {
  color: #e9eef6 !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.62), 0 2px 12px rgba(0,0,0,0.50) !important;
}
html[data-theme="dark"] .brand-col p.d3 b {
  text-shadow: 0 1px 2px rgba(0,0,0,0.70), 0 2px 12px rgba(0,0,0,0.55) !important;
}
html[data-theme="dark"] .brand-col .d2 {
  text-shadow: 0 1px 2px rgba(0,0,0,0.55), 0 1px 8px rgba(0,0,0,0.42) !important;
}

/* LIGHT: texto escuro sobre foto clareada (opacity .2) -> cor mais escura + halo claro */
html[data-theme="light"] .brand-col p.d3 {
  color: #2e3442 !important;
  text-shadow: 0 1px 2px rgba(255,255,255,0.85), 0 0 9px rgba(255,255,255,0.60) !important;
}
html[data-theme="light"] .brand-col p.d3 b {
  text-shadow: 0 1px 2px rgba(255,255,255,0.75) !important;
}
html[data-theme="light"] .brand-col .d2 {
  text-shadow: 0 1px 2px rgba(255,255,255,0.70) !important;
}
