/* AI ISA Assistant Module Styles */
/* Extracted from modules/ai_isa_assistant_module.R */

.ai-chat-container {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 20px;
  margin: 20px 0;
  max-height: 600px;
  overflow-y: auto;
}

.ai-message {
  background: white;
  border-left: 4px solid #667eea;
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.user-message {
  background: #e3f2fd;
  border-left: 4px solid #2196f3;
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  margin-left: 40px;
}

.step-indicator {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 15px;
  border-radius: 10px;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 600;
}

.progress-bar-custom {
  height: 30px;
  background: #e0e0e0;
  border-radius: 15px;
  overflow: hidden;
  margin: 10px 0;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
  transition: width 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
}

.element-preview {
  background: white;
  border: 2px solid #ddd;
  border-radius: 8px;
  padding: 10px;
  margin: 5px;
  display: inline-block;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.quick-option {
  background: white;
  border: 2px solid #667eea;
  border-radius: 8px;
  padding: 10px 15px;
  margin: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.quick-option:hover {
  background: #667eea;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.quick-option.selected {
  background: #667eea;
  color: white;
  border-color: #5568d3;
  box-shadow: 0 2px 8px rgba(102, 126, 234, 0.4);
}

.quick-option.selected::after {
  content: ' \2713';
  font-weight: bold;
}

.ai-breadcrumb {
  background: #f8f9fa;
  padding: 10px 15px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 0.9em;
}

.ai-breadcrumb a {
  color: #667eea;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.ai-breadcrumb a:hover {
  color: #5568d3;
  text-decoration: underline;
}

.ai-breadcrumb .separator {
  margin: 0 8px;
  color: #999;
}

.ai-breadcrumb .current {
  color: #333;
  font-weight: 600;
}

.dapsiwrm-diagram {
  background: white;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  padding: 15px;
  margin: 10px 0;
}

.dapsiwrm-box {
  padding: 8px;
  margin: 5px 0;
  border-radius: 5px;
  font-size: 11px;
  text-align: center;
  border: 2px solid;
  font-weight: 600;
}

.dapsiwrm-arrow {
  text-align: center;
  color: #999;
  font-size: 16px;
  margin: 2px 0;
}

.save-status {
  background: #d4edda;
  border: 1px solid #c3e6cb;
  color: #155724;
  padding: 8px 12px;
  border-radius: 5px;
  font-size: 0.85em;
  text-align: center;
  margin: 5px 0;
}

.save-status.warning {
  background: #fff3cd;
  border-color: #ffeaa7;
  color: #856404;
}
