/* 🎯 Simple Calculator - FULL WIDTH (Same as B31.3) */
#simplePipingTab {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 25px;
  background: white;
  border-radius: 0;
  box-shadow: none;
  border-top: 4px solid #27ae60;
  box-sizing: border-box;
}

/* Heading */
#simplePipingTab h2 {
  font-size: 22px;
  color: #2c3e50;
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 2px solid #ddd;
  padding-bottom: 8px;
  font-weight: bold;
}

/* Labels */
#simplePipingTab label {
  font-weight: 600;
  font-size: 14px;
  color: #444;
  margin-bottom: 3px;
  display: block;
}

/* Inputs */
#simplePipingTab input[type="number"],
#simplePipingTab select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 14px;
  box-sizing: border-box;
  background: #fdfdfd;
}

/* Focus */
#simplePipingTab input:focus,
#simplePipingTab select:focus {
  border-color: #27ae60;
  outline: none;
  box-shadow: 0 0 4px rgba(39, 174, 96, 0.4);
}

/* ✅ Row Layout */
.simple-row {
  display: flex;
  gap: 20px;
  margin-top: 15px;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .simple-row {
    flex-direction: column;
  }
}

.simple-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* ✅ Button */
#simplePipingTab .simple-btn {
  background-color: #27ae60;
  color: white;
  font-size: 16px;
  font-weight: bold;
  padding: 12px 16px;
  margin-top: 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  width: 200px;
  transition: background 0.3s ease, transform 0.2s ease;
}

#simplePipingTab .simple-btn:hover {
  background-color: #1e8449;
  transform: scale(1.03);
}

/* ✅ Result Panel (clean background) */
#simplePipingTab .simple-result {
  margin-top: 20px;
  background: #ecf0f1;
  padding: 15px;
  border-left: none;
  border-radius: 6px;
  font-size: 15px;
}

/* ✅ Main result highlight (single green line) */
#simple_resultBox {
  background: #e9f7ef;
  border-left: 5px solid #27ae60;
  padding: 14px;
  font-size: 15px;
  line-height: 1.6;
  border-radius: 6px;
  margin-top: 15px;
}

/* ✅ New Professional Table */
.result-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.result-table th {
  background: #2c3e50;
  color: white;
  padding: 8px;
  text-align: center;
  font-weight: 600;
}

.result-table td {
  border: 1px solid #ccc;
  padding: 8px;
  font-size: 14px;
}

.result-table tr:nth-child(even) {
  background: #f8f9f9;
}

/* ✅ Status Box */
.status-box {
  margin-top: 10px;
  padding: 10px;
  background: #f4f6f7;
  border-left: 5px solid #3498db;
  font-size: 15px;
  font-weight: 500;
}

/* ✅ Status Colors */
.status-safe {
  color: green;
  font-weight: bold;
}

.status-warning {
  color: orange;
  font-weight: bold;
}

.status-danger {
  color: red;
  font-weight: bold;
}
