/* too.ia — área de autenticação e usuário */

.auth-body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
}

.auth-wrap { width: 100%; max-width: 420px; }

.auth-box {
  background: var(--bg-card, rgba(255,255,255,.04));
  border: 1px solid var(--border, rgba(255,255,255,.08));
  border-radius: 16px;
  padding: 36px 32px;
  backdrop-filter: blur(12px);
}

.auth-brand {
  text-align: center;
  margin-bottom: 28px;
}

.auth-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text, #e2e8f0);
}

.auth-subtitle {
  font-size: 15px;
  font-weight: 600;
  margin: 20px 0 12px;
  color: var(--text-muted, #94a3b8);
}

.auth-alert {
  background: rgba(239,68,68,.12);
  border: 1px solid rgba(239,68,68,.3);
  color: #fca5a5;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
}

.auth-success {
  background: rgba(34,197,94,.12);
  border: 1px solid rgba(34,197,94,.3);
  color: #86efac;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  margin-bottom: 16px;
}

.auth-form { display: flex; flex-direction: column; gap: 14px; }

.auth-field { display: flex; flex-direction: column; gap: 5px; }

.auth-field label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
  text-transform: uppercase;
  letter-spacing: .4px;
}

.auth-field input {
  padding: 10px 12px;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 8px;
  color: var(--text, #e2e8f0);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}

.auth-field input:focus { border-color: var(--accent, #6366f1); }

.auth-field-static {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
}

.auth-field-static label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted, #94a3b8);
  text-transform: uppercase;
  letter-spacing: .4px;
  min-width: 50px;
}

.auth-btn {
  padding: 11px;
  background: var(--accent, #6366f1);
  color: #fff;
  border: none;
  border-radius: 9px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: opacity .15s;
  margin-top: 4px;
}

.auth-btn:hover { opacity: .88; }

.auth-btn-secondary {
  background: transparent;
  border: 1px solid var(--accent, #6366f1);
  color: var(--accent, #6366f1);
}

.auth-btn-secondary:hover { background: rgba(99,102,241,.1); opacity: 1; }

.auth-link {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
  color: var(--text-muted, #94a3b8);
}

.auth-link a, .auth-link-inline {
  color: var(--accent, #6366f1);
  text-decoration: none;
}

.auth-link a:hover, .auth-link-inline:hover { text-decoration: underline; }

.auth-divider {
  border: none;
  border-top: 1px solid rgba(255,255,255,.08);
  margin: 24px 0;
}

.auth-back {
  margin-bottom: 16px;
  font-size: 13px;
}

.auth-back a {
  color: var(--text-muted, #94a3b8);
  text-decoration: none;
}

.auth-back a:hover { color: var(--text, #e2e8f0); }

/* badges de plano */
.plano-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
}

.plano-free     { background: rgba(100,116,139,.2); color: #94a3b8; }
.plano-pro      { background: rgba(99,102,241,.2);  color: #a5b4fc; }
.plano-business { background: rgba(234,179,8,.2);   color: #fde047; }

/* plano atual */
.plano-atual {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 24px;
}

.plano-nome { font-size: 18px; font-weight: 700; }

/* uso */
.uso-grid { display: flex; flex-direction: column; gap: 16px; margin-bottom: 24px; }

.uso-item {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 14px 16px;
}

.uso-label { font-size: 12px; color: var(--text-muted, #94a3b8); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .4px; }

.uso-valor { font-size: 28px; font-weight: 700; line-height: 1; }

.uso-limite { font-size: 12px; color: var(--text-muted, #94a3b8); margin-top: 4px; }

.uso-barra {
  height: 4px;
  background: rgba(255,255,255,.08);
  border-radius: 2px;
  margin: 8px 0 4px;
  overflow: hidden;
}

.uso-fill { height: 100%; background: var(--accent, #6366f1); border-radius: 2px; }

.uso-nums { font-size: 12px; color: var(--text-muted, #94a3b8); }

/* planos comparação */
.planos-comparacao { margin-top: 24px; }

.planos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }

.plano-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 14px 12px;
  text-align: center;
}

.plano-atual-card { border-color: var(--accent, #6366f1); }

.plano-card-nome { font-size: 13px; font-weight: 700; margin-bottom: 4px; }

.plano-card-preco { font-size: 11px; color: var(--text-muted, #94a3b8); margin-bottom: 10px; }

.plano-card-lista { list-style: none; font-size: 11px; color: var(--text-muted, #94a3b8); display: flex; flex-direction: column; gap: 4px; }

.plano-badge-atual { display: block; margin-top: 10px; font-size: 10px; color: var(--accent, #6366f1); font-weight: 600; }
