.header__hudud {
  display: flex;
  width: 100%;
  /* height: 100vh; */
  justify-content: center;
  align-items: center;
  animation: fadeIn 0.3s ease;
}

.header__modal {
  background: #ffffff;
  padding: 20px 30px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 750px;
  margin-top: 120px;
  margin-bottom: 50px;
}

.header__modal h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 25px;
  color: #333333;
}

.header__modal form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 20px;
}

@media (max-width: 845px) {
  .header__modal form {
    grid-template-columns: 1fr;
  }

  .header__modal {
    padding: 15px;
  }

  .header__modal h2 {
    font-size: 18px;
  }
}

.header__modal form .appeal__content {
  width: 100%;
  grid-column: span 2;
}
.header__modal .form__terms {
  margin-bottom: 15px;
  display: flex;
  gap: 10px;
  flex-direction: column;
}
.form__terms__hidden{
  display: none;
}

.header__modal .form__terms .checkbox__container {
  display: flex;
  align-items: center;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}

.header__modal .form__terms .checkbox__container .checkbox {
  display: none;
}
/* custom__obj__checkbox */
.header__modal .form__terms .checkbox__container .custom__checkbox {
  width: 40px;
  height: 15px;
  border: 2px solid #007bff;
  border-radius: 4px;
  position: relative;
  margin-right: 10px;
  transition: background-color 0.3s;
}

.header__modal .form__terms .checkbox__container .custom__obj__checkbox{
  width: 17px;
  height: 15px;
  border: 2px solid #007bff;
  border-radius: 4px;
  position: relative;
  margin-right: 10px;
  transition: background-color 0.3s;
}

.header__modal .form__terms .checkbox__container .label {
  display: flex;
  text-align: justify;
}

.header__modal .form__terms .checkbox__container .custom__checkbox::after,
.header__modal .form__terms .checkbox__container .custom__obj__checkbox::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: #007bff;
  border-radius: 3px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s;
}

.header__modal
  .form__terms
  .checkbox__container
  .checkbox:checked
  + .custom__checkbox,
  .header__modal
  .form__terms
  .checkbox__container
  .checkbox:checked
  + .custom__obj__checkbox {
  background-color: #007bff;
}

.header__modal
  .form__terms
  .checkbox__container
  .checkbox:checked
  + .custom__checkbox::after,
  .header__modal
  .form__terms
  .checkbox__container
  .checkbox:checked
  + .custom__obj__checkbox::after  {
  transform: translate(-50%, -50%) scale(1);
}

/* .header__modal .form__terms label {
  font-weight: normal;
  cursor: pointer;
  color: #333;
  margin-bottom: 5px;
} */

/* .header__modal .form__terms input[type="checkbox"] {
  margin-right: 5px;
} */

.header__modal .property__owner,
.header__modal .fish__name,
.header__modal .pasport__number,
.header__modal .JShShIR__STIR,
.header__modal .registered__area,
.header__modal .district__city,
.header__modal .neighborhood__street,
.header__modal .phone__number,
.header__modal .email__address,
.header__modal .form__file,
.header__modal .kadastr__number,
.header__modal .application__number,
.header__modal .appeal__content,
.header__modal .protokol__number,
.header__modal .protokol__date {
  display: flex;
  flex-direction: column;
}

.header__modal .kadastr__number__none,
.header__modal .application__number__none, .mulk__egasi__none, .ishonchli__vakil_none{
display: none;
}


.none__number{
 display: none;
}

.noTerms__none{
  display: none;
 }

.header__modal label {
  margin-bottom: 5px;
  font-weight: bold;
  color: #555555;
}

.header__modal input[type="text"],
.header__modal input[type="email"],
.header__modal input[type="number"],
.header__modal input[type="password"],
.header__modal input[type="submit"],
.header__modal input[type="file"],
/* .header__modal input[type="date"], */
.header__modal textarea,
.header__modal select {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #dddddd;
  border-radius: 5px;
  font-size: 14px;
}
/* .header__modal textarea {
  -ms-grid-column-span: 1;
} */
.header__modal input[type="text"]:focus,
.header__modal input[type="email"]:focus,
.header__modal input[type="number"]:focus,
.header__modal input[type="password"]:focus,
.header__modal input[type="file"]:focus,
/* .header__modal input[type="date"]:focus, */
.header__modal select:focus,
.header__modal textarea:focus {
  border-color: #4caf50;
  outline: none;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.header__modal input[type="date"] {
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #dddddd;
  border-radius: 5px;
  font-size: 14px;
  color: #555555;
  background-color: #f9f9f9;
  cursor: pointer;
}

.header__modal input[type="date"]:focus {
  border-color: #4caf50;
  outline: none;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
  background-color: #ffffff;
}

.header__modal input[type="file"] {
  padding: 5px;
  border: none;
  /* background-color: #f4f4f9; */
  font-size: 14px;
  color: #555555;
  cursor: pointer;
}

/* .header__modal input[type="file"]::file-selector-button {
  padding: 10px;
  background-color: #4caf50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
} */

.header__modal input[type="file"]::file-selector-button:hover {
  background-color: #45a049;
}

input[type="file"] {
  outline: none;
  padding: 4px;
  margin: -4px;
}

input[type="file"]:focus-within::file-selector-button,
input[type="file"]:focus::file-selector-button {
  outline: 2px solid #0964b0;
  outline-offset: 2px;
}

input[type="file"]::before {
  top: 16px;
}

input[type="file"]::after {
  top: 14px;
}

/* ------- From Step 2 ------- */

input[type="file"] {
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
  position: relative;
}

input[type="file"]::file-selector-button {
  width: 136px;
  padding: 10px;
  background-color: #4caf50;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  color: transparent;
}

/* Faked label styles and icon */
input[type="file"]::before {
  position: absolute;
  pointer-events: none;
  /*   top: 11px; */
  left: 40px;
  color: #fcfcfc;
  content: "Fayl yuklash";
}

input[type="file"]::after {
  position: absolute;
  pointer-events: none;
  /*   top: 10px; */
  left: 16px;
  height: 20px;
  width: 20px;
  content: "";
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%230964B0'%3E%3Cpath d='M18 15v3H6v-3H4v3c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2v-3h-2zM7 9l1.41 1.41L11 7.83V16h2V7.83l2.59 2.58L17 9l-5-5-5 5z'/%3E%3C/svg%3E");
}

/* ------- From Step 1 ------- */

/* file upload button */
input[type="file"]::file-selector-button {
  border-radius: 4px;
  padding: 0 16px;
  height: 40px;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
  /* background-color: white; */
  border: 1px solid rgba(0, 0, 0, 0.16);
  box-shadow: 0px 1px 0px rgba(0, 0, 0, 0.05);
  margin-right: 16px;
  transition: background-color 200ms;
}

input[type="file"]::file-selector-button:hover {
  background-color: #f3f4f6;
}

te */ input[type="file"]::file-selector-button:active {
  background-color: #e5e7eb;
}

.header__modal input[type="submit"] {
  background-color: #4caf50;
  color: white;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

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

.header__modal input[type="submit"]:active {
  background-color: #45a049;
}

.header__modal .form__btn {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.header__modal .form__btn__appKomis {
  grid-column: span 2;
  display: flex;
  justify-content: end;
  align-items: center;
  gap: 10px;
}

@media (max-width: 845px) {
  .form__btn,
  .form__btn__appKomis {
    flex-direction: column;
    grid-column: span 1;
  }
}


.header__modal .form__btn a,
.header__modal .form__btn__appKomis a {
  background-color: #4caf50;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
  text-decoration: none;
  transition: color 0.3s ease;
  color: #fff;
}

.header__modal .form__btn input,
.header__modal .form__btn__appKomis input {
  margin: 0;
}

.header__modal .form__btn a:hover,
.header__modal .form__btn__appKomis a:hover {
  background-color: #45a049;
  color: #fff;
  transition: background-color 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleUp {
  from {
    transform: scale(0.8);
  }
  to {
    transform: scale(1);
  }
}

.block__label {
    font-weight: bold;
    color: #333;
    display: block;
    margin-bottom: 8px;
}

