.results-display {
  height: 100%;
  overflow-y: auto;
  background-color: #1a1a1a;
  font-family: 'Consolas', 'Monaco', monospace;
  color: #e0e0e0;
  display: flex;
  flex-direction: column;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.results-content {
  flex-grow: 1;
  overflow-y: auto;
  margin-bottom: -0.25rem;
}

.results-display pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  height: 100%;
  overflow-y: auto;
  padding: 4rem 1rem !important;
  animation: fadeInOut 0.5s ease-in-out;
  line-height: 1.5;
}

@keyframes fadeInOut {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.error {
  background-color: rgba(244, 67, 54, 0.2);
  color: #ff6b6b;
  font-weight: bold;
  padding-left: 12px;
  border-radius: 0 4px 4px 0;
}

.results-empty {
  padding: 4rem 1rem !important;
  color: #888;
  font-style: italic;
}

/* Add blur effect to top and bottom of left panel */
.left-panel-before {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 4rem;
  z-index: 1;
  pointer-events: none;
  width: 100%;
  backdrop-filter: blur(5px);
  background: linear-gradient(to top, rgba(26, 26, 26, 0), rgba(26, 26, 26, 0.9));
}

.bottom-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4rem;
  z-index: 1;
}

.left-panel-after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100%;
  width: 100%;
  backdrop-filter: blur(5px);
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(26, 26, 26, 0), rgba(26, 26, 26, 0.9));
}

.format-selector {
  position: absolute;
  right: 4rem;
  bottom: 1rem;
  display: flex;
  gap: 1.5rem;
  z-index: 2;
}

.format-selector label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #e0e0e0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.format-selector label:hover {
  color: #fff;
}

.format-selector input[type="radio"] {
  cursor: pointer;
  accent-color: #8c52ff;
}

.search-container {
  width: calc(100% - 7rem);
  position: absolute;
  top: 1rem;
  left: 1rem;
  right: 1rem;
  z-index: 2;
}

.history-modal-open .search-container {
  z-index: 1;
}

.results-search-input {
  font-family: monospace;
  width: 100%;
  padding: 10px 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(40, 40, 40, 0.8);
  color: #e0e0e0;
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 0 0 rgba(255, 87, 87, 0), 0 0 0 0 rgba(140, 82, 255, 0);
}

.results-search-input:focus {
  border-color: transparent;
  box-shadow: 0 0 0 1px rgba(255, 87, 87, 0.5), 0 0 0 3px rgba(140, 82, 255, 0.3);
}

.results-search-input::placeholder {
  color: #888;
}

.info-response {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  padding: 1rem;
  border-radius: 8px;
  margin: 4rem 1rem 1rem 1rem;
  border-left: 3px solid #4caf50;
  font-family: 'Consolas', 'Monaco', monospace;
  animation: fadeInOut 0.5s ease-in-out;
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.2);
}

.info-response pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 14px;
  line-height: 1.5;
  color: #4caf50;
  text-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
}

.info-notification {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 10000;
  max-width: 400px;
  animation: slideIn 0.3s ease-out, fadeOut 0.5s ease-in 2.5s;
}

.notification-content {
  background-color: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid #4caf50;
  font-family: 'Consolas', 'Monaco', monospace;
  box-shadow: 0 0 15px rgba(76, 175, 80, 0.2), 0 5px 15px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(5px);
}

.notification-content pre {
  margin: 0;
  white-space: pre-wrap;
  word-wrap: break-word;
  font-size: 14px;
  line-height: 1.5;
  color: #4caf50;
  text-shadow: 0 0 5px rgba(76, 175, 80, 0.3);
  padding: 0 !important;
}

@keyframes slideIn {
  from {
    transform: translateY(20px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

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