/* SalesLegacy - páginas de inicio de sesión, verificación y buzón de QA. */
:root {
  --brand: #0a7a8f;
  --brand-hover: #086678;
  --text: #0c2a35;
  --text-weak: #56666c;
  --border: #c5cdd0;
  --error: #b3261e;
  --page: #f2f4f4;
  color-scheme: light;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; }
body { font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; font-size: 14px; color: var(--text); background: var(--page); }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
code { background: #e7eced; padding: 1px 5px; border-radius: 4px; }

.login-layout { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.login-layout.single { grid-template-columns: 1fr; }
.login-left { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 40px 16px; }
.login-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 28px; }
.sl-logo-mark { width: 64px; height: 64px; }
.login-wordmark { font-size: 32px; font-weight: 700; color: #064f5d; letter-spacing: -0.5px; }
.login-card { width: 100%; max-width: 414px; background: #fff; border: 1px solid #dfe4e5; border-radius: 6px; padding: 24px 22px; display: flex; flex-direction: column; gap: 10px; }
.login-title { font-size: 15px; font-weight: 600; text-align: center; margin: 0 0 6px; }
.verify-card p { margin: 0 0 6px; line-height: 1.5; }
.login-label { display: block; font-size: 13px; color: var(--text-weak); margin: 10px 0 4px; }
.login-input { width: 100%; height: 44px; border: 1px solid var(--border); border-radius: 4px; padding: 0 12px; font: inherit; background: #fff; }
.login-input:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(10, 122, 143, 0.25); }
.login-button { display: flex; align-items: center; justify-content: center; width: 100%; height: 44px; margin-top: 18px; border: 0; border-radius: 4px; background: var(--brand); color: #fff; font: inherit; font-size: 15px; cursor: pointer; }
.login-button:hover { background: var(--brand-hover); text-decoration: none; }
.login-button.inline { width: auto; display: inline-flex; padding: 0 20px; height: 36px; margin-top: 8px; color: #fff; }
.login-remember { display: flex; align-items: center; gap: 8px; margin-top: 14px; font-size: 13px; }
.login-remember input { accent-color: var(--brand); }
.login-links { display: flex; justify-content: space-between; gap: 12px; margin-top: 12px; padding-top: 12px; border-top: 1px solid #e6eaea; font-size: 13px; }
.login-error { background: #fdeceb; border: 1px solid #f0b4af; color: var(--error); border-radius: 4px; padding: 10px 12px; font-size: 13px; }
.login-info { background: #e3f3f6; border: 1px solid #b5dde4; color: #064f5d; border-radius: 4px; padding: 10px 12px; font-size: 13px; }
.login-footer { margin-top: 28px; font-size: 12px; color: var(--text-weak); }

.login-right { background: linear-gradient(160deg, #e3f5f7 0%, #b9e3ea 55%, #8fd0db 100%); display: flex; align-items: center; justify-content: center; padding: 40px 48px; }
.promo { max-width: 560px; }
.promo h2 { font-size: 40px; line-height: 1.1; color: #06323b; margin: 0 0 20px; letter-spacing: -0.5px; }
.promo-lead { font-size: 18px; margin: 0 0 18px; }
.promo-list { list-style: none; padding: 0; margin: 0 0 28px; display: flex; flex-direction: column; gap: 12px; font-size: 17px; }
.promo-list li { display: flex; gap: 10px; align-items: flex-start; }
.promo-list li::before { content: "✓"; display: inline-flex; width: 22px; height: 22px; flex: none; border-radius: 50%; background: #fff; color: var(--brand); align-items: center; justify-content: center; font-size: 13px; font-weight: 700; }
.promo-users { background: rgba(255, 255, 255, 0.75); border-radius: 12px; padding: 12px 16px; }
.promo-users summary { cursor: pointer; font-weight: 600; }
.promo-users table { width: 100%; border-collapse: collapse; margin: 10px 0; font-size: 13px; }
.promo-users th, .promo-users td { text-align: left; padding: 4px 6px; border-bottom: 1px solid rgba(12, 42, 53, 0.1); }
.promo-users p { margin: 0; font-size: 13px; }

.inbox { max-width: 860px; margin: 0 auto; padding: 32px 16px; }
.inbox-header { margin-bottom: 20px; }
.inbox-header h1 { margin: 0 0 6px; font-size: 26px; font-weight: 400; }
.inbox-header p { margin: 0; color: var(--text-weak); }
.mail { background: #fff; border: 1px solid #dfe4e5; border-radius: 8px; padding: 14px 16px; margin-bottom: 12px; }
.mail header { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 4px; }
.mail header span { color: var(--text-weak); font-size: 12px; }
.mail-to { font-size: 13px; color: var(--text-weak); }
.mail pre { white-space: pre-wrap; font: inherit; background: #f7f8f8; padding: 10px; border-radius: 6px; }
.mail-code { font-size: 15px; }
.verification-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; font-size: 20px; letter-spacing: 2px; color: var(--brand); }
.empty { color: var(--text-weak); }

@media (max-width: 900px) {
  .login-layout { grid-template-columns: 1fr; }
  .login-right { padding: 32px 16px; }
  .promo h2 { font-size: 28px; }
}
