#fcc-calculator,
#fcc-calculator * {
  box-sizing: border-box;
}

.fcc-wrap {
  max-width: 1080px;
  margin: 32px auto;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: #172033;
}

.fcc-card {
  background: #fff;
  border: 1px solid #e7eaf3;
  border-radius: 24px;
  padding: 24px;
  box-shadow: 0 18px 45px rgba(26, 36, 72, 0.06);
  margin-bottom: 18px;
}

.fcc-title-card {
  position: relative;
  overflow: hidden;
  background: #fff;
  border: 1px solid #eceff7;
  border-radius: 24px;
  padding: 28px;
  box-shadow: 0 18px 45px rgba(26, 36, 72, 0.06);
}

.fcc-title-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, #6f7bf7, #8b5cf6, #c084fc);
}

.fcc-kicker {
  margin: 0 0 8px;
  color: #6370da;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.fcc-title-card h2 {
  font-size: clamp(30px, 4vw, 44px);
  margin: 0 0 10px;
  line-height: 1.04;
  letter-spacing: -0.045em;
}

.fcc-muted,
.fcc-disclaimer,
.fcc-field-help,
.fcc-table-info {
  color: #65708a;
  font-size: 14px;
  line-height: 1.55;
}

.fcc-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 18px;
}

.fcc-card h3 {
  margin: 0 0 16px;
  font-size: 22px;
}

.fcc-wrap label {
  display: block;
  font-weight: 700;
  margin: 16px 0 7px;
}

.fcc-input-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.fcc-input-row span {
  color: #65708a;
  font-weight: 800;
}

.fcc-wrap input,
.fcc-wrap select {
  width: 100%;
  border: 1px solid #d8deea;
  border-radius: 16px;
  padding: 14px 15px;
  font-size: 16px;
  background: #fff;
}

.fcc-wrap input:focus,
.fcc-wrap select:focus {
  outline: none;
  border-color: #7b83ff;
  box-shadow: 0 0 0 4px rgba(123, 131, 255, 0.12);
}

.fcc-wrap button {
  width: 100%;
  border: 0;
  border-radius: 16px;
  padding: 15px 18px;
  margin-top: 20px;
  background: linear-gradient(135deg, #172033, #303b62);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.fcc-wrap button:hover {
  opacity: 0.95;
  transform: translateY(-1px);
}

.fcc-summary {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1.5px solid #7b83ff;
  background: linear-gradient(
    135deg,
    rgba(111, 123, 247, 0.08),
    rgba(192, 132, 252, 0.08)
  );
}

.fcc-label {
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 12px;
  font-weight: 800;
  color: #6370da;
  margin: 0 0 8px;
}

.fcc-summary h3 {
  font-size: clamp(28px, 4vw, 38px);
  margin: 0 0 18px;
}

.fcc-summary-numbers {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.fcc-summary-numbers div {
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(123, 131, 255, 0.12);
  border-radius: 18px;
  padding: 16px;
}

.fcc-summary-numbers span {
  display: block;
  color: #5f6f95;
  font-size: 13px;
  margin-bottom: 6px;
}

.fcc-summary-numbers strong {
  font-size: 22px;
}

.fcc-warning-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #f1d6d2;
  border-radius: 20px;
  padding: 16px;
  margin: 12px auto 18px;
}

.fcc-warning-icon {
  width: 54px;
  height: 48px;
  position: relative;
  flex: 0 0 auto;
}

.fcc-warning-icon::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  border-left: 25px solid transparent;
  border-right: 25px solid transparent;
  border-bottom: 44px solid #c83220;
  transform: translate(-50%, -50%);
}

.fcc-warning-icon::after {
  content: "";
  position: absolute;
  left: 50%;
  top: calc(50% + 3px);
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-bottom: 28px solid #fff;
  transform: translate(-50%, -50%);
}

.fcc-warning-icon span {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  color: #c83220;
  font-size: 27px;
  font-weight: 900;
  z-index: 1;
}

.fcc-warning-text {
  max-width: 760px;
  font-size: 14px;
  line-height: 1.42;
}

.fcc-warning-text p {
  margin: 0;
}

.fcc-warning-text a {
  color: #365fd6;
  font-weight: 800;
  text-decoration: underline;
}

.fcc-table-info {
  margin: 0 0 16px;
  padding: 13px 15px;
  border: 1px solid rgba(111, 123, 247, 0.16);
  border-radius: 16px;
  background: linear-gradient(
    135deg,
    rgba(111, 123, 247, 0.06),
    rgba(192, 132, 252, 0.06)
  );
}

.fcc-table-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 10px;
}

.fcc-table-wrap {
  overflow-x: auto;
}

.fcc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 820px;
}

.fcc-table th,
.fcc-table td {
  text-align: left;
  padding: 16px 12px;
  border-bottom: 1px solid #edf0f5;
  font-size: 14px;
  vertical-align: top;
}

.fcc-table th {
  color: #65708a;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-weight: 800;
}

.fcc-best-row td {
  background: linear-gradient(
    90deg,
    rgba(111, 123, 247, 0.06),
    rgba(192, 132, 252, 0.05)
  );
}

.fcc-badge {
  display: inline-block;
  margin-left: 8px;
  padding: 4px 9px;
  border-radius: 999px;
  background: linear-gradient(135deg, #eef0ff, #f5edff);
  color: #5968f2;
  border: 1px solid rgba(111, 123, 247, 0.18);
  font-size: 12px;
  font-weight: 800;
}

.fcc-provider-note {
  display: block;
  margin-top: 5px;
  color: #65708a;
  font-size: 12px;
  line-height: 1.4;
}

.fcc-cta,
.fcc-summary-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #6f7bf7, #8b5cf6);
  color: #fff !important;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.fcc-cta {
  padding: 10px 14px;
  font-size: 13px;
}

.fcc-summary-cta {
  margin-top: 18px;
  padding: 14px 18px;
  font-size: 15px;
}

.fcc-table-legal,
.fcc-legal {
  font-size: 11px;
  line-height: 1.45;
  color: #65708a;
}

.fcc-not-available {
  color: #9aa3b5;
}

.fcc-legal-block {
  margin-top: 18px;
  padding: 22px 24px;
  background: #fff;
  border: 1px solid #e7eaf3;
  border-radius: 22px;
  color: #65708a;
  font-size: 13px;
  line-height: 1.55;
}

.fcc-legal-block h4 {
  margin: 0 0 10px;
  color: #172033;
  font-size: 17px;
}

.fcc-updated {
  font-weight: 800;
  color: #5968d8;
}

@media (max-width: 760px) {
  .fcc-grid,
  .fcc-summary-numbers {
    grid-template-columns: 1fr;
  }

  .fcc-card,
  .fcc-title-card {
    padding: 18px;
    border-radius: 20px;
  }

  .fcc-warning-box {
    flex-direction: column;
    text-align: center;
  }

  .fcc-table-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .fcc-table {
    min-width: 700px;
  }
}