/* NOTICES */
.monitor-notice {
    background-color: white;
    padding: 0;
    border: 1px solid #ddd;
    padding: 1rem;
    margin-bottom: 1rem;
}

.monitor-notice.monitor-notice-success {
    border-left: 3px solid green;
}

.monitor-notice.monitor-notice-warning {
    border-left: 3px solid orange;
}

.monitor-notice.monitor-notice-error {
    border-left: 3px solid red;
}

/* DASHBOARD */
.monitor-dashboard {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

.monitor-dashboard>div {
    flex-grow: 1;
    min-width: 250px;
    background-color: white;
    border: 1px solid #ddd;
    padding: 1rem;
    margin: 0;
}

/* TOP MENU */

#monitor-menu {
    margin-left: -20px;
    background-color: #3B2D9B;
    padding: 1rem 20px;
    display: flex;
    xjustify-content: space-between;
    align-items: center;
}

#monitor-menu-title {
    font-size: 1.2rem;
    color: white;
    margin-right: 2rem;
}

#monitor-menu-nav ul {
    margin: 0;
}

#monitor-menu-nav li {
    display: inline-block;
    margin: 0 1rem 0 0;
}

#monitor-menu-nav a {
    color: white;
    text-decoration: none;
    border-bottom: 3px solid transparent;
}

#monitor-menu-nav a.monitor-active {
    border-bottom-color: white;
}

#monitor-menu-nav a.monitor-on::after {
  content: "";
  position: relative;
  top: -5px;
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #ff69b4;
  border-radius: 50%;
  margin-left: 3px;
  vertical-align: middle;
  /* Adds a soft green glow around the dot */
  box-shadow: 0 0 0 rgba(255, 105, 180, 0.4);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(255, 105, 180, 0.7); }
  70% { box-shadow: 0 0 0 6px rgba(255, 105, 180, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 105, 180, 0); }
}

/* GENERAL */
table.widefat {
    border: 0;
}

table.wp-list-table td ol {
    margin: 0;
}

.column-created {
    width: 8rem;
}

.column-context {
    width: 5rem;
}

.red {
    color: red;
}
.orange {
    color: orange;
}
.green {
    color: green;
}

/* GRAPHS */

.monitor-nodata {
    margin: 1.5rem 0;
    padding-top: 3rem;
    background-color: #eee;
    color: #ccc;
    border: 1px solid #ccc;
    height: 250px;
    font-size: 2rem;
    text-align: center;
}
