/* ===== PodLab v2.0 Packet CSS =====
   This file styles the builder interface and live preview.
   Note: downloaded packets embed inline CSS, so formatting is preserved.
*/

/* Global reset */
body {
  background: #0f1115;
  color: #e6e9ef;
  font: 16px/1.6 "Inter", sans-serif;
  margin: 0;
  padding: 20px;
}

/* Headings */
h1, h2 {
  color: #ffd56a;
}
h3 {
  color: #5cc8ff;
}

/* Layout container: two columns */
.container {
  display: flex;
  gap: 20px;
}

/* Form panel (left) */
.form-panel {
  flex: 1;
  background: #161a22;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #333;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);

  /* Independent scrolling */
  max-height: 80vh;
  overflow-y: auto;
}

/* Preview panel (right) */
.preview-panel {
  flex: 1;
  background: #161a22;
  padding: 20px;
  border-radius: 12px;
  border: 2px solid #333;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);

  /* Independent scrolling */
  max-height: 80vh;
  overflow-y: auto;
}

/* Fieldsets for segments */
.segment-fieldset {
  margin-top: 20px;
  padding: 15px;
  border: 1px solid #444;
  border-radius: 8px;
  background: #1c2029;
}

/* Labels and inputs */
label {
  display: block;
  margin-top: 10px;
  font-weight: bold;
}
input, textarea {
  width: 100%;
  margin-top: 5px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #555;
  background: #0f1115;
  color: #e6e9ef;
}

/* Buttons */
button {
  margin-top: 10px;
  padding: 8px 12px;
  border: none;
  border-radius: 6px;
  background: #5cc8ff;
  color: #0f1115;
  font-weight: bold;
  cursor: pointer;
}
button:hover {
  background: #ffd56a;
  color: #0f1115;
}

/* Section blocks in preview */
.section {
  background: #161a22;
  border-radius: 12px;
  padding: 20px;
  margin-top: 20px;
  border: 2px solid #333;
  box-shadow: 0 4px 8px rgba(0,0,0,0.4);
}

/* Footer */
footer {
  margin-top: 40px;
  text-align: center;
  color: #9aa3b2;
  font-size: 0.85rem;
}
