.flow-compact-card {
  background-color: #FFFFFF;
  border: 1px solid #EAEAEA;
  min-height: 156px;
  padding-top: 0.7rem !important;
}

.flow-compact-badge {
  transform: none;
  background-color: transparent;
  border: 0;
  color: #25A7B3;
  font-size: 1rem;
  font-weight: 700;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: auto;
  height: auto;

}

.flow-compact-step-inline {
  display: none;
}

.flow-compact-title {
  font-size: 0.92rem;
  font-weight: 700;
  line-height: 1.3;
}

.flow-compact-desc {
  line-height: 1.35;
  min-height: 0;
  margin-bottom: 0 !important;
}

.flow-compact-button {
  padding: 6px 10px;
}

.flow-compact-subbutton {
  font-size: 0.78rem;
}

.flow-compact-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.flow-compact-icon svg {
  width: 28px;
  height: 28px;
  stroke: #25A7B3;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

.flow-guide-card,
.flow-faq-card {
  background-color: #FFFFFF;
  border: 1px solid #EAEAEA;
}

.flow-guide-kicker {
  color: #25A7B3;
  font-weight: 700;
}

.flow-guide-desc {
  line-height: 1.55;
}

.flow-guide-button {
  min-width: 180px;
  padding: 8px 14px;
}

.flow-guide-subbutton {
  background-color: #FFFFFF;
  border: 1px solid #25A7B3;
  color: #25A7B3 !important;
}

.flow-guide-subbutton:hover {
  background-color: #25A7B3;
  color: #FFFFFF !important;
}

@media (max-width: 767.98px) {
  .flow-compact-card {
    min-height: 156px;
    padding: 0.55rem !important;
  }

  .flow-compact-badge {
    display: none !important;
  }

  .flow-compact-step-inline {
    width: auto;
    height: auto;
    background-color: transparent;
    border: 0;
    color: #25A7B3;
    font-size: 0.86rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
  }

  .flow-compact-head {
    gap: 6px !important;
    margin-bottom: 4px !important;
  }

  .flow-compact-title {
    font-size: 0.78rem;
    line-height: 1.25;
  }

  .flow-compact-desc {
    font-size: 0.72rem;
    line-height: 1.25;
  }

  .flow-compact-icon,
  .flow-compact-icon svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
  }

  .flow-compact-main {
    margin-bottom: 0.5rem !important;
    padding-top: 0 !important;
  }

  .flow-compact-action {
    padding-top: 0 !important;
  }

  .flow-compact-button {
    width: 100% !important;
    padding: 5px 4px;
    font-size: 0.76rem;
    line-height: 1.25;
  }

  .flow-compact-subbutton {
    font-size: 0.72rem;
  }

  .flow-guide-card,
  .flow-faq-card {
    padding: 1rem !important;
  }

  .flow-guide-button {
    width: 100%;
    min-width: 0;
    padding: 7px 10px;
  }
}

@media (min-width: 768px) {
  .flow-compact-card {
    min-height: 156px;
    padding-top: 1rem !important;
  }

  .flow-compact-step-inline {
    display: none !important;
  }

  .flow-compact-head {
    justify-content: flex-start !important;
  }

  .flow-compact-title {
    font-size: 0.88rem;
  }


  .flow-compact-icon,
  .flow-compact-icon svg {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
  }

  .flow-compact-main {
    margin-bottom: 0.6rem !important;
  }

  .flow-compact-button {
    padding: 6px 8px;
  }

  .flow-compact-subbutton {
    font-size: 0.74rem;
  }

  .flow-compact-head-center-md {
    justify-content: center !important;
  }
}

@media (min-width: 1200px) {
  .flow-compact-button {
    width: 100% !important;
    max-width: 190px;
  }

  .flow-compact-subbutton {
    max-width: 170px;
  }
}
