/* AI Summary Selector Styles */

.ai-summary-section {
  background: #c8e6c9;
  border-left: 4px solid #2e7d32;
  border-radius: 0.375rem;
  padding: 1.25rem;
  margin: 1.5rem 0;
  font-size: 0.95rem;
  line-height: 1.6;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.ai-summary-section-icons {
  display: flex;
  gap: 0.25rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.ai-summary-section-icon {
  font-size: 1.3rem;
  color: #2e7d32;
}

.ai-summary-section-content {
  flex: 1;
}

.ai-summary-section p {
  margin: 0 0 0.5rem 0;
  color: #333;
}

.ai-summary-section strong {
  color: #0066cc;
  font-weight: 600;
}

.ai-summary-selector {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
  flex-wrap: wrap;
}

.ai-selector-label {
  font-weight: 500;
  color: #333;
  white-space: nowrap;
  font-size: 0.95rem;
}

.ai-selector-dropdown {
  padding: 0.625rem 1rem;
  border: 2px solid #c5d9f1;
  border-radius: 0.375rem;
  background-color: #ffffff;
  color: #333;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 200px;
}

.ai-selector-dropdown:hover {
  border-color: #0066cc;
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
}

.ai-selector-dropdown:focus {
  outline: none;
  border-color: #0066cc;
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

.ai-selector-dropdown option {
  padding: 0.5rem;
  color: #333;
}

.ai-summary-section-hint {
  font-size: 0.85rem;
  color: #666;
  margin-top: 0.5rem;
  font-style: italic;
}

/* Feedback notification */
.ai-selector-feedback {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: #0066cc;
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 0.375rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  font-size: 0.9rem;
  animation: slideIn 0.3s ease-out;
}

.ai-selector-feedback.fade-out {
  animation: fadeOut 0.3s ease-out forwards;
}

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

@keyframes fadeOut {
  to {
    transform: translateX(400px);
    opacity: 0;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .ai-summary-section {
    flex-direction: column;
    align-items: stretch;
  }

  .ai-summary-section-icon {
    text-align: center;
  }

  .ai-summary-selector {
    flex-direction: column;
  }

  .ai-selector-dropdown {
    width: 100%;
  }

  .ai-selector-feedback {
    top: 10px;
    right: 10px;
    left: 10px;
    width: auto;
  }
}
