* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #07111f;
  color: #f4f7fb;
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: 250px;
  background: #0b1728;
  border-right: 1px solid #1d3048;
  padding: 24px 16px;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
}

.brand {
  padding: 0 10px 25px;
  border-bottom: 1px solid #1d3048;
  margin-bottom: 20px;
}

.brand h2 {
  margin: 0;
  font-size: 22px;
}

.brand small {
  opacity: .65;
}

nav {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

nav a {
  color: #cbd7e6;
  text-decoration: none;
  padding: 12px 14px;
  border-radius: 8px;
}

nav a:hover,
nav a.active {
  background: #172a42;
  color: white;
}

main {
  margin-left: 250px;
  width: calc(100% - 250px);
  padding: 30px;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
}

header h1 {
  margin: 0 0 5px;
}

header p {
  margin: 0;
  opacity: .65;
}

.language button {
  background: #172a42;
  color: white;
  border: 1px solid #29425f;
  padding: 8px 12px;
  border-radius: 6px;
  cursor: pointer;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.card,
.panel {
  background: #0e1c2f;
  border: 1px solid #1c3049;
  border-radius: 12px;
}

.card {
  padding: 20px;
}

.card span {
  display: block;
  opacity: .7;
  margin-bottom: 10px;
}

.card strong {
  font-size: 30px;
}

.workspace {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 20px;
}

.panel {
  padding: 20px;
}

.panel-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.panel-title h2 {
  margin: 0 0 18px;
}

.panel-title span {
  font-size: 13px;
  opacity: .6;
}

.map-placeholder {
  min-height: 420px;
  border: 1px dashed #38516e;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #091624;
}

.map-placeholder h3 {
  margin-bottom: 5px;
}

.map-placeholder p {
  opacity: .65;
  max-width: 450px;
}

@media (max-width: 900px) {
  .sidebar {
    width: 200px;
  }

  main {
    margin-left: 200px;
    width: calc(100% - 200px);
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .workspace {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  body {
    display: block;
  }

  .sidebar {
    position: relative;
    width: 100%;
  }

  main {
    margin-left: 0;
    width: 100%;
    padding: 18px;
  }

  .stats {
    grid-template-columns: 1fr;
  }
}
