input,
select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d5dce8;
  border-radius: 7px;
  background: white;
  color: #14223b;
  font: inherit;
}
.wifi-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0;
}
[data-wifi-panel] [hidden] {
  display: none;
}
.wifi-confirm input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
label {
  display: grid;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
}
button,
.button {
  padding: 10px 15px;
  background: #2759d6;
  color: white;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
  display: inline-block;
  font: inherit;
  font-size: 13px;
  text-decoration: none;
}
button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.secondary {
  background: #edf2fc;
  color: #244a8e;
}
.danger {
  background: #fff0f0;
  color: #b42929;
}
.main-sidebar {
  gap: 5px;
  padding: 22px 12px;
}
.main-sidebar a {
  background: transparent;
  font-size: 13px;
  padding: 10px;
}
.main-sidebar a.active,
.main-sidebar a:hover {
  background: #304c78;
}
.nav-caption {
  margin: 18px 0 10px;
}
.account {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}
.heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 26px;
}
h1 {
  font-size: 27px;
  margin: 0 0 10px;
}
h2 {
  font-size: 18px;
}
.heading p,
.muted {
  color: #718098;
  font-size: 13px;
}
.panel,
.metric {
  background: white;
  border: 1px solid #e1e6ef;
  border-radius: 10px;
  padding: 24px;
  margin: 24px 0;
}
.status-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
#server-status-cards {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}
.server-status-summary strong {
  font-size: 22px;
}
.server-status-summary p {
  margin-bottom: 0;
}
.metric {
  margin: 0;
  display: grid;
  gap: 16px;
}
.metric span {
  font-size: 13px;
  color: #687790;
}
.metric strong {
  font-size: 29px;
  color: #172e57;
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 900px;
  margin-top: 20px;
}
.form-grid button {
  align-self: end;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 20px 0;
}
.filters input {
  width: 230px;
}
.filters select {
  width: 145px;
}
.table-wrap {
  overflow: auto;
  background: white;
  border: 1px solid #e1e6ef;
  border-radius: 10px;
}
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 12px;
  white-space: nowrap;
}
th {
  background: #f4f7fc;
  color: #52627c;
  font-weight: 600;
  text-align: left;
}
th,
td {
  padding: 15px;
  border-bottom: 1px solid #e8edf5;
}
td a {
  color: #2759d6;
}
.empty {
  text-align: center;
  padding: 50px;
  color: #7d8ba2;
}
.badge {
  background: #edf2fc;
  color: #355c9c;
  border-radius: 20px;
  padding: 5px 9px;
  font-size: 11px;
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.thumbnail {
  background: #152e52;
  color: #b9cced;
  width: 58px;
  height: 35px;
  text-align: center;
  padding: 6px;
  border-radius: 5px;
}
.preview {
  background: #102340;
  color: #b9cced;
  height: 220px;
  display: grid;
  place-content: center;
  text-align: center;
}
.preview span {
  font-size: 12px;
  letter-spacing: 2px;
}
dl {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
dt {
  font-size: 12px;
  color: #718098;
}
dd {
  margin: 8px 0 0;
  font-size: 14px;
}
.notice:empty {
  display: none;
}
.notice {
  padding: 14px;
  background: #e9f4ef;
  border-radius: 8px;
  margin-bottom: 20px;
  font-size: 13px;
}
.error {
  background: #fff0f0;
  color: #9f2222;
}
.login {
  width: min(460px, 94vw);
  margin: 9vh auto;
  padding: 40px;
  background: white;
  border: 1px solid #e1e6ef;
  border-radius: 14px;
}
.login h1 {
  margin-top: 32px;
}
.login form {
  display: grid;
  gap: 20px;
  margin-top: 28px;
}
#login-error {
  color: #ae2525;
}
summary {
  cursor: pointer;
  font-weight: 600;
}
.sub-sidebar a.active {
  color: #244a8e;
  font-weight: 700;
}
.storage-path {
  overflow-wrap: anywhere;
  white-space: normal;
}
.file-breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 13px;
}
.file-breadcrumbs a {
  color: #2759d6;
}
@media (max-width: 1100px) {
  .status-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  dl {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }
  .account {
    gap: 8px;
  }
}
