* {margin: 0;}

:root {
  --border: 5px solid;
}

body {
  position: absolute;
  background-color: #fff;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

#service-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-radius: 5px;
  overflow-y: auto;
  scroll-behavior: smooth;
  max-width: 800px;
  width: 100%;
}


.head {
  max-width: 800px;
  width: 100%;
  text-align: left;
}

section {
  position: relative;
  background-color: rgba(0, 0, 0, 0.01);
  border-radius: 15px;
  border: 0.1px solid #aaa;
  padding: 10px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding-left: 25px;
  box-shadow: inset 5px 5px 20px #eee;
}

i {
  font-size: 40px;
  padding-right: 5px;
}

.nostatus {
  text-align: left;
}

.status {
  font-weight: bold;
  position: absolute;
  right: 20px;
}

.border {
  position: absolute;
  width: 5px;
  border-radius: 5px;
  top: 10px;
  bottom: 10px;
  left: 10px;
}

section.active .border {
  background-color: #10B981;
}
section.active .status {
  color: #10B981;
}

section.disabled .border {
  background-color: #9CA3AF;
}
section.disabled .status  {
  color: #9CA3AF;
}

section.paused .border {
  background-color: #F59E0B;
}
section.paused .status {
  color: #F59E0B;
}

section.deleted .border {
  background-color: #EF4444;
}
section.deleted .status {
  color: #EF4444;
}

section.unavailable .border {
  background-color: #64748B;
}
section.unavailable .status {
  color: #64748B;
}

section.unknown .border {
  background-color: #8B5CF6;
}
section.unknown .status {
  color: #8B5CF6;
}

section.discontinued .border {
  background-color: #374151;
}
section.discontinued .status {
  color: #374151;
}

section.draft .border {
  background-color: #3B82F6;
}
section.draft .status {
  color: #3B82F6;
}

section.maintenance .border {
  background-color: #EAB308;
}
section.maintenance .status {
  color: #EAB308;
}

.copyright {
  text-align: center;
  font-weight: 300;
  padding-top: 20px;
  padding-bottom: 5px;
}

.head {
  padding-bottom: 50px;
}

.sort button {
  border-radius: 50px;
  padding: 10px;
  border: 0.1px solid #aaa;
  background-color: #fff;
  box-shadow: inset 5px 5px 20px #eee;
}

.sort {
  display: flex;
  flex-direction: row;
  gap: 5px;
  align-items: center;
}

#btn-sort-name {
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
  transition: 0.5s;
}

#btn-sort-status {
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  transition: 0.5s;
}

h4 {
  padding-bottom: 10px;
}

#btn-sort-name.act {
  background-color: #ddd;
  box-shadow: inset 5px 5px 20px #ccc;
  transition: 0.2s;
}

#btn-sort-status.act {
  background-color: #ddd;
  box-shadow: inset 5px 5px 20px #ccc;
  transition: 0.2s;
}

button {
  color: #000;
}

a {
  text-decoration: none;
  color: cornflowerblue;
}