/* assets/css/style.css */



body {
  font-family: 'Segoe UI', sans-serif;
}

.calculator{
           margin: 0 auto 2rem;
           background: var(--card-bg);
           box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	   border-radius: 0.5rem;
	   padding: 3rem;
}
.calculator h2{text-align: center;
}

.navbar-brand { font-weight: bold; }
#resultSection { background: #f8f9fa; padding: 1rem; border-radius: .5rem; }
.btn-primary { background-color: #0069D9; border: none; }
.btn-primary:hover { background-color: #0056b3; }
footer { font-size: .9rem; }

/* —————————————— Steel Plates Table —————————————— */
.steel-table-wrapper {
  width: 100%;
  overflow-x: auto;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 2rem 0;
}
.steel-table {
  border-collapse: separate;
  border-spacing: 0;
  width: 100%;
  min-width: 1000px; /* horizontal scroll under mobile */
}
.steel-table thead {
  background: #2c3e50;
  color: #fff;
}
.steel-table thead tr:first-child th {
  border-bottom: 2px solid #1a252f;
}
.steel-table thead th {
  position: sticky;
  top: 0;
  padding: 12px 10px;
  font-weight: 600;
  text-align: center;
  font-size: 0.95rem;
}
.steel-table tbody tr {
  transition: background .2s;
}
.steel-table tbody tr:nth-child(even) {
  background: #f7f9fa;
}
.steel-table tbody tr:hover {
  background: #eaf2f8;
}
.steel-table td,
.steel-table th {
  padding: 8px;
  text-align: center;
  border-bottom: 1px solid #ececec;
  font-size: 0.9rem;
}
.steel-table td:first-child {
  font-weight: 500;
}

/* add a thin left border to every cell except the very first one */
.steel-table th + th,
.steel-table td + td {
  border-left: 1px solid #ddd;
}

/* optionally brighten the divider on hover for clarity */
.steel-table tbody tr:hover th + th,
.steel-table tbody tr:hover td + td {
  border-left-color: #ccc;
}

/* === SEO Content Styles === */
#seo-content {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
  color: #333;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
}

#seo-content h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #222;
  border-bottom: 3px solid #e03e2d; /* matches your red accent */
  padding-bottom: 0.5rem;
}

#seo-content h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: #2c3e50;
}

#seo-content p {
  margin-bottom: 1rem;
}

#seo-content ul {
  list-style: disc inside;
  margin: 0 0 1rem 1rem;
  padding: 0;
}

#seo-content ul li {
  margin-bottom: 0.5rem;
}

#seo-content strong {
  color: #e03e2d; /* use your accent color for emphasis */
}

#seo-content blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #555;
  font-style: italic;
  background: #f9f9f9;
}

/* Universal Content-Page Styles */
#page-content {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  color: #333;
  line-height: 1.6;
}

#page-content h1,
#page-content h2 {
  font-size: 2rem;
  color: #222;
  border-bottom: 3px solid #e03e2d;  /* your accent color */
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

#page-content h3 {
  font-size: 1.5rem;
  color: #2c3e50;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

#page-content h4 {
  font-size: 1.25rem;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
}

#page-content p {
  margin-bottom: 1rem;
}

#page-content ul,
#page-content ol {
  margin: 0 0 1rem 1.25rem;
}

#page-content ul li,
#page-content ol li {
  margin-bottom: 0.5rem;
}

#page-content a {
  color: #e03e2d;
  text-decoration: none;
}

#page-content a:hover {
  text-decoration: underline;
}

#page-content blockquote {
  border-left: 4px solid #ccc;
  padding-left: 1rem;
  margin: 1rem 0;
  color: #555;
  font-style: italic;
  background: #f9f9f9;
}

#page-content strong,
#page-content b {
  color: #e03e2d;
}

/* Responsive */
@media (max-width: 600px) {
  #page-content {
    padding: 0 0.5rem;
  }
  #page-content h1,
  #page-content h2 {
    font-size: 1.75rem;
  }
  #page-content h3 {
    font-size: 1.25rem;
  }
}


/* Responsive tweaks */
@media (max-width: 600px) {
  #seo-content {
    padding: 0 0.5rem;
  }
  #seo-content h2 {
    font-size: 1.75rem;
  }
  #seo-content h3 {
    font-size: 1.25rem;
  }
}


@media (max-width: 768px) {
  .steel-table-wrapper {
    margin: 1rem 0;
  }
  .steel-table thead th,
  .steel-table td {
    padding: 6px 4px;
    font-size: 0.8rem;
  }
}
@media (max-width: 480px) {
  .steel-table {
    min-width: 800px;
  }
}
