/* 🎨 DEADLY PURSUER CHAT - BASE STYLES */
/* Estilos base del chatbot (extraídos del HTML) */

* { 
  margin: 0; 
  padding: 0; 
  box-sizing: border-box; 
}

/* ===== LOADING SCREEN ===== */
.loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--gradient-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  transition: opacity 0.5s, visibility 0.5s;
}

.loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
}

.loading-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
  animation: pulse 1.5s ease-in-out infinite, float 3s ease-in-out infinite;
  filter: drop-shadow(var(--shadow-glow));
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 3px solid var(--border-color);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  box-shadow: var(--shadow-glow);
}

.loading-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-top: 20px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.05); opacity: 0.8; }
}

/* ===== BODY & CONTAINER ===== */
body {
  font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--primary-bg);
  height: 100vh;
  height: 100dvh;
  display: flex;
  overflow: hidden;
  position: fixed;
  width: 100%;
  touch-action: pan-y;
  color: var(--text-primary);
}

.app-container {
  display: flex;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--gradient-dark);
}

/* ===== ACHIEVEMENTS SIDEBAR ===== */
.achievements-sidebar {
  width: 280px;
  background: var(--secondary-bg);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.achievements-sidebar.hidden {
  width: 0;
  border: none;
}

.achievements-header {
  background: #202c33;
  padding: 15px;
  color: #e9edef;
  font-weight: 500;
  border-bottom: 1px solid #2a3942;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.achievements-list {
  flex: 1;
  overflow-y: auto;
  padding: 10px;
}

.achievement-card {
  background: #1f2c34;
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  border-left: 4px solid #ffd700;
  transition: all 0.2s;
}

.achievement-card.locked {
  opacity: 0.5;
  border-left-color: #8696a0;
}

.achievement-card:hover {
  background: #2a3942;
}

.achievement-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 5px;
}

.achievement-emoji {
  font-size: 1.2rem;
}

.achievement-name {
  color: #ffd700;
  font-weight: 500;
  font-size: 0.9rem;
}

.achievement-desc {
  color: #8696a0;
  font-size: 0.8rem;
  margin-bottom: 5px;
}

.achievement-progress {
  color: #00a884;
  font-size: 0.75rem;
  font-weight: 500;
}

.toggle-achievements {
  background: none;
  border: none;
  color: #8696a0;
  cursor: pointer;
  font-size: 1rem;
  padding: 5px;
}

.toggle-achievements:hover {
  color: #e9edef;
}

/* ===== MINI SIDEBAR ===== */
.mini-sidebar {
  width: 60px;
  background: #202c33;
  border-right: 1px solid #2a3942;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px 0;
  gap: 5px;
}

.mini-sidebar-btn {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  color: #8696a0;
  font-size: 1.3rem;
  position: relative;
}

.mini-sidebar-btn:hover {
  background: #2a3942;
  color: #e9edef;
}

.mini-sidebar-btn.active {
  background: #2a3942;
  color: #00a884;
}

.profile-pic {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  cursor: pointer;
  border: 2px solid #2a3942;
  transition: all 0.2s;
}

.profile-pic:hover {
  border-color: #00a884;
}

.spacer {
  flex: 1;
}

.coming-soon {
  position: absolute;
  top: -5px;
  right: -5px;
  background: #00a884;
  color: white;
  font-size: 0.6rem;
  padding: 2px 4px;
  border-radius: 3px;
  font-weight: bold;
}

/* ===== ACHIEVEMENT NOTIFICATIONS ===== */
.achievement-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: linear-gradient(135deg, #ffd700, #ffb347);
  color: #000;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
  z-index: 1000;
  animation: achievementSlide 0.5s ease-out;
  max-width: 300px;
  border: 2px solid #ffd700;
}

.achievement-notification.hide {
  animation: achievementSlideOut 0.5s ease-in forwards;
}

.achievement-title {
  font-weight: bold;
  font-size: 1rem;
  margin-bottom: 5px;
}

@keyframes achievementSlide {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

@keyframes achievementSlideOut {
  from { transform: translateX(0); opacity: 1; }
  to { transform: translateX(100%); opacity: 0; }
}

/* ===== ACHIEVEMENTS MODAL ===== */
.achievements-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}

.achievements-content {
  background: #202c33;
  border-radius: 10px;
  padding: 20px;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  color: #e9edef;
}

.achievement-item {
  display: flex;
  align-items: center;
  padding: 10px;
  margin: 5px 0;
  background: #1f2c34;
  border-radius: 8px;
  border-left: 4px solid #ffd700;
}

.achievement-item.locked {
  opacity: 0.5;
  border-left-color: #8696a0;
}

.achievement-icon {
  font-size: 1.5rem;
  margin-right: 15px;
}

.achievement-info h4 {
  margin: 0 0 5px 0;
  color: #ffd700;
}

.achievement-info p {
  margin: 0;
  font-size: 0.85rem;
  color: #8696a0;
}

.close-btn {
  background: none;
  border: none;
  color: #8696a0;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 5px;
}

.close-btn:hover {
  color: #e9edef;
}

/* ===== SIDEBAR ===== */
.sidebar {
  width: 350px;
  background: #111b21;
  border-right: 1px solid #2a3942;
  display: flex;
  flex-direction: column;
}

.sidebar-header {
  background: #202c33;
  padding: 15px;
  color: #e9edef;
  font-weight: 500;
  border-bottom: 1px solid #2a3942;
}

.chat-list {
  flex: 1;
  overflow-y: auto;
}

.chat-list::-webkit-scrollbar {
  width: 6px;
}

.chat-list::-webkit-scrollbar-thumb {
  background: #2a3942;
  border-radius: 10px;
}

/* ===== CHAT ITEMS ===== */
.chat-item {
  display: flex;
  align-items: center;
  padding: 12px 15px;
  cursor: pointer;
  border-bottom: 1px solid #2a3942;
  transition: background 0.2s;
}

.chat-item:hover {
  background: #202c33;
}

.chat-item.active {
  background: #2a3942;
}

.chat-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin-right: 12px;
  object-fit: cover;
}

.chat-info {
  flex: 1;
}

.chat-name {
  color: #e9edef;
  font-weight: 500;
  font-size: 0.95rem;
}

.chat-preview {
  color: #8696a0;
  font-size: 0.85rem;
  margin-top: 2px;
}

.chat-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
}

.chat-time {
  color: #8696a0;
  font-size: 0.75rem;
}

.chat-status {
  color: #53bdeb;
  font-size: 1rem;
}

.chat-status.seen {
  color: #53bdeb;
}

.chat-status.unseen {
  color: #8696a0;
}

/* ===== CHAT CONTAINER ===== */
.chat-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: var(--primary-bg);
  position: relative;
  overflow: hidden;
}

.chat-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-dark);
  opacity: 0.8;
  pointer-events: none;
}

.chat-header {
  background: var(--secondary-bg);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 15px;
  border-bottom: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.header-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-color);
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
}

.header-avatar:hover {
  transform: scale(1.05);
  box-shadow: var(--neon-blue);
}

.header-info {
  flex: 1;
}

.header-name {
  color: var(--text-primary);
  font-size: 1.1rem;
  font-weight: 600;
}

.header-status {
  color: #8696a0;
  font-size: 0.8rem;
  margin-top: 2px;
}

/* ===== CHAT MESSAGES ===== */
.chat-messages {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: #0b141a;
  background-image: 
    repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(255,255,255,.02) 10px, rgba(255,255,255,.02) 20px),
    repeating-linear-gradient(-45deg, transparent, transparent 10px, rgba(255,255,255,.02) 10px, rgba(255,255,255,.02) 20px);
}

.chat-messages::-webkit-scrollbar {
  width: 6px;
}

.chat-messages::-webkit-scrollbar-track {
  background: transparent;
}

.chat-messages::-webkit-scrollbar-thumb {
  background: #2a3942;
  border-radius: 10px;
}

/* ===== MESSAGES ===== */
.message {
  max-width: 65%;
  padding: 12px 16px;
  border-radius: 18px;
  word-wrap: break-word;
  word-break: break-word;
  overflow-wrap: break-word;
  white-space: pre-wrap;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
  animation: fadeIn 0.3s ease-out;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  /* IMPORTANTE: Sin restricciones de altura */
  height: auto !important;
  max-height: none !important;
  min-height: auto !important;
  overflow: visible !important;
}

.message:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.report-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: transparent;
  border: none;
  color: #8696a0;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 5px;
  opacity: 0;
  transition: opacity 0.2s;
}

.message.bot:hover .report-btn {
  opacity: 1;
}

.report-btn:hover {
  color: #f15c6d;
}

.message-time {
  font-size: 0.7rem;
  color: #8696a0;
  margin-top: 4px;
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 4px;
}

.message-check {
  color: #53bdeb;
  font-size: 0.9rem;
}

.message-check.unseen {
  color: #8696a0;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95) translateY(10px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.message.user {
  background: var(--user-message-bg);
  color: var(--text-primary);
  align-self: flex-end;
  border-radius: 18px 18px 4px 18px;
  margin-left: auto;
  position: relative;
  overflow: hidden;
}

.message.user::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, transparent 100%);
  pointer-events: none;
}

.message.bot {
  background: var(--bot-message-bg);
  color: var(--text-primary);
  align-self: flex-start;
  border-radius: 18px 18px 18px 4px;
  position: relative;
  overflow: hidden;
}

.message.bot::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  pointer-events: none;
}

.message.typing {
  background: #1f2c34;
  align-self: flex-start;
  border-radius: 8px 8px 8px 0;
  padding: 12px;
}

/* ===== CHAT INPUT ===== */
.chat-input {
  display: flex;
  flex-direction: column;
  padding: 12px;
  background: #1f2c34;
  border-top: 1px solid #2a3942;
  gap: 8px;
}

.input-row {
  display: flex;
  gap: 12px;
}

.image-preview {
  max-width: 150px;
  max-height: 100px;
  border-radius: 8px;
  margin-bottom: 8px;
}

.image-upload-btn {
  width: 44px;
  height: 44px;
  background: var(--gradient-success);
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.image-upload-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(255,255,255,0.2) 0%, transparent 100%);
  border-radius: 50%;
  opacity: 0;
  transition: var(--transition);
}

.image-upload-btn:hover {
  transform: scale(1.1);
  box-shadow: var(--shadow-md), 0 0 20px rgba(16, 185, 129, 0.4);
}

.image-upload-btn:hover::before {
  opacity: 1;
}

.image-upload-btn:active {
  transform: scale(0.95);
}

.remove-image {
  background: #f15c6d;
  border: none;
  color: white;
  padding: 4px 8px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.75rem;
  margin-left: 8px;
}

.message img {
  max-width: 100%;
  border-radius: 8px;
  margin-top: 6px;
  cursor: pointer;
  transition: transform 0.2s;
}

.message img:hover {
  transform: scale(1.02);
}

/* ===== IMAGE MODAL ===== */
.image-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.image-modal.active {
  display: flex;
}

.image-modal img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

/* ===== INPUT FIELDS ===== */
.chat-input input[type="text"] {
  flex: 1;
  padding: 10px 15px;
  background: #2a3942;
  border: none;
  border-radius: 20px;
  font-size: 0.95rem;
  color: #e9edef;
  outline: none;
}

.chat-input input[type="file"] {
  display: none;
}

.chat-input input[type="text"]::placeholder {
  color: #8696a0;
}

.chat-input button {
  padding: 10px;
  background: #00a884;
  color: white;
  border: none;
  border-radius: 50%;
  width: 42px;
  height: 42px;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chat-input button:hover {
  background: #06cf9c;
}

.chat-input button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* ===== TYPING INDICATOR ===== */
.typing-indicator {
  display: flex;
  gap: 5px;
  padding: 10px;
}

.typing-indicator span {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  animation: typing 1.4s infinite;
}

.typing-indicator span:nth-child(2) { animation-delay: 0.2s; }
.typing-indicator span:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing {
  0%, 60%, 100% { transform: translateY(0); opacity: 0.6; }
  30% { transform: translateY(-12px); opacity: 1; }
}

/* ===== RETRO LINK ===== */
.retro-link {
  position: fixed;
  bottom: 15px;
  left: 15px;
  z-index: 10;
}

.retro-link a {
  background: #202c33;
  border: 1px solid #2a3942;
  color: #00a884;
  padding: 8px 15px;
  text-decoration: none;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.2s;
  font-size: 0.85rem;
}

.retro-link a:hover {
  background: #2a3942;
}

/* ===== MODALS ===== */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
}

.modal.active {
  display: flex;
}

.terms-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  align-items: center;
  justify-content: center;
}

.terms-modal.active {
  display: flex;
}

.terms-content {
  background: #202c33;
  padding: 30px;
  border-radius: 15px;
  max-width: 450px;
  width: 90%;
  text-align: center;
}

.terms-title {
  color: #00a884;
  font-size: 1.5rem;
  margin-bottom: 20px;
}

.terms-text {
  color: #e9edef;
  line-height: 1.6;
  margin-bottom: 20px;
  text-align: left;
}

/* ===== CHECKBOX ITEMS ===== */
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #2a3942;
  border-radius: 8px;
  margin: 10px 0;
  cursor: pointer;
  transition: all 0.2s;
}

.checkbox-item:hover {
  background: #3a4952;
}

.checkbox-item input {
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.checkbox-item label {
  flex: 1;
  cursor: pointer;
  color: #e9edef;
  font-size: 0.9rem;
}

/* ===== TERMS BUTTONS ===== */
.terms-buttons {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.terms-btn {
  flex: 1;
  padding: 12px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.terms-btn.accept {
  background: #00a884;
  color: white;
}

.terms-btn.accept:hover {
  background: #06cf9c;
}

.terms-btn.accept:disabled {
  background: #2a3942;
  color: #8696a0;
  cursor: not-allowed;
}

.terms-btn.view {
  background: #2a3942;
  color: #e9edef;
}

.terms-btn.view:hover {
  background: #3a4952;
}

/* ===== MODAL CONTENT ===== */
.modal-content {
  background: #202c33;
  width: 90%;
  max-width: 500px;
  border-radius: 10px;
  padding: 20px;
  max-height: 80vh;
  overflow-y: auto;
}

.modal-header {
  color: #e9edef;
  font-size: 1.2rem;
  font-weight: 500;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #2a3942;
}

/* ===== SETTINGS ===== */
.setting-item {
  padding: 15px 0;
  border-bottom: 1px solid #2a3942;
}

.setting-label {
  color: #e9edef;
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.setting-input {
  width: 100%;
  padding: 10px;
  background: #2a3942;
  border: none;
  border-radius: 5px;
  color: #e9edef;
  font-size: 0.9rem;
}

.setting-select {
  width: 100%;
  padding: 10px;
  background: #2a3942;
  border: none;
  border-radius: 5px;
  color: #e9edef;
  font-size: 0.9rem;
}

.setting-btn {
  width: 100%;
  padding: 12px;
  background: #00a884;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  margin-top: 10px;
}

.setting-btn:hover {
  background: #06cf9c;
}

.setting-btn.danger {
  background: #f15c6d;
}

.setting-btn.danger:hover {
  background: #ff6b7a;
}

.close-modal {
  float: right;
  font-size: 1.5rem;
  cursor: pointer;
  color: #8696a0;
}

.close-modal:hover {
  color: #e9edef;
}

/* ===== CUSTOM CHARACTERS ===== */
.custom-char-item {
  background: #2a3942;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.custom-char-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.custom-char-info {
  flex: 1;
  color: #e9edef;
}

.custom-char-name {
  font-weight: 500;
  margin-bottom: 5px;
}

.custom-char-desc {
  font-size: 0.85rem;
  color: #8696a0;
}

.delete-char-btn {
  background: #f15c6d;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.85rem;
}

.delete-char-btn:hover {
  background: #ff6b7a;
}

/* ===== MOBILE MENU ===== */
.mobile-menu-btn {
  display: none;
  position: fixed;
  top: 15px;
  left: 15px;
  z-index: 100;
  background: #202c33;
  border: none;
  color: #e9edef;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

.mobile-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  z-index: 99;
}

.mobile-overlay.active {
  display: block;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  body {
    height: 100dvh;
  }

  .app-container {
    height: 100dvh;
  }

  .achievements-sidebar {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .mini-sidebar {
    position: fixed;
    left: -60px;
    top: 0;
    height: 100vh;
    height: 100dvh;
    z-index: 100;
    transition: left 0.3s;
  }

  .mini-sidebar.mobile-open {
    left: 0;
  }

  .sidebar {
    position: fixed;
    left: -350px;
    top: 0;
    height: 100vh;
    height: 100dvh;
    z-index: 100;
    transition: left 0.3s;
    width: 280px;
  }

  .sidebar.mobile-open {
    left: 60px;
  }

  .chat-container {
    width: 100%;
  }

  .chat-header {
    padding-left: 70px;
    padding: 10px 15px 10px 70px;
  }

  .chat-messages {
    padding: 15px 10px;
  }

  .message {
    max-width: 85%;
    font-size: 0.9rem;
  }

  .chat-input {
    padding: 8px;
  }

  .input-row {
    gap: 8px;
  }

  .retro-link {
    display: none;
  }

  .modal-content {
    width: 95%;
    max-height: 90vh;
  }
}
