/* Prospect: o que o site tem a mais que o Controle do kit (login, importação, conta). */

/* ── Login ── */
body.auth-pending #app, body.auth-pending #login { visibility: hidden; }
.login { min-height: 100vh; display: grid; place-items: center; padding: 24px; }
.login-card {
  width: min(380px, 100%); text-align: center; padding: 34px 30px 28px; border-radius: 28px;
  background: var(--glass-tint), rgba(255, 255, 255, .55); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
  box-shadow: var(--glass-rim), var(--glass-float);
}
.login-mark { width: 52px; height: 52px; object-fit: contain; }
.login-card h1 { margin: 10px 0 0; font-size: 24px; font-weight: 700; letter-spacing: -.5px; }
.login-sub { margin: 2px 0 22px; color: var(--label-2); font-size: 13.5px; }
.login-note { margin: 12px 0 0; font-size: 12px; color: var(--label-3); }
.login-erro { margin: 14px 0 0; font-size: 12.5px; color: var(--red-ink); }
.google-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border: 0; cursor: pointer; color: #fff; font-weight: 600; font-family: inherit; }
.google-btn svg { width: 18px; height: 18px; }
#login-negado .alert { text-align: left; }

/* ── Conta (rodapé da barra lateral) ── */
.user-box { display: flex; align-items: center; justify-content: space-between; gap: 6px; }
.user-email { font-size: 11.5px; color: var(--label-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; min-width: 0; }

/* ── Importar ── */
.drop {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; text-align: center;
  min-height: 150px; padding: 22px; border-radius: 18px; cursor: pointer;
  background: var(--fill-2); box-shadow: inset 0 0 0 1.5px var(--separator);
  transition: background .2s var(--ease), box-shadow .2s var(--ease);
}
.drop:hover, .drop.over { background: var(--blue-tint); box-shadow: inset 0 0 0 1.5px rgba(26, 115, 232, .45); }
.drop input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.drop svg { width: 30px; height: 30px; fill: none; stroke: var(--blue); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.drop b { color: var(--blue); }
.drop.has-file { background: rgba(52, 168, 83, .08); box-shadow: inset 0 0 0 1.5px rgba(52, 168, 83, .4); }
.imp-row { display: flex; align-items: flex-end; gap: 10px; margin-top: 14px; }
.imp-fonte { flex: 1; }
.imp-row .btn { height: 38px; padding: 0 22px; }
.imp-status { margin-top: 14px; font-size: 13px; color: var(--label-2); display: flex; align-items: center; gap: 9px; }
.imp-status::before { content: ""; width: 14px; height: 14px; border-radius: 50%; border: 2px solid var(--blue-tint); border-top-color: var(--blue); animation: girar .8s linear infinite; flex: none; }
.imp-status.done::before { display: none; }
@keyframes girar { to { transform: rotate(360deg); } }
#imp-result { margin-top: 14px; }
#imp-result .note { margin: 0; }
.note.ok { color: var(--green-ink); background: rgba(52, 168, 83, .12); }
.note.err { color: var(--red-ink); background: rgba(234, 67, 53, .1); }
.imp-list { margin: 6px 0 0; padding-left: 18px; }
@media (max-width: 600px) { .imp-row { flex-direction: column; align-items: stretch; } }
