:root { font-family: 'Noto Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }
body { margin: 0; background: #0b1020; color: #e6e6e6; }
.container { max-width: 1200px; margin: 0 auto; padding: 24px; }
header h1 { margin: 0 0 16px 0; font-size: 22px; }

.grid { display: grid; grid-template-columns: 1fr 2fr; gap: 20px; }
section { background: #111935; padding: 16px; border-radius: 8px; box-shadow: 0 1px 0 rgba(255,255,255,0.05) inset; }

.row { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.row.checkbox { flex-direction: row; align-items: center; gap: 8px; }
label { font-size: 12px; color: #b7c7ff; }
input, textarea, select { background: #0f1530; color: #e6e6e6; border: 1px solid #2a3358; border-radius: 6px; padding: 8px; }
textarea { font-family: 'Noto Sans Mono', ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace; }
button { background: #3d66ff; color: white; border: 0; border-radius: 6px; padding: 8px 12px; cursor: pointer; }
button:hover { background: #3356d7; }
.actions { display: flex; gap: 8px; }

#server-list { list-style: none; padding: 0; display: flex; flex-direction: column; gap: 6px; }
#server-list li { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: #0f1530; padding: 8px; border: 1px solid #2a3358; border-radius: 6px; }
#server-list button { background: #2a3358; }
#server-list button:hover { background: #38447a; }

table { width: 100%; border-collapse: collapse; margin-top: 8px; }
th, td { border: 1px solid #2a3358; padding: 6px 8px; text-align: left; }
thead { background: #0f1530; }

.open-link { position: fixed; right: 16px; bottom: 16px; background: #2a3358; padding: 8px 12px; border-radius: 999px; font-size: 12px; text-decoration: none; color: #e6e6e6; }
.open-link:hover { background: #38447a; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 40px; overflow: hidden; }
.panel { background: #111935; padding: 16px; border-radius: 8px; overflow: hidden; min-width: 0; }
textarea { width: 100%; min-height: 260px; }
.toolbar { display:flex; gap:8px; margin-bottom:8px; align-items:center; flex-wrap: wrap; min-height: 30px; position: relative; }
.status { font-size:12px; color:#b7c7ff; position: absolute; right: 0; top: 50%; transform: translateY(-50%); }

.CodeMirror {
  max-height: 400px !important;
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  box-sizing: border-box !important;
  background: #0f1530 !important;
  color: #e6e6e6 !important;
  border: 1px solid #2a3358;
  border-radius: 6px;
  font-family: 'Noto Sans Mono', monospace;
  height: 300px;
}

.CodeMirror-scroll {
  max-width: 100% !important;
  overflow-x: auto !important;
  overflow-y: auto !important;
  max-height: 300px;
  background: #0f1530 !important;
}

.CodeMirror-gutters {
  background: #0f1530 !important;
  border-right: 1px solid #2a3358;
}

.CodeMirror-gutter.CodeMirror-linenumbers {
  width: 40px;
  padding-right: 5px;
  text-align: right;
  background: #0f1530 !important;
  color: #b7c7ff !important;
}

.CodeMirror-gutter.breakpoints {
  width: 12px;
  background: #0f1530 !important;
  cursor: pointer;
}

.CodeMirror-gutter.breakpoints:hover {
  background: #1a2040 !important;
}

.breakpoint {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff4444;
  border: 1px solid #ff6666;
  margin-left: 1px;
  cursor: pointer;
  box-shadow: 0 0 2px rgba(255, 68, 68, 0.5);
}

.panel .CodeMirror {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.CodeMirror-cursor {
  border-left: 1px solid white !important;
}


