 body {
   margin: 0;
   font-family: Arial, sans-serif;
   background: #e6eefb;
   display: flex;
   flex-direction: column;
   align-items: center;
   min-height: 100vh;
 }

 /* Первый четкий круг */
 body::before {
   content: '';
   position: absolute;
   top: 15%;
   left: -5%;
   width: 250px;
   height: 250px;
   background: linear-gradient(135deg, #0041cc, #82ccdd);
   border-radius: 50%;
   opacity: 0.5;
   z-index: -1;
 }

 /* Второй четкий круг */
 body::after {
   content: '';
   position: absolute;
   bottom: 10%;
   right: -8%;
   width: 300px;
   height: 300px;
   background: linear-gradient(135deg, #0041cc, #82ccdd);
   border-radius: 50%;
   opacity: 0.4;
   z-index: -1;
 }

 /* Логотип в потоке документа */
 .logo {
   width: 120px;
   height: 120px;
   border-radius: 50%;
   margin-top: 40px;
   margin-bottom: 40px;
   opacity: 0.7;
   /* прозрачность: 1 — полностью видно, 0 — полностью скрыто */
   transition: transform 0.3s ease, opacity 0.3s ease;
   /* плавный переход */
 }

 .logo:hover {
   opacity: 1;
   /* эффект наведения: логотип становится полностью видимым */
   transform: scale(1.2);
   /* увеличиваем размер на 20% */
 }

 .login-container {
   display: flex;
   max-width: 800px;
   width: 100%;
   background: #fff;
   box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
   border-radius: 15px;
   overflow: hidden;
   flex-wrap: wrap;
 }

 .login-image {
   flex: 1;
   background: url(login_img/login.jpg) no-repeat center center/cover;
   min-height: 300px;
   min-width: 480px;
 }

 .login-form {
   flex: 1;
   padding: 40px;
   display: flex;
   flex-direction: column;
   justify-content: center;
 }

 .login-form h2 {
   margin-bottom: 20px;
   color: #333;
   font-size: 24px;
   text-align: center;
 }

 .login-form input {
   width: 100%;
   padding: 12px;
   margin: 10px 0;
   border: 1px solid #ccc;
   border-radius: 8px;
   font-size: 16px;
 }

 .login-form button {
   width: 100%;
   padding: 12px;
   margin-top: 15px;
   border: none;
   border-radius: 8px;
   font-size: 16px;
   cursor: pointer;
   transition: background 0.3s ease;
 }

 .login-btn {
   background: #4a90e2;
   color: white;
 }

 .login-form button:hover {
   opacity: 0.9;
 }

 .google-btn {
   display: flex;
   align-items: center;
   justify-content: center;
   gap: 10px;
   margin-left: -15px;   /* сдвиг влево */
   width: calc(100% - 10px); /* чтобы не выходила за форму */
   width: 100%;
   padding: 12px;
   /* как у кнопки */
   margin-top: 15px;
   /* отступ сверху */
   border-radius: 8px;
   /* скругление углов */
   font-size: 16px;
   font-weight: bold;
   background: #fff;
   text-decoration: none;
   /* убираем подчеркивание */
   cursor: pointer;
   transition: background 0.3s ease;
 }

 .google-btn:hover {
   background: #f5f5f5;
 }


 .google-btn img {
   width: 20px;
   height: 20px;
 }

 .login-form p {
   text-align: center;
   margin-top: 15px;
   font-size: 14px;
 }

 .login-form a {
   color: #4a90e2;
   text-decoration: none;
 }


 .form-error {
  color: #d9534f;
  margin-left: 0;  /* прижали к левому краю */
  padding: 4px 0;
  font-size: 14px;
  font-weight: 500;
}


 @media (max-width: 768px) {
   .login-container {
     flex-direction: column;
   }

   .login-image {
     height: 200px;
     width: 100%;
   }
 }



 .messages {
    list-style: none; /* убираем маркеры */
    padding: 15px;
    margin: 20px 0;
    border-radius: 8px;
    max-width: 600px;
}


.messages li.info {
    color: #caa907; /* тёмно-жёлтый текст */
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}


.messages li.info::before {
    content: "⚠️"; /* иконка предупреждения */
    margin-right: 8px;
}
