@import url("https://fonts.googleapis.com/css2?family=Rubik:ital,wght@0,300..900;1,300..900&display=swap");

/* Reset some default styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.d-none {
  display: none;
}
/*== Steper CSS==*/

:root {
  --success-color: #008804;
  --success-hover: #059669;
}

body {
  font-family: "Rubik", serif;
  box-sizing: border-box;
}

.stepper {
  display: flex;
  width: 100%;
  align-items: center;
  padding: 20px;
}

.step-item {
  display: flex;
  align-items: center;
  width: 100%;
}

.step-item:last-child {
  width: fit-content;
}

.step-content {
  display: flex;
  flex-direction: column;
  width: fit-content;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step-circle {
  display: flex;
  height: 40px;
  width: 40px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
}

.step-circle.completed {
  background-color: var(--success-color);
  border-color: var(--success-color);
  color: black !important;
  transform: scale(1.05);

  font-family: Rubik;
  font-size: 16px;
  font-weight: 700;
  line-height: 18.96px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

/* .step-circle.completed:hover {
  background-color: var(--success-hover);
  border-color: var(--success-hover);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
} */

.step-circle.incomplete {
  background-color: #d9d9d9;
  color: black !important;
  border-color: #a9a9a9;
  cursor: not-allowed;

  font-family: Rubik;
  font-size: 16px;
  font-weight: 700;
  line-height: 18.96px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.step-circle.active {
  background-color: #d9d9d9;
  color: black;

  transform: scale(1.1);
  border-color: #a9a9a9;

  font-family: Rubik;
  font-size: 16px;
  font-weight: 700;
  line-height: 18.96px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.step-title {
  position: absolute;
  white-space: nowrap;

  top: 44px;
  left: 50%;
  transform: translateX(-50%);
  transition: all 0.3s ease;
  color: black;

  font-family: Rubik;
  font-size: 18px;
  font-weight: 700;
  line-height: 22px;
  text-align: left;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

.step-number {
  color: black;
  font-family: Rubik;
  font-size: 16px !important;
  font-weight: 700 !important;
  line-height: 18.96px !important;
  text-align: center !important;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

/* .step-title.completed {
  color: var(--success-color);
  font-weight: 600;
} */

/* .step-title.completed:hover {
  color: var(--success-hover);
} */

/* .step-title.active {
  color: #3b82f6;
  font-weight: 600;
}

.step-title.incomplete {
  color: #6b7280;
} */

.step-line {
  margin: 0 16px;
  height: 4px;
  width: 100%;
  border-radius: 9999px;
  transition: all 0.3s ease;
}

.step-line.completed {
  background: linear-gradient(
    to right,
    var(--success-color),
    var(--success-hover)
  );
  box-shadow: 0 2px 4px rgba(16, 185, 129, 0.1);
}

.step-line.incomplete {
  background-color: #e5e7eb;
}

.step-line.active {
  background-color: black;
}

.tick-icon {
  fill: white;
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.1));
}

.tick-icon.completed {
  animation: popIn 0.3s ease-out;
}

@keyframes popIn {
  0% {
    transform: scale(0);
  }
  70% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

/* ############################# Changes ########################## */

.help-block {
  color: #e74c3c;
  font-size: 14px;
  margin-top: 5px;
}

.head {
  font-size: 20px;
  font-weight: 600;
  line-height: 23.7px;
  text-align: center;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
  margin-bottom: 20px;
}

form.current_plan_selection {
  width: 100%;
  /* flex: 1; */
  background-color: transparent !important;
  border-radius: 20px;
  box-shadow: none;
  padding: 0;
}

form.current_plan_selection > .continue-button {
  margin-top: 3rem;
  background-color: var(--bs-btn-bg);
  color: black;
  border-radius: 8px;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  border: none;
}

.plan-card.active .indicator-circle {
  background-color: var(--bs-btn-bg);
}

#border {
  --border-width: 8px; /* Set the border width */
  --gradient: linear-gradient(
    45deg,
    #b8bffb,
    #d7d5fb,
    #dde1fb
  ); /* Define your gradient */

  position: relative;
  border-radius: 15px; /* Set the border radius */
  background: var(--gradient);
  padding: var(--border-width); /* Adjust for inner content */
  height: fit-content;
  width: fit-content;
}

#border .border-content {
  border-radius: calc(15px); /* Inner radius adjusted for border width */
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.spin {
  display: inline-block;
  animation: spin 1s linear infinite;
}

#stepper {
  display: flex;
  justify-content: center;
  width: 493px;
}

form.current_plan_selection .paln-panel-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}
/* ############################# End Changes ########################## */
