.pricing-table {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.pricing-table .pricing-item {
  background: #f6f8fa;
  border-radius: 15px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
}

.pricing-table .pricing-item.selected:hover,
.pricing-table .pricing-item.selected {
  border-color: var(--active-color);
  box-shadow: 0 0 6px 0.25rem rgba(13, 110, 253, 0.8);
}

.pricing-table .pricing-item:hover {
  box-shadow: 0 0 10px #999999;
}

.pricing-table .pricing-header.pricing-smart {
  background: #0071e3;
}

.pricing-table .pricing-header {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: hidden;
  margin: 0 20px;
  padding: 15px 0 45px 0;
  width: auto;
  background: #2A293E;
  z-index: 1;
}

.pricing-table .pricing-header em {
  display: none;
}

.pricing-table .pricing-header.pricing-smart em {
  position: absolute;
  display: block;
  width: 50px;
  height: 34px;
  padding: 5px 0;
  text-align: center;
  color: white;
  font-size: 0.875rem;
  font-weight: 300;
  background: #2A293E;
  top: 0;
  font-style: normal;
}

.pricing-table .pricing-header.pricing-smart em::before {
  content: "";
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-bottom: 10px solid #0071e3;
  right: 50%;
  border-right: 25px solid transparent;
}

.pricing-table .pricing-header.pricing-smart em::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-bottom: 10px solid #0071e3;
  left: 50%;
  border-left: 25px solid transparent;
}

.pricing-table .pricing-header h2 {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 2px;
  margin: 24px;
  margin-bottom: 0;
  border: none;
}

.pricing-table .pricing-header h3 {
  margin: 0;
  color: #ffffff;
  font-size: 2.8125rem;
  font-weight: 700;
  position: relative;
}

.pricing-table .pricing-header h3 small {
  position: absolute;
  font-size: 1.125rem;
  font-weight: 300;
  margin-top: 16px;
  margin-left: -15px;
}

.pricing-table .pricing-header h3 span {
  margin-left: 3px;
  font-size: 0.9375rem;
  font-weight: 300;
  position: absolute;
  white-space: nowrap;
  margin-top: 16px;
}

.pricing-table .pricing-body {
  flex-grow: 1;
  padding: 20px;
  position: relative;
  width: 100%;
  text-align: center;
}

.pricing-table .pricing-body ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pricing-table .pricing-body li {
  color: #2A293E;
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 1px;
  padding: 7px;
  border-bottom: 1px solid #dedede;
}

.pricing-table .pricing-footer {
  margin: auto;
  margin-bottom: 2em;
}

.pricing-table .pricing-header::before,
.pricing-table .pricing-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  width: 0;
  height: 0;
  border-bottom: 100px solid #f6f8fa;
}

.pricing-table .pricing-header::before {
  right: 50%;
  border-right: 250px solid transparent;
}

.pricing-table .pricing-header::after {
  left: 50%;
  border-left: 250px solid transparent;
}

.pricing-table button[type="submit"] {
  font-size: 0.9375rem;
  margin: 0 auto;
  padding: 10px 20px;
  background-color: #0071e3;
  color: #FFFFFF;
  border: none;
  border-radius: 20px;
  cursor: pointer;
}

.pricing-table button[type="submit"]:hover {
  background-color: #0162c4;
}

.pricing-table button[type="submit"]:disabled {
  background-color: #ccc;
  color: #999;
  cursor: inherit;
}
