/* Orbit Suprimentos: complementos ao design system Orbit (styles.css). */

.field textarea {
  width: 100%; min-height: 72px; padding: 10px 12px; resize: vertical;
  border: 1px solid #d9e2f1; border-radius: var(--o-r-sm);
  background: #fff; color: var(--o-ink); outline: 0; font-family: inherit;
}
.field textarea:focus { border-color: var(--o-cyan); box-shadow: 0 0 0 4px rgba(6, 182, 212, .14); }
.field .hint { font-size: 12px; color: var(--o-muted); margin-top: 5px; }
.field.wide { grid-column: 1 / -1; }
.field.need input, .field.need textarea { border-color: var(--o-amber); }
body.dark .field textarea { background: #131c3d; border-color: rgba(255, 255, 255, .12); color: #e6ecfb; }

.modal.wide { width: min(920px, 96vw); }
.modal-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.modal-head h2 { margin: 0; }
.x-btn { border: 0; background: transparent; font-size: 22px; color: var(--o-muted); width: 40px; height: 40px; border-radius: 10px; }
.x-btn:hover { background: #f1f5fb; }


.two-col { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 16px; align-items: start; }
.muted { color: var(--o-muted); }
.link { border: 0; background: transparent; padding: 0; color: var(--o-blue); cursor: pointer; font-weight: 600; }

/* Conta Orbit e ambiente de homologacao */
.login-hint { margin-top: 8px; font-size: 13px; line-height: 1.5; color: #64748b; }
#landing.theme-dark .login-hint { color: #94a3b8; }
.env-badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 999px; background: #fef3c7; color: #92400e;
  font-size: 11px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; white-space: nowrap; }
.login-emblem .env-badge { font-size: 12px; margin-left: 6px; }
body.dark .env-badge, #landing.theme-dark .env-badge { background: rgba(245, 158, 11, .18); color: #fbbf24; }

/* Login: escolha do lado (comprador ou fornecedor) */
.side-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; margin: 0 28px 4px; padding: 4px; border-radius: 12px;
  background: rgba(107, 139, 176, .14); }
.side-switch button { border: 0; border-radius: 9px; padding: 9px 10px; background: transparent; color: #4b6283; font-weight: 700;
  font-size: 13px; cursor: pointer; font-family: inherit; }
.side-switch button.is-active { background: #fff; color: #173861; box-shadow: 0 2px 8px rgba(20, 55, 92, .12); }
#landing.theme-dark .side-switch { background: rgba(255, 255, 255, .06); }
#landing.theme-dark .side-switch button { color: #94a3b8; }
#landing.theme-dark .side-switch button.is-active { background: rgba(34, 211, 238, .14); color: #e2f6ff; }
.invite-box { margin-bottom: 14px; padding: 12px 14px; border-radius: 12px; background: rgba(37, 99, 235, .07); font-size: 13px;
  line-height: 1.5; color: #24456f; }
#landing.theme-dark .invite-box { background: rgba(34, 211, 238, .08); color: #cfe7f7; }

/* Painel: cartoes de boas-vindas */
.welcome-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin-bottom: 16px; }
.welcome-card { position: relative; background: var(--o-panel); border: 1px solid var(--o-line); border-radius: 16px; padding: 18px 20px;
  box-shadow: var(--o-sh-sm); }
.welcome-card .w-ic { font-size: 22px; }
.welcome-card h3 { font-size: 15px; color: var(--o-ink); margin: 8px 0 4px; }
.welcome-card p { font-size: 13px; color: var(--o-muted); line-height: 1.5; }
.welcome-card .w-tag { display: inline-block; margin-top: 10px; font-size: 11px; font-weight: 700; color: var(--o-muted);
  text-transform: uppercase; letter-spacing: .05em; }
body.dark .welcome-card { background: #101935; border-color: rgba(255, 255, 255, .08); }
body.dark .welcome-card h3 { color: #e9eefb; }

/* Nome do produto mais longo que o do NFE: cabe antes do botao de recolher. */
.brand-title { font-size: 16px; }
