.three-view-error-boundary {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.05);
  min-height: 300px;
}

.error-container {
  max-width: 500px;
  width: 100%;
  padding: 24px;
  background: linear-gradient(
    114deg,
    rgba(255, 255, 255, 0.1) 8.71%,
    rgba(255, 255, 255, 0.05) 69.69%
  ), var(--carrier-main, #006F3A);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  color: white;
  position: relative;
}

.error-header {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.error-icon {
  font-size: 32px;
  margin-right: 12px;
}

.error-title {
  margin: 0;
  font-size: 20px;
  font-weight: 600;
  color: white;
}

.error-message {
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}

.error-reasons {
  margin-bottom: 16px;
}

.error-reasons p {
  margin: 0 0 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
}

.error-reasons ul {
  margin: 8px 0;
  padding-left: 20px;
  color: rgba(255, 255, 255, 0.7);
}

.error-reasons li {
  margin-bottom: 4px;
  font-size: 14px;
}

.error-details {
  margin-bottom: 16px;
  background-color: rgba(0, 0, 0, 0.2);
  padding: 12px;
  border-radius: 6px;
  border-left: 3px solid rgba(255, 255, 255, 0.3);
}

.error-details pre {
  margin: 0;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  word-break: break-word;
  white-space: pre-wrap;
  max-height: 100px;
  overflow-y: auto;
}

.error-actions {
  display: flex;
  gap: 12px;
}

.retry-button {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.retry-button:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.2));
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-1px);
}

.retry-button:active {
  transform: translateY(0);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
}

/* Адаптивность */
@media (max-width: 768px) {
  .three-view-error-boundary {
    padding: 16px;
  }

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

  .error-title {
    font-size: 18px;
  }

  .error-message {
    font-size: 14px;
  }

  .retry-button {
    padding: 10px 20px;
    font-size: 13px;
  }
}
