/* ============================================================
   EUPEDI — Login & Cadastro (tema claro / profissional)
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --brand: #dc2626;
  --brand-dark: #b91c1c;
  --brand-light: #fef2f2;
  --primary: #16a34a;
  --primary-dark: #15803d;
  --bg: #f5f7fa;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #0f172a;
  --muted: #64748b;
  --success: #16a34a;
  --success-bg: #f0fdf4;
  --error: #dc2626;
  --error-bg: #fef2f2;
  --radius: 14px;
  --radius-lg: 20px;
  --shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.08);
  --font: 'Inter', system-ui, sans-serif;
}

html { height: 100%; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100%;
  -webkit-font-smoothing: antialiased;
}

/* ---- Layout split ---- */
.auth-page {
  display: flex;
  min-height: 100vh;
}

.auth-brand {
  flex: 0 0 44%;
  max-width: 520px;
  background: linear-gradient(165deg, #1e293b 0%, #0f172a 55%, #1a1a2e 100%);
  color: #f8fafc;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.auth-brand::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 0%, rgba(220, 38, 38, 0.18) 0%, transparent 55%),
    radial-gradient(ellipse 60% 50% at 100% 100%, rgba(22, 163, 74, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.auth-brand-inner { position: relative; z-index: 1; }

.auth-logo {
  display: inline-flex;
  align-items: baseline;
  text-decoration: none;
  margin-bottom: 20px;
}

.auth-logo-mark {
  font-size: 32px;
  font-weight: 900;
  color: var(--brand);
  letter-spacing: -1px;
}

.auth-logo-text {
  font-size: 32px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.auth-tagline {
  font-size: 15px;
  line-height: 1.6;
  color: rgba(248, 250, 252, 0.75);
  max-width: 340px;
  margin-bottom: 16px;
}

.auth-segments {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 360px;
  margin-bottom: 32px;
}

.auth-segment-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 600;
  padding: 5px 11px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(248, 250, 252, 0.88);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.auth-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.auth-features li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.auth-feature-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.auth-feature-icon svg { width: 18px; height: 18px; color: #f8fafc; opacity: 0.9; }

.auth-features strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}

.auth-features span {
  font-size: 13px;
  color: rgba(248, 250, 252, 0.55);
  line-height: 1.45;
}

.auth-brand-cta {
  margin-top: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-brand-cta p {
  font-size: 13px;
  color: rgba(248, 250, 252, 0.55);
  margin-bottom: 10px;
}

.auth-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  background: var(--brand);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}

.auth-link-btn:hover { background: var(--brand-dark); transform: translateY(-1px); }

.auth-link-btn-outline {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.auth-link-btn-outline:hover { background: rgba(255, 255, 255, 0.08); }

.auth-brand-footer {
  position: relative;
  z-index: 1;
  font-size: 12px;
  color: rgba(248, 250, 252, 0.35);
}

/* ---- Painel do formulário ---- */
.auth-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  overflow-y: auto;
}

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

.auth-panel-wide { max-width: 560px; }

.auth-panel-header { margin-bottom: 28px; }

.auth-panel-brand {
  display: none;
  justify-content: center;
  margin-bottom: 22px;
}

.auth-panel-brand .brand-lockup { gap: 10px; }

.auth-panel-header h1 {
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 6px;
}

.auth-panel-header p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

/* ---- Alertas ---- */
.alert {
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  margin-bottom: 20px;
  line-height: 1.45;
}

.alert-error { background: var(--error-bg); border: 1px solid #fecaca; color: #991b1b; }
.alert-success { background: var(--success-bg); border: 1px solid #bbf7d0; color: #166534; }

/* ---- Formulário ---- */
.form-group { margin-bottom: 18px; }

.form-group label,
.form-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-hint {
  font-size: 12px;
  color: var(--muted);
  margin-top: 5px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.input-icon {
  position: relative;
  display: block;
  width: 100%;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea {
  width: 100%;
  background-color: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 11px 14px;
  color: var(--text);
  font-size: 14px;
  font-family: inherit;
  transition: border-color 0.15s, box-shadow 0.15s;
  outline: none;
  box-sizing: border-box;
}

/* Ícones dentro do input (background) */
.input-icon input[type="email"],
.input-icon input[type="password"] {
  padding-left: 42px;
  background-repeat: no-repeat;
  background-position: 14px center;
  background-size: 16px 16px;
}

.input-icon input[type="email"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z'/%3E%3Cpolyline points='22 6 12 13 2 6'/%3E%3C/svg%3E");
}

.input-icon input[type="password"] {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='11' width='18' height='11' rx='2'/%3E%3Cpath d='M7 11V7a5 5 0 0 1 10 0v4'/%3E%3C/svg%3E");
}

.input-icon--pass input[type="password"] {
  padding-right: 42px;
}

.toggle-pass {
  position: absolute;
  right: 1px;
  top: 1px;
  bottom: 1px;
  width: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  color: var(--muted);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border-radius: 0 9px 9px 0;
}

.toggle-pass:hover { color: var(--text); }
.toggle-pass svg { width: 16px; height: 16px; display: block; }

input:focus, select:focus, textarea:focus {
  border-color: #94a3b8;
  box-shadow: 0 0 0 3px rgba(148, 163, 184, 0.2);
}

input::placeholder { color: #94a3b8; }

select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* ---- Botões ---- */
.btn-auth {
  width: 100%;
  padding: 13px 20px;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s, transform 0.15s, box-shadow 0.2s;
}

.btn-auth:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(22, 163, 74, 0.25);
}

.btn-auth:active { transform: translateY(0); }
.btn-auth.loading { opacity: 0.75; pointer-events: none; }
.btn-auth svg { width: 18px; height: 18px; }

.btn-auth-outline {
  background: var(--surface);
  color: var(--text);
  border: 1.5px solid var(--border);
  box-shadow: none;
}

.btn-auth-outline:hover {
  background: #f8fafc;
  box-shadow: none;
  transform: none;
}

.auth-actions-row {
  display: flex;
  gap: 10px;
  margin-top: 8px;
}

.auth-actions-row .btn-auth { flex: 1; }

.auth-footer-links {
  text-align: center;
  margin-top: 22px;
  font-size: 13px;
}

.auth-footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.15s;
}

.auth-footer-links a:hover { color: var(--text); }

.auth-mobile-switch {
  display: none;
  text-align: center;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  font-size: 14px;
  color: var(--muted);
}

.auth-mobile-switch a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

/* ---- Wizard cadastro ---- */
.wizard-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-bottom: 28px;
}

.wizard-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}

.wizard-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 14px;
  left: calc(50% + 16px);
  width: calc(100% - 32px);
  height: 2px;
  background: var(--border);
  z-index: 0;
}

.wizard-step.done:not(:last-child)::after,
.wizard-step.active:not(:last-child)::after {
  background: var(--primary);
}

.wizard-step-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--surface);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--muted);
  position: relative;
  z-index: 1;
  transition: all 0.2s;
}

.wizard-step.active .wizard-step-dot {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.wizard-step.done .wizard-step-dot {
  border-color: var(--primary);
  background: var(--primary);
  color: #fff;
}

.wizard-step-label {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  text-align: center;
  max-width: 72px;
  line-height: 1.2;
}

.wizard-step.active .wizard-step-label { color: var(--text); }

/* ---- Cards de plano ---- */
.planos-grid {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.plano-option { cursor: pointer; position: relative; }

.plano-option input[type="radio"] { position: absolute; opacity: 0; pointer-events: none; }

.plano-card {
  border: 2px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
  position: relative;
}

.plano-option input[type="radio"]:checked + .plano-card {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(22, 163, 74, 0.12);
  background: #f0fdf4;
  padding-left: 48px;
}

.plano-option input[type="radio"]:checked + .plano-card::after {
  content: "";
  position: absolute;
  top: 14px;
  left: 14px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background-color: var(--primary, #16a34a);
  box-shadow: 0 2px 8px rgba(22, 163, 74, 0.35);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 14px 14px;
  z-index: 2;
}

.plano-card:hover { border-color: #cbd5e1; }

.plano-custom-mod {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border: 1.5px solid var(--border, #e2e8f0);
  border-radius: 8px;
  font-size: 12px;
  cursor: pointer;
  background: #fff;
  transition: border-color .15s, background .15s;
  position: relative;
}
.plano-custom-mod:has(.custom-mod-cb:checked) {
  border-color: var(--primary, #16a34a);
  background: #f0fdf4;
}
.plano-custom-mod .custom-mod-cb {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid #cbd5e1;
  border-radius: 5px;
  flex-shrink: 0;
  margin: 0;
  cursor: pointer;
  background: #fff;
  position: relative;
  transition: border-color .12s, background .12s;
}
.plano-custom-mod .custom-mod-cb:checked {
  background: var(--primary, #16a34a);
  border-color: var(--primary, #16a34a);
}
.plano-custom-mod .custom-mod-cb:checked::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 11px 11px;
}

.plano-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.plano-card-top h3 {
  font-size: 16px;
  font-weight: 700;
}

.plano-price {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
}

.plano-price small {
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
}

.plano-desc {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
  line-height: 1.45;
}

.plano-mods {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.plano-mod {
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 20px;
  background: #f1f5f9;
  color: var(--muted);
  font-weight: 500;
}

/* ---- Revisão ---- */
.review-block {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 16px 18px;
  margin-bottom: 14px;
}

.review-block h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--muted);
  margin-bottom: 10px;
}

.review-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
  padding: 5px 0;
  border-bottom: 1px solid var(--border);
}

.review-row:last-child { border-bottom: none; }

.review-row span:first-child { color: var(--muted); }
.review-row span:last-child { font-weight: 600; text-align: right; }

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-row input {
  width: auto;
  margin-top: 3px;
  accent-color: var(--primary);
}
.checkbox-row a { color: var(--text); font-weight: 600; }

.slug-preview {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 8px;
  padding: 8px 12px;
  background: #f8fafc;
  border-radius: 8px;
  font-size: 12px;
  color: var(--muted);
  border: 1px dashed var(--border);
}

.slug-preview strong { color: var(--text); word-break: break-all; }

.success-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--success-bg);
  border: 2px solid #bbf7d0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

/* ---- Responsivo ---- */
@media (max-width: 960px) {
  .auth-page { flex-direction: column; }

  .auth-brand {
    flex: none;
    max-width: none;
    padding: 32px 24px 28px;
  }

  .auth-features,
  .auth-brand-cta,
  .auth-brand-footer { display: none; }

  .auth-tagline { margin-bottom: 0; font-size: 14px; }

  .auth-mobile-switch { display: block; }

  .auth-panel-brand { display: flex; }

  .auth-main { padding: 28px 20px 40px; align-items: flex-start; }

  .wizard-step-label { display: none; }
}

.field-readonly {
  background: #f8fafc !important;
  color: var(--muted);
  cursor: default;
}

.cep-row {
  display: flex;
  gap: 10px;
}

.cep-row input { flex: 1; min-width: 0; }

.btn-cep {
  flex-shrink: 0;
  padding: 0 18px;
  height: 44px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  color: var(--text);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.btn-cep:hover:not(:disabled) { background: #f8fafc; border-color: #94a3b8; }
.btn-cep:disabled { opacity: 0.6; cursor: wait; }

.form-hint.cep-ok { color: var(--success); }
.form-hint.cep-erro { color: var(--error); }

@media (max-width: 480px) {
  .form-row { grid-template-columns: 1fr; }
  .auth-panel-header h1 { font-size: 22px; }
}

/* ============================================================
   Staff PIN login (login_staff.php)
   ============================================================ */
.staff-login-page {
  font-family: var(--font);
  background: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 24px 20px;
  -webkit-font-smoothing: antialiased;
}

.staff-login-wrap {
  width: 100%;
  max-width: 400px;
}

.staff-login-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px 28px;
  box-shadow: var(--shadow);
}

.staff-login-top {
  text-align: center;
  margin-bottom: 22px;
}

.staff-login-logo {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 14px;
  border: 1px solid var(--border);
  margin: 0 auto 14px;
  display: block;
}

.staff-login-avatar {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 800;
  color: #64748b;
  margin: 0 auto 14px;
}

.staff-login-top h1 {
  font-size: 20px;
  font-weight: 800;
  color: var(--text);
  letter-spacing: -0.3px;
  line-height: 1.25;
}

.staff-login-top p {
  font-size: 13px;
  color: var(--muted);
  margin-top: 6px;
}

.staff-cargos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin-bottom: 20px;
}

.staff-cargo-badge {
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: #f1f5f9;
  border: 1px solid var(--border);
  color: var(--muted);
}

.staff-pin-display {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 4px 0 18px;
}

.staff-pin-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: var(--surface);
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}

.staff-pin-dot.filled {
  background: var(--primary);
  border-color: var(--primary);
  transform: scale(1.05);
}

.staff-pin-pad {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.staff-pin-btn {
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 16px;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  transition: background 0.12s, border-color 0.12s, transform 0.1s;
  font-family: inherit;
  text-align: center;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.staff-pin-btn:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
}

.staff-pin-btn:active {
  transform: scale(0.97);
  background: #f1f5f9;
}

.staff-pin-btn.del,
.staff-pin-btn.clear {
  font-size: 15px;
  font-weight: 600;
  color: var(--muted);
}

.staff-pin-submit {
  width: 100%;
  margin-top: 14px;
  padding: 13px;
  background: var(--primary);
  border: none;
  border-radius: 10px;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.staff-pin-submit:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.staff-pin-submit:active { transform: translateY(0); }

.staff-owner-link {
  text-align: center;
  margin-top: 20px;
  font-size: 13px;
}

.staff-owner-link a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s;
}

.staff-owner-link a:hover { color: var(--text); }

.staff-alert {
  padding: 11px 14px;
  border-radius: 10px;
  font-size: 13px;
  text-align: center;
  margin-bottom: 16px;
  line-height: 1.45;
  background: var(--error-bg);
  border: 1px solid #fecaca;
  color: #991b1b;
}

/* Atalho / instalar app no dispositivo */
.staff-atalho-overlay {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(15, 23, 42, 0.45);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
  animation: staffAtalhoFade .2s ease;
}

.staff-atalho-overlay[hidden] {
  display: none !important;
}

.staff-atalho-sheet {
  width: 100%;
  max-width: 400px;
  background: #fff;
  border-radius: 18px 18px 14px 14px;
  padding: 22px 20px 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.18);
  text-align: center;
  animation: staffAtalhoUp .28s ease;
}

.staff-atalho-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  border-radius: 14px;
  background: #f0fdf4;
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.staff-atalho-sheet h2 {
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  margin: 0 0 8px;
}

.staff-atalho-sheet > p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0 0 16px;
}

.staff-atalho-howto {
  text-align: left;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 12px;
}

.staff-atalho-howto p {
  font-size: 13px;
  line-height: 1.5;
  color: var(--text);
  margin: 0 0 12px;
}

.staff-atalho-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.staff-atalho-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: background .15s, transform .1s;
}

.staff-atalho-btn-primary {
  background: var(--primary);
  color: #fff;
}

.staff-atalho-btn-primary:hover {
  background: var(--primary-dark);
}

.staff-atalho-btn-outline {
  background: #fff;
  color: var(--text);
  border: 1.5px solid var(--border);
  margin-bottom: 8px;
}

.staff-atalho-btn-ghost {
  background: transparent;
  color: var(--muted);
}

.staff-atalho-btn-ghost:hover {
  color: var(--text);
}

@keyframes staffAtalhoFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes staffAtalhoUp {
  from { transform: translateY(18px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

@media (min-width: 520px) {
  .staff-atalho-overlay {
    align-items: center;
  }
  .staff-atalho-sheet {
    border-radius: 16px;
  }
}
