/* Zentrale CSS-Datei für alle Admin-Bereiche */

.dashboard-main {
  display: grid;
  grid-template-columns: 1fr 330px;
  grid-gap: 25px;
  padding: 40px 0;
}

body.toplevel_page_macher-dashboard .notice,
body.toplevel_page_macher-dashboard .update-nag,
body.toplevel_page_macher-dashboard .error,
body.toplevel_page_macher-dashboard .updated {
  display: none !important;
}

body.toplevel_page_macher-dashboard .dermacher-notice {
  display: block !important;
}


.macher-suite-header a,
.macher-suite-header p,
.macher-suite-header h2 {
  color: #f97316;
}



.macher-dashboard-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 97%;
  max-width: 1250px;
  margin: 0 auto;
}
.macher-dashboard-grid .macher-modules form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
}
.macher-dashboard-grid .macher-modules form .macher-module-card {
  background: #fff;
  border: 1px solid #ccd0d4;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.macher-dashboard-grid .macher-modules form .macher-module-card .macher-module-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}
.macher-dashboard-grid h2 {
  margin-top: 0;
}
.macher-dashboard-grid .macher-modules form .macher-module-card .macher-status {
  font-weight: bold;
  font-size: 0.95em;
}
.macher-dashboard-grid  .macher-modules form .macher-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.macher-pinboard {
  background: #f9f9f9;
  border: 1px solid #ccd0d4;
  padding: 20px;
  border-radius: 8px;
  max-width: 300px;
  width: 100%;
  height: max-content;
}
.macher-pinboard ul {
  margin-bottom: 0;
}
.macher-pinboard span {
  font-weight: bold;
  display: block;
  margin-top: 15px;
}

@media (min-width: 800px) {
  .macher-dashboard-grid {
    grid-template-columns: 1fr max-content;
  }
  .macher-dashboard-grid .macher-modules form {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .macher-dashboard-grid .macher-modules form .macher-buttons {
    grid-column: 1 / -1;
  }
  .macher-pinboard {
    border-radius: 8px;
    max-width: 300px;
    width: 100%;
    height: max-content;
  }
}