/* ==== HEADER ==== */
.header-bar {
  background: white;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 20px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: slideDown 0.5s ease-out;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 15px;
}

.header-title {
  font-size: 24px;
  font-weight: 600;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.user-info {
  font-size: 14px;
  color: #666;
}

.btn-logout {
  padding: 10px 20px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-logout:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* ===== ESTILOS PARA MARKDOWN ===== */
.message h1, .message h2, .message h3 {
  margin: 0.5em 0;
  font-weight: bold;
}

.message h1 { font-size: 1.2em; }
.message h2 { font-size: 1.15em; }
.message h3 { font-size: 1.1em; }

.message p {
  margin: 0.5em 0;
}

.message ul, .message ol {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

.message li {
  margin: 0.3em 0;
}

.message code {
  background-color: rgba(0, 0, 0, 0.08);
  padding: 0.2em 0.4em;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
}

.message pre {
  background-color: rgba(0, 0, 0, 0.05);
  padding: 1em;
  border-radius: 8px;
  overflow-x: auto;
  margin: 0.5em 0;
}

.message pre code {
  background: none;
  padding: 0;
}

.message strong {
  font-weight: bold;
}

.message em {
  font-style: italic;
}

.message a {
  color: #667eea;
  text-decoration: underline;
}

.user-message code {
  background-color: rgba(255, 255, 255, 0.2);
}

.user-message a {
  color: white;
}

