html, body {
    height: 100%;
    margin: 0;
    overflow: hidden;
}

.animated-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, #f0f0f0, #807f7f, #f0f0f0, #585858);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
    z-index: -1;
  }
  
  @keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  
  
  

/* Стиль для уведомления */
.notification {
    display: flex;
    flex-direction: column; /* Режим столбца для вертикального выравнивания */
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #ffffff;
    color: #000000;
    padding: 20px;
    border: 1px solid #ff8000;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 500;
    text-align: center;
    max-width: 400px;
    width: 100%;
}

.notification .mt-4 {
    margin-top: 40px; /* Дополнительный отступ между текстом и кнопкой */
    margin-bottom: 20px;
}

/* Стиль для кнопки */
button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 300px;
    text-align: center;
    padding: 10px 20px;
    border-radius: 10px;
}

button img {
    width: 100px; /* или адаптируйте размеры в зависимости от изображения */
    height: auto;
}


/* Кнопка-ссылка на странице success*/
.btn {
    background-color: #28a745;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #218838;
}

.notification p {
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
}

.prosto-one-regular {
    font-family: "Prosto One", sans-serif;
    font-weight: 400;
    font-style: normal;
  }
  

.hidden {
    display: none;
}

.twa-fallback {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    flex-direction: column;
    gap: 12px;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 24px;
    border: 1px solid #ff8000;
    border-radius: 12px;
    max-width: 420px;
    width: calc(100% - 48px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    z-index: 20;
}

body.twa-missing .twa-fallback {
    display: flex;
}

body.twa-missing [data-main-content] {
    display: none;
}