/* General form styling */
.my-custom-form-class {
    padding: 15px;
    background-color: #fdfcfa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 85%;
    margin: auto;

}

/* input[type="checkbox"] {
  appearance: none;
  background-color: #fff;
  margin: 0;
  font: inherit;
  color: currentColor;
  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 0.15em;

} */

input[type="checkbox"] {

  width: 1.15em;
  height: 1.15em;
  border: 0.15em solid currentColor;
  border-radius: 0.15em;
  

}

.form-control + .form-control {
  margin-top: 1em;
}


fieldset {
    border: 1px solid #ddd;
    padding: 10px;
    margin-left: 0.5rem;
    margin-right: 0.5rem;
    border-radius: 5px;
}

legend {
    width: auto;
    padding: 0 10px;
    margin: 10px;
    font-weight: bold;
    font-size: 1.2;
}

/* Style for labels within the fieldset */
fieldset label {
    display: flex; /* Makes label a flex container */
    align-items: center; /* Centers text vertically */
    padding-left: 0.5rem; /* Space between label text and fieldset border */
}

/* Style for row */
.form-row {
    margin-bottom: 15px;
}

/* .checkbox-center {
        display: flex;
        justify-content: center;
        align-items: center;
    } */

.hide-labels .form-label {
    display: none;
}

.hide-labels .checkbox-inline input[type="checkbox"] {
    margin-right: 10px; /* Adjust as needed */
}
/* Style for individual form fields */
.form-control {
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 8px 10px;
}



.equal-space {
    display: grid;
    grid-template-columns: repeat(4, 1fr); 
    gap: 10px; 
    align-items: center;  /* Centers items vertically in each grid cell */
}

.equal-space input[type="checkbox"] {
    margin-right: 5px;
}

/* Submit button styling */
.btn-primary {
    background-color: #007bff;
    border-color: #007bff;
    color: #fff;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #0056b3;
}




/* Responsive adjustments */
@media (max-width: 768px) {
    .form-row .col-md-4, .form-row .col-md-6, .form-row .col-md-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}
