/* Reset some default spacing */
body, h1, p, select, button {
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
  }
  
  body {
    background-color: #f7f7f7;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding-top: 40px;
  }
  
  .container {
    background: white;
    border-radius: 16px;
    padding: 30px 40px;
    max-width: 500px;
    width: 100%;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  }
  
  h1 {
    text-align: center;
    margin-bottom: 24px;
    font-size: 24px;
    font-weight: 600;
  }
  
  .form-group {
    margin-bottom: 18px;
  }
  
  label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
  }
  
  select,
  button {
    width: 100%;
    padding: 10px;
    font-size: 16px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
  }
  
  select:disabled {
    background-color: #eee;
    color: #888;
  }
  
  button {
    background-color: #3f68f0;
    color: white;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin-top: 10px;
    transition: background-color 0.2s ease-in-out;
  }
  
  button:hover {
    background-color: #2f55d1;
  }
  
  #output {
    margin-top: 30px;
  }
  
  .process-block {
    background-color: #f3f6ff;
    border-left: 5px solid #3f68f0;
    padding:0px 18px;
    margin-bottom: 16px;
    border-radius: 8px;
  }
  
  #manualThicknessGroup label {
    font-weight: bold;
    display: block;
    margin-bottom: 4px;
  }
  
  #manualThickness {
    border: 1px solid #ccc;
    border-radius: 4px;
  }
  
/* make container a horizontal flex */
.container {
  display: flex;
  align-items: flex-start; /* top-align the two columns */
  gap: 2rem;               /* space between form and output */
  padding: 1rem;
  max-width: 1400px;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

/* sidebar (left column) */
.sidebar {
  flex: 0 0 350px;         /* fixed width; tweak to taste */
  background: #fff;
  max-width: 800px;
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* content (right column) */
.content {
  flex: 1;                 /* fill remaining width */
}

/* scrollable output if it grows too tall */
.content #output {
  max-height: 80vh;
  overflow-y: auto;
  padding: 1rem;
  background: #f9fbff;
  border-radius: 8px;
  box-shadow: inset 0 0 4px rgba(0,0,0,0.05);
}
#output p {
  margin-bottom: 5px; /* 👈 Adjust as needed */
  line-height: 1.3;   /* 👈 Improves readability */
}

.step-box {
  background: white;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  border-left: 4px solid #3f68f0;
}

.step-title {
  font-weight: 600;
  font-size: 16px;
  color: #3f68f0;
  margin-bottom: 10px;
}


.step-box p {
  margin-bottom: 6px;
}
.reference-panel {
  flex: 0 0 250px;
  background: #f9fbff;
  border-radius: 8px;
  padding: 1rem;
  margin-right: 1rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  font-size: 14px;
  color: #333;
  max-height: 90vh;
  overflow-y: auto;
}

.reference-panel h2 {
  font-size: 18px;
  margin-bottom: 0.75em;
  font-weight: 600;
}

.reference-links {
  list-style: none;
  padding-left: 0;
}

.reference-links li {
  margin-bottom: 0.75em;
}

.reference-links a {
  color: #3f68f0;
  text-decoration: none;
  font-weight: 500;
}

.reference-links a:hover {
  text-decoration: underline;
}




.reference-links.dynamic {
  margin-top: 1.5em;
  border-top: 1px solid #ddd;
  padding-top: 1em;
}

.reference-links.dynamic li a::before {
  content: "🧠 ";
}
.summary-card {
  border: 1px solid #ccc;
  background: #f8f9fa;
  padding: 1em;
  margin-bottom: 1em;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
.summary-card h3 {
  margin-top: 0;
  color: #007bff;
}
.summary-card p {
  margin: 0.4em 0;
}
.process-block h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  color: #3f68f0;
}
