@import url('/fonts/Basis Grotesque/stylesheet.css');
/* Основное */
body {
    font-family: 'Basis Grotesque Pro', sans-serif;
  }
a {
    text-decoration: none;
}
  
  .hidden {
    display: none !important;
  }
  

  #news-theme {
    background: #e9eff6;
    border-radius: 20px;
    padding: 60px 30px 30px 30px;
    max-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    text-align: center;
    position: relative;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  .logo {
    max-width: 160px;
    margin-bottom: 24px;
  }
  
  .logo-mobile {
    max-width: 150px;
  }
  
  .star-icon {
    max-width: 48px;
    margin-bottom: 24px;
  }
  
  .news-content {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    padding: 0 20px;
  }
  
  .news-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 12px;
    color: #1c222b;
    letter-spacing: -0.5px;
  }
  
  .news-subtitle {
    font-size: 16px;
    color: #455468;
    max-width: 80%;
  }
 
  
  .dots {
    display: flex;
    gap: 8px;
    margin-top: 10px;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 1;
    }
    50% {
      transform: scale(1.3);
      opacity: 0.7;
    }
    100% {
      transform: scale(1);
      opacity: 1;
    }
  }
  
  .dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
    transition: background 0.3s ease;
  }
  
  .dot.active {
    background: #0f7ae1;
    animation: pulse 1.5s infinite;
  }
  
  
  .auth-form .form-control {
    border-radius: 8px;
    padding-left: 14px;
    font-size: 14px;
    background-color: #f8f9fa;
    font-family: 'Basis Grotesque Pro', sans-serif;
  }
  
  .auth-form .btn-primary {
    background-color: #0f7ae1;
    border: none;
    border-radius: 8px;
    padding: 10px;
    font-size: 14px;
  }
  
  /* Скрыть левую часть на мобильных */
  @media (max-width: 767.98px) {
    #news-theme {
      display: none;
    }
  }
  
  /* Тёмная тема */
  [data-bs-theme="dark"] body {
    background-color: #121212;
    color: #e0e0e0;
  }
  
  [data-bs-theme="dark"] #news-theme {
    background: #2c2c2e;
  }
  
  [data-bs-theme="dark"] .news-title {
    color: #ffffff;
  }
  
  [data-bs-theme="dark"] .news-subtitle {
    color: #a0a0a0;
  }
  
  [data-bs-theme="dark"] .auth-form .form-control {
    background-color: #1f1f1f;
    border: 1px solid #333;
    color: #fff;
  }
  
  [data-bs-theme="dark"] .auth-form .btn-primary {
    background-color: #0f7ae1;
  }
  
  [data-bs-theme="dark"] .small, 
  [data-bs-theme="dark"] .form-check-label, 
  [data-bs-theme="dark"] label {
    color: #cccccc;
  }

  [data-bs-theme="dark"] .container-fluid {
    background-color: #202020;
  }
  
  /* Иконка темы */
  .theme-icon-container {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 36px;
    height: 36px;
    cursor: pointer;
    z-index: 1050;
  }
  
  .theme-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }
  
  .theme-icon.hidden {
    display: none;
  }
  
  
  /* Слайдер индикаторы */
  .dots {
    display: flex;
    gap: 6px;
    margin-top: 20px;
  }
  
  .dot {
    width: 8px;
    height: 8px;
    background: #ccc;
    border-radius: 50%;
  }
  
  .dot.active {
    background: #0f7ae1;
  }
  
  /* Анимация появления */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.show {
    opacity: 1;
    transform: translateY(0);
  }
  
  .fade-text {
    transition: opacity 0.5s ease;
  }
  
  .fade-text.hidden {
    opacity: 0;
  }
  
  .fade-text.visible {
    opacity: 1;
  }
  