html,
body {
  margin: 0;
  padding: 0;
  height: 100%;
}

body {
  /* 1) Încarcă imaginea exportată */
  background-image: url(./images/bg.png);

  /* 2) Nu o repeta */
  background-repeat: no-repeat;

  /* 3) Poziţionează-o la mijloc, în partea de sus */
  background-position: center top;

  /* 4) Scalează-o pe lăţime, iar înălţimea va fi automată */
  background-size: 100vw auto;

  /* 5) Dacă vrei ca fundalul să se miste odată cu scroll-ul paginii: */
  background-attachment: scroll;
  background-color: #0c0613;

  /* Sau dacă vrei să rămână „fix” în viewport (atenţie-să nu vezi doar partea de sus): */
  /* background-attachment: fixed; */
}

.header-logo {
  background: transparent !important;
}

@media screen and (max-width: 991px) {
  .header-logo .container {
    margin: 0 !important;
  }
  .header-logo {
    background-position: center center !important;
  }
}

.section-0 {
  background: transparent;
  margin-bottom: 15px;
}

.section-1 {
  background: transparent;
  margin-bottom: 15px;
  position: relative;
  padding: 30px 0;
}

.section-2 {
  background: transparent;
  margin-bottom: 15px;
}

.section-3 {
  background: transparent;
  margin-bottom: 15px;
  position: relative;
  padding: 30px 0;
}

.section-4 {
  background: transparent;
  margin-bottom: 15px;
  position: relative;
  padding: 30px 0;
}

.section-5 {
  background: transparent;
  margin-bottom: 15px;
  position: relative;
  padding: 30px 0;
}

@media screen and (min-width: 1201px) {
  .section-5::before,
  .section-4::before,
  .section-3::before,
  .section-1::before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    left: -600px;
    height: 100%;
    width: calc(100vw + 600px);
    z-index: -1;
  }
}

.generale-list {
  margin-bottom: 15px;
}

#page-content > .container {
  padding: 0;
  width: 100%;
}

#page-content > .container .container {
  max-width: 1200px;
  padding-left: 15px;
  padding-right: 15px;
  margin: 0 auto;
  display: table;
}

#page-content h1 {
  font-size: 70px;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    /* unghiul gradientului */ #ffffff 0%,
    /* culoare stânga, la 0% */ #51bdf3 100% /* culoare dreapta, la 100% */
  );
  /* pentru suport WebKit și ca gradientul să apară în text */
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
}

#page-content h3 {
  font-size: 25px;
  color: #fff;
  text-transform: initial;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
  background: transparent;
  padding: 10px;
  display: inline-block;
}

#page-content h3 span {
  color: #51bdf3;
}

#page-content h4 {
  font-size: 35px;
  color: #c6b0e0;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
  color: transparent;
  margin-top: 36px;
  margin-bottom: 24px;
  background-image: linear-gradient(
    90deg,
    /* unghiul gradientului */ #ffffff 0%,
    /* culoare stânga, la 0% */ #51bdf3 100% /* culoare dreapta, la 100% */
  );
  /* pentru suport WebKit și ca gradientul să apară în text */
  background-clip: text;
  -webkit-background-clip: text;
}

#page-content p a {
  color: #51bdf3;
  font-weight: 800;
  font-size: larger;
}

#page-content p {
  color: white;
  font-size: 25px;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
}

#site-footer,
#site-header {
  display: none;
}

#candidate_form {
  max-width: 1200px;
  margin: 0 auto;
}

#page-content {
  padding: 0 0 50px;
}

@media screen and (min-width: 992px) {
  #page-content {
    padding: 0 0 150px !important;
  }
}

.swal2-container {
  z-index: 9999999999;
}

.swal2-shown::before {
  content: "";
  background: rgba(0, 0, 0, 0.2);
  top: 0;
  left: 0;
  position: fixed;
  min-width: 100vw;
  min-height: 100vh;
  z-index: 1;
  width: 100vw;
}

.swal2-backdrop-show > div {
  z-index: 2;
}

#candidate_form label {
  color: white;
  font-family: "Poppins";
  font-size: 20px;
  margin: 0px 0 5px;
  font-weight: 600;
  font-style: italic;
}

.mb-5 input::placeholder {
  font-family: "Poppins", sans-serif;
}

.regiune-class label {
  max-width: calc(100% - 30px);
}

#candidate_form .row-custom-2 label {
  min-height: 46px;
  margin-top: 10px;
  margin-bottom: 0;
}

.w-full.flex {
  display: inline-block;
  width: 100%;
  margin: 10px 0 10px;
}

.swal2-html-container {
  font-size: 14px !important;
}

.swal2-title {
  font-size: 20px !important;
  color: #c6b0e0 !important;
}

.swal2-actions button[type="button"] {
  font-size: 16px !important;
  color: black !important;
  border-radius: 0 !important;
  background: #c6b0e0 !important;
}

#candidate_form input::-webkit-input-placeholder,
::-ms-input-placeholder {
  color: black;
}

#candidate_form input::placeholder {
  color: black;
}

#candidate_form select {
  -webkit-appearance: none;
}

#candidate_form input:focus,
#candidate_form input:active {
  color: black !important;
  opacity: 1 !important;
}

#candidate_form textarea,
#candidate_form select,
#candidate_form input {
  color: black;
  background: #c6b0e0;
  border: 0;
  padding: 10px;
  border-radius: 0;
  height: auto;
  font-size: 25px;
  line-height: 24px;
  margin: 0 0 5px;
  font-style: italic;
}

#candidate_form textarea {
  height: 210px;
}

#candidate_form input:-webkit-autofill {
  -webkit-text-fill-color: black !important;
  -webkit-box-shadow: 0 0 0 1000px #c6b0e0 inset !important;
}

#candidate_form h4 {
  font-size: 35px;
  color: #c6b0e0;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
  color: transparent;
  background-image: linear-gradient(
    90deg,
    /* unghiul gradientului */ #ffffff 0%,
    /* culoare stânga, la 0% */ #51bdf3 100% /* culoare dreapta, la 100% */
  );
  /* pentru suport WebKit și ca gradientul să apară în text */
  background-clip: text;
  -webkit-background-clip: text;
}

#candidate_form input[type="radio"] {
  width: auto;
  float: left;
  margin-right: 5px;
  position: relative;
  top: 1px;
}

.generale-list .mb-5 {
  /* min-height: 150px; */
}

.generale-list h4 {
  padding: 0 !important;
}

.label-normal label {
  min-height: 0 !important;
}

#candidate_form .mb-5 {
  margin: 5px 0;
}

.flex.gap-4 {
  display: flex !important;
}

.flex.gap-4 input {
  margin-right: 5px !important;
}

.flex.gap-4 input:last-child {
  margin: 0;
}

.tooltip {
  position: relative;
  display: inline-block;
  opacity: 1;
}

.tooltip em {
  text-transform: lowercase;
  background: #555;
  border-radius: 100%;
  width: 20px;
  height: 20px;
  color: #fff;
  display: inline-block;
  font-size: 14px;
  color: black;
  background: #c6b0e0;
  text-align: center;
  line-height: 20px;
  position: relative;
  top: -3px;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 500px;
  max-width: 100vw;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px 0;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
  font-size: 12px;
  text-transform: initial;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

#candidate_form div {
  display: inline-block;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(20, 19, 35, 0);
  }
  70% {
    transform: scale(1.02);
    box-shadow: 0 0 10px 3px rgba(20, 19, 35, 0.7);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(20, 19, 35, 0);
  }
}

#candidate_form .sticky-buttons button[data-mark-as-complete="0"] {
  animation: pulse 1.5s infinite;
}

#candidate_form button {
  border: 0;
  color: #0e0513;
  background: #51bdf3;
  height: 100px;
  width: 327px;
  font-size: 20px;
  padding: 15px;
  margin: 10px;
  border-radius: 0;
  font-weight: bold;
}

.add_row {
  background: transparent !important;
  height: 100px !important;
  width: 400px !important;
  font-size: 20px;
  display: flex;
}

#candidate_form button:hover {
  background: black;
  color: #c6b0e0;
}

.sticky-buttons {
  position: fixed;
  width: 100%;
  bottom: 0;
  left: 0;
  background: #1b0e2a;
  padding: 10px;
  margin: 0 !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  /* box-shadow: 0px 0px 15px 0px rgba(0,0,0,0.16) */
}

@media screen and (max-width: 991px) {
  .sticky-buttons {
    z-index: 100000000000;
    padding: 15px 0;
  }
  #candidate_form button {
    font-size: 15px;
    padding: 5px;
    margin: 4px;
  }
  #candidate_form .mb-5 {
    width: 100%;
  }
  .generale-list .mb-5 label,
  #candidate_form .row-custom-2 label {
    min-height: 0;
  }
  .tooltip .tooltiptext {
    visibility: hidden;
    width: 500px;
    max-width: 100vw;
    background-color: #555;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    text-transform: initial;
    left: 0;
    max-width: calc(100vw - 40px);
    margin: 0;
  }
}

#candidate_form input[type="radio"] {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 14px !important;
  height: 14px !important;
  border-radius: 50%;
}

#candidate_form input[type="radio"]::before {
  content: "";
  display: block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: transparent;
  /* Change the dot color here */
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: background-color 0.3s ease;
}

/* Change background color when the radio button is checked */

#candidate_form input[type="radio"]:checked::before {
  content: "\f00c";
  font-family: "FontAwesome";
  line-height: 1;
  font-size: 12px;
}

@media screen and (min-width: 992px) {
  #candidate_form .mb-5 {
    float: left;
    width: 48%;
    margin: 5px 1%;
  }
  #candidate_form input[type="file"] {
    min-height: 60px;
  }
  #candidate_form .section-1 .mb-5:nth-child(8) {
    width: 98%;
  }
  #candidate_form .section-1 .mb-5:last-child,
  #candidate_form .mb-5:first-child {
    width: 98%;
  }
  #director_for_entrepreneurship_block .mb-5,
  #candidate_form .mb-5:nth-child(8) .mb-5:nth-child(16),
  #candidate_form .mb-5:nth-child(8) .mb-5:nth-child(15),
  #candidate_form .mb-5:nth-child(8) .mb-5:nth-child(14),
  #candidate_form .mb-5:nth-child(8) .mb-5:nth-child(13),
  #candidate_form .mb-5:nth-child(8) .mb-5:nth-child(9),
  #candidate_form .mb-5:nth-child(8) .mb-5:nth-child(5),
  #candidate_form .mb-5:nth-child(8) .mb-5:nth-child(3),
  #candidate_form .mb-5:nth-child(8) .mb-5:nth-child(4) {
    width: 98%;
  }
  #candidate_form .generale-list .mb-5 {
    float: left;
    width: 100%;
    margin: 5px 1%;
  }
  .wrapper {
    margin: 0 1%;
  }
}

/* --- rating 1‑10 stele, varianta marita & highlight vizibil --- */
.star-rating {
  direction: rtl; /* intoarce vizual ordinea fara JS */
  unicode-bidi: bidi-override; /* pastreaza sensul textului */
  font-size: 24px;
}

.star-rating input {
  display: none; /* ascundem radio‑urile */
}

.star-rating label {
  color: #c6c6c6; /* gri la start */
  cursor: pointer;
  transition: color 0.15s;
  font-size: 40px !important;
}

/* stele colorate la hover + selectie */
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label {
  color: #ffb400 !important; /* galben‑auriu AVE */
}
.input-invalid {
  outline: 2px solid red !important;
  /* opcțional, ca să nu fie prea aproape */
}
.input-invalid-label {
  color: red !important;
}
/* === Select2 Styling to Match Your Theme === */

/* 1) Containerul vizibil (select box) */
.select2-container--default .select2-selection--single {
  background-color: #c6b0e0 !important; /* același fundal ca restul inputurilor */
  border: 1px solid black !important; /* bordură aurie */
  border-radius: 0.375rem !important; /* 6px */
  height: 3.9rem !important; /* 56px, oprește orice altă înălțime */
  line-height: 3.5rem !important; /* aliniere verticală text */
  padding: 0 0.75rem !important; /* 12px padding orizontal */
  box-sizing: border-box !important;
  font-family: "Poppins", sans-serif !important;
  font-size: 1rem !important; /* 16px */
}

/* 2) Textul afișat (inclusiv placeholder) */
.select2-container--default .select2-selection__rendered {
  color: black !important; /* text auriu */
  line-height: 4.5rem !important;
}

.select2-selection__rendered {
  padding-left: 1px !important;
  font-size: 18px !important;
}

/* 3) Placeholder styling */
.select2-container--default .select2-selection__placeholder {
  color: black !important;
  opacity: 1 !important;
  font-size: 23px !important;
}

/* 4) Săgeata dropdown */
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 3.5rem !important;
  top: 0 !important;
  width: 2.5rem !important;
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow
  b {
  border-color: black transparent transparent transparent !important;
  margin-top: 5px !important;
}

.select2-selection__rendered {
  margin-top: 3px !important;
}

/* 5) Dropdown-ul (lista de opțiuni) */
.select2-container--default .select2-dropdown {
  background-color: #c6b0e0 !important;
  border: 1px solid black !important;
  border-radius: 0.375rem !important;
  margin-top: 0.25rem !important; /* 4px spațiu sub select box */
  box-sizing: border-box !important;
}

/* 6) Fiecare opțiune */
.select2-container--default .select2-results__option {
  color: black !important;
  padding: 0.75rem 1rem !important; /* 12px sus/jos, 16px stânga/dreapta */
  font-size: 2rem !important;
}

/* 7) Opțiunea evidențiată (hover/focus) */
.select2-container--default .select2-results__option--highlighted {
  background-color: black !important;
  color: #c6b0e0 !important;
}

/* 8) Forțează apariția căsuței de search mereu */
.select2-container--default .select2-search--dropdown .select2-search__field {
  width: 100% !important;
  margin: 0.25rem -0.5rem !important; /* 4px sus/jos, 12px stânga/dreapta */
  box-sizing: border-box !important;
  height: 2.5rem !important;
  background-color: #191919 !important;
  border: 1px solid black !important;
  border-radius: 0.375rem !important;
  color: black !important;
}

/* 9) Când nu există rezultate */
.select2-container--default .select2-results__message {
  color: black !important;
}

/* === Override focus/active states on Select2 === */

/* 1) Containerul (wrapper) în toate stările de focus */
.select2-container--default .select2-selection--single,
.select2-container--default .select2-selection--single:focus,
.select2-container--default .select2-selection--single:focus-within,
.select2-container--default
  .select2-container--focus
  .select2-selection--single {
  outline: none !important;
  box-shadow: none !important;
  background-color: #c6b0e0 !important; /* același background */
  border: 1px solid black !important; /* acceași bordură */
  height: 50px !important;
  display: flex;
  align-items: center;
}

/* 2) Textul rămâne auriu chiar dacă e focus (Select2 îl re‐randează) */
.select2-container--default .select2-selection__rendered {
  color: black !important;
}

/* 3) Placeholder‐ul */
.select2-container--default .select2-selection__placeholder {
  color: black !important;
  font-style: italic;
  opacity: 1 !important;
}

/* 4) Dezactivează orice ring venit din Tailwind sau browser */
.select2-container--default .select2-selection--single:focus {
  --tw-ring-offset-width: 0 !important;
  --tw-ring-offset-color: transparent !important;
  --tw-ring-color: transparent !important;
  --tw-ring-offset-shadow: none !important;
  --tw-ring-shadow: none !important;
}

/* === 10) Ascunde butonul “×” de clear atunci când e selectat ceva === */
.select2-container--default .select2-selection__clear {
  display: none !important;
}

/* === 11) Text mai mare pentru opțiuni === */
.select2-container--default .select2-results__option {
  font-size: 1.55rem !important; /* 20px */
  padding: 0.75rem 1rem !important; /* 12px sus/jos, 16px stânga/dreapta */
}

/* (dacă vrei și textul selectat, nu doar lista) */
.select2-container--default .select2-selection__rendered {
  font-size: 2.3rem !important; /* 20px */
}

/* ===== formular în 2 coloane ===== */
@media (min-width: 992px) {
  .form-cols {
    display: flex !important;
    gap: 2% !important; /* spaţiu între coloane */
  }
  .col-left,
  .col-right {
    flex: 1 1 0 !important; /* 50 % / 50 % */
  }

  /* în interiorul coloanelor nu mai avem float */
  .form-cols .mb-5 {
    width: 98% !important;
    float: none !important;
  }

  /* Dacă un element trebuie peste tot (ex: .col-span-2) */
  .col-span-2 {
    flex-basis: 100% !important;
  }
}

/* elimină vechea regulă width:48% / float:left;
   sau, dacă nu vrei să o ştergi, suprascrie‑o:   */
@media (min-width: 992px) {
  .section-2 > .mb-5 {
    float: none !important;
    width: 100% !important;
  }
}

#two {
  margin-top: 10px !important;
}

#three {
  margin-top: 5px !important;
}

#four {
  margin-top: 4px !important;
}

#five {
  margin-top: 4px !important;
}

@media (max-width: 450px) {
  #page-content > .container .container {
    display: flow-root !important;
  }
}

.purple-text {
  font-size: 25px;
  color: #c6b0e0 !important;
}

.purple-text span {
  color: #c6b0e0 !important;
}

.white-text {
  font-size: 25px;
  color: #fff !important;
  font-family: "Poppins", sans-serif;
}

.blue-text {
  font-size: 25px;
  color: #51bdf3 !important;
}

.ul > li {
  font-size: 25px;
  letter-spacing: 0px;
  color: #ffffff;
  font-weight: 500;
  font-family: "Poppins";
}

.col-left > .mb-5 {
  padding-bottom: 33px !important;
}
#candidate_form input[type="checkbox"] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background-color: #c6b0e0;
  position: relative;
  margin: 0;
  cursor: pointer;
}

#candidate_form input[type="checkbox"]:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 6px;
  height: 11px;
  border: solid black;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
#candidate_form input[type="checkbox"]:checked {
  background-color: #c6b0e0;
}

.flex.gap-4 label {
  font-size: 18px;
  color: #c6b0e0;
}
/* scoped doar pe cele două checkbox-uri */
#candidate_form .juridical-checkbox {
  /* ascundem complet controlul nativ */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* dimensiuni + bulă rotundă + poziţionare pentru pseudo */
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: #c6b0e0;
  display: inline-block;
  position: relative;
  cursor: pointer;
}

/* culoare de fundal când e bifat */
#candidate_form .juridical-checkbox:checked {
  background-color: black;
}

/* desenăm bifa albă */
#candidate_form .juridical-checkbox:checked::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 7px;
  width: 7px;
  height: 11px;
  border: solid black;
  border-width: 0 2px 2px 0;
  transform: rotate(41deg);
}

.remove_option {
  border: 0 !important;
  color: #0e0513 !important;
  background: #51bdf3 !important;
  height: 46px !important;
  width: 202px !important;
  font-size: 20px !important;
  padding: 13px !important;
  margin: 10px !important;
  border-radius: 0 !important;
  font-weight: bold !important;
  margin-left: 15px !important;
}

.remove_option:hover {
  background: black !important;
  color: #c6b0e0 !important;
}

.add_row:hover {
  background: black !important;
  color: #c6b0e0 !important;
}

.counter {
  color: white;
}

.flex-images {
  display: flex !important;
  margin-top: 10px;
  margin-bottom: 30px;
}

.generale-list label {
  font-style: normal !important;
}

.textarea-wrapper {
  position: relative;
  width: 100%; /* să ocupe toată lățimea coloanei */
}

.textarea-wrapper textarea {
  width: 100%; /* textarea full-width */
  min-height: 150px; /* ajustează după nevoie */
  box-sizing: border-box; /* padding inclus în calculul lățimii */
  padding: 1rem; /* spațiu interior */
  padding-bottom: 2rem; /* extra jos ca să nu acopere textul */
  font-size: 1rem;
  line-height: 1.4;
}

.textarea-wrapper .textarea-counter {
  position: absolute;
  bottom: 8px; /* puțin deasupra marginii de jos */
  right: 12px; /* puțin de la marginea dreaptă */
  font-size: 1.75rem;
  color: #eee;
  background: rgba(0, 0, 0, 0.5);
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none; /* să nu interfereze cu click-urile */
}

.textarea-note {
  font-style: italic;
  margin-left: 0.5em; /* spațiu între label și nota */
  display: inline; /* să fie în același rând */
}

.center-text-button {
  padding: 0px !important;
}

.countdown-label {
  color: transparent;
  background-image: linear-gradient(
    90deg,
    /* unghiul gradientului */ #ffffff 0%,
    /* culoare stânga, la 0% */ #51bdf3 100% /* culoare dreapta, la 100% */
  );
  background-clip: text;
  -webkit-background-clip: text;
  font-weight: bold;
}
.modify-custom {
  margin-top: -39px;
}

@media (max-width: 450px) {
  .modify-custom {
    margin-top: 0px;
  }
  #page-content p {
    color: white;
    font-size: 18px;
    font-family: "Poppins", sans-serif;
    font-weight: 500;
  }
  #page-content h1 {
    font-size: 45px;
  }
  #page-content h3 {
    font-size: 17px;
  }
  #page-content h4 {
    font-size: 29px;
  }
  .mobile-title-text {
    margin-top: 16px;
    margin-bottom: 0px;
  }
  .section-1 {
    padding: 0px 0px;
  }

  .section-3 {
    padding: 0px 0px;
  }

  .section-4 {
    padding: 0px 0px;
  }

  .section-5 {
    padding: 0px 0px;
  }

  #candidate_form textarea,
  #candidate_form select,
  #candidate_form input {
    font-size: 18px;
    height: 60px;
  }
  .mobile-display-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .mobile-remove {
    display: none !important;
  }
  .col-left {
    width: 100%;
  }
  .col-left > .mb-5 {
    padding-bottom: 8px !important;
  }

  .select2-container--default .select2-selection--single,
  .select2-container--default .select2-selection--single:focus,
  .select2-container--default .select2-selection--single:focus-within,
  .select2-container--default
    .select2-container--focus
    .select2-selection--single {
    height: 60px !important;
  }
  .select2-selection__rendered {
    margin-top: 10px !important;
  }
  .select2-selection__arrow {
    margin-top: 4px;
  }
  #candidate_form label {
    font-size: 17px;
  }
  .mb-5.br-wrapper br {
    display: none;
  }

  /* 2) stil pentru input+label */
  .mb-5.br-wrapper input[type="checkbox"] {
    /* spațiu între checkbox și text */
    margin-right: 0.25rem;
    vertical-align: top;
  }
  .mb-5.br-wrapper input[type="checkbox"] + label {
    display: inline-flex;
    align-items: flex-start; /* dacă labelul se rupe, checkboxul rămâne aliniat sus */
    margin-right: 1rem;
    line-height: 1.4; /* optional, ca textul să se îmbrace frumos */
  }
  .br-wrapper .checkbox-list {
    grid-template-columns: 1fr;
  }
  .br-wrapper .checkbox-item label {
    line-height: 1.3;
  }
  .no-top-bottom-margin-mobile {
    margin-top: 0px;
    margin-bottom: 0px;
  }
  .custom-mobile {
    margin-top: 26px;
    margin-bottom: 13px;
  }
  .white-text {
    font-size: 20px;
  }
  .center-text-button {
    background: transparent !important;
  }
  .mobile-full {
    width: 100% !important;
  }
  .no-top-margin {
    margin-top: 0px !important;
  }
  .generale-list {
    width: 85%;
  }
  .flex-images {
    flex-direction: column;
  }
  .end-buttons {
    display: flex !important;
    flex-direction: column !important;
    width: 90% !important;
    padding-left: 8px !important;
    padding-right: 16px !important;
  }
  .end-buttons-button {
    width: 100% !important;
    height: 13vw !important;
  }
  .mobile-width {
    width:89% !important;
  }
}

.br-wrapper .checkbox-list {
  display: flex !important;
  flex-direction: column;
}

/* Fiecare item checkbox+label */
.br-wrapper .checkbox-item {
  display: inline-flex;
  align-items: flex-start; /* checkbox la începutul textului */
  gap: 0.25rem;
}

/* somewhere in your CSS */
.textarea-wrapper {
  position: relative;
  margin-bottom: 1.5rem; /* or whatever spacing you like */
}
.textarea-counter {
  position: absolute;
  bottom: 0.25rem;
  right: 0.5rem;
  font-size: 0.8em;
  color: #888;
}

/* clasa de invalid, modifică după nevoie */
.textarea-too-short {
  border: 2px solid red !important;
  background-color: #ffecec;
}
/* dacă contorul e imediat după textarea */
#director_for_entrepreneurship_answer_8_input + .textarea-counter {
  display: none !important;
}

/* dacă e ceva mai jos în acelaşi container */
#director_for_entrepreneurship_answer_8_input ~ .textarea-counter {
  display: none !important;
}

#director_for_innovation_answer_8_input + .textarea-counter {
  display: none !important;
}

#director_for_equal_opportunities_answer_8_input ~ .textarea-counter {
  display: none !important;
}

#director_for_equal_opportunities_answer_8_input + .textarea-counter {
  display: none !important;
}

#director_for_entrepreneurship_answer_8_input {
  margin-bottom: 0px !important;
}

.person-block {
  width: 100% !important;
}

.remove-file {
  width: 40px !important;
  height: 100% !important;
}

.remove-file:hover {
  background: red !important;
  color: #c6b0e0 !important;
}

.container, 
form#candidate_form {
  padding-bottom: 100px; /* înălţimea aproximativă a barei cu butoane */
}

/* asigură-te că bara de butoane e deasupra în z-index */
.sticky-buttons {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
}

.file-name {
  color: white;
}


