.bb_form .form-container {
  padding-left: 12px;
  padding-right: 12px;
  border: 1px solid #e8e4e4;
  border-radius: 8px;
}

.bb_form .mt_1 {
  margin-top: 12px;
}

.bb_form .mt_2 {
  margin-top: 24px;
}

.bb_form .pb_1{
  padding-bottom: 12px;
}

.bb_form .font-small{
  font-size: 12px;
}

.bb_form select{
  background: #ebedff;
  border: 0px;
  font-size: 16px;
  padding: 8px;
  border-radius: 5px;
  width: 97%;
}

.bb_form  .txt_center{
  text-align: center;
}

.bb_form  .content_center_tsite{
  justify-content: center;
  /* display: flex; */
}

.bb_error {
  color: red;
  padding: 5px 0px;
  font-size: 13px;
}
.bb_success {
  color: green;
  padding: 5px 0px;
  font-size: 13px;
}

.bb_form h3,
.bb_form .form-group label {
  color: #0A0A0A;
  
}

.form-group label {
  font-size: 16px;
}

body .bb_form h3 {
  font-size: 32px;
  font-weight: 400;
  color: #05295E;
}


.bb_form h4,.bb_form h5, .bb_form h6{
  padding-bottom:10px;
  font-weight: 600;
} 

.bb_form h2 {
  text-align: center;
}

.bb_form .form-group {
  margin-bottom: 15px;
}

.bb_form .form-group input {
  width: calc(100% - 16px);
  padding: 8px; 
  font-size: 16px;
  border: 1px solid #C1C1C1;
  border-radius: 4px;
}

.bb_form .form-group textarea {
  width: calc(100% - 16px);
}

.bb_form .form-group input[type="submit"] {
  background-color: #4CAF50;
  color: white;
  cursor: pointer;
}

.bb_form .form-group input[type="submit"]:hover {
  background-color: #45a049;
}

.bb_form .form-container-grid {
  display: grid;
  grid-template-columns: 0fr 7fr 4fr;
  gap: 20px;
  /* max-width: 900px; */
  margin: 0 auto;
}

.bb_form .grid-container2 {
  height: 99%;
}

.bb_form .disabled {
  pointer-events: none;
  opacity: 0.5;
}


.bb_form .form-container .form-group input,#msform .action-button,#msform .action-button-previous  {
  border-radius: 8px;
}

.bb_form  .btn-right{
  float: right !important;
}

.bb_form .card-type {
  width: calc(100% - 16px);
}


.bb_form .form-group .submitForm2 ,.bb_form .form-group .cust_info_form,.bb_form .form-group .site_setails_form,.bb_form .form-group .domain_detail_form,#msform .action-button,#msform .action-button-previous  {
  background-color: #5378F2;
  color: white;
  width: 50%;
  margin: auto;
  float: none;
  border: 1px solid #2D68FF52;
}


/* / Loader styles / */
.bb_form .loader {
  position: absolute;
  display: none;
  top: 50%;
  left: 45%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.bb_form .loader2 {
  position: absolute;
  display: none;
  top: 25%;
  left: 45%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}
.bb_form .loader3 {
  position: absolute;
  display: none;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

/* / Inner circle for the loader / */
.bb_form .loader-inner {
  border: 8px solid #C1C1C1;
  border-top: 8px solid #5378F2;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}


/* Spinner animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.square-box {
  width: 70%; /* Adjust size as needed */
  height: 400px;
  /* Blue border */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  text-align: center;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: black;
}
.square-box img {
  height: 50px;
  margin-bottom: 10px;
}








.image-box {
  position: relative;
  width: 150px;
  height: 150px;
  overflow: hidden;
  border: 1px solid #ccc;
  border-radius: 8px;
  margin: 10px;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* ensures image stays in square and fills box */
}

.delete-icon {
  position: absolute;
  top: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.6);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  /* height: 24px; */
  /* font-size: 16px; */
  /* line-height: 20px; */
  text-align: center;
  cursor: pointer;
}

.delete-icon:hover {
  background: red;
}





#msform fieldset {
background: white;
border: 0 none;
border-radius: 8px;
box-shadow:0 0 0px 1px rgba(213, 210, 210, 0.66);
padding: 24px 20%;
box-sizing: border-box;
margin: 0;
margin-bottom: 24px;

/*stacking fieldsets above each other*/
position: relative;
}

/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
display: none;
}

#msform  .domain_form,#msform .action-button-previous{
  width: 20%;
}
#msform .action-button {
  width: auto;
  min-width: 150;
}
#msform #cropLogoButton,#msform #cropBannerButton{
  background-color: #5378F2;
  color: white;
  width: 20%;
  margin: auto;
  float: none;
  border: 1px solid #2D68FF52;
  border-radius: 8px;
  margin-top: 10px;
}
.required {
  color: red;
  font-weight: bold;
  font-size: 11px;
}
/* Add this CSS to align the textfield and button side by side */
.input-container {
  display: flex;
  /* align-items: center; */
}
.input-container input {
  flex: 1; /* Makes the input field take up remaining space */
  padding: 10px;
  /* margin-right: 1px;  */
  border-radius: 4px;
  border: 1px solid #ccc;
}
.input-container .btn-action {
  padding: 8px;
  background-color: #5378F2;
  /* color: white; */
  border: none;
  /* border-radius: 4px; */
  cursor: pointer;
  /* margin-bottom: 10px; */
  color: white;
}
.input-container .btn-action:hover {
  background-color: #5378F2;
}

.display-none{
  display: none;
}
.container {
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
img {
  max-width: 100%;
}
#croppedLogoPreview, #croppedBannerPreview {
  /* margin-top: 20px; */
  max-width: 50%;
}
#croppedLogoPreview_msg{
  max-width: 50%;
  font-size: 16px;
  color: #0A0A0A;
}
/* .image-section {
  margin-bottom: 30px;
} */

.bb_form .form-group input[type="checkbox"]{
  width: 16px;
}

.ubtn input{
  margin: 0px;
  position: absolute;
  left: 0px;
  top: 0px;
  margin: 0px;
  padding: 0px;
  opacity: 0;
  width: 100% !important;
  height: 100% !important;
}

.bb_form .ubtn {
  display: inline-block;
  margin: 0;
  border-width: 0;
  padding: 15px 15px;
  max-width: 100%;
  color: #ffffff !important;
  font-size: 18px;
  text-align: center;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  border-radius: 3px;
  cursor: pointer;
  background: #5378F2;
  position: relative;
}

.bb_form .ubtn:hover {
    background: #5378F2;
}

.bb_form .ubtn:active {
    color: #d3d3d3;
  background: #5378F2;
}



.bb_form  .upbox{

  text-align: center;
  border: 1px solid #C1C1C1;
  border-radius: 5px;
  padding: 10px 10px 20px;
  
}



/* start of stepper css */
.tsite_contin_grid{
  background: white;
      border: 0 none;
      border-radius: 8px;
      box-shadow:0 0 0px 1px rgba(213, 210, 210, 0.66);
      padding: 24px;
      box-sizing: border-box;
      margin: 0;
      margin-bottom: 24px;
      position: relative;margin-right:20px;
  
}
.vertical-stepper {
  padding: 10px;
  width: 220px;
  position: relative;
}

.step {
  position: relative;
  padding-left: 50px;
  margin-bottom: 30px;
}

.step:last-child {
  margin-bottom: 0;
}

.step::after {
  content: "";
  position: absolute;
  top: 18px;
  left: 18px;
  width: 4px;
  height: calc(100% + 12px);
  background-color: #ccc;
  z-index: 0;
}

.step:last-child::after {
  display: none;
}

.circle {
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius:50%;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 16px;
  color: #424242;
  z-index: 1;
  border:2px solid #CCC;
}

.completed .circle p {
  display: inline-block;
  transform: rotate(45deg);
  height: 0px;
  width: 0px;
  position: relative;
  top: 0px;
  left: 0px;
  border-bottom:3px solid #0D462C;
  border-right:3px solid #0D462C;
  font-size: 14px;
  padding:7px 3px;
}

.completed .circle span {
  font-size: 18px;
}

.current .circle {
  background-color: #e6f0ff;
  border:2px solid #fff;
  color: #05295E;
  outline:2px solid #D3E2FF;
}

.label {
  font-size: 14px;
  color: #333;
  padding-top: 6px;
}

.bold {
  font-weight: bold;
}
.stepper {
  padding: 20px 10px;
  border-radius: 4px;
  width: 200px;
}

.grid_domain{
  display: grid;
  grid-template-columns: 2fr 10fr;
}
/* end of stepper css */
.bb_form *{
  font-family: Roboto !important;
}

/* .progress_bar_wrapper{
  width: 65%; background: #eee; border-radius: 6px; overflow: hidden; margin-top: 20px;
}
.progressBar{
  height: 20px; width: 0%; background: #05295E; transition: width 0.4s;
}
.progressText{
  margin-top: 5px;
} */

/*start of progressbar */
.progress-container {
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
}

.progress-bar {
  width: 100%;
  background-color: #e5e5e5;
  border-radius: 20px;
  overflow: hidden;
  height: 24px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}

.progress-fill {
  height: 100%;
  background: repeating-linear-gradient(
    45deg,
    #5cb85c,
    #5cb85c 10px,
    #4cae4c 10px,
    #4cae4c 20px
  );
  display: flex;
  justify-content: center;
  align-items: center;
  color: #222;
  font-weight: bold;
  border-radius: 20px 0 0 20px;
  position: relative;
}

.progress-text {
  position: absolute;
}
/*end of progress bar */
.check-circle{
  margin: auto;
}
.bb_form .sub_title{
  font-size: 13px;
  color: #38619e;
  padding-bottom: 5%;
}
.bb_form .main_title{
  padding: 5px;
}
.bb_form .domain_btn{
  border-radius: 4px;
}

.custom-swal-title {
  font-family: Roboto !important;
  font-size: 16px;
  font-weight: normal;
}

@media (max-width: 856px) {
  button, input[type="button"], input[type="reset"], input[type="submit"]{
    padding: 7px 10px !important;
  }
}