/* /Components/Layout/AuthLayout.razor.rz.scp.css */
.auth-layout[b-o1xv4xe3rv] {
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

#blazor-error-ui[b-o1xv4xe3rv] {
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss[b-o1xv4xe3rv] {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}
/* /Components/Layout/MainLayout.razor.rz.scp.css */
/* Стили для MudBlazor layout вместо по умолчанию, так как используется MudLayout */

.page[b-svknfetayn] {
  position: relative;
  display: flex;
  flex-direction: column;
}

main[b-svknfetayn] {
  flex: 1;
}

.sidebar[b-svknfetayn] {
  background-image: linear-gradient(180deg, rgb(5, 39, 103) 0%, #3a0647 70%);
}

.top-row[b-svknfetayn] {
  background-color: #f7f7f7;
  border-bottom: 1px solid #d6d5d5;
  justify-content: flex-end;
  height: 3.5rem;
  display: flex;
  align-items: center;
  padding: 0 1.5rem;
}

.sidebar .top-row[b-svknfetayn] {
  background-color: rgba(0,0,0,0.4);
  color: white;
  justify-content: flex-start;
}

.sidebar .top-row h3[b-svknfetayn] {
  color: white;
  margin: 0;
  font-size: 1.1rem;
}

.top-row[b-svknfetayn]  a, .top-row[b-svknfetayn]  .btn-link {
  white-space: nowrap;
  margin-left: 1.5rem;
  text-decoration: none;
}

.top-row[b-svknfetayn]  a:hover, .top-row[b-svknfetayn]  .btn-link:hover {
  text-decoration: underline;
}

.top-row[b-svknfetayn]  a:first-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.content[b-svknfetayn] {
  padding: 1rem 1.5rem;
}

.nav[b-svknfetayn] {
  padding: 1rem;
}

/* Стили для навигационного меню - светлый текст для темного фона */
.nav[b-svknfetayn]  .mud-nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
}

.nav[b-svknfetayn]  .mud-nav-link:hover {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
}

.nav[b-svknfetayn]  .mud-nav-link.active {
  color: white !important;
  background-color: rgba(255, 255, 255, 0.15) !important;
}

.nav[b-svknfetayn]  .mud-nav-link .mud-icon-root {
  color: rgba(255, 255, 255, 0.85) !important;
}

.nav[b-svknfetayn]  .mud-nav-link:hover .mud-icon-root,
.nav[b-svknfetayn]  .mud-nav-link.active .mud-icon-root {
  color: white !important;
}

/* Стили для размещения UserInfo */
main .top-row[b-svknfetayn] {
  justify-content: flex-end;
  width: 100%;
}

@media (max-width: 640.98px) {
  .top-row[b-svknfetayn] {
    justify-content: space-between;
    padding: 0 1rem;
  }

  .top-row[b-svknfetayn]  a, .top-row[b-svknfetayn]  .btn-link {
    margin-left: 0;
  }
}

@media (min-width: 641px) {
  .page[b-svknfetayn] {
    flex-direction: row;
  }

  .sidebar[b-svknfetayn] {
    width: 250px;
    height: 100vh;
    position: sticky;
    top: 0;
  }

  .top-row[b-svknfetayn] {
    position: sticky;
    top: 0;
    z-index: 1;
  }

  .top-row.auth[b-svknfetayn]  a:first-child {
    flex: 1;
    text-align: right;
    width: 0;
  }

  .top-row[b-svknfetayn], .content[b-svknfetayn] {
    padding-left: 2rem !important;
    padding-right: 1.5rem !important;
  }
}

#blazor-error-ui[b-svknfetayn] {
  color-scheme: light only;
  background: lightyellow;
  bottom: 0;
  box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  display: none;
  left: 0;
  padding: 0.6rem 1.25rem 0.7rem 1.25rem;
  position: fixed;
  width: 100%;
  z-index: 1000;
}

#blazor-error-ui .dismiss[b-svknfetayn] {
  cursor: pointer;
  position: absolute;
  right: 0.75rem;
  top: 0.5rem;
}
/* /Components/Pages/Documents.razor.rz.scp.css */
.documents-page .mud-paper[b-5rx6sucydh] {
  height: 100%;
}

.documents-page .mud-alert[b-5rx6sucydh] {
  margin-top: 16px;
}
/* /Components/Pages/DocumentSearch.razor.rz.scp.css */
.fixed-bottom-search[b-98e733dqwr] {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: var(--mud-palette-background);
  border-top: 1px solid var(--mud-palette-divider);
}

.found-text[b-98e733dqwr] {
  max-height: 300px;
  overflow-y: auto;
  padding: 8px;
  background-color: var(--mud-palette-background-grey);
  border-radius: 4px;
}

/* Отступ снизу для контента, чтобы не скрывался под поисковым полем */
.mud-container[b-98e733dqwr] {
  padding-bottom: 120px;
}
/* /Components/Pages/Login.razor.rz.scp.css */
.login-container[b-755ip8aw3w] {
  display: flex;
  height: 100vh;
  background-color: #191C30;
  overflow: hidden;
}

.login-left[b-755ip8aw3w] {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #191C30;
}

.logo-container[b-755ip8aw3w] {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.auth-logo[b-755ip8aw3w] {
  max-width: 400px;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
}

.login-right[b-755ip8aw3w] {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background-color: #191C30;
}

.login-form-container[b-755ip8aw3w] {
  width: 100%;
  max-width: 450px;
}

.login-header[b-755ip8aw3w] {
  text-align: center;
  margin-bottom: 2rem;
}

.login-header h1[b-755ip8aw3w] {
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1.4;
  margin: 0;
}

.login-form-wrapper[b-755ip8aw3w] {
  width: 100%;
}

.login-form[b-755ip8aw3w] {
  width: 100%;
}

.login-card[b-755ip8aw3w] {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

.form-title[b-755ip8aw3w] {
  text-align: center;
  margin-bottom: 1.5rem;
}

.login-button[b-755ip8aw3w] {
  margin-top: 1rem;
  height: 48px;
}

/* Responsive design */
@media (max-width: 768px) {
  .login-container[b-755ip8aw3w] {
    flex-direction: column;
  }

  .login-left[b-755ip8aw3w] {
    flex: 0 0 auto;
    height: 200px;
    padding: 1rem;
  }

  .auth-logo[b-755ip8aw3w] {
    max-width: 150px;
    max-height: 150px;
  }

  .login-right[b-755ip8aw3w] {
    flex: 1;
    padding: 1rem;
  }

  .login-header h1[b-755ip8aw3w] {
    font-size: 1.2rem;
  }

  .login-form-container[b-755ip8aw3w] {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .login-left[b-755ip8aw3w] {
    height: 150px;
  }

  .auth-logo[b-755ip8aw3w] {
    max-width: 120px;
    max-height: 120px;
  }

  .login-header h1[b-755ip8aw3w] {
    font-size: 1.1rem;
  }
}
/* /Components/Pages/QuickCheck.razor.rz.scp.css */
/* Стили для страницы быстрой проверки документов */

.quick-check-container[b-kur7yh98ix] {
  height: calc(100vh - 200px);
  min-height: 700px;
}

.document-input-panel[b-kur7yh98ix],
.result-panel[b-kur7yh98ix] {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 700px; /* Принудительная минимальная высота */
}

.document-input-section[b-kur7yh98ix] {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 1rem;
}

.document-textarea[b-kur7yh98ix] {
  flex-grow: 1;
  min-height: 500px; /* Минимальная высота для textarea */
}

  /* Принудительная высота для MudTextField */
  .document-textarea .mud-input[b-kur7yh98ix] {
    height: 100%;
  }

  .document-textarea .mud-input-control[b-kur7yh98ix] {
    height: 100%;
  }

  .document-textarea textarea[b-kur7yh98ix] {
    height: 100% !important;
    min-height: 500px !important;
    resize: none;
  }

.button-section[b-kur7yh98ix] {
  flex-shrink: 0;
  margin-top: auto;
}

.result-content[b-kur7yh98ix] {
  flex-grow: 1;
  overflow-y: auto;
  min-height: 500px; /* Минимальная высота для контента результата */
}

.result-placeholder[b-kur7yh98ix] {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 500px; /* Минимальная высота для placeholder */
}

.processing-indicator[b-kur7yh98ix] {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  text-align: center;
  padding: 2rem 1rem;
  min-height: 500px; /* Минимальная высота для индикатора */
}

.panel-header[b-kur7yh98ix] {
  flex-shrink: 0;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0,0,0,0.12);
}

.panel-content[b-kur7yh98ix] {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  min-height: 0; /* Позволяет flex-детям сжиматься */
}

.button-grid[b-kur7yh98ix] {
  margin-top: auto;
  padding-top: 1rem;
}

.severity-chip[b-kur7yh98ix] {
  margin-right: 0.5rem;
}

.issue-card[b-kur7yh98ix] {
  margin-bottom: 0.5rem;
  transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
}

  .issue-card:hover[b-kur7yh98ix] {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  }

.compliance-alert[b-kur7yh98ix] {
  margin-bottom: 1rem;
}

.file-info-alert[b-kur7yh98ix] {
  margin-top: 0.5rem;
}

/* Улучшение визуального баланса */
.mud-paper[b-kur7yh98ix] {
  box-shadow: 0 4px 8px rgba(0,0,0,0.12), 0 2px 4px rgba(0,0,0,0.08);
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.05);
}

  .mud-paper:hover[b-kur7yh98ix] {
    box-shadow: 0 6px 12px rgba(0,0,0,0.15), 0 3px 6px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s ease-in-out;
  }

/* Стили для placeholder контента */
.result-placeholder .mud-icon[b-kur7yh98ix] {
  opacity: 0.7;
}

.result-placeholder h6[b-kur7yh98ix] {
  font-weight: 600;
}

/* Стили для кнопок */
.mud-button-root[b-kur7yh98ix] {
  border-radius: 8px;
  font-weight: 500;
  text-transform: none;
}

/* Адаптивные стили только для мобильных устройств */
@media (max-width: 768px) {
  .quick-check-container[b-kur7yh98ix] {
    height: auto;
    min-height: auto;
  }

  .document-input-panel[b-kur7yh98ix],
  .result-panel[b-kur7yh98ix] {
    height: auto;
    min-height: 400px;
    margin-bottom: 1rem;
  }

  .document-textarea[b-kur7yh98ix] {
    min-height: 200px;
  }

    .document-textarea textarea[b-kur7yh98ix] {
      min-height: 200px !important;
    }

  .result-content[b-kur7yh98ix],
  .result-placeholder[b-kur7yh98ix],
  .processing-indicator[b-kur7yh98ix] {
    min-height: 250px;
  }

  .panel-header[b-kur7yh98ix] {
    text-align: center;
  }

  .result-placeholder[b-kur7yh98ix],
  .processing-indicator[b-kur7yh98ix] {
    padding: 1rem 0.5rem;
  }
}

/* Анимации для улучшения UX */
.mud-progress-circular[b-kur7yh98ix] {
  animation: spin-b-kur7yh98ix 1s linear infinite;
}

@keyframes spin-b-kur7yh98ix {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.fade-in[b-kur7yh98ix] {
  animation: fadeIn-b-kur7yh98ix 0.4s ease-out;
}

@keyframes fadeIn-b-kur7yh98ix {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Анимация для placeholder */
.result-placeholder[b-kur7yh98ix] {
  animation: pulse-subtle-b-kur7yh98ix 2s ease-in-out infinite;
}

@keyframes pulse-subtle-b-kur7yh98ix {
  0%, 100% {
    opacity: 1;
  }

  50% {
    opacity: 0.8;
  }
}

/* Стили для улучшения читаемости */
.mud-text[b-kur7yh98ix] {
  line-height: 1.5;
}

.mud-alert[b-kur7yh98ix] {
  border-radius: 8px;
}

.mud-card[b-kur7yh98ix] {
  border-radius: 8px;
}

/* Стили для текстового поля */
.mud-input-outlined .mud-input-outlined-border[b-kur7yh98ix] {
  border-radius: 8px;
}

/* Стили для улучшения визуальной иерархии */
.panel-header .mud-text[b-kur7yh98ix] {
  font-weight: 600;
}

.compliance-alert .mud-alert-content[b-kur7yh98ix] {
  align-items: center;
}

.issue-card .mud-card-content[b-kur7yh98ix] {
  padding: 16px;
}
/* /Components/Pages/RegulatoryDocuments.razor.rz.scp.css */
.document-list-item[b-tl6k6w0zpj] {
  border-radius: 8px;
  transition: background-color 0.2s;
}

.document-list-item:hover[b-tl6k6w0zpj] {
  background-color: rgba(0, 0, 0, 0.04);
}

.document-list-item.mud-selected[b-tl6k6w0zpj] {
  background-color: rgba(98, 0, 238, 0.08);
}

.document-list-item .d-flex.gap-1[b-tl6k6w0zpj] {
  opacity: 0;
  transition: opacity 0.2s;
}

.document-list-item:hover .d-flex.gap-1[b-tl6k6w0zpj] {
  opacity: 1;
}

.document-list-item.mud-selected .d-flex.gap-1[b-tl6k6w0zpj] {
  opacity: 0.7;
}

.document-list-item.mud-selected:hover .d-flex.gap-1[b-tl6k6w0zpj] {
  opacity: 1;
}

/* Стили для статей */
.article-panel .article-actions[b-tl6k6w0zpj] {
  opacity: 1;
  transition: opacity 0.2s;
}

.article-panel:hover .article-actions[b-tl6k6w0zpj] {
  opacity: 1;
}

/* Контейнер для заголовка статьи - используем CSS Grid */
.article-title-container[b-tl6k6w0zpj] {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  width: 100%;
}

/* Текстовая часть статьи */
.article-text-wrapper[b-tl6k6w0zpj] {
  min-width: 0;
  overflow: hidden;
}

.article-title[b-tl6k6w0zpj] {
  font-weight: 500;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.5;
  display: block;
}

.article-meta[b-tl6k6w0zpj] {
  font-size: 0.75rem;
  color: var(--mud-palette-text-secondary);
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  line-height: 1.5;
  display: block;
}

/* Кнопки не сжимаются */
.article-buttons[b-tl6k6w0zpj] {
  display: flex;
  gap: 4px;
  white-space: nowrap;
  justify-self: end;
}
/* /Components/Shared/UserInfo.razor.rz.scp.css */
.user-info[b-sv1ck90bw5] {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 1rem;
}

.user-details[b-sv1ck90bw5] {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.user-icon[b-sv1ck90bw5] {
  color: var(--mud-palette-primary);
}

.user-name[b-sv1ck90bw5] {
  font-weight: 500;
  color: var(--mud-palette-text-primary);
  min-width: max-content;
}

.logout-button[b-sv1ck90bw5] {
  margin-left: 0.5rem;
}

.login-button[b-sv1ck90bw5] {
  color: var(--mud-palette-primary);
}

@media (max-width: 768px) {
  .user-name[b-sv1ck90bw5] {
    display: none;
  }
  
  .user-details[b-sv1ck90bw5] {
    gap: 0.25rem;
  }
}
