:root {
  font-family: Arial, Helvetica, sans-serif;
  color: #202838;
  background: #eef0f2;
  font-size: 14px;
  --blue: #2299ff;
  --line: #e5e9ef;
  --active: #16a34a;
  --soon: #b58a00;
  --urgent: #ea8600;
  --expired: #e52629;
  --unset: #7b8493;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a,
input,
select,
textarea {
  outline-offset: 4px;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
.sidebar {
  width: 240px;
  position: fixed;
  inset: 0 auto 0 0;
  background: white;
  border-right: 1px solid var(--line);
  padding: 30px 18px;
  display: flex;
  flex-direction: column;
}
.brand {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 214px;
  margin: 0 0 44px;
}
.brand-logo {
  display: block;
  width: 100%;
  height: auto;
}
.nav-active {
  display: flex;
  gap: 8px;
  background: #f0f8ff;
  color: var(--blue);
  padding: 10px;
  border-radius: 4px;
  font-size: 16px;
}
.sidebar-foot {
  margin-top: auto;
  color: #929aa7;
  font-size: 10px;
  letter-spacing: 1px;
}
.sidebar-foot span {
  float: right;
}
.workspace {
  margin-left: 240px;
}
.topbar {
  height: 78px;
  background: white;
  display: flex;
  align-items: center;
  gap: 30px;
  padding: 18px 26px;
  box-shadow: 0 2px 7px #0000000d;
}
.search {
  display: flex;
  align-items: center;
  border: 1px solid #d1d5db;
  border-radius: 30px;
  padding: 4px 13px;
  flex: 1;
  gap: 8px;
}
.search span {
  font-size: 25px;
}
.search input {
  border: 0;
  width: 100%;
  background: transparent;
  padding: 5px;
  outline-offset: 0;
}
.avatar {
  border-radius: 50%;
  background: #348dce;
  color: white;
  padding: 9px 13px;
}
main {
  padding: 24px;
}
.panel {
  background: white;
  padding: 20px;
  border-radius: 9px;
  box-shadow: 0 1px 9px #0000000a;
}
.heading,
.toolbar,
.card-heading,
.status-strip,
.dialog-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.heading {
  margin-bottom: 26px;
  flex-wrap: wrap;
}
h1 {
  font-size: 21px;
  margin: 0;
}
h2 {
  font-size: 16px;
  margin: 0;
}
h3 {
  font-size: 14px;
  margin: 0;
}
.subtitle {
  font-size: 12px;
  color: #7a8493;
  margin: 8px 0 0;
}
.btn {
  border: 1px solid #d7dde5;
  border-radius: 5px;
  background: white;
  color: #4a5568;
  padding: 9px 13px;
  font-size: 12px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}
.btn:hover {
  background: #f2f7fb;
}
.btn.primary {
  background: var(--blue);
  color: white;
  border-color: var(--blue);
}
.btn.danger {
  color: #df272a;
}
.toolbar {
  justify-content: flex-end;
  flex-wrap: wrap;
}
.data-toolbar {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.summary {
  display: flex;
  gap: 8px;
  margin: 0 0 28px;
  flex-wrap: wrap;
}
.summary span {
  font-size: 12px;
  padding: 7px 10px;
  background: #f7f9fb;
  border-radius: 5px;
}
.table-scroll {
  overflow-x: auto;
}
table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  white-space: nowrap;
}
th {
  font-size: 10px;
  color: #5c6675;
  padding: 16px 12px;
  font-weight: 700;
}
td {
  padding: 17px 12px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  font-weight: 600;
}
td:first-child {
  min-width: 220px;
}
tbody tr:hover {
  background: #fafcff;
}
.actions {
  display: flex;
  gap: 6px;
}
.icon-btn {
  width: 31px;
  height: 31px;
  padding: 7px;
  color: var(--blue);
}
svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.indicator {
  display: inline-flex;
  gap: 7px;
  align-items: center;
}
.dot {
  display: inline-grid;
  place-items: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--active);
  color: white;
  font-size: 10px;
}
.dot.expired {
  background: var(--expired);
}
.active {
  color: var(--active);
}
.soon {
  color: var(--soon);
}
.urgent {
  color: var(--urgent);
}
.expired {
  color: var(--expired);
}
.unset {
  color: var(--unset);
}
.badge {
  display: inline-block;
  border-radius: 4px;
  padding: 6px 8px;
  font-size: 11px;
  background: color-mix(in srgb, currentColor 12%, white);
  font-weight: 700;
}
.bars {
  display: flex;
  gap: 3px;
}
.bars span {
  display: block;
  flex: 1;
  background: var(--active);
  height: 32px;
  border-radius: 2px;
  min-width: 3px;
}
.bars .partial {
  background: #f59e0b;
}
.bars.compact {
  width: 69px;
  gap: 3px;
}
.bars.compact span {
  height: 23px;
}
.back {
  color: #788292;
  font-size: 12px;
  display: inline-block;
  margin-bottom: 15px;
}
.domain-title {
  border-left: 3px solid var(--blue);
  padding-left: 22px;
  margin-bottom: 30px;
}
.certificates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.card {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.card-heading {
  margin-bottom: 20px;
}
.fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 24px;
}
.field-label {
  display: block;
  font-size: 10px;
  color: #788292;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 7px;
}
.field-value {
  font-size: 12px;
  font-weight: 600;
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.status-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-top: 20px;
  padding: 20px 0;
}
.uptime {
  text-align: right;
  font-size: 22px;
  font-weight: 700;
}
.history {
  padding: 20px 0 0;
}
.history .bars {
  margin-top: 14px;
}
.legend {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  color: #788292;
  font-size: 10px;
  margin-top: 12px;
}
.legend i {
  width: 8px;
  height: 8px;
  display: inline-block;
  margin-right: 5px;
  border-radius: 1px;
}
.hosting-card {
  margin-top: 26px;
}
.hosting-grid {
  grid-template-columns: repeat(4, 1fr);
}
.note {
  margin-top: 20px;
}
.progress-label {
  display: flex;
  justify-content: space-between;
  margin: 22px 0 8px;
  color: #788292;
  font-size: 11px;
}
progress {
  display: block;
  width: 100%;
  height: 9px;
  border: 0;
  border-radius: 10px;
  overflow: hidden;
  accent-color: var(--blue);
}
progress::-webkit-progress-bar {
  background: #edf0f4;
}
progress::-webkit-progress-value {
  background: var(--blue);
}
.hosting-actions {
  display: flex;
  gap: 8px;
  margin-top: 22px;
}
.empty {
  padding: 24px;
  color: #788292;
  text-align: center;
}
footer {
  font-size: 11px;
  color: #929aa7;
  margin: 0 24px 24px;
}
dialog {
  width: min(580px, calc(100% - 30px));
  max-height: 90vh;
  overflow: auto;
  border: 0;
  border-radius: 10px;
  padding: 25px;
  color: #202838;
  box-shadow: 0 12px 80px #17263c33;
}
dialog::backdrop {
  background: #18233265;
}
dialog h2 {
  font-size: 20px;
  margin-bottom: 8px;
}
dialog form {
  margin-top: 24px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font-size: 12px;
  font-weight: 600;
}
.form-field.full {
  grid-column: 1/-1;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #cfd6e0;
  border-radius: 5px;
  background: white;
  color: #202838;
}
.form-field textarea {
  resize: vertical;
  min-height: 80px;
}
.help {
  font-size: 11px;
  color: #788292;
  font-weight: 400;
  line-height: 1.5;
}
.dialog-actions {
  justify-content: flex-end;
  margin-top: 24px;
}
.form-error {
  color: var(--expired);
  font-size: 12px;
  margin-top: 15px;
  white-space: pre-wrap;
}
#notification {
  position: fixed;
  bottom: 22px;
  right: 24px;
  max-width: 440px;
  background: #24384d;
  color: white;
  padding: 15px 20px;
  border-radius: 7px;
  box-shadow: 0 3px 20px #0002;
  z-index: 10;
  font-size: 13px;
}
.history-table {
  margin-top: 24px;
}
.history-table h3 {
  margin-bottom: 8px;
}
.filter {
  border: 1px solid #d7dde5;
  border-radius: 5px;
  padding: 8px;
  background: white;
  color: #4a5568;
  font-size: 12px;
}
@media (min-width: 1600px) {
  td {
    padding-top: 20px;
    padding-bottom: 20px;
  }
  .heading {
    margin-bottom: 38px;
  }
}
@media (max-width: 1100px) {
  .sidebar {
    width: 190px;
    padding-inline: 12px;
  }
  .workspace {
    margin-left: 190px;
  }
  .hosting-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .certificates {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 650px) {
  .sidebar {
    position: static;
    width: 100%;
    padding: 14px 18px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  .brand {
    max-width: 180px;
    margin: 0;
  }
  .sidebar-foot {
    display: none;
  }
  .workspace {
    margin-left: 0;
  }
  .topbar {
    height: 65px;
    padding: 12px 16px;
    gap: 15px;
  }
  main {
    padding: 14px;
  }
  .panel {
    padding: 15px;
  }
  .form-grid,
  .fields,
  .hosting-grid {
    grid-template-columns: 1fr;
  }
  .heading {
    align-items: flex-start;
  }
  .bars {
    gap: 2px;
  }
  .bars span {
    min-width: 1px;
  }
  .form-field.full {
    grid-column: auto;
  }
  .toolbar {
    justify-content: flex-start;
  }
  .card-heading {
    flex-wrap: wrap;
  }
  footer {
    margin-inline: 15px;
  }
}
