body {  }
.split { display: flex; height: 100vh; justify-content: center; }
.left, .right { flex: 1; padding: 0 1rem 1.5rem 1.5rem; max-width: 530px; margin-top: 10px; }
.right { flex: 1; padding: 0 1.5rem 1.5rem 1rem; max-width: 530px; margin-top: 10px; }
.group-card {
  border: 1px solid #e5e7eb;
  border-top: none;
  margin-bottom: 0;
  padding: 0.75rem 0.75rem 0.75rem 0.75rem;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
}

.group-wrapper {
  margin-bottom: 1rem;
}

#groupsList {
  overflow-y: auto;
  max-height: calc(100vh - 200px);
  padding-right: 1rem;
}

/* Custom scrollbar styling - visible when scrollable */
#groupsList::-webkit-scrollbar {
  width: 14px;
}

#groupsList::-webkit-scrollbar-track {
  background: #e0e0e0;
  border-radius: 8px;
}

#groupsList::-webkit-scrollbar-thumb {
  background: #666;
  border-radius: 8px;
  border: 2px solid #e0e0e0;
}

#groupsList::-webkit-scrollbar-thumb:hover {
  background: #444;
}

/* Firefox scrollbar */
#groupsList {
  scrollbar-width: thin;
  scrollbar-color: #888 #f5f5f5;
}
pre { background: rgb(248, 249, 250); color: black; padding: 1rem; border: 1px solid #dee2e6;}
.kv-row { display: flex; gap: 0.5rem; margin-bottom: 0.5rem; align-items: center; }
.kv-row input { flex: 1; }
.kv-row .btn { flex: 0 0 auto; }
.form-label { margin-bottom: 0.2rem; font-weight: 500; }
.group-header { display: flex; align-items: center; justify-content: space-between; }
.group-header .chevron-btn,
.group-bar .chevron-btn {
  background: none;
  border: none;
  font-size: 1.2rem;
  margin-right: 0.5rem;
  cursor: pointer;
  box-shadow: none;
  outline: none;
}
.group-content.collapsed { display: none; }
.remove-btn {
  background: none;
  border: none;
  box-shadow: none;
  outline: none;
  color: #dc3545;
  font-size: 1.36rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.remove-btn:hover { color: #a71d2a; }
.group-header.collapsed-header .group-name,
.group-header.collapsed-header label {
  display: none !important;
}
.group-title {
  display: block;
  font-weight: 400;
  color: #222;
  background-color: rgb(248, 249, 250);
}
.group-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
  padding: 0.375rem 0.5rem 0.375rem 0.5rem;
  margin-bottom: 0;
  position: relative;
  z-index: 2;
  box-shadow: 0 1px 4px rgba(0,0,0,0.03);
  background-color: rgb(248, 249, 250);
}
.group-bar .group-title {
  font-size: 1.5rem;
  font-weight: 500;
  color: #222;
  padding: 0;
  margin: 0;
  letter-spacing: -0.5px;
}
.group-bar .bar-actions {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}
.group-card.collapsed {
  display: none;
}
.group-header .form-label {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}
.group-header input,
.group-header select {
  color: black;
  font-size: 0.875rem;
}
.simple-plus-btn {
  background: none;
  border: none;
  box-shadow: none;
  outline: none;
  color: #0969da;
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
  padding: 0;
  margin: 0;
}
.simple-plus-btn:hover { color: #1a7f37; }
.btn-primary {
  background-color: #0969da;
  border-color: #0969da;
  color: white;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  transition: all 0.2s;
  font-size: 0.875rem;
}
.btn-primary:hover {
  background-color: #1a7f37;
  border-color: #1a7f37;
}
.btn-success {
  background-color: #1a7f37;
  border-color: #1a7f37;
  color: white;
  font-weight: 500;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  transition: all 0.2s;
  font-size: 0.875rem;
}
.btn-success:hover {
  background-color: #2da44e;
  border-color: #2da44e;
}
.form-control {
  border: 1px solid #d0d7de;
  border-radius: 4px;
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  line-height: 1.5;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}
.form-control:focus {
  border-color: #0969da;
  box-shadow: 0 0 0 3px rgba(9, 105, 218, 0.1);
  outline: 0;
}
.form-control-sm {
  padding: 0.25rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 4px;
}
#yamlOutput {
  min-height: 400px;
  max-height: 600px;
  overflow-y: auto;
  font-family: 'SF Mono', Monaco, 'Cascadia Code', 'Roboto Mono', Consolas, 'Courier New', monospace;
  font-size: 13px;
  line-height: 1.5;
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (max-width: 768px) {
  .split {
    flex-direction: column;
    height: auto;
  }
  .left, .right {
    padding: 1rem;
  }
  #yamlOutput {
    min-height: 300px;
    font-size: 12px;
  }
} 