/* General reset and outline handling */
input:focus,
button:focus,
.form-control:focus {
  outline: none;
  box-shadow: none;
}

/* Flex utilities */
.d-flex {
  display: flex;
}
.justify-content-center {
  justify-content: center;
}
.align-items-center {
  align-items: center;
}

/* Container padding */
.bg-color {
  background-color: #333;
}
.signup-step-container {
  padding: 150px 0 60px 0;
}

/* Wizard core */
.wizard .nav-tabs {
  position: relative;
  margin-bottom: 0;
  border-bottom-color: transparent;
}
.wizard > div.wizard-inner {
  position: relative;
  margin-top: 20px;
  margin-bottom: 50px;
  text-align: center;
}
.connecting-line {
  border: 2px dotted #ddd;
  /* height: 2px; */
  /* background: #e0e0e0; */
  position: absolute;
  width: 80%;
  margin: 0 auto;
  left: 0;
  right: 0;
  top: 30px;
  z-index: 1;
}

/* Tab Item */
.wizard .nav-tabs > li {
  width: 25%;
  position: relative;
  text-align: center;
}
.wizard .step-title {
  margin-top: 50px;
  font-size: 12px;
  line-height: 1.4;
  color: #555;
  font-weight: 500;
}

.wizard .nav-tabs > li.active .step-title {
  color: #0db02b;
  font-weight: 600;
}

.wizard .nav-tabs > li.completed .step-title {
  color: #999;
}

.wizard .nav-tabs > li a {
  width: 30px;
  height: 30px;
  margin: 20px auto;
  border-radius: 100%;
  padding: 0;
  background-color: transparent;
  position: relative;
  top: 0;
  /* border: 1px solid #ddd; */
  transition: background-color 0.3s, border-color 0.3s;
}
.wizard .nav-tabs > li a i {
  position: absolute;
  top: -15px;
  font-style: normal;
  font-weight: 700;
  white-space: nowrap;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 12px;
  color: #000;
}
.wizard .nav-tabs > li a:hover {
  background: transparent;
}
.wizard .nav-tabs > li.active > a,
.wizard .nav-tabs > li.active > a:hover,
.wizard .nav-tabs > li.active > a:focus {
  color: #555555;
  cursor: default;
  /* border: 1px solid #0db02b; */
  background-color: #0db02b;
}
.wizard .nav-tabs > li.completed > a {
  /* border: 1px solid #0db02b; */
  background-color: #0db02b;
}

.wizard .nav-tabs > li.completed > .step-title {
  color: #0db02b;
}

.wizard li.completed span.round-tab::after {
  content: '✓';
}
.wizard li.active span.round-tab::after {
  content: '✓';
}

/* Round tab styling */
span.round-tab {
  width: 30px;
  height: 30px;
  line-height: 30px;
  display: inline-block;
  border-radius: 50%;
  background: #ddd;
  z-index: 2;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 16px;
  color: #0e214b;
  font-weight: 500;
  margin-top: 15px;
  border: 1px solid #ddd;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.wizard li.active span.round-tab {
  background: #0db02b;
  color: #fff;
  border-color: #0db02b;
}
.wizard li.completed span.round-tab {
  background: #0db02b;
  color: #fff;
  border-color: #0db02b;
}

.wizard li:after {
  content: " ";
  position: absolute;
  left: 46%;
  opacity: 0;
  margin: 0 auto;
  bottom: 0;
  border: 5px solid transparent;
  border-bottom-color: red;
  transition: 0.1s ease-in-out;
}

.wizard .tab-pane {
  position: relative;
  /* padding-top: 20px; */
}
.wizard h3 {
  margin-top: 0;
}

/* Step buttons */
.prev-step,
.next-step {
  font-size: 13px;
  padding: 8px 24px;
  border: none;
  border-radius: 4px;
  margin-top: 30px;
}
.next-step {
  background-color: #0db02b;
}
.skip-btn {
  background-color: #cec12d;
}

/* Headings and text */
.step-head {
  font-size: 20px;
  text-align: center;
  font-weight: 500;
  margin-bottom: 20px;
}
.term-check {
  font-size: 14px;
  font-weight: 400;
}

/* File input styling */
.custom-file {
  position: relative;
  display: inline-block;
  width: 100%;
  height: 40px;
  margin-bottom: 0;
}
.custom-file-input {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 40px;
  margin: 0;
  opacity: 0;
}
.custom-file-label {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1;
  height: 40px;
  padding: 0.375rem 0.75rem;
  line-height: 2;
  color: #495057;
  background-color: #fff;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
}
.custom-file-label::after {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  display: block;
  height: 38px;
  padding: 0.375rem 0.75rem;
  line-height: 2;
  color: #495057;
  content: "Browse";
  background-color: #e9ecef;
  border-left: inherit;
  border-radius: 0 0.25rem 0.25rem 0;
}

/* Custom Checkbox */
input[type="checkbox"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  display: inline-block;
  margin-right: 5px;
}
input[type="checkbox"]::before {
  height: 16px;
  width: 16px;
  border: 1px solid #999;
  background-color: #fff;
  border-radius: 2px;
  content: "";
  display: inline-block;
  position: absolute;
  left: 0;
  top: 0;
}
input[type="checkbox"]::after {
  height: 5px;
  width: 9px;
  left: 4px;
  top: 4px;
  content: "";
  position: absolute;
  display: inline-block;
}
input[type="checkbox"]:checked::after {
  border-left: 1px solid #fff;
  border-bottom: 1px solid #fff;
  transform: rotate(-45deg);
}
input[type="checkbox"]:checked::before {
  background-color: #18ba60;
  border-color: #18ba60;
}

/* Responsive fix */
@media (max-width: 767px) {
  .sign-content h3 {
    font-size: 40px;
  }
  .wizard .nav-tabs > li a i {
    display: none;
  }
  .signup-logo-header .navbar-toggle {
    margin: 0;
    margin-top: 8px;
  }
  .signup-logo-header .logo_area {
    margin-top: 0;
  }
  .signup-logo-header .header-flex {
    display: block;
  }
}
.payment-box {
  border: 1px dashed #ddd;
  padding: 10px;
  border-radius: 8px;
}
