/* Esconde elementos do tema nas pÃ¡ginas do plugin */
body.dmp-page header,
body.dmp-page .site-header,
body.dmp-page .site-branding,
body.dmp-page .entry-header,
body.dmp-page .entry-title,
body.dmp-page .page-header,
body.dmp-page .post-thumbnail,
body.dmp-page .site-footer {
  display: none !important;
}

body.dmp-page .site-main,
body.dmp-page .content-area,
body.dmp-page .entry-content,
body.dmp-page article,
body.dmp-page .page-content,
body.dmp-page .site,
body.dmp-page .content,
body.dmp-page .inside-article {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

body.dmp-page {
  background:
    radial-gradient(circle at top left, rgba(196,155,99,.08), transparent 24%),
    linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
}

/* Layout geral */
.dmp-wrap {
  width: 100%;
  max-width: 1180px;
  margin: 46px auto;
  padding: 0 24px;
}

/* Login */
.dmp-login-wrap {
  min-height: 100vh;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background:
    linear-gradient(rgba(15, 23, 42, 0.58), rgba(15, 23, 42, 0.58)),
    url('../assets/deluxebg.jpg') center center / cover no-repeat;
}

.dmp-card {
  width: 100%;
  max-width: 470px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 30px;
  padding: 38px 34px;
  box-shadow: 0 28px 70px rgba(15, 23, 42, 0.24);
}

/* Dashboard principal */
.dmp-card-wide {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  border-radius: 32px;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%);
  border: 1px solid #e5e7eb;
  box-shadow:
    0 24px 60px rgba(15, 23, 42, 0.08),
    0 6px 18px rgba(15, 23, 42, 0.04);
  padding: 42px;
  position: relative;
  overflow: hidden;
}

.dmp-card-wide::before {
  content: "";
  position: absolute;
  top: 0;
  left: 42px;
  right: 42px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c49b63 0%, #e8d7be 45%, #c49b63 100%);
  opacity: 0.95;
}

/* Logo / tÃ­tulos */
.dmp-logo-wrap {
  margin-bottom: 18px;
}

.dmp-logo {
  max-width: 305px;
  width: 100%;
  height: auto;
  display: block;
}

.dmp-title {
  margin: 0 0 10px;
  font-size: 38px;
  line-height: 1.02;
  letter-spacing: -1px;
  color: #0f172a;
  font-weight: 700;
}

.dmp-subtitle {
  margin: 0 0 24px;
  color: #64748b;
  font-size: 15px;
  line-height: 1.65;
  /*max-width: 720px;*/
}

/* Grid/form */
.dmp-grid {
  display: grid;
  gap: 18px;
}

.dmp-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
  box-sizing: border-box;
}

.dmp-field label {
  font-size: 14px;
  font-weight: 700;
  color: #334155;
}

.dmp-input,
.dmp-select,
.dmp-textarea,
input.dmp-input,
textarea.dmp-textarea {
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 15px 16px !important;
  border: 1px solid #d6dae1 !important;
  border-radius: 16px !important;
  background: linear-gradient(180deg, #ffffff 0%, #fcfcfd 100%) !important;
  color: #111827 !important;
  font-size: 15px !important;
  outline: none !important;
  transition: .2s ease !important;
  box-shadow: inset 0 1px 2px rgba(15,23,42,.03) !important;
  appearance: none;
  -webkit-appearance: none;
  max-width: 100% !important;
}

.dmp-input:focus,
.dmp-select:focus,
.dmp-textarea:focus,
input.dmp-input:focus,
textarea.dmp-textarea:focus {
  border-color: #c49b63 !important;
  box-shadow: 0 0 0 4px rgba(196,155,99,.18) !important;
}

.dmp-textarea {
  min-height: 110px;
  resize: vertical;
}

/* BotÃµes */
.dmp-btn,
button.dmp-btn,
input.dmp-btn,
a.dmp-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: auto;
  padding: 14px 22px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #ffffff !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  line-height: 1.2;
  cursor: pointer;
  text-decoration: none !important;
  transition: .22s ease;
  box-shadow:
    0 12px 24px rgba(15,23,42,.10),
    inset 0 1px 0 rgba(255,255,255,.08);
  appearance: none;
  -webkit-appearance: none;
}

.dmp-grid .dmp-btn,
.dmp-card .dmp-btn {
  width: 100%;
}

.dmp-btn:hover,
button.dmp-btn:hover,
input.dmp-btn:hover,
a.dmp-btn:hover {
  transform: translateY(-1px);
  opacity: .99;
  color: #ffffff !important;
  background: linear-gradient(135deg, #111827 0%, #0f172a 100%) !important;
}

.dmp-btn:focus,
button.dmp-btn:focus,
input.dmp-btn:focus,
a.dmp-btn:focus {
  outline: none !important;
  box-shadow: 0 0 0 4px rgba(196,155,99,.18) !important;
}

.dmp-btn-gold {
  background: linear-gradient(135deg, #c49b63 0%, #e7d0ad 100%) !important;
  color: #111827 !important;
  box-shadow:
    0 12px 24px rgba(196,155,99,.18),
    inset 0 1px 0 rgba(255,255,255,.25);
}

.dmp-btn-gold:hover {
  color: #111827 !important;
  background: linear-gradient(135deg, #b88b4f 0%, #dcc4a0 100%) !important;
}

.dmp-btn-secondary {
  background: #f5f7fa !important;
  color: #111827 !important;
  border: 1px solid #dde3ea !important;
  box-shadow: none;
}

.dmp-btn-secondary:hover {
  background: #edf1f5 !important;
  color: #111827 !important;
}

/* =========================================================
   SISTEMA DE BOTÃ•ES â€” baseado no teu estilo atual
   ========================================================= */

/* Base jÃ¡ existente mantÃ©m-se */
/* AJUDA */
.dmp-btn.dmp-btn-help,
button.dmp-btn.dmp-btn-help,
input.dmp-btn.dmp-btn-help,
a.dmp-btn.dmp-btn-help {
  background: linear-gradient(135deg, #f87171 0%, #fca5a5 100%) !important;
  color: #ffffff !important;
  border: 0 !important;
  box-shadow:
    0 12px 24px rgba(248,113,113,.25),
    inset 0 1px 0 rgba(255,255,255,.15) !important;
}

.dmp-btn.dmp-btn-help:hover,
button.dmp-btn.dmp-btn-help:hover,
input.dmp-btn.dmp-btn-help:hover,
a.dmp-btn.dmp-btn-help:hover {
  background: linear-gradient(135deg, #ef4444 0%, #f87171 100%) !important;
  color: #ffffff !important;
}

/* DOCUMENTOS */
.dmp-btn.dmp-btn-documents,
button.dmp-btn.dmp-btn-documents,
input.dmp-btn.dmp-btn-documents,
a.dmp-btn.dmp-btn-documents {
  background:linear-gradient(135deg,#c49b63 0%, #e7d0ad 100%) !important;
  color:#111827 !important;
  border:0 !important;
  box-shadow:
    0 10px 20px rgba(196,155,99,.18),
    inset 0 1px 0 rgba(255,255,255,.3) !important;
}

.dmp-btn.dmp-btn-documents:hover,
button.dmp-btn.dmp-btn-documents:hover,
input.dmp-btn.dmp-btn-documents:hover,
a.dmp-btn.dmp-btn-documents:hover {
  background:linear-gradient(135deg,#b88b4f 0%, #dcc4a0 100%) !important;
  /*color: #ffffff !important;*/
}

/* EXPORTAR PDF */
.dmp-btn.dmp-btn-export,
button.dmp-btn.dmp-btn-export,
input.dmp-btn.dmp-btn-export,
a.dmp-btn.dmp-btn-export {
  background: linear-gradient(135deg, #c49b63 0%, #e7d0ad 100%) !important;
  color: #111827 !important;
  border: 0 !important;
  box-shadow:
    0 12px 24px rgba(196,155,99,.18),
    inset 0 1px 0 rgba(255,255,255,.25) !important;
}

.dmp-btn.dmp-btn-export:hover,
button.dmp-btn.dmp-btn-export:hover,
input.dmp-btn.dmp-btn-export:hover,
a.dmp-btn.dmp-btn-export:hover {
  background: linear-gradient(135deg, #b88b4f 0%, #dcc4a0 100%) !important;
  color: #111827 !important;
}

/* TERMINAR SESSÃƒO */
.dmp-btn.dmp-btn-logout,
button.dmp-btn.dmp-btn-logout,
input.dmp-btn.dmp-btn-logout,
a.dmp-btn.dmp-btn-logout {
  background: #f5f7fa !important;
  color: #111827 !important;
  border: 1px solid #dde3ea !important;
  box-shadow: none !important;
}

.dmp-btn.dmp-btn-logout:hover,
button.dmp-btn.dmp-btn-logout:hover,
input.dmp-btn.dmp-btn-logout:hover,
a.dmp-btn.dmp-btn-logout:hover {
  background: #edf1f5 !important;
  color: #111827 !important;
}

/* GUARDAR FORMULÃRIO */
.dmp-btn.dmp-btn-save,
button.dmp-btn.dmp-btn-save,
input.dmp-btn.dmp-btn-save,
a.dmp-btn.dmp-btn-save {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%) !important;
  color: #ffffff !important;
  border: 0 !important;
}

.dmp-btn.dmp-btn-save:hover,
button.dmp-btn.dmp-btn-save:hover,
input.dmp-btn.dmp-btn-save:hover,
a.dmp-btn.dmp-btn-save:hover {
  background: linear-gradient(135deg, #111827 0%, #0f172a 100%) !important;
  color: #ffffff !important;
}

/* FINALIZAR FORMULÃRIO */
.dmp-btn.dmp-btn-finish,
button.dmp-btn.dmp-btn-finish,
input.dmp-btn.dmp-btn-finish,
a.dmp-btn.dmp-btn-finish {
  background: linear-gradient(135deg, #c49b63 0%, #e7d0ad 100%) !important;
  color: #111827 !important;
  border: 0 !important;
  box-shadow:
    0 12px 24px rgba(196,155,99,.18),
    inset 0 1px 0 rgba(255,255,255,.25) !important;
}

.dmp-btn.dmp-btn-finish:hover,
button.dmp-btn.dmp-btn-finish:hover,
input.dmp-btn.dmp-btn-finish:hover,
a.dmp-btn.dmp-btn-finish:hover {
  background: linear-gradient(135deg, #b88b4f 0%, #dcc4a0 100%) !important;
  color: #111827 !important;
}

/* Layout topo */
.dmp-actions-vertical {
  display: flex !important;
  flex-direction: column !important;
  align-items: stretch !important;
  gap: 12px !important;
  margin-top: 20px !important;
  max-width: 320px !important;
  width: 100% !important;
}

.dmp-actions-vertical .dmp-btn,
.dmp-actions-vertical a.dmp-btn,
.dmp-actions-vertical button.dmp-btn {
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  box-sizing: border-box !important;
  margin: 0 !important;
  flex-shrink: 0 !important;
}

/* Layout botÃµes fundo */
.dmp-actions-row {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 12px !important;
  margin-top: 24px !important;
}

.dmp-actions-row .dmp-btn {
  min-width: 220px !important;
}

/* =========================================================
   FIM SISTEMA DE BOTÃ•ES â€” baseado no teu estilo atual
   ========================================================= */


/* Alerts */
.dmp-alert {
  padding: 14px 16px;
  border-radius: 14px;
  margin-bottom: 20px;
  font-size: 14px;
  line-height: 1.5;
}

.dmp-alert-error {
  background: #fee2e2;
  color: #991b1b;
}

.dmp-alert-success {
  background: #dcfce7;
  color: #166534;
}

.dmp-alert-warning {
  background: #fef3c7;
  color: #92400e;
}

/* Topo premium */
.dmp-topbar {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: stretch;
  margin-bottom: 32px;
  padding: 28px;
  border-radius: 28px;
  background:
    radial-gradient(circle at top right, rgba(196,155,99,.11), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e7ebf0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.7),
    0 10px 24px rgba(15,23,42,.04);
}

.dmp-topbar > div:first-child {
  flex: 1;
  min-width: 0;
}

.dmp-topbar .dmp-logo-wrap {
  margin-bottom: 16px;
}

.dmp-topbar .dmp-title {
  margin-bottom: 8px;
}

.dmp-topbar .dmp-subtitle {
  margin-bottom: 0;
}

/* BotÃµes topo */
.dmp-topbar .dmp-actions-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  align-self: center;
  gap: 12px;
  flex-wrap: wrap;
  min-width: 260px;
}

.dmp-topbar .dmp-actions-row .dmp-btn {
  width: auto !important;
  min-width: 172px;
  min-height: 54px;
  border-radius: 18px !important;
}

/* Meta cards */
.dmp-meta {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 0;
}

.dmp-meta-box {
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfd 100%);
  border: 1px solid #e7ebf0;
  border-radius: 22px;
  padding: 18px 18px 16px;
  min-height: 92px;
  box-shadow:
    0 10px 24px rgba(15,23,42,.03),
    inset 0 1px 0 rgba(255,255,255,.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dmp-meta-box span {
  display: block;
  color: #64748b;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 8px;
}

.dmp-meta-box {
  color: #0f172a;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}

/* â”€â”€ Tabs categorias â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.dmp-tabs{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin:0;
    padding:0;
}

.dmp-tab-button{
    -webkit-appearance:none;
    appearance:none;
    border:1px solid #d6d9df !important;
    background:#ffffff !important;
    color:#374151 !important;
    border-radius:14px !important;
    padding:12px 18px !important;
    font-size:14px !important;
    font-weight:600 !important;
    line-height:1.2;
    cursor:pointer;
    transition:all .2s ease;
    box-shadow:0 2px 6px rgba(0,0,0,.05);
    text-decoration:none;
}

.dmp-tab-button:hover{
    background:#f8fafc !important;
    border-color:#c7ccd4 !important;
    color:#111827 !important;
}

.dmp-tab-button.active{
    background:linear-gradient(180deg,#c9a46a 0%, #9c7a42 100%) !important;
    color:#ffffff !important;
    border-color:#c9a46a !important;
    box-shadow:0 10px 22px rgba(153,120,64,.35) !important;
}

.dmp-tab-button:focus{
    outline:none;
    box-shadow:0 0 0 3px rgba(99,102,241,.15) !important;
}

@media (max-width: 768px){
    .dmp-tabs{
        gap:8px;
    }

    .dmp-tab-button{
        padding:10px 14px;
        font-size:14px;
        border-radius:10px;
    }
}

.dmp-tab-panel {
  display: none;
}

.dmp-tab-panel.active {
  display: block;
}

/* SecÃ§Ãµes */
.dmp-section {
  margin-bottom: 36px;
}

.dmp-section-title {
  margin: 0 0 18px;
  font-size: 26px;
  line-height: 1.08;
  letter-spacing: -0.5px;
  color: #0f172a;
  padding-bottom: 12px;
  border-bottom: 1px solid #e8edf2;
}

/* Blocos momentos */
.dmp-moment {
  border: 1px solid #e7ebf0;
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 18px;
  background:
    linear-gradient(180deg, #ffffff 0%, #fbfbfc 100%);
  box-shadow:
    0 12px 28px rgba(15,23,42,.035),
    inset 0 1px 0 rgba(255,255,255,.6);
  overflow: hidden !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
  width: 100% !important;
}

.dmp-moment-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 10px;
}

.dmp-moment h3 {
  margin: 0 0 6px;
  font-size: 19px;
  color: #111827;
}

.dmp-moment-note {
  margin: 0 0 16px;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.55;
}

/* Grid interno */
.dmp-form-grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 16px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  min-width: 0 !important;
}

.dmp-form-grid .dmp-field,
.dmp-form-grid > * {
  min-width: 0 !important;
  box-sizing: border-box !important;
}

.dmp-form-grid .dmp-field-full {
  grid-column: 1 / -1 !important;
}

/* AÃ§Ãµes finais */
.dmp-actions-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Links */
.dmp-link {
  color: #0f62fe;
  text-decoration: none;
}

.dmp-link:hover {
  text-decoration: underline;
}

.dmp-link-inline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0f62fe;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.dmp-link-inline:hover {
  text-decoration: underline;
}

/* Badges */
.dmp-status-badge {
  font-size: 12px;
  font-weight: 700;
  padding: 7px 12px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 90px;
  letter-spacing: 0.3px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

.dmp-status-empty {
  background-color: #fee2e2;
  color: #b91c1c;
}

.dmp-status-partial {
  background-color: #fef3c7;
  color: #b45309;
}

.dmp-status-completed {
  background-color: #dcfce7;
  color: #166534;
}

/* Responsivo */
@media (max-width: 1080px) {
  .dmp-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .dmp-form-grid,
  .dmp-meta {
    grid-template-columns: 1fr;
  }

  .dmp-topbar,
  .dmp-moment-head {
    flex-direction: column;
  }

  .dmp-topbar {
    padding: 22px;
  }

  .dmp-topbar .dmp-actions-row {
    justify-content: flex-start;
    min-width: 0;
    width: 100%;
  }

  .dmp-topbar .dmp-actions-row .dmp-btn {
    min-width: 0;
    width: auto !important;
  }

  .dmp-card,
  .dmp-card-wide {
    padding: 24px 20px;
  }

  .dmp-card-wide::before {
    left: 20px;
    right: 20px;
  }

  .dmp-title {
    font-size: 30px;
  }

  .dmp-logo {
    max-width: 240px;
  }
	
	.dmp-deadline-date{
    display:inline-block;
    color:#b91c1c;
    font-weight:700;
    background:#fef2f2;
    border:1px solid #fecaca;
    padding:6px 10px;
    border-radius:999px;
    line-height:1;
}
}