@import url("https://fonts.googleapis.com/css2?family=IBM+Plex+Serif:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

:root {
  --primary-bg: #2b0e12;
  --primary-bg-light: #521d24;
  --primary-border-light: #66242d;
}

a:link,
a:visited {
  color: blue;
}
body {
  margin: 0;
  font-family: roboto;
  line-height: 1.5rem;
  color: #555;
}
h1 {
  font-size: 2.8rem;
}
b,
h1,
h2,
h3,
h4 {
  color: var(--primary-bg);
}
h1,
h2,
h3,
h4 {
  font-family: ibm plex serif;
}
input[type="text"],
input[type="password"],
select,
input[type="date"] {
  padding: 0.5rem 1rem;
  border: 1px solid #bbb;
  border-radius: 2rem;
  width: 100%;
  max-width: 700px;
  font-size: 1rem;
}
button {
  border-radius: 100rem;
  padding: 0.5rem 1rem;
  border: 1px solid #000;
  background: #fff;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.4s;
}
button.danger {
  border-color: red;
  color: red;
}
button:hover {
  color: white;
  background: #000;
}
button.danger:hover {
  background: red;
  color: white;
}
td {
  padding: 0.5rem 0;
  /* padding: 1rem 0; */
}
.automation-details td {
  margin: 0.5rem 0;
  padding: 1.2rem 2rem;
}
.automation-details tr:nth-child(2n) {
  background: #efefef;
  border-radius: 1rem;
}
.basic-details td {
  margin: 0.5rem 0;
  padding: 0.75rem 0;
}
.basic-details td:nth-child(1) {
  width: 11rem;
}
.automation-details td:nth-child(1) {
  width: 7rem;
}
td:nth-child(2) {
  padding-left: 1rem;
}
table {
  margin: 2rem 0 2rem 0;
}
.mr-3 {
  margin-right: 1rem;
}

.badge {
  padding: 0.3rem 1rem;
  font-size: 0.9rem;
  border-radius: 2rem;
  background: #ddd;
  color: rgba(0, 0, 0, 0.8);
}
.badge.bg-orange {
  background: #ffc285;
}
.badge.bg-generated {
  background: #62bd1c;
  color: white;
}
.badge.bg-generating {
  background: #666;
  color: white;
}
.badge.bg-failed {
  background: #fc6c58;
  color: white;
}
.session-list {
  margin: 0;
  padding: 0;
}
.session-list li {
  border-bottom: 1px solid var(--primary-border-light);
  padding: 1rem 1rem 0.5rem 1rem;
  cursor: pointer;
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
}
.session-list li.selected {
  background: var(--primary-bg-light);
}

.basic-details {
  background: #fff;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
}

#filter-state {
  position: fixed;
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.7);
  align-items: center;
  justify-content: center;

  display: none;
}

#filter-state .main {
  position: relative;
  border-radius: 0.5rem;
  background: #fff;
  padding: 2rem 3rem;
  min-width: 400px;
}

.pagination-container {
  display: grid;
  grid-template-columns: 1fr 1fr 2fr 1fr 1fr;
  align-items: center;
  text-align: center;
  font-family: sans-serif;
  padding: 0.5rem 0;
}

.pagination-container button {
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 0;
  background: none;
  color: #fff;
  width: 90%;
  border: 0;
}

.pagination-container button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.pagination-container select {
  padding: 5px;
  border-radius: 4px;
  width: 4rem;
}
