body {
  font-family: Arial, sans-serif;
  background-color: #f5f5f5;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: 0;
  padding: 15px;
}
.login-container {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 10px 12px rgba(0, 0, 0, 0.3);
  padding: 30px;
  width: 100%;
  max-width: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.login-logo {
  width: 90%;
  max-width: 350px;
  margin-bottom: 25px;
}
.login-logo img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.login-header {
  text-align: center;
  margin-bottom: 25px;
  color: #333;
  width: 100%;
}
.form-control {
  height: 45px;
  margin-bottom: 15px;
  width: 100%;
}
.btn-login {
  background-color: #0d6efd;
  color: white;
  height: 45px;
  width: 100%;
  font-weight: 500;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  padding: 10px 20px;
}
.btn-login:hover {
  background-color: #0b5ed7;
  color: white;
}
.error-message {
  color: #dc3545;
  text-align: center;
  margin-bottom: 15px;
  width: 100%;
}
form {
  width: 100%;
}
.btn-icon {
  width: 45px;
  height: 45px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 1px solid #868686; */
  border-radius: 5px;
}

.btn-icon:hover {
  transform: scale(1.2);
  /* animation: shake 0.5s ease; */
}

.icon-img {
  width: 45px;
  height: 45px;
}

/* Формы */
.form-label.required::after {
  content: " *";
  color: #dc3545;
}

.form-control.required:invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.15rem rgba(220, 53, 69, 0.25);
}

.form-control.required:valid {
  border-color: #198754;
  box-shadow: 0 0 0 0.15rem rgba(25, 135, 84, 0.25);
}

/* Уведомления */
.alert {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  max-width: 400px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  opacity: 0;
  transition: opacity 0.15s linear;
}

.alert.show {
  opacity: 1;
}

.fade {
  transition: opacity 0.15s linear;
}

/* .is-invalid {
			border-color: #dc3545;
			padding-right: calc(1.5em + 0.75rem);
			background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='none' stroke='%23dc3545' viewBox='0 0 12 12'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
			background-repeat: no-repeat;
			background-position: right calc(0.375em + 0.1875rem) center;
			background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
		}

		.is-invalid:focus {
			border-color: #dc3545;
			box-shadow: 0 0 0 0.25rem rgba(220, 53, 69, 0.25);
		}		 */

/* Адаптация для маленьких экранов */
@media (max-width: 960px) {
  .login-container {
    width: 90%;
    padding: 20px;
  }
  .login-logo {
    margin-bottom: 15px;
  }
  body {
    padding: 10px;
  }
  .login-header {
    margin-bottom: 15px;
    font-size: 1.3rem;
  }
  .form-control {
    height: 40px;
  }
  .btn-login {
    height: 45px;
  }
  .btn-icon {
    height: 40px;
    width: 40px;
  }
}

/* Дополнительная адаптация для очень маленьких экранов */
@media (max-width: 360px) {
  .login-container {
    width: 85%;
    padding: 15px;
  }
}

.password-toggle {
    z-index: 5;
    color: #6c757d;
}
.password-toggle:hover {
    color: #495057;
}