/* Beta Badge */
.beta-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  margin-left: 10px;
  letter-spacing: 0.5px;
}

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

.modal.show {
  display: flex;
}

.modal-content {
  background-color: white;
  border-radius: 8px;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 20px;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #e5e7eb;
}

.modal-header h3 {
  margin: 0;
  font-size: 18px;
  color: #1e293b;
  font-weight: 600;
}

.modal-close {
  background: none;
  border: none;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
}

.modal-body {
  margin-bottom: 20px;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
}

/* Chat Interface Specific Styles */
.content-bot-container {
  display: flex;
  flex-direction: column;
  height: calc(100vh - 20px); /* Using full height since header is removed */
  width: 100%; /* Ensure full width */
  background-color: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-top: 0; /* Remove top margin for more space */
}

.chat-area {
  flex: 1;
  overflow-y: auto;
  padding: 15px; /* Reduced padding for more chat space */
  background-color: #f8fafc;
  margin-top: 0; /* Remove any top margin */
}

.message {
  max-width: 80%;
  margin-bottom: 20px;
  clear: both;
}

.message-user {
  float: right;
  background-color: #3b82f6;
  color: white;
  border-radius: 18px 18px 4px 18px;
  padding: 12px 16px;
}

.message-bot {
  float: left;
  background-color: white;
  color: #1e293b;
  border-radius: 18px 18px 18px 4px;
  padding: 12px 16px;
  border: 1px solid #e5e7eb;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.message-content {
  font-size: 15px;
  line-height: 1.5;
}

.message-time {
  font-size: 12px;
  margin-top: 6px;
  text-align: right;
  opacity: 0.8;
}

.message-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 15px;
}

.option-button {
  background-color: #f1f5f9;
  color: #1e293b;
  border: 1px solid #e5e7eb;
  border-radius: 18px;
  padding: 8px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-button:hover {
  background-color: #e0f2fe;
  border-color: #bfdbfe;
}

.message-media {
  margin-top: 10px;
  border-radius: 8px;
  overflow: hidden;
  max-width: 300px;
}

.message-media img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.chat-input {
  padding: 15px 20px;
  border-top: 1px solid #e5e7eb;
  background-color: white;
}

.input-container {
  display: flex;
  position: relative;
  width: 100%; /* Ensure it takes full width */
}

.chat-text-input {
  flex: 1;
  padding: 12px 15px;
  padding-right: 50px;
  border: 1px solid #e5e7eb;
  border-radius: 24px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

.chat-text-input:focus {
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.input-actions {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}

.input-action-btn {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 18px;
  transition: color 0.2s ease;
}

.input-action-btn:hover {
  color: #3b82f6;
}

/* Improved Floating Navigation Menu */
.floating-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 50;
  width: auto; /* Prevent width interference */
}

.nav-button {
  width: 56px;
  height: 56px;
  border-radius: 28px;
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #64748b;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.nav-button:hover {
  background-color: #4f6df5;
  color: white;
  box-shadow: 0 4px 15px rgba(79, 109, 245, 0.2);
  transform: scale(1.05);
}

.nav-button.active {
  background-color: #4f6df5;
  color: white;
}

/* Tooltip for navigation buttons */
.nav-button::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 65px;
  top: 50%;
  transform: translateY(-50%);
  background-color: #1e293b;
  color: white;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 5;
}

.nav-button:hover::after {
  opacity: 1;
  visibility: visible;
  right: 70px;
}

.nav-button::before {
  content: "";
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent #1e293b;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
  z-index: 5;
}

.nav-button:hover::before {
  opacity: 1;
  visibility: visible;
  right: 65px;
}

/* Voice selection styles */
.voice-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

.voice-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-option:hover {
  border-color: #bfdbfe;
  background-color: #f0f7ff;
}

.voice-option.selected {
  border-color: #3b82f6;
  background-color: #f0f7ff;
}

.voice-icon {
  width: 40px;
  height: 40px;
  background-color: #f1f5f9;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #64748b;
}

.voice-option.selected .voice-icon {
  background-color: #3b82f6;
  color: white;
}

.voice-details h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: #1e293b;
}

.voice-details p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.voice-note {
  font-size: 14px;
  color: #64748b;
  font-style: italic;
  margin-top: 15px;
}

/* Media selection styles */
.media-tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 15px;
}

.media-tab {
  padding: 8px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #64748b;
  border-bottom: 2px solid transparent;
}

.media-tab.active {
  color: #3b82f6;
  border-color: #3b82f6;
  font-weight: 500;
}

.media-tab-content {
  display: none;
}

.media-tab-content.active {
  display: block;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 15px;
}

.media-item {
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}

.media-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-item.selected {
  border-color: #3b82f6;
}

.media-checkbox {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 16px;
  height: 16px;
  cursor: pointer;
  z-index: 2;
}

.media-selection-summary {
  margin-top: 15px;
  font-size: 14px;
  color: #64748b;
}

/* Content types for brainstorming */
.content-type-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

.content-type-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.content-type-option:hover {
  border-color: #bfdbfe;
  background-color: #f0f7ff;
}

.content-type-option.selected {
  border-color: #3b82f6;
  background-color: #f0f7ff;
}

.option-icon {
  width: 40px;
  height: 40px;
  background-color: #f1f5f9;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  color: #64748b;
}

.content-type-option.selected .option-icon {
  background-color: #3b82f6;
  color: white;
}

.option-details h4 {
  margin: 0 0 5px 0;
  font-size: 16px;
  color: #1e293b;
}

.option-details p {
  margin: 0;
  font-size: 14px;
  color: #64748b;
}

.voice-selection {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #e5e7eb;
}

.voice-dropdown {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  margin-bottom: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
}

.voice-description {
  font-size: 14px;
  color: #64748b;
  font-style: italic;
}

/* Platform preview styles */
.platform-tabs {
  display: flex;
  border-bottom: 1px solid #e5e7eb;
  margin-bottom: 15px;
  overflow-x: auto;
  scrollbar-width: none;
}

.platform-tabs::-webkit-scrollbar {
  display: none;
}

.platform-tab {
  padding: 8px 15px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #64748b;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
}

.platform-tab.active {
  color: #3b82f6;
  border-color: #3b82f6;
  font-weight: 500;
}

.platform-checkboxes {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
  margin: 15px 0;
}

.platform-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Calendar view styles */
.posts-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 15px 0;
}

.post-item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 12px 15px;
  background-color: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.post-item:hover {
  background-color: #f1f5f9;
}

.post-date {
  font-size: 12px;
  color: #64748b;
  width: 100px;
}

.post-title {
  flex: 1;
  font-size: 14px;
  color: #1e293b;
  font-weight: 500;
}

.post-platforms {
  display: flex;
  gap: 5px;
  margin: 0 10px;
  flex-wrap: wrap;
}

.platform-badge {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  color: white;
}

.platform-badge.facebook {
  background-color: #4267B2;
}

.platform-badge.instagram {
  background-color: #C13584;
}

.platform-badge.twitter {
  background-color: #1DA1F2;
}

.platform-badge.linkedin {
  background-color: #0077B5;
}

.post-actions {
  display: flex;
  gap: 5px;
}

.post-action {
  background: none;
  border: none;
  color: #64748b;
  cursor: pointer;
  font-size: 14px;
  transition: color 0.2s ease;
  width: 30px;
  height: 30px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.post-action:hover {
  background-color: #e5e7eb;
  color: #1e293b;
}

.post-action.edit:hover {
  color: #3b82f6;
}

.post-action.delete:hover {
  color: #ef4444;
}

/* Stats view styles */
.stats-summary {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 30px;
}

.stat-card {
  flex: 1 1 calc(33.333% - 15px);
  min-width: 100px;
  background-color: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 15px;
  text-align: center;
}

.stat-value {
  font-size: 24px;
  font-weight: 700;
  color: #3b82f6;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 14px;
  color: #64748b;
}

.stats-charts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-bottom: 30px;
}

.stats-chart {
  background-color: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 15px;
}

.stats-chart h4 {
  font-size: 16px;
  color: #1e293b;
  margin: 0 0 15px 0;
  text-align: center;
}

/* Placeholder for charts */
.chart-placeholder {
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.chart-pie {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  background: #f1f5f9;
  margin-bottom: 20px;
}

.pie-segment {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-origin: 50% 100%;
}

.pie-segment.workshop {
  background-color: #3b82f6;
}

.pie-segment.community {
  background-color: #8b5cf6;
}

.pie-segment.general {
  background-color: #10b981;
}

.chart-legend {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #64748b;
}

.color-box {
  width: 12px;
  height: 12px;
}

.color-box.workshop {
  background-color: #3b82f6;
}

.color-box.community {
  background-color: #8b5cf6;
}

.color-box.general {
  background-color: #10b981;
}

/* Chart bars */
.chart-bars {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 150px;
  width: 100%;
}

.chart-bar {
  width: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bar-fill {
  width: 100%;
  background-color: #3b82f6;
  border-radius: 3px 3px 0 0;
}

.bar-label {
  margin-top: 8px;
  font-size: 12px;
  color: #64748b;
}

.suggestion-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.suggestion-item {
  background-color: #f8fafc;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 15px;
}

.suggestion-item h5 {
  margin: 0 0 8px 0;
  font-size: 16px;
  color: #1e293b;
}

.suggestion-item p {
  margin: 0 0 12px 0;
  font-size: 14px;
  color: #64748b;
}

/* Publishing options */
.publishing-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

.publishing-option {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.publishing-option:hover {
  border-color: #bfdbfe;
  background-color: #f0f7ff;
}

.publishing-option.active {
  border-color: #3b82f6;
  background-color: #f0f7ff;
}

/* Success modal */
.success-icon {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  background-color: #10b981;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 20px;
}

.success-message {
  text-align: center;
  margin-bottom: 20px;
}

.success-message h3 {
  font-size: 18px;
  color: #1e293b;
  margin-bottom: 10px;
}

.success-message p {
  color: #64748b;
  font-size: 15px;
}

/* Media upload */
.media-upload {
  border: 2px dashed #e5e7eb;
  padding: 20px;
  text-align: center;
  border-radius: 8px;
}

.media-upload-icon {
  font-size: 24px;
  color: #64748b;
  margin-bottom: 10px;
}

.media-upload-text {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 15px;
}

.media-upload-btn {
  display: inline-block;
  padding: 8px 16px;
  background-color: #f1f5f9;
  color: #1e293b;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
}

.upload-preview {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 15px;
}

.upload-preview-item {
  height: 80px;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}

.upload-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.remove-preview {
  position: absolute;
  top: 5px;
  right: 5px;
  width: 20px;
  height: 20px;
  border-radius: 10px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
}

/* Media Search */
.media-search {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.media-search-input {
  flex: 1;
  padding: 10px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
}

/* Calendar styles */
.calendar-selector {
  margin-bottom: 15px;
}

.calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.calendar-title {
  font-size: 16px;
  font-weight: 600;
  color: #1e293b;
}

.calendar-nav {
  display: flex;
  gap: 10px;
}

.calendar-nav-btn {
  width: 30px;
  height: 30px;
  border-radius: 15px;
  background-color: #f1f5f9;
  color: #1e293b;
  border: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.calendar-day-header {
  text-align: center;
  font-size: 12px;
  color: #64748b;
  padding: 5px;
}

.calendar-day {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  font-size: 14px;
  color: #1e293b;
  cursor: pointer;
}

.calendar-day:hover {
  background-color: #f1f5f9;
}

.calendar-day.today {
  border: 1px solid #3b82f6;
  color: #3b82f6;
}

.calendar-day.selected {
  background-color: #3b82f6;
  color: white;
}

.calendar-day.disabled {
  color: #cbd5e1;
  cursor: not-allowed;
}

.time-selector {
  display: flex;
  gap: 10px;
  margin: 15px 0;
}

.time-input {
  flex: 1;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
  font-size: 14px;
}

/* Back button for all flows */
.back-btn {
  background-color: transparent;
  border: none;
  color: #64748b;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 5px 0;
  margin-bottom: 10px;
}

.back-btn:hover {
  color: #3b82f6;
}

/* Loading indicator */
.loading-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  color: #64748b;
  font-size: 14px;
  gap: 10px;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  background: none;
  border: none;
  color: #64748b;
  font-size: 24px;
  cursor: pointer;
  position: fixed;
  left: 15px;
  top: 5px; /* Positioned inside the header area */
  z-index: 1100;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: none; /* Hidden by default, shown in mobile media query */
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

/* Improved Mobile Responsiveness */
@media (max-width: 768px) {
  .sidebar {
    position: fixed;
    left: -250px;
    top: 0;
    height: 100%;
    width: 250px;
    z-index: 1000;
    transition: left 0.3s ease;
  }
  
  .sidebar.active {
    left: 0;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
  }
  
  /* Hide the menu button when sidebar is active */
  .sidebar.active ~ .mobile-menu-toggle {
    display: none; /* Hide when sidebar is active */
  }
  
  .mobile-menu-toggle.active {
    color: #3b82f6;
    background-color: #f0f7ff;
  }
  
  .mobile-menu-toggle {
    display: flex; /* Show in mobile view when sidebar is not active */
  }
  
  .sidebar-header {
    display: flex;
    justify-content: center; /* Center the logo since we moved the menu button */
    align-items: center;
    padding: 20px 15px;
  }
  
  .main-content {
    padding-left: 0;
    padding-top: 10px; /* Add some top padding to avoid overlap with menu button */
    width: 100%;
    overflow-x: hidden; /* Prevent horizontal scroll */
    box-sizing: border-box; /* Include padding in width calculation */
  }
  
  /* Content header has been removed to maximize space for chat interface */
  
  .modal-content {
    width: 95%;
    padding: 15px;
    margin: 10px;
    max-height: 85vh;
  }
  
  .floating-nav {
    /* Keep nav on right side instead of bottom */
    right: 5px; /* Move closer to the edge */
    top: 50% !important; /* Force the vertical position */
    transform: translateY(-50%) !important;
    flex-direction: column !important; /* Force vertical layout with !important */
    gap: 8px; /* Further reduce gap for better spacing */
    z-index: 100 !important; /* Ensure buttons appear above other content */
    background: transparent; /* Ensure no background color */
  }
  
  .nav-button {
    width: 40px; /* Even smaller for mobile to save space */
    height: 40px;
    font-size: 15px; /* Smaller icons */
  }
  
  .nav-button::after, 
  .nav-button::before {
    display: none;
  }
  
  /* Make the container more responsive on mobile */
  .content-bot-container {
    width: 100%;
    max-width: 100%;
    margin: 0;
    border-radius: 4px;
    padding: 0; /* Remove any padding */
  }
  
  /* Ensure input container uses full width */
  .input-container {
    width: 100%;
    box-sizing: border-box;
  }
  
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-summary {
    flex-direction: column;
  }
  
  .stats-charts {
    grid-template-columns: 1fr;
  }
  
  .platform-checkboxes {
    grid-template-columns: 1fr;
  }
  
  .modal-footer {
    flex-direction: column;
  }
  
  .modal-footer button {
    width: 100%;
  }
  
  .message {
    max-width: 85%; /* Slightly increased from 80% for better proportions */
  }
  
  /* Optimize text input for mobile */
  .chat-text-input {
    padding-right: 80px; /* Ensure enough space for the action buttons */
  }
  
  .input-actions {
    right: 10px; /* Position closer to the edge */
    gap: 5px; /* Reduce gap between buttons */
  }
  
  .input-action-btn {
    width: 30px;
    height: 30px;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  .chat-area {
    padding-right: 50px; /* Reduced padding to give more space */
  }
  
  .chat-input {
    padding: 10px;
    padding-right: 10px; /* Removed extra padding - we'll handle it in the input itself */
  }
  
  .option-button {
    padding: 6px 12px;
    font-size: 13px;
    margin: 2px 0;
  }
  
  .message-options {
    flex-direction: column;
    align-items: flex-start;
  }
  
  /* Adjust post item for small screens */
  .post-item {
    gap: 8px;
  }
  
  .post-date, .post-title {
    width: 100%;
  }
  
  .post-platforms {
    margin: 5px 0;
    justify-content: flex-start;
  }
  
  .post-actions {
    width: 100%;
    justify-content: flex-end;
  }
  
  /* Improved upload UI for mobile */
  .upload-preview {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .media-tabs {
    overflow-x: auto;
  }
}