/* ============================================================
   WEBMAIL — CASPSEG
   Estilos da página webmail.php (login + aplicativo).
   ============================================================ */

/* ---------- Login ---------- */
.wm-wrap { max-width: 460px; margin-inline: auto; }

.wm-card {
  border: 1px solid var(--line-soft);
  background:
    radial-gradient(600px 260px at 50% -10%, rgba(19, 166, 240, 0.14), transparent 60%),
    var(--surface-3);
  border-radius: var(--radius-lg);
  padding: 44px 38px;
  text-align: center;
}

.wm-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(19, 166, 240, 0.12);
  border: 1px solid var(--line);
  color: var(--tech-blue);
}
.wm-card-icon svg { width: 34px; height: 34px; }

.wm-card h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(20px, 3vw, 26px);
  color: var(--white);
  margin-bottom: 14px;
}

.wm-card .wm-sub {
  font-size: 15px;
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 26px;
  line-height: 1.7;
}
.wm-card .wm-sub strong { color: var(--text-strong); }

.wm-card .wm-note {
  font-size: 12.5px;
  color: var(--text-muted);
  margin: 0;
}

/* Formulário de login */
.wm-form { display: grid; gap: 14px; text-align: left; max-width: 400px; margin: 0 auto; }
.wm-form .field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: var(--surface-2);
  color: var(--white);
  font-size: 14.5px;
  font-family: inherit;
}
.wm-form .field input::placeholder { color: var(--text-muted); opacity: 0.7; }
.wm-form .field input:focus { outline: none; border-color: var(--tech-blue); }
.wm-form-error {
  font-size: 13px;
  color: #ff8b8f;
  border: 1px solid rgba(229, 72, 77, 0.4);
  background: rgba(229, 72, 77, 0.08);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
}

/* ============================================================
   APLICATIVO (logado)
   ============================================================ */
.wm-app-page {
  min-height: 100vh;
  background:
    radial-gradient(900px 420px at 85% -10%, rgba(19, 166, 240, 0.12), transparent 60%),
    var(--surface-1);
}

.wm-app { display: flex; flex-direction: column; min-height: 100vh; }

/* Barra superior do app */
.wm-appbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 22px;
  background: rgba(2, 3, 5, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line-soft);
  position: sticky;
  top: 0;
  z-index: 50;
}
.wm-brand { display: inline-flex; text-decoration: none; }
.wm-brand-img { height: 34px; width: auto; }
.wm-appbar-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  color: var(--white);
}
.wm-appbar-right { margin-left: auto; display: flex; align-items: center; gap: 12px; min-width: 0; }
.wm-account {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.3;
  font-size: 13px;
  color: var(--text-muted);
  max-width: 260px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wm-acc-name { color: var(--white); font-weight: 800; max-width: 260px; overflow: hidden; text-overflow: ellipsis; }
.wm-acc-email { font-size: 11px; color: var(--text-muted); max-width: 260px; overflow: hidden; text-overflow: ellipsis; }

.wm-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: transparent;
  color: var(--text-body);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
}
.wm-btn-ghost:hover { border-color: var(--tech-blue); color: var(--tech-blue); background: rgba(19, 166, 240, 0.06); }
.wm-btn-ghost.is-active { border-color: var(--tech-blue); color: var(--tech-blue); }
.wm-btn-ghost:disabled { opacity: 0.4; cursor: not-allowed; }
.wm-btn-ghost:disabled:hover { border-color: var(--line-soft); color: var(--text-body); background: transparent; }
.wm-icon-btn { padding: 8px; }
.wm-icon-btn svg { width: 17px; height: 17px; }
.wm-back { text-decoration: none; }
.wm-back-list { display: none; }

/* Grade principal */
.wm-shell {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: 250px 1fr;
}

/* Coluna lateral */
.wm-side {
  border-right: 1px solid var(--line-soft);
  background: var(--surface-2);
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow: auto;
}
.wm-compose { width: 100%; justify-content: center; }
.wm-compose svg { width: 17px; height: 17px; }

.wm-folders { display: grid; gap: 2px; }
.wm-folder {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 12px;
  border: 0;
  border-left: 2px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: var(--text-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.wm-folder:hover { background: rgba(19, 166, 240, 0.07); color: var(--white); }
.wm-folder.is-active { background: rgba(19, 166, 240, 0.12); color: var(--tech-blue); border-left-color: var(--tech-blue); }
.wm-folder-ico { flex: 0 0 16px; color: var(--tech-blue); }
.wm-folder-ico svg { width: 16px; height: 16px; }
.wm-folder-name { flex: 1; text-align: left; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-folder-badge {
  font-size: 11px;
  font-weight: 800;
  color: var(--black);
  background: var(--tech-blue);
  border-radius: 20px;
  padding: 2px 8px;
  min-width: 20px;
  text-align: center;
}
.wm-folder:not(.is-active) .wm-folder-badge { background: rgba(19, 166, 240, 0.15); color: var(--tech-blue); }

/* Área principal */
.wm-main { display: flex; flex-direction: column; min-width: 0; }
.wm-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-1);
}
.wm-folder-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 400;
  font-size: 17px;
  color: var(--white);
  margin: 0;
}
.wm-toolbar-actions { display: flex; gap: 8px; }

/* Painel horizontal de ações (busca, filtros, em massa) */
.wm-actionbar {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
  flex-wrap: wrap;
}
.wm-search { position: relative; flex: 1 1 220px; min-width: 180px; }
.wm-search svg {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 15px;
  height: 15px;
  color: var(--text-muted);
  pointer-events: none;
}
.wm-search input {
  width: 100%;
  padding: 8px 12px 8px 32px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: var(--surface-3);
  color: var(--white);
  font-size: 13px;
  font-family: inherit;
}
.wm-search input:focus { outline: none; border-color: var(--tech-blue); }
.wm-filter {
  padding: 8px 10px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: var(--surface-3);
  color: var(--text-body);
  font-size: 13px;
  font-family: inherit;
}
.wm-bulk { display: flex; gap: 6px; flex-wrap: wrap; }
.wm-bulk .wm-btn-ghost { padding: 6px 10px; font-size: 12.5px; }
.wm-bulk-danger:hover { border-color: #e5484d; color: #ff8b8f; background: rgba(229, 72, 77, 0.06); }

/* Corpo do app: lista + leitura */
.wm-app-body {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(320px, 42%) 1fr;
}
.wm-pane { min-height: 0; overflow: auto; }

/* Lista de mensagens */
.wm-list-pane { border-right: 1px solid var(--line-soft); display: flex; flex-direction: column; }
.wm-list-head {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
  flex: 0 0 auto;
}
.wm-selinfo { font-size: 12.5px; color: var(--text-muted); }

.wm-list { display: grid; }
.wm-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 11px 14px;
  border: 0;
  border-bottom: 1px solid var(--line-soft);
  background: transparent;
  cursor: pointer;
  color: var(--text-body);
  font-family: inherit;
  transition: background 0.15s ease;
}
.wm-item:hover { background: rgba(19, 166, 240, 0.05); }
.wm-item.is-active { background: rgba(19, 166, 240, 0.10); box-shadow: inset 3px 0 0 var(--tech-blue); }
.wm-item.is-selected { background: rgba(19, 166, 240, 0.08); box-shadow: inset 2px 0 0 var(--tech-blue); }

/* Diferenciação clara entre lida e não lida */
.wm-item.is-unread { background: rgba(19, 166, 240, 0.07); box-shadow: inset 3px 0 0 var(--tech-blue); }
.wm-item.is-unread .wm-item-from { color: var(--white); font-weight: 800; }
.wm-item.is-unread .wm-item-subject { color: var(--white); font-weight: 700; }
.wm-item.is-unread .wm-item-date { color: var(--tech-blue); font-weight: 700; }
.wm-item:not(.is-unread) .wm-item-from { color: var(--text-muted); font-weight: 600; }
.wm-item:not(.is-unread) .wm-item-subject { color: var(--text-body); font-weight: 400; }
.wm-item:not(.is-unread) .wm-item-date { color: var(--text-muted); font-weight: 400; }
.wm-item-row1 { display: flex; align-items: center; gap: 10px; }
.wm-item-from {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-body);
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wm-item-date { font-size: 11.5px; color: var(--text-muted); white-space: nowrap; }
.wm-item-subject {
  font-size: 13.5px;
  color: var(--text-body);
  margin-top: 3px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  padding-left: 28px;
}
.wm-item-attach { color: var(--tech-blue); display: inline-flex; margin-left: 4px; }
.wm-item-attach svg { width: 13px; height: 13px; }
.wm-item-unread-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--tech-blue);
  display: inline-block; flex: 0 0 8px;
  box-shadow: 0 0 0 3px rgba(19, 166, 240, 0.15);
}

/* Checkbox custom */
.wm-check { position: relative; display: inline-flex; align-items: center; cursor: pointer; flex: 0 0 auto; }
.wm-check input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; cursor: pointer; }
.wm-checkmark {
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid var(--line);
  background: var(--surface-3);
  display: inline-block;
  position: relative;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.wm-check input:checked + .wm-checkmark { background: var(--tech-blue); border-color: var(--tech-blue); }
.wm-check input:checked + .wm-checkmark::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 1px;
  width: 4px;
  height: 9px;
  border: solid #04131d;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.wm-list-empty { padding: 30px; text-align: center; color: var(--text-muted); font-size: 14px; }
.wm-list-foot { padding: 14px; text-align: center; }

/* Leitura */
.wm-empty { display: grid; place-items: center; height: 100%; color: var(--text-muted); font-size: 14px; }
.wm-read { padding: 24px 28px; max-width: 860px; }
.wm-read-head { border-bottom: 1px solid var(--line-soft); padding-bottom: 16px; margin-bottom: 16px; }
.wm-read h3 { font-size: 21px; color: var(--white); margin-bottom: 14px; }
.wm-read-row { font-size: 13px; color: var(--text-muted); margin-bottom: 4px; word-break: break-word; }
.wm-read-row b { color: var(--text-body); font-weight: 700; margin-right: 6px; }
.wm-read-actions { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.wm-read-body { font-size: 15px; color: var(--text-body); line-height: 1.7; word-wrap: break-word; }
.wm-read-body img { max-width: 100%; height: auto; }
.wm-read-body a { color: var(--tech-blue); text-decoration: underline; }
.wm-read-body a:hover { color: var(--blue-bright); }
.wm-read-body table { border-collapse: collapse; }
.wm-read-body td, .wm-read-body th { border: 1px solid var(--line-soft); padding: 6px 10px; }
.wm-read-attachments { margin-top: 22px; border-top: 1px solid var(--line-soft); padding-top: 14px; display: grid; gap: 8px; }
.wm-read-attachments b { font-size: 12.5px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.08em; }
.wm-attach { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-body); }
.wm-attach svg { width: 15px; height: 15px; color: var(--tech-blue); }

/* ============================================================
   Modais
   ============================================================ */
.wm-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(2, 3, 5, 0.72);
  backdrop-filter: blur(6px);
  padding: 20px;
}
.wm-modal[hidden] { display: none; }
.wm-modal-open { overflow: hidden; }
.wm-modal-dialog {
  width: 100%;
  max-width: 720px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  background: var(--surface-2);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.6);
}
.wm-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-bottom: 1px solid var(--line-soft);
}
.wm-modal-head span {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--white);
}
.wm-modal-close { background: none; border: 0; color: var(--text-muted); font-size: 24px; line-height: 1; cursor: pointer; padding: 0 4px; }
.wm-modal-close:hover { color: var(--white); }
.wm-modal-body { padding: 16px 18px; display: grid; gap: 12px; overflow: auto; }
.wm-modal-foot {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  border-top: 1px solid var(--line-soft);
}
.wm-modal-spacer { flex: 1; }
.wm-modal .field label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.wm-modal .field input[type="text"] {
  width: 100%;
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft);
  background: var(--surface-3);
  color: var(--white);
  font-size: 14px;
  font-family: inherit;
}
.wm-modal .field input[type="text"]:focus { outline: none; border-color: var(--tech-blue); }
.wm-hint { font-size: 12px; color: var(--text-muted); margin-top: 6px; line-height: 1.5; }

/* ============================================================
   Editor de texto (compõe/assinatura)
   ============================================================ */
.wm-editor {
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--surface-3);
}
.wm-editor-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 2px;
  align-items: center;
  padding: 6px 8px;
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface-2);
}
.wm-ed-btn {
  min-width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  background: transparent;
  color: var(--text-body);
  font-size: 13px;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  padding: 0 7px;
  font-family: inherit;
}
.wm-ed-btn:hover, .wm-ed-btn.is-on { background: rgba(19, 166, 240, 0.15); color: var(--tech-blue); }
.wm-ed-select {
  height: 26px;
  background: var(--surface-3);
  color: var(--text-body);
  border: 1px solid var(--line-soft);
  border-radius: 6px;
  font-size: 12px;
  padding: 0 4px;
  font-family: inherit;
}
.wm-ed-sep { width: 1px; height: 18px; background: var(--line-soft); margin: 0 4px; align-self: center; }
.wm-editor-area {
  min-height: 220px;
  max-height: 44vh;
  overflow: auto;
  padding: 12px 14px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-body);
  outline: none;
}
.wm-editor-area img { max-width: 100%; height: auto; }
.wm-editor-area:empty::before { content: attr(data-placeholder); color: var(--text-muted); opacity: 0.6; pointer-events: none; white-space: pre-line; }
#wmSigBody { min-height: 150px; }

/* ============================================================
   Controles de janela (minimizar / maximizar / fechar)
   ============================================================ */
.wm-win-controls { display: flex; gap: 4px; margin-left: auto; }
.wm-win-btn {
  width: 30px; height: 30px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: var(--text-muted);
  border-radius: 6px; cursor: pointer;
}
.wm-win-btn:hover { background: rgba(19, 166, 240, 0.12); color: var(--tech-blue); }
.wm-win-btn svg { width: 16px; height: 16px; }
.wm-win-close:hover { background: rgba(229, 72, 77, 0.15); color: #ff8b8f; }

/* Compose maximizado (tela cheia) */
.wm-modal-dialog.is-max { max-width: none; max-height: none; width: 100vw; height: 100vh; border-radius: 0; }

/* Barra flutuante do compose minimizado */
.wm-compose-mini {
  position: fixed; right: 18px; bottom: 18px; z-index: 250;
  display: flex; align-items: center; gap: 14px;
  background: var(--surface-3); border: 1px solid var(--line);
  border-left: 3px solid var(--tech-blue);
  color: var(--text-body); padding: 10px 16px; border-radius: 10px;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.5);
  cursor: pointer; font-size: 13px;
}
.wm-compose-mini-title { font-weight: 700; color: var(--white); max-width: 260px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-compose-mini-btn { color: var(--tech-blue); font-weight: 700; }
.wm-compose-mini-btn:hover { text-decoration: underline; }

/* Leitura em tela cheia */
.wm-read-modal .wm-modal-dialog { max-width: 1000px; width: 100%; }
.wm-read-dialog-body { overflow: auto; }

/* Painel de leitura: barra de janela e minimizado */
.wm-read-win { display: flex; justify-content: flex-end; gap: 4px; margin-bottom: 10px; }
.wm-read-mini {
  display: none; align-items: center; gap: 10px;
  padding: 10px 14px;
  background: var(--surface-2); border: 1px solid var(--line-soft);
  border-left: 3px solid var(--tech-blue); border-radius: 8px;
  margin-bottom: 12px;
}
.wm-read-pane.is-min .wm-read-mini { display: flex; }
.wm-read-pane.is-min .wm-read { display: none; }
.wm-read-mini-subj { flex: 1; font-weight: 700; color: var(--white); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.wm-move-select { max-width: 170px; }

/* ============================================================
   Pastas customizadas (criar / renomear / excluir)
   ============================================================ */
.wm-new-folder { justify-content: center; width: 100%; }
.wm-new-folder svg { width: 15px; height: 15px; }
.wm-folder-group {
  font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-muted); margin: 14px 8px 4px; font-weight: 700;
  user-select: none;
}
.wm-folder-actions { display: none; gap: 2px; margin-left: auto; }
.wm-folder:hover .wm-folder-actions, .wm-folder.is-active .wm-folder-actions { display: inline-flex; }
.wm-folder-act {
  width: 22px; height: 22px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 0; background: transparent; color: var(--text-muted);
  border-radius: 5px; cursor: pointer;
}
.wm-folder-act:hover { color: var(--tech-blue); background: rgba(19, 166, 240, 0.12); }
.wm-folder-act svg { width: 13px; height: 13px; }
.wm-folder.is-sub { padding-left: 26px; }

/* ============================================================
   Regras de e-mail
   ============================================================ */
.wm-rules-list { display: grid; gap: 8px; }
.wm-rules-empty { color: var(--text-muted); font-size: 13.5px; padding: 10px 0; }
.wm-rule-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 12px; border: 1px solid var(--line-soft);
  border-radius: 8px; background: var(--surface-3); font-size: 13.5px;
}
.wm-rule-item span { flex: 1; word-break: break-word; }
.wm-rule-item.is-editing { border-color: var(--tech-blue); }
.wm-rule-actions { display: flex; gap: 6px; flex: 0 0 auto; }
.wm-rule-actions .wm-btn-ghost { font-size: 12.5px; padding: 6px 10px; }
.wm-rule-remove { font-size: 12.5px; padding: 6px 10px; flex: 0 0 auto; }
.wm-rule-new {
  display: flex; gap: 8px; flex-wrap: wrap; align-items: center;
  margin-top: 14px; padding-top: 14px; border-top: 1px solid var(--line-soft);
}
.wm-rule-text {
  flex: 1 1 160px; min-width: 140px;
  padding: 9px 12px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-soft); background: var(--surface-3);
  color: var(--white); font-size: 13.5px; font-family: inherit;
}
.wm-rule-text:focus { outline: none; border-color: var(--tech-blue); }

/* Atualizar (spinner) */
.wm-icon-btn.is-loading svg { animation: wmspin 0.8s linear infinite; }
@keyframes wmspin { to { transform: rotate(360deg); } }

/* Toast */
.wm-toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--surface-3);
  border: 1px solid var(--line);
  color: var(--text-body);
  padding: 12px 20px;
  border-radius: var(--radius-md);
  font-size: 13.5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 300;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}
.wm-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.wm-toast.is-error { border-color: #e5484d; color: #ff8b8f; }

/* ---------- Login: página centralizada ---------- */
.privacy-hero .container { text-align: center; }
.privacy-hero { padding-top: 48px; padding-bottom: 16px; }
.privacy-body { display: flex; align-items: center; justify-content: center; }
.privacy-body > .container { flex: 1; }

/* ---------- Arrastar e soltar ---------- */
.wm-item.is-dragging { opacity: 0.45; }
.wm-folder.is-drop-target {
  background: rgba(19, 166, 240, 0.18);
  color: var(--white);
  box-shadow: inset 0 0 0 1px var(--tech-blue);
}

/* ---------- Modal de confirmação (envio/aviso) ---------- */
.wm-alert-modal .wm-modal-body {
  text-align: center;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.wm-alert-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(19, 166, 240, 0.12);
  border: 1px solid var(--line);
  color: var(--tech-blue);
}
.wm-alert-icon svg { width: 30px; height: 30px; }
.wm-alert-modal.is-error .wm-alert-icon {
  background: rgba(214, 69, 69, 0.14);
  border-color: rgba(214, 69, 69, 0.5);
  color: #e5484d;
}
.wm-alert-msg { font-size: 14.5px; color: var(--text-body); line-height: 1.6; word-break: break-word; }

/* ---------- Responsivo ---------- */
@media (max-width: 900px) {
  .wm-shell { grid-template-columns: 1fr; }
  .wm-side {
    border-right: 0;
    border-bottom: 1px solid var(--line-soft);
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
  }
  .wm-folders { display: flex; flex-wrap: wrap; gap: 6px; }
  .wm-folder { width: auto; border-left: 0; border-bottom: 2px solid transparent; }
  .wm-folder.is-active { border-left: 0; border-bottom-color: var(--tech-blue); }
  .wm-app-body { grid-template-columns: 1fr; }
  .wm-read-pane { display: none; }
  .wm-app-body.show-read .wm-list-pane { display: none; }
  .wm-app-body.show-read .wm-read-pane { display: block; }
  .wm-back-list { display: inline-flex; }
  .wm-appbar-title { display: none; }
  .wm-account { display: none; }
}

@media (max-width: 640px) {
  .wm-card { padding: 34px 24px; }
  .wm-actionbar { padding: 8px 12px; }
  .wm-modal-dialog { max-height: 96vh; }
  .wm-editor-area { min-height: 160px; max-height: 40vh; }
}
