/* --------- Base / Fonte --------- */
@import url('https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');

*{ box-sizing: border-box; margin:0; padding:0; font-family:'Karla',sans-serif; -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }
html,body{ height:100%; }

/* --------- Fundo (melhor visual) --------- */
body{
  background: radial-gradient(1200px 600px at 10% 10%, rgba(78,102,255,0.12), transparent 8%),
              radial-gradient(800px 400px at 90% 90%, rgba(34,197,94,0.06), transparent 6%),
              linear-gradient(180deg, #1f2a2a 0%, #283D3B 60%);
  color: #E6EEF2;
  -webkit-font-smoothing:antialiased;
}

/* remove "tela fixa" - não forçamos altura/width fixas */
#mainCoantiner{
  width: 100%;
  padding: 48px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 40px);
}

/* Card principal — glass + border suave */
.card{
  width: 100%;
  max-width: 560px; /* tamanho padrão maior que antes */
  border-radius: 20px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  backdrop-filter: blur(8px) saturate(120%);
  box-shadow: 0 12px 40px rgba(2,8,23,0.6), inset 0 1px 0 rgba(255,255,255,0.02);
  transition: transform .28s cubic-bezier(.2,.9,.3,1), box-shadow .28s;
}

/* leve elevação ao passar */
.card:hover{ transform: translateY(-6px); box-shadow: 0 20px 50px rgba(2,8,23,0.7); }

/* corpo do card: espaçamento confortável */
.wow-bg{
  padding: 36px;
  background: transparent; /* card já tem bg */
  border-radius: 20px;
  color: #e9f0f6;
}

/* Título / texto */
.colorboard{
  color: #CFE2FF;
  font-weight: 700;
  font-size: 1.8rem;
  margin-bottom: 6px;
  letter-spacing: .2px;
}
.text-muted{
  color: rgba(230,238,242,0.7);
  margin-bottom: 18px;
}

/* Inputs — mais visíveis, com placeholder claro */
.input-group { margin-bottom: 14px; width:100%; }
.textbox-dg {
  display:block;
  width:100%;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(20,26,28,0.35);
  padding: 14px 14px;
  border-radius: 12px;
  color: #f3f7f9;
  transition: all .22s ease;
  font-size: 1rem;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.35);
}
.textbox-dg::placeholder { color: rgba(230,238,242,0.55); }

/* foco acessível */
.textbox-dg:focus {
  outline: none;
  border-color: rgba(78,102,255,0.85);
  box-shadow: 0 6px 22px rgba(78,102,255,0.08);
  background: rgba(20,26,28,0.44);
}

/* Botão principal com gradiente */
.logn-btn{
  display: inline-block;
  width:100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: linear-gradient(90deg,#4e66ff,#7b9bff 70%);
  border: none;
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 8px 24px rgba(78,102,255,0.18);
  transition: transform .16s ease, box-shadow .16s ease, opacity .12s;
}
.logn-btn:hover{ transform: translateY(-2px); box-shadow: 0 14px 40px rgba(78,102,255,0.22); cursor:pointer; }

/* link de mensagem (php session msg) */
.btn-link {
  color: rgba(255,255,255,0.7);
  font-size: .95rem;
  display: inline-block;
  margin-top: 8px;
}

/* botões sociais — sem Font Awesome, ícones opcionais inline ou texto curto */
.btn-list { margin-top: 18px; display:flex; gap:8px; justify-content:center; flex-wrap:wrap; }
.socila-btn{
  height: 44px;
  width:44px;
  min-width:44px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(0,0,0,0.12);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  transition: transform .14s ease, background .14s;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}
.socila-btn:hover{ transform: translateY(-4px); background: rgba(78,102,255,0.09); }

/* esconder referências/ícones de fontawesome — não usamos a biblioteca */
.fab, i[class*="fa-"] { display: none !important; }

/* pequenas utilidades */
.msg{ color:#ffb4b4; font-size:0.95rem; margin-top:8px; display:block; }

/* ===================== Responsividade ===================== */

/* Mobile pequeno */
@media (max-width: 576px) {
  #mainCoantiner{ padding: 28px 12px; min-height: calc(100vh - 24px); }
  .card{ max-width: 420px; border-radius: 16px; }
  .wow-bg{ padding: 20px; }
  .colorboard{ font-size: 1.2rem; }
  .text-muted{ font-size: .92rem; }
  .socila-btn{ width:40px; height:40px; }
}

/* Tablet */
@media (min-width: 577px) and (max-width: 991px) {
  .card{ max-width: 640px; }
  .wow-bg{ padding: 28px; }
  .colorboard{ font-size: 1.5rem; }
}

/* Desktop padrão */
@media (min-width: 992px) {
  #mainCoantiner{ padding: 56px 32px; }
  .card{ max-width: 680px; }
  .wow-bg{ padding: 34px; }
  .colorboard{ font-size: 1.6rem; }
}

/* Larger screens — aumento de largura e "altura confortável" (mais espaço interno) */
@media (min-width: 1400px) {
  #mainCoantiner{ padding: 80px 80px; min-height: calc(100vh - 40px); }
  .card{ max-width: 920px; border-radius: 26px; }
  .wow-bg{ padding: 48px 56px; }
  .colorboard{ font-size: 2.2rem; }
  .text-muted{ font-size: 1.05rem; }
  .textbox-dg{ padding: 16px 18px; font-size: 1.05rem; border-radius: 14px; }
  .logn-btn{ padding: 14px 20px; border-radius: 14px; font-size: 1.05rem; }
}

/* Alta resolução ultra-wide — escalar suavemente */
@media (min-width: 2000px) {
  .card{ max-width: 1200px; }
  .wow-bg{ padding: 64px; }
  .colorboard{ font-size: 2.6rem; }
}

/* foco acessível */
button:focus, a:focus, input:focus {
  outline: 3px solid rgba(126,140,255,0.14);
  outline-offset: 2px;
}

/* evita elementos com largura/altura fixa */
[style*="width:"][style*="px"] { max-width:100%; }

/* fim do CSS */
/* Marca TEN TO TEN dentro do card */
.brand-wrap{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  margin-bottom: 8px;
}

/* espaço para logo (placeholder) — substitua por SVG/IMG se tiver */
.brand-logo{
  width:52px;
  height:52px;
  border-radius:10px;
  background: linear-gradient(135deg,#4e66ff,#7b9bff);
  box-shadow: 0 6px 18px rgba(78,102,255,0.18);
  display:inline-block;
}

/* Nome da plataforma — destaque */
.platform-name{
  color:#EAF1FF;
  font-size:1.25rem;
  font-weight:800;
  letter-spacing:0.8px;
  margin:0;
}

/* Reset: remover botões sociais (se ainda existirem) */
.btn-list, .socila-btn { display: none !important; }

/* Link "Esqueci a senha" sutil */
.link-reset {
  color: rgba(230,238,242,0.78);
  text-decoration: underline;
}
.link-reset:hover { color: #cfe2ff; }

/* Footer legal dentro do card */
.card footer { margin-top: 14px; opacity: 0.85; }

/* Ajuste de tamanhos para large screens (se quiser ainda maior) */
@media (min-width: 1400px) {
  .card { max-width: 980px; }
  .wow-bg { padding: 48px 64px; }
  .platform-name { font-size:1.6rem; }
  .brand-logo { width:64px; height:64px; border-radius:14px; }
}
