/* Файл: public/styles/common.css */

/* Стили сообщений при регистрации и авторизации */
.swal2-popup {
    font-family: 'Roboto', sans-serif;
    border-radius: 10px;
}
.swal2-confirm {
    background-color: #4caf50 !important;
}
.swal2-cancel {
    background-color: #4caf50 !important;
}


/* Стили для шапки */
.header {
    margin: 10px 15px;
}
.header-background {
    position: relative; /* Контейнер становится родителем для абсолютных элементов */
    overflow: hidden;
    height: 300px;
    background-size: cover;
    background-position: center;
    z-index: 1;
}
/* Фон хэдера */
.header-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;         /* Фон на заднем плане */
    position: absolute;
    top: 0;
    left: 0;
}

header nav ul {
list-style: none;
padding: 0;
display: flex;
gap: 20px;
}
header nav ul li {
    display: inline;
}
header nav ul li a {
    text-decoration: none;
    color: #333;
}

/* Стили для логотипа  */
.logo-container {
    padding: 10px 0 0 10px;     /* Отступ сверху и слева */
    display: inline-block;
}
.logo { /* Логотип */
    position: absolute;         /* Абсолютное позтционирование */
    top: 20px;
    left: 20px;
    max-width: 80px;           /* Ограничение ширины */
    z-index: 10;  
    transition: transform 1.1s ease;              /* Логотип на переднем плане */
}
.logo:hover {
    transform: scale(1.3);
}
/* Ссылка логотипа*/
.logo-link {
    display: inline-block;
}

/* ===================
   АНИМАЦИЯ
====================== */

/* Анимация заголовка */
@keyframes fadeInScale {
    0% {
        opacity: 0; /* Начинается с прозрачности 0 */
        -webkit-transform: translate(-50%, -50%) scale(0.8); /* Комбинируем translate и scale */
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1; /* Полностью видимый */
        -webkit-transform: translate(-50%, -50%) scale(1); /* Возвращается к нормальному размеру */
        transform: translate(-50%, -50%) scale(1);
    }
}

@keyframes fadeInScale {
    0% {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.8);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}
.header-background h1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1); /* Добавляем scale */
    color: rgb(58, 189, 189);
    font-family: 'Times New Roman', Times, serif;
    font-size: 36px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* Тень для лучшей читаемости */
    z-index: 3;
    background: rgba(0, 0, 0, 0);
    padding: 10px 20px;
    border-radius: 5px;
    animation: fadeinScale 2s ease-in-out; /* Применяем анимацию */
    -webkit-animation: fadeInScale 2s ease-in-out;
}    
@keyframes fadeInScale {
    0% {
        opasity: 0;
        transform: translate(-50%, -50%) scale(0.8);
        -webkit-transform: translate(-50%, -50%) scale(0.8); /* Для Safari */
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1); /* Для Safari */
    }
}

/* =============================
   НАВИГАЦИОННОЕ МЕНЮ
   ============================= */
   .header-menu {
    position: sticky;
    top: 0;
    background-color: rgba(216, 218, 150, 0.9); /* Полупрозрачный фон */
    box-shadow: 0 8px 5px rgba(0, 0, 0, 0.5);
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(5px);
    padding: 10px 0;
    transition: background-color 0.3s ease;
   }
   .header-menu ul {
    list-style: none;
    display: flex;
    justify-content: space-around;
    margin: 0;
    padding: 0;
   }
   .header-menu a {
    color: rgb(25, 37, 206);
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    transition: color 0.3s ease;
   }
   .header-menu a:hover {
    color: #c92121;
   }
   /* Подсветка активного пункта */
   .header-menu a.active {
    color: #523df1;
    border-bottom: 2px solid #1d1c1b;
   }

   /* ===============================
      АВТОРИЗАЦИЯ И РЕГИСТРАЦИЯ
      =============================== */
      .auth-buttons {
        display: flex;
        justify-content: center;
        margin: 20px 0;
      }
      .btn-auth {
        width: 250px;
        background-color: #0074d9;
        color: white;
        border: none;
        border-radius: 7px;
        padding: 10px 20px;
        margin: 0 20px;
        cursor: pointer;
        box-shadow: 2px 8px 16px rgba(0, 0, 0, 0.8);
        transition: background-color 0.3s ease;
      }
    
     
      /* ============================
         КНОПКИ НАВИГАЦИИ
         ============================ */

         .button {
            cursor: pointer;
            border: none;
            outline: none;
            transition: transform 0.3s ease;
          }
          .button:hover {
            transform: scale(1.02);
          }
          .button:active {
            transform: scale(0.98);
          }
         /* ============================
         СТИЛИ ДЛЯ МОДАЛЬНЫХ ОКОН
         ============================ */
    .modal {
        display: none; /* Скрыто по умолчанию */
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачный фон */
        justify-content: center;
        align-items: center;
        z-index: 1000;
        transition: opacity 0.3s ease;
        overflow-y: auto;
    }
    /* Показываем модальное окно при добавлении класса 'show' */
    .modal.show {
        display: flex; /* Показываем модальное окно*/
        opacity: 1;
    }
    .modal-content {
        background-color: #fff;
        padding: 20px;
        border-radius: 8px;
        width: 90%;
        max-width: 80vh; /* Ограничиваем высоту окна*/
        overflow-y: auto; /* Добавляем  прокрутку при переполнении*/
        text-align: center;
        position: relative;
        box-shadow: 0 16px 32px rgba(0, 0, 0, 0.5);
        animation: fadeIn 0.5s ease;
    }
    .modal-content h2 {
        margin-bottom: 20px;
        color: #333;
    }
    .modal-content input {
        width: 100%;
        padding: 10px;
        margin: 10px 0;
        border-radius: 5px;
        border: 1px solid #ccc;
        box-sizing: border-box;
    }
    .modal-content .submit-btn {
        background-color: #28a745;
        color: white;
        border: none;
        border-radius: 5px;
        padding: 10px 20px;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    .modal-content .submit-btn:hover {
        background-color: #218838;
    }
    .close {
        position: absolute;
        top: 10px;
        right: 15px;
        font-size: 24px;
        color: #777;
        cursor: pointer;
        transition: color 0.3s ease;
    }
    .close:hover {
        color: #333;
    }

    /* Анимация появления окна*/
    @keyframes fadeIn {
        0% {
            opacity: 0;
            transform: scale(0.9);
        }
        100% {
            opacity: 1;
            transform: scale(1);
        }
    }


      /* =======================
            АДАПТИВНОСТЬ
         ======================= */
      @media (max-width: 768px) {
        .header-menu ul {
            flex-direction: column;
            align-items: center;
        }
        .auth-buttons {
            flex-direction: column;
        }
        .auth-buttons button {
            width: 80%;
            margin: 10px 0;
        }
      }
      .main {
        margin-left: 15px 20px;
      }

/* ======================================

     ОСНОВНОЙ КОНТЕЙНЕР

    =====================================  */
    /* Контейнер для info-game, diagram-block и go_ferma */
    .info-go-container {
        display: grid;
        grid-template-columns: 30% 40% 30%; /* Пропорции колонок */
        gap: 20px;
        padding: 20px;
        background-color: rgba(219, 219, 117, 0.8); /* Легкий прозрачный фон*/
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        max-width: 1900px;
        width: 100%;
        margin: 10px 5px;
        box-sizing: border-box;
    }
    /* Левая колонка */
    .left-column {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }
    /* =========================
        INFO-GAME БЛОК
       ========================= */
       .info-game {
      
        background-color: #f0e6bd;
        padding: 15px;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        text-align: center;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
       }
       .info-game:hover {
        transform: translate(-5px);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
       }
       .info-game p {
        margin: 5px 0;
        font-size: 14px;
        line-height: 1.4;
       }
       .info-game p span.counter {
        font-weight: bold;
        font-size: 18px;
        color: #0074d9;
       }

       /* =============================
              DIAGRAM-BLOCK            
          ============================= */
          .diagram-block {
          
            background-color: #f0e6bd;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
            width: 315px;
            height: 170px;
          }
          .diagram-block canvas {
            margin-right: 15px;
            width: 315px;
            height: 100%;
            padding: 0 10px 30px;
          }

          /*  ==============================
                GO-FERMA BLOCK
              ===============================  */
          .go-ferma {
            max-height: 336px;
            max-height: 120vh;
            background-color: #f0e6bd;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            text-align: center;
            transition: transform 0.3s ease, box-shadow 0.3s ease;
          }
          .go-ferma:hover {
            transform: translate(-5px);
            box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
          }
          .go-ferma h2 {
            font-size: 28px;
            color: #0074d9;
            margin-bottom: 15px;
          }
          .go-ferma p {
            font-size: 18px;
            color: #333;
            margin-bottom: 25px;
            line-height: 1.5;
          }

          /* =================================
                АНИМАЦИЯ И ЭФФЕКТЫ
             ================================= */
             /* Анимация появления */
/* Анимация появления текста*/

/* ==============================
   Анимация для предложений в go-ferma
   ============================== */
   .sentence {
    opacity: 0;
    transform: translateX(-50%);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.sentence.visible {
    opacity: 1;
    transform: translateX(0);
}

.go-ferma .sentence {
    display: block;
    margin: 10px 0;
    text-align: center;
    font-size: 18px;
    color: #333;
}

.go-ferma {
    position: relative;
    overflow: hidden;
}


/* Анимация кнопки НАЧАТЬ ИГРУ */

.button-container {
    position: relative;
    display: inline-block;
}

.btn-start {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1s ease, transform 1s ease;
  font-size: 24px;
  background-color: #4caf50;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.3 ease;
  margin-top: 20px;

}
.btn-start.show {
    opacity: 1;
    transform: translateY(0);
    animation: pulse 1.5s infinite;
  
}
.btn-start.explode {
    animation: explode 0.6s forwards;
}
.btn-start:hover {
    background-color: #45a049;
    transform: scale(1.05);
}
/* Анимация пульсации кнопки СТАРТ */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.1);
        box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
    }
}

@keyframes explode {
    0% {
        opacity: 1;
        transform: scale(1);
        
    }
    100% {
        opacity: 0;
        transform: scale(2) rotate(360deg);
        
    }
}
/* Полное скытие кнопки */
.btn-start.hidden {
    display: none;
}

 /* Анимация ассистента */
.assistant {
    background-color: #d6c3ab36;  
    display: none;
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 300px;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1000;
}  
.assistant.show {
    display: block;
    opacity: 1;
}  

.assistant.hide {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.assistant-image {
    width: 100px;
    border-radius: 80%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.assistant-text {
    font-size: 18px;
    color: #333;
    margin-top: 10px;
    animation: fadeIn 1s ease forwards;
}
.assistant.hide .assistant-text {
    animation: fadeOut 1s ease forwarde;
}
.assistant-timer {
    font-size: 14px;
    color: #777;
    margin-top: 10px;
}
.assistant-close {
    width: 180px;
    background-color: #ff4d4d;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 15px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
    box-shadow: 2px 8px 16px rgba(0, 0, 0, 0.8);
}
.assistant-close:hover {
    background-color: #e60000;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
        transform: translateY(10px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeOut {
    0% {
        opacity: 1;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(10px);
    }
}

             /* =================================
                    Блок REVIEWS
                ================================= */
.reviews {
    margin: 15px 15px;
    width: 85%;
    background-color: #f0e6bd;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden; /* Ограничиваем отображение контента */
    position: relative; /* Для управления позицией*/
     transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.reviews-title {
    text-align: center;

}

.reviews-scroll {
    width: 100%;
    height: 300px; /* Высота блока*/
    overflow: hidden;
    position: relative;
    border-radius: 8px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.reviews:hover {
    transform: translate(-5px);
}
    
.reviews-content {
    position: absolute;
    top: 100%; /* Начинается за пределами области */
    width: 100%;
    animation: scroll-up 20s linear infinite; 
}
.reviews-content p {
    padding: 10px 15px;
    color: #333;
    text-align: center;
    line-height: 1;
    font-size: 14px;
}

.reviews h2 {
    text-align: center; 
    font-style: inherit;
    
}
/* Анимация скроллинга*/
@keyframes scroll-up {
    0% {
        top: 100%;
    }
    100% {
        top: -100%;
    }
}

.right-column {
    background-color: #93c11f;
    max-width: 95%;
    border-radius: 10px;
}

/* === Баннер с акцией === */
.promo-banner {
  background: linear-gradient(135deg, #6BCB77, #4E9F3D);
  color: #fff;
  text-align: center;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  margin: 20px auto;
  width: 90%;
  animation: fadeInBanner 1s ease;
}

.promo-banner h2 {
  font-size: 22px;
  margin-bottom: 12px;
  font-weight: 600;
}

.promo-button, .share-button {
  border: none;
  border-radius: 25px;
  font-size: 16px;
  padding: 10px 24px;
  margin: 6px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.promo-button {
  background-color: #fff;
  color: #4E9F3D;
}

.share-button {
  background-color: #fff;
  color: #3B82F6;
}

.promo-button:hover, .share-button:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}


/* Анимация появления баннера */
@keyframes fadeInBanner {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

             /* =================================
                    КАРТОЧКИ ABOUT-FERMA
                ================================= */
            .about-ferma {
                display: flex;
                justify-content: space-around;
                flex-wrap: wrap;
                gap: 20px;
                padding: 20px;
            }
            .card {
                background-color: #f7cd72;
                width: 200px;
                /* width: calc(25% - 20px);  4 карточки в строке */
                height: auto;
                margin: 10px;
                box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
                border-radius: 8px;
                overflow: hidden;
                display: flex;
                flex-direction: column;
                align-items: center;
                padding: 15px;
                transition: transform 0.3s, box-shadow 0.3s ease;
            }
            .card:hover {
                transform: translateY(-5px) scale(1.02);
                box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
            }
            .card img {
                max-width: 100px;
                height: auto;
                transition: transform 0.3s ease;
            }
            .card:hover img {
                transform: scale(1.05);
            }
            .card-content {
                text-align: center;
                margin-top: 10px;
            }
            .card-content h3 {
                font-size: 16px;
                margin: 10px 0;
                line-height: 1.2;
            }  

            /* ============================ 
                    АДАПТИВНОСТЬ
               ============================ */
               /* Адаптивность для контейнеров */
            @media (max-width: 768px) {
                .info-go-container {
                    grid-template-columns: 1fr;
                }
                .about-ferma {
                    flex-direction: column;
                    align-items: center;
                }
                .card {
                    width: 80%;
                }
            }  
            
            @media (max-width: 480px) {
                .card {
                    width: 100%;
                }
            }

/* Стили для подвала */
.footer {
    text-align: center;
    padding: 10px;
    background-color: #9e6565;
    margin-top: 20px;
  border: 4px solid #5a1212
}

.referral-message {
    margin-top: 10px;
    padding: 8px 12px;
    background-color: #e8f5e9;
    border-left: 5px solid #4caf50;
    color: #2e7d32;
    font-size: 1rem;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 4px;
    text-align: center;
  }
  
  .assistant-hint {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(255, 255, 255, 0.95);
    border-left: 5px solid #4caf50;
    padding: 14px 16px;
    margin-top: 124px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 100%;
  }
  
  .assistant-avatar {
    width: 75px;
    height: auto;
    flex-shrink: 0;
  }
  
  .assistant-message {
    display: flex;
    flex-direction: column;
  }
  
  .assistant-text {
    margin: 0 0 8px 0;
    font-size: 1rem;
    color: #2e7d32;
    font-weight: 500;
    line-height: 1.4;
  }
  
  .assistant-link {
    font-size: 0.95rem;
    color: #1b5e20;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
  }
  
  .assistant-link:hover {
    text-decoration: underline;
  }

  .modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    align-items: center;
    justify-content: center;
  }
  
  .modal-content {
    background-color: #fff;
    padding: 24px 30px;
    border-radius: 10px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    animation: fadeIn 1.6s ease;
    position: relative;
    font-size: 16px;
    font-family: Georgia, 'Times New Roman', Times, serif;
    text-decoration-color: #5a1212;
  }
  
  .modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #555;
  }
  
  .modal-close:hover {
    color: #000;
  }
  
  @keyframes fadeIn {
    from {opacity: 0; transform: scale(0.95);}
    to {opacity: 1; transform: scale(1);}
  }
  
  .modal-content h2 {
    margin-top: 0;
    margin-bottom: 16px;
    font-size: 1.4rem;
    color: #1b5e20;
  }
  
  .modal-content ol {
    padding-left: 20px;
    margin-bottom: 14px;
  }
  
  .modal-content a {
    color: #388e3c;
    text-decoration: underline;
  }
  
  .modal-content a:hover {
    color: #2e7d32;
  }
  
  .modal-close {
    position: absolute;
    top: 14px;
    right: 16px;
    font-size: 24px;
    font-weight: bold;
    color: #777;
    cursor: pointer;
    transition: color 0.2s;
  }
  
  .modal-close:hover {
    color: #000;
  
  }

  .repair-table .not-enough {
    background-color: #ffe0e0;
  }
  /* обновленные стили  */
  .info-game,
.diagram-block,
.go-ferma {
  background: linear-gradient(180deg, #ffffff, #faf8f1);
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  padding: 20px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-game:hover,
.diagram-block:hover,
.go-ferma:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}

.info-game p,
.go-ferma p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
}

.info-game p span.counter {
  color: #4E9F3D;
  font-weight: 600;
}

.go-ferma h2 {
  color: #4E9F3D;
  font-size: 26px;
  margin-bottom: 10px;
}

.go-ferma p {
  font-size: 17px;
  color: #333;
  margin-bottom: 20px;
}

.btn-start {
  background-color: #6BCB77;
  color: #fff;
  border: none;
  border-radius: 10px;
  font-size: 20px;
  padding: 12px 25px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-start:hover {
  background-color: #4E9F3D;
  transform: scale(1.05);
}
.info-go-container {
  display: grid;
  grid-template-columns: 30% 40% 30%;
  gap: 20px;
  padding: 25px;
  background: linear-gradient(135deg, #e9e2c7, #d7cfad);
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  max-width: 1900px;
  width: 100%;
  margin: 20px auto;
  box-sizing: border-box;
}

.info-game,
.diagram-block,
.reviews,
.go-ferma {
  background-color: #f8f3dc;
  border: 1px solid rgba(0,0,0,0.05);
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.reviews {
  background-color: #faf0d3;
}

.info-game h2,
.go-ferma h2,
.reviews h2 {
  color: #4E9F3D;
  font-weight: 600;
}

.info-game p,
.go-ferma p,
.reviews p {
  color: #2e2e2e;
}
.promo-banner {
  background: linear-gradient(135deg, #f8f3dc, #f1e8c4);
  color: #3a3a3a;
  text-align: center;
  padding: 25px 20px;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  margin: 20px auto;
  width: 90%;
}
.promo-button {
  background-color: #4e9f3d;
  color: #fff;
}

.footer {
  text-align: center;
  padding: 15px;
  background-color: #5e5140;
  color: #f4f1e0;
  margin-top: 40px;
  border: none;
  box-shadow: 0 -2px 6px rgba(0,0,0,0.2);
  font-size: 14px;
}
.footer a {
  color: #e2d8a7;
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}
.right-column {
    background-color: #cdae5800;
    max-width: 95%;
    border-radius: 10px;
}
.btn-auth {
  width: 250px;
  background-color: rgb(209, 177, 72);
  color: white;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  border: none;
  border-radius: 7px;
  padding: 10px 20px;
  margin: 0 20px;
  transition:
    background-color 0.5s ease,
    transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
    box-shadow 0.4s ease;
}

.btn-auth:hover {
  background-color: rgb(184, 156, 64);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
}

.btn-auth:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

/* === AURORA STYLE v2: SOFT CAPTCHA === */

.captcha-block {
  margin: 14px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.captcha-code {
  flex: 1;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #d9d9d9;
  background: #abd899;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #2f6b3f; /* мягкий зелёный */
  text-align: center;
  user-select: none;
}

.captcha-refresh {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  border: 1px solid #d9d9d9;
  background: #8ef0ab;
  color: #2f6b3f;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.captcha-refresh:hover {
  background: #eef6f0;
}

.captcha-refresh:active {
  transform: rotate(90deg);
}

.captcha-block input[type="text"] {
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid #d9d9d9;
  background: #ffffff;
  color: #333;
}

.captcha-error {
  font-size: 13px;
  color: #c0392b;
}
