* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Arial', sans-serif;
  margin: 0;
  padding: 0;
  background-color: #1e1e2e;
  color: #ffffff;
}

.dashboard {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 20px;
  max-width: 1200px;
  margin: 20px auto;
  padding: 20px;
}

.card {
  background: #25273c;
  border-radius: 8px;
  padding: 20px;
  overflow: hidden;
}

.card h2 {
  margin: 0 0 15px;
  font-size: 1.5em;
  color: #ff9f43;
}

.info-btn {
  background: #ff9f43;
  border: none;
  padding: 5px 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9em;
  color: #1e1e2e;
  transition: background 0.3s;
}

.info-btn:hover {
  background: #ffa34d;
}

.user-list, .notification-list, .investor-list {
  margin: 0;
  padding: 0;
  list-style: none;
  max-height: 400px;
  overflow-y: auto;
}

.user-list li, .notification-list li, .investor-list li {
  margin: 10px 0;
  padding: 15px;
  background: #2b2d42;
  border-radius: 8px;
  transition: background 0.3s;
}

.user-list li:hover, .notification-list li:hover, .investor-list li:hover {
  background: #3b3d5a;
}



.footer {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9em;
  color: #888;
}

.danger-bar {
  background-color: #ff4747;
  height: 10px;
  border-radius: 5px;
  margin-top: 5px;
}
.danger-bar-cover {
   background-color: #42484f;
  height: 10px;
  border-radius: 5px;
  margin-top: 5px;
}
.user-list li {
    line-height: 1.4em;
    font-family: verdana;
    cursor: pointer;
}
}
button.show-solution-btn {
    background: transparent;
    color: #fff;
    border: none;
    font-weight: 900;
}
/*div#user-details {
    position: fixed;
    bottom: 1em;
    background: inherit;
    right: 1em;
    padding: 1em;
}*/
pre {
    white-space: break-spaces;
    line-height: 1.4rem;
}
.details {
    position: fixed;
    height: 100vh;
    top: 0;
    right: 0;
    width: 30vw;
    background: inherit;
    padding: 1em;
    line-height: 1.5em !important;
}
button#close-details-btn {
    position: absolute;
    bottom: 4em;
    right: 2em;
    background: #f21;
    color: #fff;
    border: none;
    height: 2em;
    width: 8em;
    border-radius: 9999px;
}
ul#notification-list li {
    line-height: 1.6em;
}
button.show-solution-btn {
    background: transparent;
    border: none;
    font-weight: 900;
    color: #fff;
    font-family: sans-serif;
    margin-top: 1em;
}
a.autogenerated-link {
    color: dodgerblue;
    font-weight: 500;
    text-decoration: dashed !important;
}
/* Responsive Design */
@media (max-width: 1024px) {
  .dashboard {
    grid-template-columns: 1fr 1fr;
  }

  .card {
    padding: 15px;
  }

  .card h2 {
    font-size: 1.3em;
  }
}

@media (max-width: 768px) {
  .dashboard {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 10px;
  }

  .card h2 {
    font-size: 1.2em;
  }

  .info-btn {
    font-size: 0.8em;
    padding: 4px 8px;
  }

  .user-list li, .notification-list li, .investor-list li {
    font-size: 0.9em;
  }
}

@media (max-width: 480px) {
  body {
    font-size: 0.9em;
  }

  .dashboard {
    padding: 10px;
  }

  .card h2 {
    font-size: 1.1em;
  }

  .info-btn {
    font-size: 0.75em;
    padding: 3px 6px;
  }

  .user-list li, .notification-list li, .investor-list li {
    padding: 10px;
    font-size: 0.8em;
  }

  .footer {
    font-size: 0.8em;
  }
}


.data {
    display: flex
;
    justify-content: space-between;
    padding: 2em 5em;
    align-items: center;
}
.threat {
  background: red;
}
.no-threat {
  background: orange;
}
.promo {
  height: 10em;
  background: #f0f0f0;
  color: #333;
  margin: 0 4em;
  padding: 1em;
  border-radius: 1em;
  display: flex;
  flex-direction: column;
}
.promo a {
  height: 3em;
  width: 10em;
  border-radius: .5em;
  text-decoration: none;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: .3em;
  align-self: end;
  color: #fff;
  background: dodgerblue;
}
.main {
    height: 100%;
    display: flex;
    margin-top: 1em;
    flex-direction: column;
}