/* src/styles/marketingMobile.css */

:root {
  --brand-gold: #b08a48;
  --bg-subtle: #f8f9fa;
}

/* === Assistant Nav Pills (Match Desktop Look) === */
#assistantButtons .btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  
  /* Desktop Pill Specs from pixel-overrides */
  padding: 0.38rem 0.7rem; 
  font-size: 0.85rem;
  line-height: 1.2;
  min-height: 32px;
  border-radius: 0.5rem;
  
  border: 1px solid var(--brand-gold);
  background-color: #fff;
  color: #000;
  transition: all 0.2s ease;
}

#assistantButtons .btn.active {
  background-color: var(--brand-gold);
  color: white;
  border-color: var(--brand-gold);
  box-shadow: 0 2px 5px rgba(176,138,72,.3);
}

#assistantButtons .btn:hover {
  background-color: #fdfcf9; /* Very light gold tint */
  border-color: var(--brand-gold);
}

/* Scroller container adjustments */
.marketing-nav-scroller {
  overflow-x: auto;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
  padding: 5px 2px 10px 2px; /* Extra bottom padding for shadow */
  scrollbar-width: none; 
}
.marketing-nav-scroller::-webkit-scrollbar {
  display: none;
}

/* === Project Selector & Utilities === */
#mobileProjectSelect {
  border: 1px solid var(--brand-gold);
  border-radius: 0.5rem;
  font-size: 0.9rem;
  color: #000;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23b08a48' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
}

#mobileProjectSelect:focus {
  border-color: var(--brand-gold);
  box-shadow: 0 0 0 0.25rem rgba(176,138,72,.25);
}

.btn-outline-gold {
  color: var(--brand-gold);
  border-color: var(--brand-gold);
  background: transparent;
}
.btn-outline-gold:hover {
  background-color: var(--brand-gold);
  color: #fff;
}

/* === Chat Area Styling === */
.chat-scroll {
  height: 65vh; /* Taller on mobile */
  overflow-y: auto;
  padding: 1rem;
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid #e9ecef;
  box-shadow: inset 0 2px 6px rgba(0,0,0,0.03);
}

/* Message Bubbles */
.apoth-message {
  margin-bottom: 1.25rem;
  display: flex;
  flex-direction: column;
}

.apoth-message__bubble {
  height: 65vh; /* Taller on mobile */
  padding: 0.85rem 1rem;
  border-radius: 0.75rem;
  background: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  border: 1px solid #eee;
  max-width: 90%;
}

/* AI Specific Styles */
.apoth-message--ai .apoth-message__bubble {
  border-left: 4px solid var(--brand-gold);
  border-top-left-radius: 0.25rem;
  background-color: #fafafa;
}

/* User Specific Styles */
.apoth-message--user {
  align-items: flex-end;
}
.apoth-message--user .apoth-message__bubble {
  background-color: var(--brand-gold); 
  color: #fff;
  border: 1px solid var(--brand-gold);
  border-bottom-right-radius: 0.25rem;
  text-align: left;
}

/* Composer Area */
.composer {
  background: #fff;
  padding-top: 0.75rem;
  padding-bottom: 1rem; /* Extra padding at bottom */
  border-top: 1px solid #eee;
}

/* FIX: Enforce a comfortable size for the input box 
   Use !important to override any Bootstrap utility conflicts
*/
.composer textarea,
#userInput {
  border: 1px solid var(--brand-gold) !important;
  border-radius: 0.5rem !important;
  padding: 12px 10px !important;
  font-size: 16px !important; /* Prevents zoom on iOS */
  min-height: 150px !important; /* <--- INCREASED from 60px */
  resize: none !important;
  background: #fff !important;
}

.composer textarea:focus {
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(176,138,72,.2) !important;
}

/* Tabs */
.nav-tabs .nav-link { 
  color: #6c757d; 
  border: none;
  font-weight: 500;
}
.nav-tabs .nav-link.active {
  color: var(--brand-gold);
  font-weight: 600;
  border-bottom: 3px solid var(--brand-gold);
  background: transparent;
}