@charset "UTF-8";
:root {
  --primary-color: #4a90d9;
  --primary-dark: #3570b0;
  --primary-light: #6ba3e0;
  --primary-bg: rgba(74, 144, 217, 0.08);
  --secondary-color: #6c757d;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
  \--bg-color: #f5f7fa;
  --card-bg: #ffffff;
  --border-color: #e1e5eb;
  --border-hover: #c5cad3;
  --text-primary: #2c3e50;
  --text-secondary: #5a6b7d;
  --text-muted: #8a94a6;
  --text-light: #a0a8b4;
  \--shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-hover: 0 6px 20px rgba(74, 144, 217, 0.12);
  \--radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  \--transition-fast: 0.15s ease;
  --transition-base: 0.25s ease;
  --transition-slow: 0.35s ease;
  \--font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ============= БАЗОВЫЕ СТИЛИ ============= */
body {
  font-family: var(--font-family);
  background: var(--bg-color);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ============= HEADER ============= */
.header {
  text-align: center;
  padding: 40px 0 30px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 12px;
}

.logo i {
  font-size: 36px;
  color: var(--primary-color);
  background: var(--primary-bg);
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-lg);
}

.logo h1 {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.5px;
}

.subtitle {
  font-size: 15px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ============= MAIN CONTENT ============= */
.main-content {
  padding-bottom: 40px;
}

/* ============= UPLOAD SECTION ============= */
.upload-section {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base);
}

.upload-section:hover {
  box-shadow: var(--shadow-md);
}

/* ============= DRAG & DROP AREA ============= */
.upload-area {
  border: 2px dashed var(--border-color);
  border-radius: var(--radius-lg);
  padding: 50px 30px;
  text-align: center;
  cursor: pointer;
  position: relative;
  background: linear-gradient(135deg, #fafbfc 0%, #f5f6f9 100%);
  transition: all var(--transition-base);
  overflow: hidden;
}

.upload-area::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(74, 144, 217, 0.04) 0%, transparent 70%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.upload-area:hover {
  border-color: var(--primary-light);
  background: linear-gradient(135deg, #f8fafe 0%, #f0f4fb 100%);
}

.upload-area:hover::before {
  opacity: 1;
}

.upload-area.dragover {
  border-color: var(--primary-color);
  background: linear-gradient(135deg, #eef4fb 0%, #e4effa 100%);
  box-shadow: inset 0 0 0 2px var(--primary-color), var(--shadow-lg);
  transform: scale(1.01);
}

.upload-area.dragover::before {
  opacity: 1;
}

.upload-area.dragover .upload-icon i {
  color: var(--primary-color);
  transform: scale(1.15) translateY(-4px);
}

.upload-icon {
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
}

.upload-icon i {
  font-size: 56px;
  color: var(--primary-light);
  transition: all var(--transition-base);
  display: inline-block;
}

.upload-area h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 8px;
  position: relative;
  z-index: 1;
}

.upload-hint {
  font-size: 14px;
  color: var(--primary-color);
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.file-types {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 12px;
  position: relative;
  z-index: 1;
}

.upload-area input[type=file] {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  z-index: 2;
}

/* ============= PROGRESS BAR ============= */
.upload-progress {
  margin-top: 20px;
  position: relative;
  z-index: 3;
}

.progress-bar {
  width: 100%;
  height: 6px;
  background: var(--border-color);
  border-radius: 3px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
  border-radius: 3px;
  width: 0%;
  transition: width var(--transition-base);
  position: relative;
}

.progress-fill::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}
.progress-text {
  display: block;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 8px;
}

/* ============= FILE LIST ============= */
.file-list-section {
  margin-top: 24px;
}

.file-list-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.file-list-section h3 i {
  color: var(--primary-color);
}

.file-list {
  min-height: 60px;
  max-height: 280px;
  overflow-y: auto;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 6px;
  background: var(--bg-color);
}

.file-list::-webkit-scrollbar {
  width: 6px;
}

.file-list::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 3px;
}

.file-list::-webkit-scrollbar-thumb {
  background: var(--border-color);
  border-radius: 3px;
}

.file-list::-webkit-scrollbar-thumb:hover {
  background: var(--border-hover);
}

.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  color: var(--text-muted);
  text-align: center;
}

.empty-state i {
  font-size: 40px;
  margin-bottom: 10px;
  opacity: 0.5;
}

.empty-state p {
  font-size: 14px;
}

.file-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: var(--card-bg);
  border-radius: var(--radius-sm);
  margin-bottom: 4px;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
}

.file-item:hover {
  border-color: var(--border-hover);
  box-shadow: var(--shadow-sm);
}

.file-item-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--primary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.file-item-icon i {
  font-size: 18px;
  color: var(--primary-color);
}

.file-item-icon.pdf {
  background: rgba(220, 53, 69, 0.08);
}

.file-item-icon.pdf i {
  color: #dc3545;
}

.file-item-icon.word {
  background: rgba(40, 167, 69, 0.08);
}

.file-item-icon.word i {
  color: #28a745;
}

.file-item-icon.excel {
  background: rgba(40, 167, 69, 0.08);
}

.file-item-icon.excel i {
  color: #1e7e34;
}

.file-item-icon.txt {
  background: rgba(108, 117, 125, 0.08);
}

.file-item-icon.txt i {
  color: #6c757d;
}

.file-item-icon.ppt {
  background: rgba(220, 140, 40, 0.08);
}

.file-item-icon.ppt i {
  color: #dc8c28;
}

.file-item-info {
  flex: 1;
  min-width: 0;
}

.file-item-name {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 350px;
}

.file-item-size {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.file-item-remove {
  width: 30px;
  height: 30px;
  border: none;
  background: none;
  color: var(--text-muted);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.file-item-remove:hover {
  background: rgba(220, 53, 69, 0.1);
  color: var(--danger-color);
}

.file-item-status {
  font-size: 12px;
  padding: 3px 8px;
  border-radius: 12px;
  font-weight: 500;
}

.file-item-status.uploaded {
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
}

.file-item-status.error {
  background: rgba(220, 53, 69, 0.1);
  color: #dc3545;
}

/* ============= FILE ACTIONS ============= */
.file-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
  justify-content: flex-end;
}

/* ============= BUTTONS ============= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-family);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-primary {
  background: var(--primary-color);
  color: #fff;
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-dark);
  box-shadow: var(--shadow-hover);
}

.btn-secondary {
  background: var(--bg-color);
  color: var(--text-primary);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--border-color);
}

.btn-outline {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  font-size: 13px;
}

.btn-outline:hover:not(:disabled) {
  background: var(--bg-color);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

/* ============= SETTINGS SECTION ============= */
.settings-section {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px 30px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.settings-section h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.settings-section h3 i {
  color: var(--primary-color);
}

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

.setting-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.setting-item label {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

.form-select {
  padding: 10px 14px;
  font-size: 14px;
  font-family: var(--font-family);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background: var(--card-bg);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-fast);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='[](http://www.w3.org/2000/svg)<http://www.w3.org/2000/svg>' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%238a94a6' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(74, 144, 217, 0.12);
}

.form-select:hover {
  border-color: var(--border-hover);
}

/* ============= RESULTS SECTION ============= */
.results-section {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 24px 30px;
  box-shadow: var(--shadow-sm);
}

.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}

.results-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}

.results-header h3 i {
  color: var(--primary-color);
}

.results-actions {
  display: flex;
  gap: 8px;
}

.results-container {
  min-height: 200px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  background: var(--bg-color);
  overflow: hidden;
}

.results-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 50px 20px;
  color: var(--text-muted);
  text-align: center;
}

.results-placeholder i {
  font-size: 48px;
  margin-bottom: 16px;
  opacity: 0.4;
}

.results-placeholder p {
  font-size: 15px;
  font-weight: 500;
}

.placeholder-hint {
  font-size: 13px !important;
  font-weight: 400 !important;
  margin-top: 4px;
}

/* ============= TABS ============= */
.results-content {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.results-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-color);
  background: var(--card-bg);
  padding: 0 12px;
}

.tab-btn {
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-family);
  color: var(--text-muted);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  margin-bottom: -1px;
}

.tab-btn:hover {
  color: var(--text-primary);
}

.tab-btn.active {
  color: var(--primary-color);
  border-bottom-color: var(--primary-color);
}

.tab-content {
  flex: 1;
  overflow: auto;
}

.tab-pane {
  display: none;
  padding: 20px;
  max-height: 400px;
  overflow-y: auto;
}

.tab-pane.active {
  display: block;
}

.tab-pane pre {
  font-family: "SF Mono", "Consolas", "Monaco", "Courier New", monospace;
  font-size: 13px;
  line-height: 1.7;
  white-space: pre-wrap;
  word-break: break-word;
  color: var(--text-primary);
  margin: 0;
}

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

.info-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
}

.info-card-label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.info-card-value {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-primary);
}

/* ============= PROCESSING STATUS ============= */
.processing-status {
  margin-top: 16px;
  background: var(--card-bg);
  border: 1px solid var(--primary-color);
  border-radius: var(--radius-md);
  padding: 16px 20px;
}

.status-header {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.status-header .fa-spinner {
  font-size: 16px;
}

.status-details {
  font-size: 13px;
  color: var(--text-secondary);
}

.status-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 0;
  border-bottom: 1px solid var(--border-color);
}

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

.status-item.completed {
  color: var(--success-color);
}

.status-item.error {
  color: var(--danger-color);
}

.status-item i {
  width: 16px;
  text-align: center;
}

/* ============= MODAL ============= */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--card-bg);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 480px;
  box-shadow: var(--shadow-lg);
  animation: modalIn 0.2s ease;
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px 0;
}

.modal-header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--danger-color);
  display: flex;
  align-items: center;
  gap: 8px;
}

.modal-header h3 i {
  font-size: 18px;
}

.modal-close {
  width: 32px;
  height: 32px;
  border: none;
  background: none;
  font-size: 22px;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--bg-color);
  color: var(--text-primary);
}

.modal-body {
  padding: 16px 24px;
}

.modal-body p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.modal-footer {
  padding: 0 24px 20px;
  display: flex;
  justify-content: flex-end;
}

/* ============= FOOTER ============= */
.footer {
  border-top: 1px solid var(--border-color);
  padding: 20px 0 30px;
  margin-top: 20px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.api-status {
  font-size: 13px;
}

.status-indicator {
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
}

.status-indicator i {
  font-size: 8px;
}

.status-indicator.online i {
  color: var(--success-color);
}

.status-indicator.offline i {
  color: var(--danger-color);
}

.status-indicator.checking i {
  color: var(--warning-color);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.footer-info {
  text-align: right;
}

.footer-info p {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-note {
  font-size: 12px !important;
  margin-top: 4px;
}

/* ============= АДАПТИВНОСТЬ ============= */
@media (max-width: 768px) {
  .container {
    padding: 0 14px;
  }
  .header {
    padding: 28px 0 20px;
  }
  .logo {
    gap: 10px;
  }
  .logo i {
    width: 48px;
    height: 48px;
    font-size: 26px;
  }
  .logo h1 {
    font-size: 22px;
  }
  .subtitle {
    font-size: 14px;
  }
  .upload-section {
    padding: 20px;
  }
  .upload-area {
    padding: 36px 20px;
  }
  .upload-icon i {
    font-size: 42px;
  }
  .upload-area h3 {
    font-size: 16px;
  }
  .upload-hint {
    font-size: 13px;
  }
  .file-types {
    font-size: 11px;
  }
  .settings-section {
    padding: 20px;
  }
  .settings-grid {
    grid-template-columns: 1fr;
  }
  .results-section {
    padding: 20px;
  }
  .results-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .results-actions {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .footer-info {
    text-align: left;
  }
  .file-item-name {
    max-width: 200px;
  }
  .tab-btn {
    padding: 10px 14px;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .header {
    padding: 20px 0 16px;
  }
  .logo h1 {
    font-size: 18px;
  }
  .logo i {
    width: 40px;
    height: 40px;
    font-size: 20px;
  }
  .upload-area {
    padding: 28px 14px;
  }
  .upload-icon i {
    font-size: 36px;
  }
  .upload-area h3 {
    font-size: 15px;
  }
  .file-actions {
    flex-direction: column;
  }
  .file-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .file-item-name {
    max-width: 160px;
  }
}
/* ============= СЕКЦИЯ АНАЛИЗА DEEPSEEK ============= */
.analysis-section {
  margin-top: 20px;
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.analysis-section .analysis-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 20px;
  background: linear-gradient(135deg, #f0f4ff, #e8edfa);
  border-bottom: 1px solid rgba(74, 144, 217, 0.15);
}
.analysis-section .analysis-header h4 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}
.analysis-section .analysis-header h4 i {
  color: var(--primary-color);
}
.analysis-section .analysis-header .document-type-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--card-bg);
  padding: 6px 14px;
  border-radius: 50px;
  border: 1px solid rgba(74, 144, 217, 0.2);
}
.analysis-section .analysis-header .document-type-badge .doc-type-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
}
.analysis-section .analysis-header .document-type-badge .doc-type-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-color);
  text-transform: capitalize;
}
.analysis-section .analysis-header .document-type-badge .doc-type-value[data-type=загранпаспорт] {
  color: #2563eb;
}
.analysis-section .analysis-header .document-type-badge .doc-type-value[data-type="миграционная карта"] {
  color: #7c3aed;
}
.analysis-section .analysis-header .document-type-badge .doc-type-value[data-type=регистрация] {
  color: #059669;
}
.analysis-section .analysis-header .document-type-badge .doc-type-value[data-type=патент] {
  color: #d97706;
}
.analysis-section .analysis-header .document-type-badge .doc-type-value[data-type="разрешение на работу"] {
  color: #dc2626;
}
.analysis-section .analysis-header .document-type-badge .doc-type-value[data-type=id-карта] {
  color: #0891b2;
}
.analysis-section .analysis-header .document-type-badge .doc-type-value[data-type="внутренний паспорт"] {
  color: #4f46e5;
}
.analysis-section .analysis-header .document-type-badge .doc-type-value[data-type=иное], .analysis-section .analysis-header .document-type-badge .doc-type-value[data-type=unknown] {
  color: #6b7280;
}
.analysis-section .analysis-table-wrapper {
  overflow-x: auto;
  padding: 14px 20px;
}
.analysis-section .fields-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}
.analysis-section .fields-table thead th {
  text-align: left;
  padding: 10px 12px;
  font-weight: 600;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  background: #f9fafb;
  border-bottom: 2px solid var(--border-color);
}
.analysis-section .fields-table thead th:first-child {
  width: 35%;
  border-radius: var(--radius-sm) 0 0 0;
}
.analysis-section .fields-table thead th:nth-child(2) {
  width: 55%;
}
.analysis-section .fields-table thead th:last-child {
  width: 10%;
  text-align: center;
  border-radius: 0 var(--radius-sm) 0 0;
}
.analysis-section .fields-table tbody tr {
  transition: background 0.15s ease;
  border-bottom: 1px solid rgba(225, 229, 235, 0.5);
}
.analysis-section .fields-table tbody tr:last-child {
  border-bottom: none;
}
.analysis-section .fields-table tbody tr:hover {
  background: #f8faff;
}
.analysis-section .fields-table tbody td {
  padding: 10px 12px;
  vertical-align: middle;
}
.analysis-section .fields-table tbody .field-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.84rem;
}
.analysis-section .fields-table tbody .field-value {
  color: #374151;
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  word-break: break-word;
}
.analysis-section .fields-table tbody .field-action {
  text-align: center;
}
.analysis-section .fields-table tbody .field-action .copy-field-btn {
  width: 32px;
  height: 32px;
  padding: 0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-color);
  background: var(--card-bg);
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}
.analysis-section .fields-table tbody .field-action .copy-field-btn:hover {
  background: rgba(74, 144, 217, 0.08);
  color: var(--primary-color);
  border-color: var(--primary-color);
}
.analysis-section .fields-table tbody .field-action .copy-field-btn.copied {
  background: #ecfdf5;
  color: #059669;
  border-color: #059669;
}
.analysis-section .analysis-footer {
  padding: 14px 20px;
  background: #f9fafb;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: flex-end;
}
.analysis-section .analysis-footer .btn i {
  margin-right: 4px;
}

/* ============= ДОПОЛНИТЕЛЬНЫЕ УТИЛИТЫ ============= */
.hidden {
  display: none !important;
}

.fade-in {
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.slide-in {
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-10px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
/*# sourceMappingURL=style.css.map */
