/* Map Overview — Trizbort-style world visualization */

.mo-overlay {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 52px);
  background: #12121a;
}

.mo-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 44px;
  padding: 0 16px;
  background: #1a1a2e;
  border-bottom: 1px solid #2a2a3e;
  flex-shrink: 0;
}

.mo-toolbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mo-toolbar-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.mo-title {
  font-size: 14px;
  font-weight: 600;
  color: #8888cc;
  font-family: "DM Sans", sans-serif;
}

.mo-btn {
  padding: 4px 10px;
  background: #1e1e30;
  color: #8899aa;
  border: 1px solid #3a3a50;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: all 0.15s ease;
}

.mo-btn:hover {
  background: #2a2a40;
  color: #c8ccd0;
  border-color: #4a4a6e;
}

.mo-btn-primary {
  background: #1a2e1a;
  color: #a8d8a8;
  border-color: #2d5a2d;
}

.mo-btn-primary:hover {
  background: #224228;
  color: #c8f0c8;
  border-color: #3a8a3a;
}

.mo-btn-active {
  background: #1a2a3e;
  color: #3498db;
  border-color: #3498db;
}

.mo-btn-active:hover {
  background: #1e3048;
  color: #5dade2;
  border-color: #5dade2;
}

.mo-canvas-wrap {
  flex: 1;
  overflow: hidden;
  position: relative;
}

/* Portal creation form */
.mo-portal-form {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1000;
  background: #1a1a2e;
  border: 1px solid #3a3a6e;
  border-radius: 8px;
  padding: 20px;
  min-width: 280px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

.mo-portal-form h3 {
  margin: 0 0 16px;
  color: #8888cc;
  font-size: 14px;
  font-family: "DM Sans", sans-serif;
}

.mo-portal-form label {
  display: block;
  margin-bottom: 10px;
  color: #8899aa;
  font-size: 12px;
  font-family: "DM Sans", sans-serif;
}

.mo-portal-form input,
.mo-portal-form select {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 6px 8px;
  background: #12121a;
  color: #c8ccd0;
  border: 1px solid #3a3a50;
  border-radius: 4px;
  font-size: 13px;
  font-family: "DM Sans", sans-serif;
  box-sizing: border-box;
}

.mo-portal-form input:focus,
.mo-portal-form select:focus {
  outline: none;
  border-color: #3498db;
}

.mo-portal-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 16px;
}
