/* ===============================
   Кнопка "Боты" — как кнопки меню
   =============================== */

.menu .bots-menu-btn {
  cursor: pointer;
  color: #cfd3dc;
  font-size: 15px;
  padding: 6px 14px;
  border: 1px solid #2a2f38;
  border-radius: 8px;
  transition: all 0.2s ease;
}
/* ===============================
   Кнопка "Видео" — стили как у кнопки "Боты"
   =============================== */

.menu .videos-menu-btn {
  cursor: pointer;
  color: #cfd3dc;
  font-size: 15px;
  padding: 6px 14px;
  border: 1px solid #2a2f38;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.menu .videos-menu-btn:hover {
  border-color: #00e89670;
  color: #00e896;
  box-shadow: 0 0 8px rgba(0, 232, 150, 0.25);
}

.menu .videos-menu-btn.active {
  background: #00e89615;
  border-color: #00e89690;
  color: #00e896;
  box-shadow: 0 0 10px rgba(0, 232, 150, 0.35);
}


/* Ховер — идентично ссылкам меню */
.menu .bots-menu-btn:hover {
  border-color: #00e89670;
  color: #00e896;
  box-shadow: 0 0 8px rgba(0, 232, 150, 0.25);
}

/* Активное состояние — полностью как у ссылок */
.menu .bots-menu-btn.active {
  background: #00e89615;
  border-color: #00e89690;
  color: #00e896;
  box-shadow: 0 0 10px rgba(0, 232, 150, 0.35);
}


/* ===============================
   Модалка ботов (выпадающее окно)
   =============================== */

.bots-dropdown {
  position: absolute;
  top: 60px;
  left: 50%;
  transform: translateX(-50%);
  background: #0b0d11;
  border: 1px solid #1f232b;
  border-radius: 8px;
  padding: 14px;
  min-width: 280px;
  z-index: 9999;
  display: none;
  box-shadow: 0 6px 20px rgba(0,0,0,0.45);
}

.bots-dropdown.open {
  display: block;
}

/* Карточка внутри модалки */
.bot-card {
  background: #141922;
  border: 1px solid #00e89650;
  padding: 16px;
  border-radius: 10px;
}

.bot-title {
  color: #00e896;
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 6px;
}

.bot-desc {
  color: #b7bac1;
  font-size: 14px;
  line-height: 1.35;
  margin-bottom: 10px;
}

.bot-open-btn {
  width: 100%;
  background: #00e896;
  border: none;
  border-radius: 6px;
  padding: 8px 12px;
  color: #0b0d11;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s;
}

.bot-open-btn:hover {
  background: #0bd48a;
}
/* ===== Кнопки авторизации в navbar ===== */

.auth-buttons .login-btn,
.auth-buttons .register-btn {
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    border: 1px solid #00e89650;
    background: rgba(0, 232, 150, 0.08);
    color: #00e896;
    margin-left: 10px;
    cursor: pointer;
    transition: 0.2s ease;
    text-decoration: none;
}

.auth-buttons .login-btn:hover,
.auth-buttons .register-btn:hover {
    background: rgba(0, 232, 150, 0.18);
}

/* авторизованный пользователь */
.user-menu {
    display: flex;
    align-items: center;
}

.username {
    padding: 6px 12px;
    border-radius: 6px;
    background: rgba(0, 232, 150, 0.1);
    border: 1px solid #00e89640;
    color: #00e896;
    margin-right: 10px;
    font-size: 14px;
}

.logout-btn {
    padding: 6px 14px;
    border-radius: 8px;
    background: #d9534f15;
    color: #ff6e6e;
    border: 1px solid #ff6e6e50;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: 0.2s ease;
}

.logout-btn:hover {
    background: #ff6e6e25;
}

.auth-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
.auth-box {
    background: #10141a;
    border: 1px solid #1f232b;
    padding: 35px 40px;
    border-radius: 10px;
    width: 360px;
    color: #e0e0e0;
    box-shadow: 0 0 25px rgba(0,0,0,0.45);
}
.hidden { display: none; }

.field { margin-bottom: 20px; }
.input-field {
    width: 100%;
    padding: 10px 12px;
    border-radius: 6px;
    border: 1px solid #333;
    background: #141922;
    color: #e0e0e0;
}
.input-field:focus { outline: none; border-color: #00e896; }

.btn-green {
    width: 100%;
    padding: 10px 16px;
    background: #00e896;
    border: none;
    border-radius: 6px;
    color: #000;
    font-weight: 600;
    cursor: pointer;
    font-size: 15px;
}
.alt-link {
    margin-top: 16px;
    text-align: center;
    color: #ccc;
}
.alt-link a { color: #00e896; }
.lang-switch {
    display: flex;
    gap: 6px;
    align-items: center;
    margin-left: 10px;
}

.lang-switch .lang {
    background: none;
    border: 1px solid #00e896;
    color: #00e896;
    padding: 3px 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
}

.lang-switch .lang.active {
    background: #00e896;
    color: #0b0d11;
}

/* =======================================================
   Notifications Modal — оформление
   ======================================================= */

#notifications-modal.modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    z-index: 9999;
    display: none;
}

#notifications-modal.modal:not(.hidden) {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 80px;
}

#notifications-modal .modal-content {
    width: 380px;
    max-height: 70vh;
    background: #161b22;
    border-radius: 12px;
    border: 1px solid #2a313c;
    padding: 20px;
    overflow-y: auto;
}

#notifications-modal .modal-title {
    font-size: 20px;
    margin-bottom: 15px;
    text-align: center;
    color: #fff;
}

#notifications-list .notify-item,
.notify-list .notify-item {
    background: #1f242d;
    border: 1px solid #2a313c;
    border-radius: 10px;
    padding: 12px;
    margin-bottom: 12px;
}

.notify-item-title {
    color: #00e896;
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.notify-item-text {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 8px;
}

.notify-item-date {
    font-size: 12px;
    color: #888;
}

.notify-hide-btn {
    background: transparent;
    border: none;
    color: #ff6969;
    font-size: 13px;
    float: right;
    cursor: pointer;
}
#notifications-modal .modal-title {
    color: #00e896 !important;
}
