  @import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:wght@400;700&display=swap");
    body {
      background-size: cover;
      font-family: 'Roboto Condensed', sans-serif;
      margin: 0;
      display: flex;
      justify-content: center;
      align-items: center;
      height: 100vh;
      user-select: none;
      -webkit-user-select: none;
      -ms-user-select: none;
      transition: background-image 0.5s ease;
    }
    /* Предзагрузка всех фоновых изображений */
    body::after {
      content: '';
      position: absolute;
      width: 0;
      height: 0;
      overflow: hidden;
      z-index: -1;
      background: 
        url('/images/login/весна.jpg') no-repeat,
        url('/images/login/лето.jpg') no-repeat,
        url('/images/login/осень.jpg') no-repeat,
        url('/images/login/зима.png') no-repeat;
    }
    .login-container {
      background: white;
      border-radius: 10px;
      box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
      padding: 40px 30px;
      width: 400px;
      text-align: center;
      position: relative;
      z-index: 1;
    }
    .login-container img {
      max-height: 40px;
    }
    .login-container h2 {
      font-size: 24px;
      color: #527cfd;
      margin: 0px 0 20px;
    }	
    .form-group {
      text-align: left;
      margin-bottom: 15px;
    }
    .form-group label {
      font-weight: bold;
      margin-bottom: 5px;
      display: block;
    }
    .form-group input[type="text"],
    .form-group input[type="password"] {
      width: 100%;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
      text-align: center;
    }
    .checkbox {
      text-align: left;
      margin-bottom: 20px;
    }
    .btn-primary {
      background-color: #527cfd;
      border: none;
      color: white;
      padding: 10px 20px;
      font-weight: bold;
      width: 100%;
      cursor: pointer;
    }
    .links {
      display: flex;
      justify-content: space-between;
      margin-top: 15px;
      font-size: 14px;
    }
    .links a {
      color: gray;
      text-decoration: none;
    }
    .links a:hover {
      text-decoration: underline;
    }
    .form-group input[type="text"],
    .form-group input[type="password"],
    .btn-primary {
      width: 100%;
      box-sizing: border-box;
      padding: 10px;
      font-size: 16px;
      border-radius: 4px;
      border: 1px solid #ccc;
      display: block;
    }
    .password-input-wrapper {
      position: relative;
    }

    .toggle-password {
      position: absolute;
      right: 10px;
      top: 30%;
      transform: translateY(-50%);
      cursor: pointer;
    }
    .obscure {
      font-family: 'password';
      -webkit-text-security: disc; /* Chrome/Safari */
      text-security: disc;         /* Firefox (не поддерживается) */
    }
    .alert-danger {
      background-color: #f8d7da;
      color: #721c24;
      padding: 12px;
      border-radius: 5px;
      margin-bottom: 20px;
      border: 1px solid #f5c6cb;
    }
    
    .alert-success {
      background-color: #d4edda;
      color: #155724;
      padding: 12px;
      border-radius: 5px;
      margin-bottom: 20px;
      border: 1px solid #c3e6cb;
    }	