/* Software compare table - design and line break fix */

.sg-compare-section{
  background:#FFFFFF;
}

.sg-compare-section .sg-software-detail-heading{
  text-align:center;
  margin-bottom:0;
}

.sg-compare-section .sg-software-detail-heading p:not(.sg-eyebrow){
  max-width:820px;
  margin:18px auto 0;
  color:#64748B;
  line-height:2;
}

.sg-compare-table-wrap{
  overflow-x:auto;
  margin-top:46px;
  border:1px solid #E2E8F0;
  border-radius:22px;
  background:#FFFFFF;
  box-shadow:0 24px 70px rgba(15,23,42,.08);
}

.sg-compare-table{
  width:100%;
  min-width:820px;
  border-collapse:separate;
  border-spacing:0;
  background:#FFFFFF;
}

.sg-compare-table thead{
  background:#0F172A;
}

.sg-compare-table thead th{
  color:#FFFFFF;
  font-weight:800;
  letter-spacing:.08em;
  white-space:nowrap;
  border-bottom:none;
}

.sg-compare-table thead th:first-child{
  border-top-left-radius:20px;
}

.sg-compare-table thead th:last-child{
  border-top-right-radius:20px;
}

.sg-compare-table th,
.sg-compare-table td{
  padding:20px 24px;
  border-bottom:1px solid #E2E8F0;
  text-align:center;
  vertical-align:middle;
  line-height:1.65;
}

.sg-compare-table tbody th{
  width:280px;
  color:#0F172A;
  background:#F8FAFC;
  text-align:left;
  font-weight:800;
  white-space:normal;
}

.sg-compare-table tbody td{
  color:#334155;
  font-weight:700;
  white-space:normal;
  word-break:keep-all;
}

.sg-compare-table tbody tr:last-child th,
.sg-compare-table tbody tr:last-child td{
  border-bottom:none;
}

.sg-compare-table tbody tr:hover td,
.sg-compare-table tbody tr:hover th{
  background:#F8FAFC;
}

.sg-compare-table td.is-positive,
.sg-compare-table td.is-negative,
.sg-compare-table td.is-limited{
  text-align:center;
}

.sg-compare-mark{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:34px;
  min-height:34px;
  border-radius:999px;
  font-size:20px;
  font-weight:900;
  line-height:1;
}

.sg-compare-positive{
  color:#166534;
  background:#DCFCE7;
}

.sg-compare-negative{
  color:#991B1B;
  background:#FEE2E2;
}

.sg-compare-limited{
  min-width:58px;
  padding:0 12px;
  font-size:13px;
  color:#92400E;
  background:#FEF3C7;
}

.sg-compare-buttons{
  display:flex;
  justify-content:center;
  align-items:center;
  gap:18px;
  flex-wrap:wrap;
  margin-top:40px;
  width:100%;
}

.sg-compare-buttons .sg-software-detail-button{
  margin:0;
  min-width:230px;
  text-align:center;
}

.sg-compare-button-outline{
  background:#FFFFFF !important;
  color:#0F172A !important;
  border:1px solid #0F172A;
}

.sg-compare-button-outline:hover{
  background:#06B6D4 !important;
  color:#FFFFFF !important;
  border-color:#06B6D4;
}

@media(max-width:760px){
  .sg-compare-table{
    min-width:720px;
  }

  .sg-compare-table th,
  .sg-compare-table td{
    padding:16px 18px;
    font-size:14px;
  }

  .sg-compare-buttons{
    flex-direction:column;
    align-items:stretch;
  }

  .sg-compare-buttons .sg-software-detail-button{
    width:100%;
    min-width:0;
  }
}
