   .modal-vhod {
      position: relative;
      background: #F5F5F5;
      border-radius: 18px !important;
      padding: 1.5rem;
      width: 500px;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      display: none;
    }

    .modal-vhod.active-vhod {
      display: block;
    }

    .modal-content-vhod h2 {
      color: #1976d2;
      font-size: 28px;
      font-weight: 500;
    }
    .MuiDialog-paper {
  border-radius: 16px !important;
  overflow: hidden;
}

    .modal-content-vhod p {
      font-size: 16px;
      color: #212121;
      font-weight: 400;
      margin-top: -30px;
    }

    label {
      display: block;
      margin-bottom: 1rem;
      font-size: 14px;
      color: #212121;
      font-weight: 500;
    }

    input[type="email"],
    input[type="password"],
    input[type="text"],
    input[type="tel"] {
      width: 100% !important;
      padding: 0.8rem;
      border-radius: 8px;
      border: 1px solid #fff;
      background-color: #fff;
     height: 58px !important;
    }

    input.error {
      border-color: #ffffff;
    }

    .error-text-vhod {
      color: #f44336;
      font-size: 12px;
    }

    .password-wrapper-vhod {
      position: relative;

    }

    .toggle-password-vhod {
      position: absolute;
      right: 10px;
      top: 8px;
      cursor: pointer;
    }

    .toggle-password-vhod img {
      width: 20px;
      height: 20px;
    }

    .primary-btn-vhod,
    .outline-btn-vhod,
    .disabled-btn-vhod {
      padding: 0.6rem;
      border-radius: 8px;
    
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      cursor: pointer;
      flex: 1;
      box-sizing: border-box;
      transition: background-color 0.3s ease, color 0.3s ease, transform 0.3s ease;
      height: 48px;
      font-size: 16px;
      font-weight: 500;
    }

        .primary-btn-vhod {
      background-color: #2196f3;
      color: white;
      border: none;
      font-size: 16px;
      font-weight: 500;
      height: 48px;
      margin-top: 20px;
     
    }


.primary-btn-vhod:hover {
  transform: scale(1.05);
}


 .outline-btn-vhod {
  background-color: transparent;
  color: #2196f3;
  border: 1px solid #2196f3;
  font-size: 16px;
  font-weight: 500;
  margin-top: 20px;
  transition: transform 0.2s ease; 
}

.outline-btn-vhod:hover {
  transform: scale(1.05); 
}

    .disabled-btn-vhod {
      background-color: #ECF6FE;
      color: #9cd2fe;
      border: none;
      cursor: not-allowed;
      flex: none;
      width: 100% !important;
      font-size: 16px;
      font-weight: 500;
      margin-top: 10px;
    }

    .photo-upload-vhod {
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .photo-upload-vhod img {
      width: 50px;
      height: 50px;
      border-radius: 50%;
    }

    #forgotModal .outline-btn-vhod {
      margin-top: 1.5rem;
      width: 100%;
      flex: none;
    }

    .btn-icon-vhod {
      width: 18px;
      height: 18px;
    }

    .close-btn-vhod {
      position: absolute;
      top: 10px;
      right: 10px;
      background: transparent;
      border: none;
      font-size: 20px;
      cursor: pointer;
      color: #363636;
      transition: color 0.3s ease;
    }

    .close-btn-vhod:hover {
      color: #333;
    }

    .input-row-vhod {
      display: flex;
      gap: 1rem;
      
    }

    .input-row-vhod .half-width-vhod {
      flex: 1;
      margin-top: 5px;
      font-size: 16px;
      color: #363636;
      font-weight: 500;
    }

    .button-row-vhod {
      display: flex;
      gap: 1rem;
      margin-top: -10px;
    }

    .photo-row-vhod {
      display: flex;
      align-items: center;
      gap: 10px;
      
    }

    .photo-row-vhod img {
      border-radius: 50%;
      width: 60px;  
  height: 60px;
      
    }

 .photo-btn-vhod,
.delete-btn-vhod {
  margin: 0;
  padding: 0.8rem 2.5rem;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
  will-change: transform;
}

.photo-btn-vhod img,
.delete-btn-vhod img {
  width: 20px;  
  height: 20px;
  border-radius: 0;
}

.photo-btn-vhod {
  background-color: #2196f3;
  color: white;
  border: none;
}

.photo-btn-vhod:hover {
  transform: scale(1.05); 
}

.delete-btn-vhod {
  background-color: transparent;
  color: #2196f3;
  border: 1px solid #2196f3;
}

.delete-btn-vhod:hover {
  transform: scale(1.05); 
}
    .link-button-register {
  background: none;
  border: none;
  color: #1565C0;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}
.primary-btn-vhod.active-register-btn {
  background-color: #2196f3;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.primary-btn-vhod.active-register-btn img {
  width: 20px;
  height: 20px;
}
.checkbox-register {
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px; 
  cursor: pointer;
  color: #333;
}
.checkbox-register2 {
  font-size: 16px;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 10px; 
  cursor: pointer;
  color: #333;
}

.checkbox-register span {
  display: inline-block;
  vertical-align: middle;
  line-height: 1.4;
}

.checkbox-register input[type="checkbox"] {
  appearance: none;
  width: 20px;
  height: 14px;
  border: 1px solid #2196f3;
  border-radius: 2px;
  background: transparent;
  position: relative;
  top: -12px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  vertical-align: middle;
}

.checkbox-register input[type="checkbox"]::after {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  content: "";
  position: absolute;
  top: -2px;
  left: 3px;
  width: 6px;
  height: 11px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
  display: none;
}

.checkbox-register input[type="checkbox"]:checked {
  background-color: #2196f3; 
  border-color: #2196f3;
}

.checkbox-register input[type="checkbox"]:checked::after {
  display: block;
}


.privacy-link {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s;
}

.privacy-link:hover {
  color: #2196f3;
}

.primary-btn-vhod.active-register-btn {
  background-color: #2196f3;
  color: #fff;
  cursor: pointer;
}

.primary-btn-vhod.active-register-btn:hover {
  background-color: #2196f3;
}

.btn-icon-vhod {
  width: 16px;
  height: 16px;
}



    input[type="email"] {
      width: 100%;
      padding: 0.6rem;
      border-radius: 8px;
      border: 1px solid #ffffff;
      font-size: 14px;
      box-sizing: border-box;
    }

.photo-label-vhod {
  display: block;
 
  margin-top: -1.4rem; 
  font-weight: 400;
  font-size: 16px;
  color: #212121;
}
    .my-label-email {
  font-weight: 400;
  color: #212121; 
  display: block;
  font-size: 16px;
  user-select: none; 
}
@media (max-width: 700px) {
  .modal-vhod {
    width: 100%; 
    padding: 1rem;
    border-radius: 8px;
  }
  .input-error-wrapper {
  position: relative;         
}

  .modal-content-vhod h2 {
    font-size: 20px; 
    text-align: left;
  }
      input[type="email"],
    input[type="password"],
    input[type="text"],
    input[type="tel"] {
      width: 100% !important;

     height: 48px !important;
    }

    .half-width-vhod {
      font-size: 14px !important;
      margin-top: 0 !important;
    }


  .modal-content-vhod p {
    font-size: 14px;
  }
  .login-password,
.register-password,
.repeat-password {
  height: 18px !important;         
  line-height: 18px !important;       
  font-size: 14px;
  box-sizing: border-box;  

}

  label,
  .my-label-email,
  .photo-label-vhod {
    font-size: 19px;
  }

  input[type="email"],
  input[type="password"],
  input[type="text"],
  input[type="tel"] {
    height:48px; 
    padding: 0.6rem;
    font-size: 14px;
  }

  .input-row-vhod {
    flex-direction: column; 
    gap: 0.5rem;
  }

  .button-row-vhod
 {
    flex-direction: column;
    gap: 0.5rem;
  }
 .photo-row-vhod {
  display: flex;
  flex-direction: row;
  align-items: center;   
  gap: 12px;              
}

  .primary-btn-vhod,
  .outline-btn-vhod,
  .disabled-btn-vhod,
  .photo-btn-vhod,
  .delete-btn-vhod {
    height: 48px;
    font-size: 14px;
    padding: 0.5rem;
  }
  .primary-btn-vhod{
    margin-top: 0;
  }
  .disabled-btn-vhod{
    margin-top: 20px;
  }
  .my-label-email{
    font-size: 14px;
  }
  .input-error-wrapper{
    height: 48px !important;
    font-size: 14px !important;
  }

  .toggle-password-vhod {
    top: 6px; 
    right: 8px;
  }

  .checkbox-register {
    font-size: 14px;
    gap: 6px;
  }

  .checkbox-register input[type="checkbox"] {
    width: 16px;
    height: 12px;
    top: -10px;
  }

  .photo-row-vhod img {
    width: 20px;
    height: 20px;
  }

  .photo-btn-vhod,
  .delete-btn-vhod {
    font-size: 14px;
    padding: 0.5rem 1.5rem;
    height: 48px;
    width: 40%;
     display: flex;
  justify-content: center;   
  align-items: center;

  }
  .avatar-preview{
    height: 50px !important;
    width: 50px !important;
  }
  .photo-label-vhod{
    font-size: 14px;
  }
}

    /*---------------------------------------------------------------*/
    .wrapper-error {
  display: flex;
  align-items: center;
  justify-content: center;


}
    .container-error {
      background-color: white;
      border-radius: 56px;
      text-align: center;
      padding: 60px 20px;
      max-width: 1100px;
      width: 90%;
      display: flex;
      flex-direction: column;
      align-items: center;
     
      margin-top: 40px;
    }

    .container-error h1 {
      font-size: 40px;
      font-weight: 500;
      color: #1565C0;
      margin: 0 0 10px;
    }

    .container-error p {
      font-size: 18px;
      font-weight: 500;
      color: #333;
      margin: 0 0 10px;
    }

    .subtext-error {
      font-size: 14px;
      font-weight: 400;
      color: #666;
      margin: 10px 0 20px;
    }

    .btn-error {
      background-color: #2196F3;
      color: white;
      border: none;
      padding: 12px 60px;
      border-radius: 6px;
      font-size: 16px;
      font-weight: 500;
      cursor: pointer;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 10px;
      margin-top: 10px;
    }

    .btn-error:hover {
      background-color: #1976D2;
    }

    .btn-error img {
      width: 18px;
      height: 18px;
    }

    .modal-emoji-error {
      font-size: 38px;
      margin-top: 40px;
      display: block;
      width: 92px;
      height: 92px;
    }




  .custom-logo{
     
    width: 110px;
    height: 40px;
    object-fit: cover;
    border-radius: 8px;
  }

    .status-icon {
    width: 16px;
    height: 16px;
    object-fit: contain;
  }
  .button-icon5 {
    width: 16px;
    height: 16px;
    object-fit: contain;
  }
  @media (max-width: 600px) {
  .container-error {
    width: 100%;
    max-width: none;
    border-radius: 24px;
    padding: 32px 16px;
    margin: 0;
    margin-top: 40px;
    margin-bottom: 0;
  }

  .container-error h1 {
    font-size: 28px;
  }

  .container-error p {
    font-size: 16px;
  }

  .subtext-error {
    font-size: 13px;
    margin: 8px 0 16px;
  }

  .btn-error {
    padding: 10px 32px;
    font-size: 14px;
    margin-top: 8px;
    gap: 8px;
  }

  .modal-emoji-error {
    font-size: 32px;
    width: 64px;
    height: 64px;
    margin-top: 32px;
  }

  .custom-logo {
    width: 90px;
    height: 32px;
    border-radius: 6px;
  }

  .status-icon,
  .button-icon5 {
    width: 14px;
    height: 14px;
  }
}