/* SEO ROI Calculator - Page styles (scoped)
   Uses the same class structure as the PPC ROI calculator for consistent styling. */

.tool-section {
  display: flex;
  justify-content: center;
}

#seoRoiTool {
  width: 100%;
}

#seoRoiTool * {
  box-sizing: border-box;
}

#seoRoiTool .ppc-shell {
  width: 100%;
}

#seoRoiTool .ppc-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 20px;
  align-items: start;
}

@media (max-width: 980px) {
  #seoRoiTool .ppc-grid {
    grid-template-columns: 1fr;
  }
}

#seoRoiTool .ppc-panel {
  border-radius: 18px;
  border: 1px solid rgba(10, 5, 35, 0.10);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(253, 247, 255, 0.78));
  box-shadow: 0 18px 44px rgba(10, 5, 35, 0.10);
  padding: 18px;
}

#seoRoiTool .ppc-field {
  padding: 12px 0;
  border-top: 1px solid rgba(10, 5, 35, 0.08);
}

#seoRoiTool .ppc-field:first-of-type {
  border-top: 0;
  padding-top: 0;
}

#seoRoiTool .ppc-label-row {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 12px;
  align-items: center;
  margin-bottom: 10px;
}

@media (max-width: 560px) {
  #seoRoiTool .ppc-label-row {
    grid-template-columns: 1fr;
  }
}

#seoRoiTool .ppc-label {
  margin: 0;
  font-weight: 700;
  color: var(--berry-black-60);
  font-size: 15px;
}

#seoRoiTool .ppc-required {
  color: var(--blue-100);
  margin-left: 2px;
}

#seoRoiTool .ppc-number {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(10, 5, 35, 0.14);
  background: rgba(255, 255, 255, 0.98);
  color: var(--berry-black-60);
  font-size: 16px;
  box-shadow: 0 8px 18px rgba(10, 5, 35, 0.06);
}

#seoRoiTool .ppc-number:focus {
  outline: none;
  border-color: rgba(0, 106, 255, 0.65);
  box-shadow: 0 0 0 4px rgba(0, 106, 255, 0.12), 0 10px 22px rgba(10, 5, 35, 0.08);
}

#seoRoiTool .ppc-range {
  width: 100%;
  accent-color: rgba(0, 106, 255, 0.95);
  height: 28px;
}

#seoRoiTool .ppc-scale {
  display: flex;
  justify-content: space-between;
  color: rgba(22, 13, 61, 0.55);
  font-size: 12px;
  margin-top: 4px;
}

#seoRoiTool .ppc-actions {
  margin-top: 16px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: center;
}

@media (max-width: 720px) {
  #seoRoiTool .ppc-actions {
    grid-template-columns: 1fr;
  }
}

#seoRoiTool .ppc-note {
  font-size: 13px;
  color: rgba(22, 13, 61, 0.65);
  min-height: 18px;
}

#seoRoiTool .ppc-side {
  display: grid;
  gap: 16px;
}

#seoRoiTool .ppc-results {
  border-radius: 18px;
  border: 1px solid rgba(0, 106, 255, 0.18);
  background: linear-gradient(180deg, rgba(0, 106, 255, 0.14), rgba(0, 106, 255, 0.10));
  box-shadow: 0 18px 44px rgba(10, 5, 35, 0.10);
  padding: 18px;
}

#seoRoiTool .ppc-results-title {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 700;
  color: var(--berry-black-60);
}

#seoRoiTool .ppc-result-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: baseline;
  padding: 8px 0;
}

#seoRoiTool .ppc-result-label {
  color: rgba(22, 13, 61, 0.75);
  font-size: 13px;
  font-weight: 600;
}

#seoRoiTool .ppc-result-value {
  color: var(--berry-black-60);
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

#seoRoiTool .ppc-total {
  margin-top: 12px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(0, 106, 255, 0.95), rgba(0, 106, 255, 0.82));
  color: #fff;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

#seoRoiTool .ppc-total-label {
  font-weight: 700;
  opacity: 0.95;
}

#seoRoiTool .ppc-total-value {
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.2px;
  font-variant-numeric: tabular-nums;
}

/* --- Article typography (match SERP Preview Tool content-card styling) --- */
.content-card{
  margin-top: 100px; /* gap after tool section */
  padding: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.content-card h2{
  margin: 0 0 12px 0;
  color: black;
  font-size: 30px;
  line-height: 1.25;
  font-weight: 700;
}

.content-card h3{
  margin: 18px 0 8px;
  color: black;
  font-size: 22px;
  line-height: 1.3;
  font-weight: 600;
}

.content-card p{
  margin: 0 0 12px;
  color: black;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
}

.content-card ol,
.content-card ul{
  margin: 0 0 12px;
  padding-left: 26px;
  list-style-position: outside;
  color: black;
  line-height: 1.55;
}

.content-card ul{ list-style: disc; }
.content-card ol{ list-style: decimal; }

.content-card li{
  margin: 0 0 8px;
  color: black;
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  display: list-item;
  padding-left: 6px;
}

/* Reference table section */
.ppc-reference {
  max-width: 1200px;
  margin: 22px auto 0;
}

.ppc-ref-title {
  margin-top: 28px;
  margin-bottom: 10px;
  font-size: 32px;
  line-height: 1.15;
}

@media (max-width: 920px) {
  .ppc-ref-title {
    font-size: 26px;
  }
}

.ppc-ref-meta {
  color: var(--dark-berry-40-60);
  font-size: 14px;
  margin-top: 0;
}

.ppc-ref-table-wrap {
  margin-top: 14px;
  border-radius: 16px;
  border: 1px solid rgba(10, 5, 35, 0.10);
  overflow: auto;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 34px rgba(10, 5, 35, 0.08);
}

.ppc-ref-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 760px;
}

.ppc-ref-table th,
.ppc-ref-table td {
  text-align: left;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(10, 5, 35, 0.08);
  vertical-align: top;
}

.ppc-ref-table th {
  font-size: 13px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(22, 13, 61, 0.70);
  background: rgba(0, 106, 255, 0.05);
}

.ppc-ref-table td {
  color: var(--berry-black-60);
  font-size: 14px;
  line-height: 1.55;
}

.ppc-ref-table tr:last-child td {
  border-bottom: 0;
}

/* Remove the global container bottom gap for this tool page */
.main > .container{
  margin-bottom: 0;
}
