.form-row-rank {
  padding: 16px 12px;
  border-radius: 6px;
  border: 1px solid #f0e7e7;
}

.form_img {
  margin-top: 8px;
  position: relative;
}

.course-fee-box {
  background: #f0f4ff;
  border-left: 4px solid var(--btn-bg-color);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 0px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  width: 100%;
}

.fee-label {
  font-weight: 600;
  font-size: 16px;
  color: #333;
}

.fee-amount {
  font-size: 20px;
  font-weight: bold;
  color: var(--btn-bg-color);
}


.flex_a {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}



body {
  background: var(--bg-light);
}

.form-container {
  max-width: 800px;
  background: #fff;
  padding: 30px;
  border-radius: 10px;
  margin: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  margin-block: 20px;

}

.form-title {
  text-align: center;
  margin-bottom: 30px;
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.form-row-ck {
  display: flex;
  flex-direction: column;
  /*gap: 20px;*/
  margin-bottom: 20px;
}



.form-row {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.form-col {
  flex: 1;
  min-width: 240px;
}

.form-field {
  position: relative;
  width: 100%;
  /*margin-bottom: 24px;*/
}

.form-input,
.form-select,
.form-textarea {
  width: -webkit-fill-available;
  padding: 12px 12px 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 6px;
  background: white;
  outline: none;
  color: #6e6d6d;
}

.form-label {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 14px;
  color: #888;
  background-color: white;
  padding: 0 4px;
  transition: 0.2s ease all;
  pointer-events: none;
}

.form-input:focus+.form-label,
.form-input:not(:placeholder-shown)+.form-label,
.form-select:focus+.form-label,
.form-select:valid+.form-label,
.form-select:not([value=""])+.form-label,
.form-select option:checked+.form-label,
.form-textarea:focus+.form-label,
.form-textarea:not(:placeholder-shown)+.form-label {
  top: -8px;
  left: 10px;
  font-size: 12px;
  color: #6e6d6d;
}

/* Force label to float for select with selected value */
.form-select:not(:invalid)+.form-label {
  top: -8px;
  left: 10px;
  font-size: 12px;
  color: #5c28e1;
}

/* Checkbox/Radio group styling */
.form-group-label {
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 8px;
  color: #535353;
}

.form-check {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 14px;
  color: #444;
}

.form-check input {
  margin-right: 10px;
  width: 16px;
  height: 16px;
  accent-color: #5c28e1;
}

/* Autofill fix */
input:-webkit-autofill,
select:-webkit-autofill,
textarea:-webkit-autofill {
  background-color: white !important;
  -webkit-box-shadow: 0 0 0 1000px white inset;
  -webkit-text-fill-color: #535353;
}

input:-webkit-autofill+.form-label,
select:-webkit-autofill+.form-label,
textarea:-webkit-autofill+.form-label {
  top: -8px;
  font-size: 12px;
  color: #777;
}

.submit-btn {
  display: block;
  margin: auto;
  padding: 12px;
  background: var(--btn-bg-color);
  color: white;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  text-align: center;
  transition: 0.2s ease background;
}

.submit-btn:hover {
  background: var(--btn-focus-bg-color);
}

/* Select2 Styling */
.select2-container {
  width: 100% !important;
}

.select2-container .select2-selection--multiple {
  border: 1px solid #ccc;
  border-radius: 4px;
  min-height: 38px;
  padding: 0px 10px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__display {
  color: #000;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice {
  background-color: var(--btn-bg-color);
  color: white;
  border-radius: 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove {
  color: white;
}

.select2-container .select2-search--inline .select2-search__field {
  margin-top: 11px;
  /*margin-left: px;*/
  font-size: 14px;
  color: #888;
}

.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:hover,
.select2-container--default .select2-selection--multiple .select2-selection__choice__remove:focus {
  color: var(--btn-focus-bg-color);
}

@media screen and (max-width: 576px) {
  .common_heading {
    font-size: 1.5rem;
    text-align: left;
    margin-bottom: 20px;
  }

  .form-container {
    margin-block: 0;
  }
}