:root {
  color-scheme: dark;
  font-family: Inter, Arial, sans-serif;
  background: #202227;
  color: #eef4ff;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  min-height: 100vh;
  background: radial-gradient(circle at 75% 0%, #202227 0, #202227 42%);
  display: flex;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input {
  font: inherit;
}
.sidebar {
  width: 248px;
  flex: none;
  background: #202227;
  border-right: 1px solid #24314d;
  padding: 24px 15px;
  position: sticky;
  top: 0;
  height: 100vh;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 4px 10px 35px;
}
.brand-mark {
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #202227, #202227);
  border-radius: 11px;
  width: 36px;
  height: 36px;
  color: white;
  font-size: 25px;
}
.brand strong {
  font-size: 17px;
  letter-spacing: 0.02em;
}
.brand small {
  display: block;
  color: #8091b3;
  font-size: 11px;
  margin-top: 3px;
}
.sidebar-label {
  text-transform: uppercase;
  color: #7482a0;
  font-size: 11px;
  letter-spacing: 0.13em;
  padding: 0 12px 12px;
}
.sidebar-nav {
  display: grid;
  gap: 5px;
}
.sidebar-nav a {
  padding: 12px 15px;
  color: #9baac9;
  border-radius: 10px;
  display: flex;
  gap: 13px;
  align-items: center;
  font-size: 15px;
}
.sidebar-nav a.active {
  background: #202227;
  color: #e7f6ff;
  border-left: 3px solid #29c4e8;
}
.sidebar-nav a:hover {
  background: #202227;
  color: #fff;
}
.main {
  min-width: 0;
  flex: 1;
}
.topbar {
  height: 65px;
  border-bottom: 1px solid #202d49;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(20px, 4vw, 54px);
  color: #95a9c8;
  font-size: 14px;
}
.back:hover {
  color: #fff;
}
.passport {
  border: 1px solid #283b58;
  padding: 8px 12px;
  border-radius: 30px;
}
.mobile-brand {
  display: none;
}
.content {
  max-width: 1450px;
  padding: 37px clamp(20px, 4vw, 54px) 54px;
  margin: auto;
}
.heading {
  display: flex;
  justify-content: space-between;
  gap: 25px;
  align-items: end;
  margin-bottom: 27px;
}
.eyebrow {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #3ed4ed;
  font-weight: 700;
}
h1 {
  font-size: clamp(31px, 3vw, 44px);
  line-height: 1.1;
  margin: 10px 0 9px;
}
p {
  line-height: 1.55;
}
.heading p {
  margin: 0;
  color: #a4b3cd;
  font-size: 16px;
}
.source-badge {
  background: #202227;
  border: 1px solid #21516b;
  border-radius: 14px;
  padding: 14px 18px;
  color: #a9e8f6;
  font-weight: 700;
  white-space: nowrap;
}
.source-badge small {
  color: #82a9b8;
  font-weight: 400;
}
.finder {
  background: #202227;
  border: 1px solid #273653;
  border-radius: 17px;
  padding: 20px;
  margin-bottom: 20px;
}
.search-label {
  display: block;
  font-weight: 700;
  margin-bottom: 9px;
  font-size: 14px;
}
.finder input {
  background: #202227;
  border: 1px solid #344765;
  border-radius: 10px;
  color: white;
  width: 100%;
  height: 47px;
  padding: 0 14px;
  outline: none;
  font-size: 16px;
}
.finder input:focus {
  border-color: #25c3e4;
  box-shadow: 0 0 0 3px #20222729;
}
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 15px;
}
.filters button {
  border: 1px solid #334362;
  background: #202227;
  color: #b7c7df;
  border-radius: 30px;
  padding: 9px 15px;
  cursor: pointer;
  font-size: 14px;
}
.filters button:hover,
.filters button.selected {
  background: #202227;
  border-color: #2ebedf;
  color: white;
}
.layout {
  display: grid;
  grid-template-columns: minmax(260px, 370px) minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}
.list-panel,
.detail-panel {
  background: #202227;
  border: 1px solid #273653;
  border-radius: 17px;
  min-width: 0;
}
.list-panel {
  overflow: hidden;
}
.list-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 19px 18px;
  border-bottom: 1px solid #263751;
}
.list-head h2 {
  font-size: 18px;
  margin: 0;
}
.list-head span {
  color: #8aa0bc;
  font-size: 13px;
}
.country-list {
  max-height: 68vh;
  overflow: auto;
  padding: 6px;
}
.country-row {
  border: 0;
  width: 100%;
  background: transparent;
  color: #e1eafa;
  text-align: left;
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border-radius: 10px;
  cursor: pointer;
}
.country-row:hover,
.country-row.active {
  background: #202227;
}
.country-row strong {
  font-size: 15px;
  display: block;
}
.country-row small {
  font-size: 12px;
  color: #8ba0bd;
  display: block;
  margin-top: 3px;
}
.status {
  white-space: nowrap;
  border-radius: 20px;
  padding: 6px 9px;
  font-size: 12px;
  font-weight: 700;
}
.status.free {
  background: #202227;
  color: #74edcf;
}
.status.visa {
  background: #202227;
  color: #ffb9bb;
}
.status.arrival {
  background: #202227;
  color: #ffd69a;
}
.status.unknown {
  background: #202227;
  color: #c3cde0;
}
.empty {
  padding: 15px;
  color: #a5b4cc;
}
.detail-panel {
  padding: clamp(20px, 3vw, 31px);
  min-height: 450px;
}
.detail-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  align-items: start;
}
.detail-top h2 {
  font-size: clamp(25px, 2.3vw, 35px);
  margin: 4px 0 10px;
}
.detail-top .status {
  margin-top: 7px;
}
.detail-summary {
  font-size: 18px;
  color: #d4e9ff;
  margin: 0 0 24px;
}
.detail-tabs {
  display: flex;
  gap: 6px;
  border-bottom: 1px solid #30405c;
  margin-bottom: 22px;
  overflow: auto;
}
.detail-tabs button {
  background: none;
  border: 0;
  color: #94a8c5;
  padding: 12px 16px;
  cursor: pointer;
  white-space: nowrap;
  font-weight: 700;
}
.detail-tabs button.active {
  color: #43d4ef;
  border-bottom: 2px solid #43d4ef;
}
.detail-body h3 {
  font-size: 18px;
  margin: 0 0 12px;
}
.rule {
  background: #202227;
  border: 1px solid #2b3e5e;
  border-radius: 13px;
  padding: 18px;
  margin-bottom: 18px;
}
.rule strong {
  display: block;
  color: #fff;
  margin-bottom: 7px;
}
.rule p {
  margin: 0;
  color: #c2d0e4;
}
.detail-body ul {
  padding-left: 20px;
  color: #becde2;
  line-height: 1.65;
}
.detail-body li {
  margin-bottom: 8px;
}
.source-link {
  display: block;
  padding: 13px 15px;
  border: 1px solid #375674;
  border-radius: 10px;
  color: #8de5fb;
  margin-bottom: 10px;
  overflow-wrap: anywhere;
}
.source-link:hover {
  background: #202227;
}
.meta {
  font-size: 13px;
  color: #8da4bf;
  margin-top: 18px;
}
.caution {
  font-size: 13px;
  color: #8ea1bb;
  margin: 25px 2px 0;
  max-width: 1080px;
}
.detail-placeholder {
  color: #9fb1cc;
}
.kompas-tag {
  color: #a691ff !important;
}
@media (max-width: 900px) {
  .sidebar {
    display: none;
  }
  .mobile-brand {
    display: block;
    font-weight: 800;
    color: #fff;
  }
  .mobile-brand span {
    color: #49d7ef;
  }
  .topbar {
    gap: 12px;
  }
  .layout {
    grid-template-columns: 1fr;
  }
  .country-list {
    max-height: 310px;
  }
  .source-badge {
    display: none;
  }
}
@media (max-width: 560px) {
  .content {
    padding-top: 24px;
  }
  .heading p {
    font-size: 14px;
  }
  .topbar .passport {
    font-size: 11px;
    padding: 7px;
  }
  .detail-top {
    flex-wrap: wrap;
  }
  .country-row {
    padding: 13px 10px;
  }
  .status {
    font-size: 11px;
  }
}
