  


  legend { 
    font-weight: bold;
     font-size: 16px;
    padding-top: 5px;
    margin: 0;
    background: none;
    color: #fff;
    background: #00780e;
  }
  fieldset {
    border: 1px solid #00780e;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 25px;
    background-color: #fff;
    position: relative;
  }


  

  .required::after {
    content: " *";
    color: red;
  }
  




/* Основний стиль як у form-control */

.select2-container--default .select2-selection--single .select2-selection__rendered
{
  height: calc(1.5em + 0.75rem + 2px); /* типова висота input */
  padding-top: 5px;
  border: 1px solid #00780e;
  border-radius: 0.375rem;
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}


.select2-container--default .select2-selection--single{
    border: none !important;
}

select2-search__field{
    border: 1px solid #00780e !important;
}

.select2-selection__arrow {
  
  transform: translateY(-15%);
  right: 1rem;
  zoom: 2;
  
}

.select2-container--default .select2-selection--single .select2-selection__arrow b{
    border-color:   #00780e transparent transparent transparent !important;
}


.select2-container--default .select2-results>.select2-results__options {
    max-height: 500px !important;
 
}



#toast {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 200px;
  max-width: 80%;
  padding: 10px 20px;
  background-color: #333;
  color: #fff;
  border-radius: 8px;
  text-align: center;
  z-index: 9999;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease, visibility 0.5s ease;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}



.is-invalid {
  border-color: #dc3545 !important;
  box-shadow: 0 0 0 0.1rem rgba(220, 53, 69, 0.25);
}

.invalid-feedback {
  display: block;
  color: #dc3545;
  font-size: 0.875em;
  margin-top: 0.25rem;
}


input[readonly] {
  background-color: #ddd;  /* світло-сірий */
  color: #999;             /* приглушений текст */
  cursor: not-allowed;
}


/* Універсальний стиль для label */
.form-label {
  display: inline-block;
  font-weight: 600;       /* Напівжирний — помітний, але не кричущий */
  font-size: 1rem;        /* Базовий розмір (16px) — змінюйте за потреби */
  line-height: 1.4;       /* Трохи більше міжряддя для читабельності */
  color: #00780e;         /* Темно-сірий — краще для очей, ніж чисто чорний */
     margin-bottom: 0px !important;
}

/* Додатково — виділення для required */
.form-label.required::after {
  content: ' *';
  color: #dc3545; /* Bootstrap-червоний (або свій) для зірочки */
  font-weight: normal;
}
 
 

.border {
  --bs-border-color: #00780e !important;
}

.spacer {
  height: 1rem; /* або більше */
}



/* Сфокусоване поле */
.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--single.select2-selection--focus {
  border-color: #00780e;
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}

/* Стиль стрілки праворуч 
.select2-selection__arrow {
  top: 50%;
  transform: translateY(-50%);
  right: 0.75rem;
}
*/





/*

 fieldset::before {
    content: "";
    display: block;
    height: 20px;
    background-color: #00780e;
    
    margin-bottom: 0;
  }



* {
    box-sizing: border-box;
  }

  .required::after {
    content: " *";
    color: red;
  }

  .title {
    font-weight: bold;
    text-transform: uppercase;
    color: #00780e;
  }

  .container {
    max-width: 40%;
  }

  .options-container {
    display: block;
    width: 100%;
  }

  .checkbox-label,
  .radio-label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    width: 100%;
  }

  input[type="checkbox"],
  input[type="radio"] {
    flex-shrink: 0;
    margin: 0;
  }

  .checkbox-label label,
  .radio-label label {
    margin: 0;
    padding: 0;
    line-height: 1.4;
    word-break: break-word;
    white-space: normal;
    flex: 1;
  }

  fieldset {
    border: 1px solid #00780e;
    border-radius: 10px;
    padding: 0;
    margin-bottom: 25px;
    background-color: #fff;
    position: relative;
  }

  form#dataForm fieldset:not(.no-border) {
    border: 1px solid #00780e;
  }

  fieldset::before {
    content: "";
    display: block;
    height: 20px;
    background-color: #00780e;
    
    margin-bottom: 0;
  }

  .fieldset-body {
    padding: 15px;
    border-radius: 0 0 10px 10px;
    background-color: #fdfdfd;
  }


  .header-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 15px;
  }

  .form-control,
  select,
  input[type="text"],
  input[type="email"],
  input[type="number"],
  input[type="tel"],
  textarea {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #00780e;
    border-radius: 8px;
    background-color: #eef7ff;
  }

  .form-label {
    color: #00780e;
    
  }


.form-text {
    font-style: italic;
    color: #74787c;
}




  button[type="submit"] {
    width: 75%;
    background-color: #00780e;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 30px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-right: 30px;
    padding-left: 30px;
    border-radius: 20px;
  }

  .select2-selection.select2-selection--single {

    background-color: #eef7ff;
  }

  
  @media (max-width: 1100px) {
   .container {
  max-width: 100% !important;
  width: 100% !important;
}

form#dataForm {
  width: 100% !important;
}

  }


.form-check {
  margin-bottom: 0.4rem;
}


.form-check-label {
  display: inline-block;
  margin-left: 0.5rem;
  vertical-align: middle;
}


input[type="date"],
input[type="tel"],
input[type="email"],
input[type="text"] {
  background-color: #f8fcff;
  border: 1px solid #b8d6f5;
  border-radius: 6px;
  padding: 10px 12px;
  transition: border 0.3s;
}


input[type="date"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus,
input[type="text"]:focus {
  border-color: #00780e;
  outline: none;
  box-shadow: 0 0 0 0.15rem rgba(0, 123, 255, 0.2);
}


.form-check-input {
  width: 1.1em;
  height: 1.1em;
  margin-top: 0.2em;
}

fieldset .form-check:not(:last-child) {
  margin-bottom: 0.5rem;
}


.form-check-input {
  width: 1.2em;
  height: 1.2em;
  border: 1px solid #6c757d;
  margin-top: 0.25em;
  vertical-align: middle;
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  border-radius: 0.2em;
  outline: none;
  cursor: pointer;
  position: relative;
}

.form-check-input:checked {
  background-color: #00780e;
  border-color: #00780e;
}

.form-check-input:checked::after {
  content: "";
  position: absolute;
  top: 0.1em;
  left: 0.35em;
  width: 0.25em;
  height: 0.5em;
  border: solid #fff;
  border-width: 0 0.15em 0.15em 0;
  transform: rotate(45deg);
}


.form-check-label {
  display: inline-block;
  vertical-align: middle;
  margin-left: 0.5em;
  line-height: 1.4;
  cursor: pointer;
}


.form-check {
  margin-bottom: 0.6rem;
}



.form-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.form-check-input {
  margin-top: 0.3em;
  width: 1.2em;
  height: 1.2em;
  margin-right: 0;
  flex-shrink: 0;
  vertical-align: middle;
}

.form-check-label {
  line-height: 1.4;
  margin-top: 0.1em;
}
*/