/* Подключение локальных шрифтов */

/* Bebas Neue Cyrillic - поддержка кириллицы, цифр и латиницы */
@font-face {
  font-family: 'Bebas Neue Cyrillic';
  src: url('/WOFF/Bebas/BebasNeue-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bebas Neue Cyrillic';
  src: url('/WOFF/Bebas/BebasNeue-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bebas Neue Cyrillic';
  src: url('/WOFF/Bebas/BebasNeue-Bold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Bebas Neue Cyrillic';
  src: url('/WOFF/Bebas/BebasNeue-Bold.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

/* Onest - основной шрифт для текста */
@font-face {
  font-family: 'Onest';
  src: url('/WOFF/OnestRegular1602-hint.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('/WOFF/OnestMedium1602-hint.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Onest';
  src: url('/WOFF/OnestBold1602-hint.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* Универсальное правило: ВСЕ заголовки Bebas максимально жирные */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif !important;
  font-weight: 900 !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ВСЕ элементы с Bebas шрифтом должны быть максимально жирными */
[style*="font-family: 'Bebas"],
[class*="bebas"],
.main-header-title,
.sidebar h1,
.sidebar h2,
.sidebar h3,
.tool-title,
.section-title,
.logo-text {
  font-weight: 900 !important;
}

* {
  box-sizing: border-box;
}

/* Современный градиент для кнопок */
.btn-gradient, 
.profile-popup-btn,
.action-btn,
.share-btn,
.btn-primary,
.modal-btn-confirm,
.modal-btn-success,
.upload-btn,
.download-btn,
button[style*="#2385e5"]:not(.auth-button),
button[style*="background: #2385e5"]:not(.auth-button),
[style*="background: #2385e5"]:not(.auth-button) {
  background: linear-gradient(to top, #2385e5, #3984ff) !important;
}

body, html {
  margin: 0;
  padding: 0;
  height: 100%;
  min-height: 100vh;
  font-family: 'Onest', Arial, sans-serif;
  background: #fff;
}
.layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
}
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: 306px;
  height: 100vh;
  background: #2385e5;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding-top: 18px;
  z-index: 20;
}
.logo-block {
  display: flex;
  align-items: center;
  padding: 0 18px 18px 18px;
}
.logo-icon {
  width: 41px;
  height: 43px;
  margin-right: 18px;
}
.logo-text {
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 40px;
  font-weight: 900 !important;
  letter-spacing: 7%;
  text-transform: uppercase;
}
nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.menu-item {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  border-radius: 10px;
  margin: 6px 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Onest', Arial, sans-serif;
  font-size: 15px;
  position: relative;
}

.menu-item:hover {
  transform: translateX(5px);
  background: rgba(255,255,255,0.10);
  box-shadow: 0 2px 12px 0 rgba(255,255,255,0.15);
  margin: 6px 18px 6px 13px; /* Совпадает с .menu-divider: margin 0 18px */
}

.menu-item.active {
  background: white !important;
  color: #2385e5 !important;
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(37,99,235,0.15);
  margin: 6px 18px 6px 13px; /* Совпадает с .menu-divider: margin 0 18px */
}

.menu-item.active .menu-icon {
  color: #2385e5 !important;
  margin-right: 11px;
}

.menu-item:hover .menu-icon {
  margin-right: 11px;
}
.menu-icon {
  width: 20px;
  height: 20px;
  margin-right: 11px;
  stroke: currentColor;
  stroke-width: 1.5;
  color: #ffffff;
}
.menu-label {
  font-family: 'Onest', Arial, sans-serif;
  font-size: 15px;
  letter-spacing: 0.5px;
}
.main-content {
  flex: 1;
  padding: 28px 20px 24px 20px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  padding-top: 81px;
  margin-left: 306px;
}
.main-title {
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 30px;
  color: #171717;
  margin-bottom: 18px;
  margin-top: 0;
  letter-spacing: 1.2px;
  padding: 0;
}
.user-block {
  margin-bottom: 32px;
}
.user-email {
  color: #2385e5;
  font-family: 'Onest', Arial, sans-serif;
  font-size: 18px;
  font-weight: 400;
  margin-right: 0;
}
.welcome {
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 32px;
  color: #171717;
  display: block;
  margin-top: 0;
  cursor: pointer;
  transition: color 0.2s ease;
}

.welcome:hover {
  color: #2385e5;
}
.main-header {
  position: fixed;
  top: 0;
  left: 306px;
  right: 0;
  width: auto;
  height: 81px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  box-shadow: 0 4px 38.9px -5px rgba(0,0,0,0.05);
  z-index: 1000;
  padding: 0 32px 0 36px;
  border-radius: 0;
  margin: 0;
}
.main-header-title {
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 26px;
  color: #171717;
  letter-spacing: 1.2px;
}
.main-header-user {
  display: flex;
  align-items: center;
  gap: 18px;
}

.main-header-user .user-email {
  color: #2385e5;
  font-family: 'Onest', Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  margin-right: 8px;
  display: inline-block;
  visibility: visible;
  opacity: 1;
}
.profile-dropdown {
  position: relative;
  cursor: pointer;
}

.profile-icon {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: #eee;
  object-fit: cover;
  transition: transform 0.2s;
}

.profile-dropdown:hover .profile-icon {
  transform: scale(1.05);
}

/* Новые стили для pop-up меню */
#dropdown-menu {
  min-width: 200px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,147,255,0.13), 0 1.5px 6px rgba(0,0,0,0.09);
  padding: 10px 0;
  display: none;
  position: absolute;
  right: 0;
  top: 60px;
  z-index: 100;
  transition: all 0.2s cubic-bezier(.4,0,.2,1);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
}

.dropdown-item {
  padding: 12px 20px;
  cursor: pointer;
  font-family: 'Onest', Arial, sans-serif;
  font-size: 14px;
  color: #333;
  border-bottom: 1px solid #f0f0f0;
  transition: background-color 0.2s ease;
}

.dropdown-item:hover {
  background-color: #f8f9fa;
}

.dropdown-item:last-child {
  border-bottom: none;
}

.profile-popup-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  color: #2385e5;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  transition: color 0.2s;
}

.profile-popup-close:hover {
  color: #d32f2f;
}

.profile-popup-email {
  text-align: center;
  color: #2385e5;
  font-family: 'Onest', Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 15px;
  padding: 8px 0;
  border-bottom: 1px solid #e1e5e9;
}

.profile-popup-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 10px;
}

.profile-popup-btn {
  width: 100%;
  background: linear-gradient(to top, #2385e5, #3984ff);
  color: #fff;
  border: none;
  border-radius: 12px;
  padding: 14px 0;
  font-size: 16px;
  font-family: 'Onest', sans-serif;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  box-shadow: 0 2px 8px rgba(0,147,255,0.10);
  outline: none;
  letter-spacing: 0.5px;
}

.profile-popup-btn:hover {
  background: linear-gradient(to top, #1E40AF, #2385e5);
  box-shadow: 0 4px 16px rgba(0,147,255,0.13);
}

/* Анимации для формы авторизации */
@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Эффекты для формы авторизации */
#auth-modal input:focus {
  outline: none;
  border-color: #2385e5;
  background: white;
  box-shadow: 0 0 0 3px rgba(0,147,255,0.1);
}

#auth-modal button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,147,255,0.4);
}

#auth-modal button:active {
  transform: translateY(0);
}

/* Анимация загрузки */
.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255,255,255,0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}
.cards-row {
  display: flex;
  gap: 40px;
  margin-top: 40px;
  justify-content: flex-start;
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
  padding: 0 10px;
}
.card {
  background: #fff;
  border-radius: 35px;
  box-shadow: 0 4px 36.6px -10px rgba(0,0,0,0.09);
  padding: 32px 36px;
  flex: 1 1 0;
  min-width: 320px;
  max-width: 627px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  margin-right: 0;
}
.card:last-child {
  margin-right: 0;
}
.card-title {
  font-family: 'Onest', Arial, sans-serif;
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #171717;
}
.card-text {
  font-family: 'Onest', Arial, sans-serif;
  font-size: 13px;
  color: #222;
  line-height: 1.275;
}
.menu-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  width: 100%;
  height: 100%;
}
.menu-link:visited, .menu-link:active {
  color: inherit;
}
.menu-divider {
  height: 1px;
  background: rgba(255,255,255,0.5);
  margin: 0 18px;
  border-radius: 1px;
}

/* Секция расширения */
.extension-section {
  margin-top: auto;
  padding: 18px;
  padding-top: 0;
}

.extension-divider {
  height: 1px;
  background: rgba(255,255,255,0.3);
  margin: 18px 0;
  border-radius: 1px;
}

.extension-button {
  width: 100%;
  background: rgba(255,255,255,0.95);
  color: #2385e5;
  border: none;
  border-radius: 12px;
  padding: 18px 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Onest', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.extension-button:hover {
  background: white;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.extension-button.active {
  background: white;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.extension-icon {
  width: 17px;
  height: 17px;
  margin-right: 12px;
  filter: brightness(0) saturate(100%) invert(35%) sepia(99%) saturate(1199%) hue-rotate(194deg) brightness(98%) contrast(103%);
}

.extension-label {
  font-family: 'Onest', Arial, sans-serif;
  font-size: 14px;
  letter-spacing: 0.3px;
}
#tool-panel {
  width: 100%;
  margin: 0;
  padding: 0;
  max-width: 100%;
  box-sizing: border-box;
}
/* --- Стили для инструментов --- */
.tool-header {
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 24px;
  color: #171717;
  margin-bottom: 24px;
  margin-top: 0;
}
.upload-section {
  background: #f7faff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,147,255,0.07);
  padding: 28px 32px 24px 32px;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
}
.upload-section input[type="file"] {
  display: none;
}
.upload-section textarea {
  font-family: 'Onest', Arial, sans-serif;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #cbe6ff;
  padding: 10px;
  resize: vertical;
  background: #fff;
  margin-bottom: 8px;
}
.upload-section button {
  font-family: 'Onest', Arial, sans-serif;
  font-size: 15px;
  background: #2385e5;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 22px;
  cursor: pointer;
  margin-top: 8px;
  margin-bottom: 8px;
  transition: background 0.2s;
}
.upload-section button:disabled {
  background: #b3dfff;
  cursor: not-allowed;
}
.loading {
  color: #2385e5;
  font-size: 18px;
  text-align: center;
  margin: 18px 0;
}
.results {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 18px 20px;
  margin-top: 18px;
  font-size: 15px;
  color: #222;
  overflow-x: auto;
  word-break: break-word;
}
.rsya-instruction {
  font-size: 15px;
  color: #222;
  background: #f7faff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0,147,255,0.07);
  padding: 28px 32px 24px 32px;
  margin-bottom: 24px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.tool-header h2 {
  font-size: 24px;
  margin: 0 0 18px 0;
}
/* --- Мобильная заглушка --- */
.no-mobile-overlay {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100vw;
  height: 100vh;
  background: #2385e5;
  color: #fff;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 2.2em;
  text-align: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 0 24px;
}
@media (max-width: 1100px) {
  .cards-row { flex-direction: column; gap: 24px; }
  .main-content { padding: 32px 8px; }
}
@media (max-width: 700px) {
  .sidebar { width: 100px; }
  .logo-text { display: none; }
  .main-content { padding: 16px 2%; }
  .cards-row { gap: 12px; }
}
/* Мобильная адаптивность - НЕ скрываем элементы, а адаптируем их */
@media (max-width: 1200px) {
  .sidebar {
    width: 250px;
  }
  
  .main-content {
    margin-left: 250px;
    width: calc(100% - 250px);
  }
  
  .logo-text {
    font-size: 32px;
  }
}

/* Принудительно показываем панель инструментов на всех устройствах */
#tool-panel {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  /* tool-panel находится ВНУТРИ main-content, поэтому не нужны отступы для sidebar */
  padding: 20px;
  margin: 0;
  width: 100%;
  box-sizing: border-box;
}

/* ==========================================
   СТИЛИ ДЛЯ ГЕНЕРАТОРА КЛЮЧЕЙ
   ========================================== */

.generator-container {
  width: 100%;
  padding: 20px;
}

.generator-groups {
  margin-bottom: 30px;
}

.field-group-container {
  margin-bottom: 40px;
}

.group-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  padding: 15px 20px;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 8px;
  border-left: 4px solid #2385e5;
}

.group-title {
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 18px;
  font-weight: 900;
  color: #2385e5;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.delete-group-btn, .clear-group-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-family: 'Onest', sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}

.clear-group-btn {
  background: #6c757d;
}

.delete-group-btn:hover {
  background: #c82333;
}

.clear-group-btn:hover {
  background: #5a6268;
}

.add-group-btn {
  background: white;
  color: #2385e5;
  border: 1px solid #2385e5;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Onest', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.add-group-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(35, 133, 229, 0.3);
}

.generator-fields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.field-group {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

.field-header {
  position: relative; /* Добавляем для абсолютного позиционирования кнопки */
  background: linear-gradient(to top, #2385e5, #3984ff);
  color: white;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 50;
}

.field-title {
  font-family: 'Onest', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.field-count {
  font-size: 12px;
  color: #e9e9e9;
  font-weight: normal;
  margin-top: 2px;
}

.commercial-btn {
  background: white;
  color: #2385e5;
  border: 1px solid #2385e5;
  padding: 8px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-family: 'Onest', Arial, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 6px;
}

.commercial-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(35, 133, 229, 0.3);
}

.clear-field-btn {
  background: transparent;
  color: #999;
  border: none;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-family: 'Onest', Arial, sans-serif;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 4px;
  position: absolute;
  bottom: 8px;
  right: 8px;
  z-index: 10;
}

.clear-field-btn:hover {
  color: #dc3545;
  background: rgba(220, 53, 69, 0.1);
}

.field-buttons {
  display: flex;
  gap: 8px;
  align-items: center;
}

.remove-field-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: #dc3545;
  color: white;
  border: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 999;
  border: 2px solid white;
}

.remove-field-btn:hover {
  background: #dc3545;
  transform: scale(1.1);
}

.keyword-field {
  width: 100%;
  min-height: 300px;
  height: max(300px, calc(100vh - 500px));
  max-height: 500px;
  padding: 20px 20px 40px 20px;
  border: none;
  font-family: 'Onest', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  resize: vertical;
  background: #f8f9fa;
  transition: background 0.3s ease;
  box-sizing: border-box;
}

.keyword-field:focus {
  outline: none;
  background: white;
}

.keyword-field::placeholder {
  color: #999;
  font-style: italic;
}

.generator-actions {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}

.add-field-container {
  display: flex;
  align-items: center;
}

.add-field-btn {
  width: 80%;
  height: 200px;
  background: linear-gradient(to top, #2385e5, #3984ff);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.add-field-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(35, 133, 229, 0.3);
}

.add-icon {
  color: white;
  font-size: 24px;
  font-weight: bold;
}

.generate-btn, .copy-btn, .import-parsing-btn {
  background: linear-gradient(to top, #2385e5, #3984ff);
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-family: 'Onest', Arial, sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 280px;
  text-align: center;
}

.generate-btn:hover, .copy-btn:hover, .import-parsing-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(35, 133, 229, 0.3);
}

.generator-results {
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.results-header {
  background: linear-gradient(to top, #2385e5, #3984ff);
  color: white;
  padding: 15px 20px;
}

.results-header h3 {
  margin: 0;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
}

.results-content {
  padding: 20px;
}

.results-textarea {
  width: 100%;
  min-height: 200px;
  max-height: 400px;
  padding: 15px;
  border: 2px solid #e1e5e9;
  border-radius: 8px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  line-height: 1.6;
  resize: vertical;
  background: #f8f9fa;
  box-sizing: border-box;
}

.results-textarea:focus {
  outline: none;
  border-color: #2385e5;
}

/* ==========================================
   ПОПАП КОММЕРЧЕСКИХ ФРАЗ
   ========================================== */

.commercial-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.popup-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.popup-content {
  background: white;
  border-radius: 16px;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.popup-header {
  background: linear-gradient(to top, #2385e5, #3984ff);
  color: white;
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.popup-header h2 {
  margin: 0;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
}

.close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.popup-body {
  padding: 30px;
  max-height: calc(90vh - 80px);
  overflow-y: auto;
}

.commercial-group {
  margin-bottom: 30px;
}

.group-title {
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 18px;
  color: #2385e5;
  margin: 0 0 15px 0;
  letter-spacing: 0.5px;
}

.words-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 8px;
}

.word-btn {
  background: #f8f9fa;
  border: 1px solid #e1e5e9;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: 'Onest', sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
}

.word-btn:hover {
  background: #e8f4f8;
  border-color: #2385e5;
  transform: translateY(-1px);
}

.word-btn:active {
  background: #2385e5;
  color: white;
  transform: scale(0.98);
}

.word-btn.selected {
  background: #52c41a;
  color: white;
  border-color: #52c41a;
}

/* ==========================================
   ВЕРТИКАЛЬНЫЕ КОММЕРЧЕСКИЕ ФРАЗЫ
   ========================================== */

.commercial-popup-wide .popup-content {
  width: 95%;
  max-width: 1400px;
  height: 90vh;
}

.commercial-columns {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  height: 100%;
}

.commercial-column {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.column-title {
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 16px;
  color: #2385e5;
  margin: 0 0 15px 0;
  letter-spacing: 0.5px;
  text-align: center;
  padding-bottom: 10px;
  border-bottom: 2px solid #e1e5e9;
  flex-shrink: 0;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.words-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  overflow-y: auto;
  flex: 1;
  padding-right: 5px;
}

.words-list::-webkit-scrollbar {
  width: 4px;
}

.words-list::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 2px;
}

.words-list::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 2px;
}

.words-list::-webkit-scrollbar-thumb:hover {
  background: #a8a8a8;
}

.word-btn-vertical {
  background: #f8f9fa;
  border: 1px solid #e1e5e9;
  padding: 8px 12px;
  border-radius: 6px;
  font-family: 'Onest', sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  width: 100%;
  flex-shrink: 0;
}

.word-btn-vertical:hover {
  background: #e8f4f8;
  border-color: #2385e5;
  transform: translateX(2px);
}

.word-btn-vertical:active {
  background: #2385e5;
  color: white;
  transform: scale(0.98);
}

.word-btn-vertical.selected {
  background: #52c41a;
  color: white;
  border-color: #52c41a;
}

/* Адаптивность для вертикальных колонок */
@media (max-width: 1200px) {
  .commercial-columns {
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
  }
  
  .commercial-popup-wide .popup-content {
    width: 98%;
    height: 95vh;
  }
}

@media (max-width: 768px) {
  .commercial-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  
  .column-title {
    font-size: 14px;
    height: 50px;
  }
  
  .word-btn-vertical {
    font-size: 12px;
    padding: 6px 10px;
  }
}

/* ==========================================
   СТИЛИ ДЛЯ ИНСТРУКЦИИ ОТЧЕТОВ РСЯ
   ========================================== */

.upload-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.instruction-btn {
  background: linear-gradient(to top, #2385e5, #3984ff);
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  font-family: 'Onest', sans-serif;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 147, 255, 0.3);
}

.instruction-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 147, 255, 0.4);
}

/* Popup стили */
.instruction-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.instruction-popup-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
}

.instruction-popup-content {
  background: white;
  border-radius: 16px;
  max-width: 1200px;
  width: 100%;
  max-height: 90vh;
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.instruction-popup-header {
  background: linear-gradient(to top, #2385e5, #3984ff);
  color: white;
  padding: 25px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.instruction-popup-header h2 {
  margin: 0;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 24px;
  letter-spacing: 1px;
}

.instruction-close-btn {
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
  padding: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.instruction-close-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.instruction-popup-body {
  padding: 30px;
  max-height: calc(90vh - 100px);
  overflow-y: auto;
}

.instruction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 25px;
}

.instruction-step {
  background: #f8f9fa;
  padding: 25px;
  border-radius: 12px;
  border-left: 4px solid #2385e5;
  transition: all 0.3s ease;
}

.instruction-step:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.instruction-step .step-number {
  background: linear-gradient(to top, #2385e5, #3984ff);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 18px;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  margin-bottom: 15px;
}

.instruction-step h3 {
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 18px;
  color: #2385e5;
  margin: 0 0 10px 0;
  letter-spacing: 0.5px;
}

.instruction-step p {
  margin: 0;
  line-height: 1.6;
  font-size: 14px;
  color: #333;
}

.instruction-visual {
  grid-column: 1 / -1;
  background: white;
  padding: 25px;
  border-radius: 12px;
  border: 2px solid #2385e5;
}

.instruction-visual h3 {
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 20px;
  color: #2385e5;
  margin: 0 0 20px 0;
  text-align: center;
  letter-spacing: 1px;
}

.instruction-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  margin: 0 auto 25px;
  display: block;
}

.instruction-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.checklist-column h4 {
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 16px;
  color: #2385e5;
  margin: 0 0 15px 0;
  letter-spacing: 0.5px;
}

.checklist-items {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.checklist-items span {
  font-size: 13px;
  color: #333;
  padding: 6px 12px;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 3px solid #52c41a;
}

.instruction-warning {
  grid-column: 1 / -1;
  background: linear-gradient(135deg, #fff3cd, #ffeeba);
  border: 1px solid #ffc107;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  font-size: 14px;
}

.instruction-warning strong {
  color: #856404;
}

.highlight-red {
  color: #dc3545;
  font-weight: 600;
  background: rgba(220, 53, 69, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ==========================================
   АДАПТИВНОСТЬ ОТЧЕТОВ РСЯ
   ========================================== */

@media (max-width: 1200px) {
  .instruction-grid {
    grid-template-columns: 1fr;
  }
  
  .instruction-checklist {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .upload-header {
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
  }
  
  .instruction-popup {
    padding: 10px;
  }
  
  .instruction-popup-content {
    max-height: 95vh;
  }
  
  .instruction-popup-header {
    padding: 20px;
  }
  
  .instruction-popup-header h2 {
    font-size: 20px;
  }
  
  .instruction-popup-body {
    padding: 20px;
  }
  
  .instruction-step {
    padding: 20px;
  }
  
  .instruction-visual {
    padding: 20px;
  }
}

/* ==========================================
   АДАПТИВНОСТЬ ГЕНЕРАТОРА
   ========================================== */

@media (max-width: 768px) {
  .generator-fields {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .generator-actions {
    align-items: center;
    gap: 15px;
  }
  
  .field-header {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
  
  .popup-content {
    margin: 10px;
    max-height: 95vh;
  }
  
  .popup-body {
    padding: 20px;
  }
  
  .words-grid {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 6px;
  }
}

/* Стили для отчетов заказчиков */
.client-report {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  overflow: hidden;
}

.client-report-header {
  background: linear-gradient(to top, #2385e5, #3984ff);
  color: white;
  padding: 30px;
  text-align: center;
}

.client-report-header h1 {
  margin: 0 0 15px 0;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 32px;
  font-weight: normal;
}

.report-period {
  display: flex;
  justify-content: center;
  gap: 30px;
  font-size: 16px;
  opacity: 0.9;
}

.main-metrics {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 30px;
  background: #f8f9fa;
}

.metric-card {
  background: white;
  padding: 25px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.metric-card:hover {
  transform: translateY(-2px);
}

.metric-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.metric-value {
  font-size: 28px;
  font-weight: bold;
  color: #2385e5;
  margin-bottom: 8px;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
}

.metric-label {
  font-size: 14px;
  color: #666;
  font-family: 'Onest', Arial, sans-serif;
}

.goals-breakdown,
.campaigns-performance,
.devices-performance {
  padding: 30px;
  border-bottom: 1px solid #e1e5e9;
}

.goals-breakdown h3,
.campaigns-performance h3,
.devices-performance h3 {
  margin: 0 0 20px 0;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 24px;
  color: #333;
}

/* Стили для таблиц отчета */
.goals-table table,
.campaigns-table table {
  width: 100%;
  border-collapse: collapse;
  margin: 15px 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.goals-table th,
.campaigns-table th {
  background: #2385e5;
  color: white;
  padding: 12px;
  text-align: center;
  font-weight: 600;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
}

.goals-table td,
.campaigns-table td {
  padding: 10px 12px;
  text-align: center;
  border-bottom: 1px solid #eee;
  font-size: 14px;
}

.goals-table td:first-child,
.campaigns-table td:first-child {
  text-align: left;
  font-weight: 500;
}

.goals-table tr:nth-child(even),
.campaigns-table tr:nth-child(even) {
  background: #f8f9fa;
}

.goals-table .total-row {
  background: #e3f2fd !important;
  font-weight: 600;
}

.goals-table .total-row td {
  border-top: 2px solid #2385e5;
  padding: 12px;
}

/* Стили для диаграммы трафика */
.traffic-chart-section {
  margin: 30px 0;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.traffic-chart-section h3 {
  color: #2385e5;
  margin: 0 0 20px 0;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
}

.traffic-chart {
  margin: 20px 0;
}

.traffic-bar-container {
  margin-bottom: 20px;
}

.traffic-bar-label {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 14px;
}

.device-name {
  font-weight: 600;
  color: #333;
}

.device-stats {
  color: #666;
  font-size: 13px;
}

.traffic-bar {
  width: 100%;
  height: 25px;
  background: #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
}

.traffic-bar-fill {
  height: 100%;
  border-radius: 12px;
  transition: width 0.5s ease;
}

/* Стили для таблиц ключевых слов, демографии и регионов */
.keywords-table-section,
.demographics-analysis-section,
.regions-table-section {
  margin: 30px 0;
  padding: 20px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.keywords-table-section h3,
.demographics-analysis-section h3,
.regions-table-section h3 {
  color: #2385e5;
  margin: 0 0 20px 0;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 18px;
  letter-spacing: 1px;
}

.keywords-table-container,
.demographics-table-container,
.regions-table-container {
  overflow-x: auto;
  margin: 15px 0;
}

.keywords-table,
.demographics-table,
.regions-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0;
  font-size: 14px;
  background: white;
  border-radius: 8px;
  overflow: hidden;
}

.keywords-table th,
.demographics-table th,
.regions-table th {
  background: #2385e5;
  color: white;
  padding: 12px 8px;
  text-align: center;
  font-weight: 600;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
}

.keywords-table td,
.demographics-table td,
.regions-table td {
  padding: 10px 8px;
  text-align: center;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.keyword-cell,
.demographic-segment,
.region-name {
  text-align: left !important;
  font-weight: 500;
  max-width: 200px;
  word-wrap: break-word;
}

.keywords-table tr:nth-child(even),
.demographics-table tr:nth-child(even),
.regions-table tr:nth-child(even) {
  background: #f8f9fa;
}

.total-row {
  background: #e3f2fd !important;
  font-weight: bold;
}

.devices-list {
  display: grid;
  gap: 15px;
}

.device-item {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  font-family: 'Onest', Arial, sans-serif;
}

.report-footer {
  padding: 30px;
  text-align: center;
  background: #f8f9fa;
  display: flex;
  justify-content: center;
  gap: 15px;
}

.print-btn,
.share-btn {
  background: #2385e5;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-family: 'Onest', Arial, sans-serif;
  font-size: 15px;
  font-weight: 600;
  transition: background 0.2s ease;
}

.print-btn:hover,
.share-btn:hover {
  background: #0066CC;
}

/* Адаптивность */
@media (max-width: 768px) {
  .main-metrics {
    grid-template-columns: 1fr;
    padding: 20px;
  }
  
  .client-report-header {
    padding: 20px;
  }
  
  .client-report-header h1 {
    font-size: 24px;
  }
  
  .report-period {
    flex-direction: column;
    gap: 10px;
  }
  
  .goals-breakdown,
  .campaigns-performance,
  .devices-performance {
    padding: 20px;
  }
  
  .goals-table,
  .campaigns-table {
    overflow-x: auto;
  }
  
  .report-footer {
    flex-direction: column;
    align-items: center;
  }
}

/* Стили для печати */
@media print {
  .client-report {
    box-shadow: none;
    max-width: none;
  }
  
  .report-footer {
    display: none;
  }
  
  .main-metrics {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Итоговая сводка по устройствам */
.devices-summary {
  background: linear-gradient(135deg, #f0f8ff, #e3f2fd);
  border: 2px solid #2385e5;
  border-radius: 12px;
  padding: 25px;
  margin: 30px 0;
  box-shadow: 0 4px 15px rgba(18, 137, 225, 0.1);
}

.devices-summary h3 {
  color: #2385e5;
  margin-bottom: 20px;
  border: none;
  font-size: 22px;
  text-align: center;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.summary-item {
  background: white;
  border-radius: 10px;
  padding: 20px;
  text-align: center;
  border: 1px solid #e1e5e9;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease;
}

.summary-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.summary-device {
  font-weight: 700;
  font-size: 18px;
  color: #333;
  margin-bottom: 15px;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  letter-spacing: 1px;
}

.summary-stats {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.summary-stats div {
  margin: 5px 0;
  padding: 3px 0;
}

/* Улучшения для таблиц ключевых слов */
.keywords-table-section {
  margin: 30px 0;
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.keywords-table-container {
  overflow-x: auto;
  margin: 15px 0;
}

.keywords-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.keywords-table th {
  background: #2385e5;
  color: white;
  padding: 12px 10px;
  text-align: left;
  font-weight: 600;
  font-family: 'Bebas Neue Cyrillic', 'Arial Black', sans-serif;
  font-size: 16px;
  letter-spacing: 1px;
}

.keywords-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
  font-size: 13px;
}

.keywords-table tr:nth-child(even) {
  background: #f8f9fa;
}

.keywords-table tr:hover {
  background: #e3f2fd;
}

.keyword-cell {
  font-weight: 500;
  max-width: 250px;
  word-wrap: break-word;
  color: #333;
}

/* Кнопка удаления поля в генераторе ключей */
.field-group {
  position: relative;
}

.field-group .remove-field-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 9999; /* поверх всего */
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 18px;
  line-height: 1;
  padding: 2px 6px;
  cursor: pointer;
}

.field-group .remove-field-btn:hover {
  color: #f5f5f5;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
  .summary-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  
  .summary-item {
    padding: 15px;
  }
  
  .summary-device {
    font-size: 16px;
  }
  
  .summary-stats {
    font-size: 13px;
  }
  
  .keywords-table-section {
    padding: 15px;
  }
  
  .keywords-table {
    font-size: 12px;
  }
  
  .keywords-table th,
  .keywords-table td {
    padding: 8px 6px;
  }
  
  .keywords-table th {
    font-size: 14px;
  }
}

/* Убираем белые блики и улучшаем фокус */
button:focus, .btn:focus, .tool-button:focus {
  outline: none !important;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2) !important;
}

.logo-link { color: inherit; text-decoration:none; }
.logo-link:visited { color: inherit; }
.logo-link:hover .logo-text { opacity:0.85; }
.logo-text { color:#ffffff; }

/* --- Link override for sidebar --- */
.sidebar a.menu-item{color:#fff;text-decoration:none;display:flex;align-items:center;gap:8px;padding:8px 12px;border-radius:8px;}
.sidebar a.menu-item:hover{background:rgba(255,255,255,0.12);text-decoration:none;}


/* Стили для форм на синем фоне */
.login-container .form-input,
.register-container .form-input,
.reset-container .form-input {
    background: #ffffff !important;
    border: 2px solid #ffffff !important;
    color: #2385e5 !important;
}

.login-container .btn-primary,
.register-container .register-button,
.reset-container .btn-primary {
    background: #ffffff !important;
    color: #2385e5 !important;
    border: none !important;
}

.login-container .btn-primary i,
.register-container .register-button i,
.reset-container .btn-primary i {
    stroke: #2385e5 !important;
}

