/* === Стили для страницы авторизации === */

/* Основные стили страницы */
body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: var(--main-font);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
  }
  
  .auth-container {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
  }
  
  .auth-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(196, 255, 0, 0.15) 0%, rgba(17, 17, 17, 0) 70%);
    z-index: 0;
  }
  
  /* Стили для карточки авторизации */
  .auth-card {
    background-color: var(--light-bg);
    border-radius: 12px;
    width: 100%;
    max-width: 450px;
    padding: 40px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.5s ease forwards;
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .auth-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: center;
  }
  
  .logo-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    position: relative;
  }
  
  .logo-circle:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--dark-bg);
  }
  
  .logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-light);
  }
  
  .logo-text small {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--primary-color);
  }
  
  .auth-title {
    font-size: 1.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    color: var(--text-light);
  }
  
  /* Стили для формы авторизации */
  .auth-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }
  
  .form-group {
    margin-bottom: 5px;
  }
  
  .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-light);
    font-weight: 500;
    font-size: 0.9rem;
  }
  
  .input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
  }
  
  .input-with-icon i {
    position: absolute;
    left: 15px;
    color: var(--text-gray);
    font-size: 18px;
  }
  
  .input-with-icon input {
    width: 100%;
    padding: 14px 15px 14px 45px;
    border-radius: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    font-family: var(--main-font);
    font-size: 1rem;
    transition: all 0.3s ease;
  }
  
  .input-with-icon input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(196, 255, 0, 0.2);
  }
  
  .password-input {
    position: relative;
  }
  
  .password-toggle {
    position: absolute;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-gray);
    cursor: pointer;
    font-size: 18px;
  }
  
  .password-toggle:hover {
    color: var(--primary-color);
  }
  
  .form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
  }
  
  .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
  }
  
  .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
  }
  
  .checkbox-text {
    font-size: 0.9rem;
    color: var(--text-gray);
  }
  
  .forgot-password {
    font-size: 0.9rem;
    color: var(--primary-color);
    transition: all 0.3s ease;
  }
  
  .forgot-password:hover {
    text-decoration: underline;
  }
  
  .form-actions {
    margin-top: 20px;
  }
  
  .primary-button {
    background-color: var(--primary-color);
    color: var(--dark-bg);
    font-weight: 700;
    padding: 14px 24px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
  }
  
  .primary-button:hover {
    background-color: transparent;
    color: var(--primary-color);
  }
  
  .full-width {
    width: 100%;
  }
  
  .auth-footer {
    text-align: center;
    margin-top: 30px;
    font-size: 0.8rem;
    color: var(--text-gray);
  }
  
  /* Стили для модального окна восстановления пароля */
  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .modal.active {
    opacity: 1;
    visibility: visible;
  }
  
  .modal-content {
    width: 100%;
    max-width: 450px;
    background-color: var(--light-bg);
    border-radius: 12px;
    overflow: hidden;
    transform: scale(0.9);
    transition: all 0.3s ease;
  }
  
  .modal.active .modal-content {
    transform: scale(1);
  }
  
  .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(0, 0, 0, 0.2);
  }
  
  .modal-header h3 {
    font-size: 1.3rem;
    font-weight: 700;
  }
  
  .modal-close {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-color);
    color: var(--text-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 18px;
  }
  
  .modal-close:hover {
    background-color: var(--primary-color);
    color: var(--dark-bg);
  }
  
  .modal-description {
    margin-bottom: 20px;
    color: var(--text-gray);
    font-size: 0.95rem;
    line-height: 1.5;
  }
  
  /* Адаптивные стили */
  @media (max-width: 576px) {
    .auth-card {
      padding: 30px 20px;
    }
    
    .auth-title {
      font-size: 1.5rem;
    }
    
    .form-options {
      flex-direction: column;
      align-items: flex-start;
      gap: 15px;
    }
    
    .forgot-password {
      align-self: flex-end;
    }
  }