/* TailwindCSS base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Figtree', sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* Utility classes */
.hidden {
  display: none !important;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.items-start {
  align-items: flex-start;
}

.min-h-screen {
  min-height: 100vh;
}

.p-6 {
  padding: 1.5rem;
}

.p-3 {
  padding: 0.75rem;
}

.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.pb-20 {
  padding-bottom: 5rem;
}

.m-4 {
  margin: 1rem;
}

.mt-6 {
  margin-top: 1.5rem;
}

.mt-16 {
  margin-top: 4rem;
}

.ml-2 {
  margin-left: 0.5rem;
}

.mb-1 {
  margin-bottom: 0.25rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mt-1 {
  margin-top: 0.25rem;
}

.space-x-2 > * + * {
  margin-left: 0.5rem;
}

.space-x-3 > * + * {
  margin-left: 0.75rem;
}

.space-x-4 > * + * {
  margin-left: 1rem;
}

.flex-1 {
  flex: 1 1 0%;
}

.flex-shrink-0 {
  flex-shrink: 0;
}

.min-w-0 {
  min-width: 0;
}

.inline-flex {
  display: inline-flex;
}

.inline-block {
  display: inline-block;
}

.bg-white {
  background-color: white;
}

.bg-gray-100 {
  background-color: #f5f5f5;
}

.bg-gray-500 {
  background-color: #6b7280;
}

.bg-green-500 {
  background-color: #10b981;
}

.bg-red-500 {
  background-color: #ef4444;
}

.bg-blue-500 {
  background-color: #3b82f6;
}

.bg-yellow-500 {
  background-color: #f59e0b;
}

.text-white {
  color: white;
}

.text-black {
  color: black;
}

.text-gray-600 {
  color: #4b5563;
}

.text-gray-500 {
  color: #6b7280;
}

.text-gray-900 {
  color: #111827;
}

.text-blue-500 {
  color: #3b82f6;
}

.text-blue-600 {
  color: #2563eb;
}

.text-green-500 {
  color: #10b981;
}

.text-purple-500 {
  color: #8b5cf6;
}

.text-red-800 {
  color: #991b1b;
}

.bg-gray-50 {
  background-color: #f9fafb;
}

.bg-green-100 {
  background-color: #dcfce7;
}

.bg-blue-100 {
  background-color: #dbeafe;
}

.bg-gray-100 {
  background-color: #f3f4f6;
}

.bg-red-100 {
  background-color: #fee2e2;
}

.text-green-600 {
  color: #059669;
}

.text-blue-600 {
  color: #2563eb;
}

.text-gray-600 {
  color: #4b5563;
}

.text-red-800 {
  color: #991b1b;
}

.hover\:bg-gray-50:hover {
  background-color: #f9fafb;
}

.hover\:text-blue-800:hover {
  color: #1e40af;
}

.text-xl {
  font-size: 1.25rem;
  line-height: 1.75rem;
}

.text-sm {
  font-size: 0.875rem;
  line-height: 1.25rem;
}

.text-center {
  text-align: center;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.rounded {
  border-radius: 0.25rem;
}

.rounded-lg {
  border-radius: 0.5rem;
}

.rounded-full {
  border-radius: 9999px;
}

.shadow-sm {
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.shadow-md {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.shadow-2xl {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.border {
  border: 1px solid #e5e7eb;
}

.border-2 {
  border: 2px solid #e5e7eb;
}

.border-b {
  border-bottom: 1px solid #e5e7eb;
}

.border-t {
  border-top: 1px solid #e5e7eb;
}

.border-gray-200 {
  border-color: #e5e7eb;
}

.hover\:shadow-md:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.hover\:border-blue-300:hover {
  border-color: #93c5fd;
}

.hover\:text-gray-900:hover {
  color: #111827;
}

.transition-shadow {
  transition: box-shadow 0.15s ease-in-out;
}

.transition-colors {
  transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out;
}

.transition-all {
  transition: all 0.15s ease-in-out;
}

.scale-100 {
  transform: scale(1);
}

.motion-safe\:hover\:scale-\[1\.01\]:hover {
  transform: scale(1.01);
}

.grid {
  display: grid;
}

.grid-cols-1 {
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

.gap-6 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 1rem;
}

.shrink-0 {
  flex-shrink: 0;
}

.w-auto {
  width: auto;
}

.w-16 {
  width: 4rem;
}

.w-7 {
  width: 1.75rem;
}

.w-6 {
  width: 1.5rem;
}

.w-8 {
  width: 2rem;
}

.h-16 {
  height: 4rem;
}

.h-7 {
  height: 1.75rem;
}

.h-6 {
  height: 1.5rem;
}

.h-8 {
  height: 2rem;
}

.max-w-7xl {
  max-width: 80rem;
}

.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.mx-6 {
  margin-left: 1.5rem;
  margin-right: 1.5rem;
}

.self-center {
  align-self: center;
}

.leading-relaxed {
  line-height: 1.625;
}

.underline {
  text-decoration-line: underline;
}

.antialiased {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.relative {
  position: relative;
}

.z-10 {
  z-index: 10;
}

/* Custom component styles */
.btn-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  transition: all 0.15s ease-in-out;
  text-decoration: none;
  color: inherit;
  min-height: 80px;
}

.btn-action:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.btn-action svg {
  width: 2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
}

.btn-action span {
  font-size: 0.75rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

.post-card {
  background-color: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  border: 1px solid #e5e7eb;
  transition: box-shadow 0.15s ease-in-out;
}

.post-card:hover {
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.generation-card {
  border: 2px solid #e5e7eb;
  transition: border-color 0.15s ease-in-out;
}

.generation-card:hover {
  border-color: #93c5fd;
}

.toast-success {
  background-color: #10b981;
  color: white;
}

.toast-error {
  background-color: #ef4444;
  color: white;
}

.toast-warning {
  background-color: #f59e0b;
  color: black;
}

.toast-info {
  background-color: #3b82f6;
  color: white;
}

/* Animations */
.fade-in {
  animation: fadeIn 0.3s ease-in-out;
}

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

.slide-up {
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
  }
  to {
    transform: translateY(0);
  }
}

/* Mobile optimization */
input, textarea, select {
  font-size: 16px;
}

.scroll-container {
  -webkit-overflow-scrolling: touch;
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
  body {
    background-color: #111827;
    color: #f3f4f6;
  }
  
  .bg-gray-100 {
    background-color: #111827;
  }
  
  .text-gray-900 {
    color: #f3f4f6;
  }
  
  .text-gray-600 {
    color: #9ca3af;
  }
  
  .text-gray-500 {
    color: #6b7280;
  }
  
  .bg-white {
    background-color: rgba(31, 41, 55, 0.5);
  }
  
  .border {
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .post-card {
    background-color: rgba(31, 41, 55, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
  }
  
  .btn-action {
    background-color: rgba(31, 41, 55, 0.5);
    border-color: rgba(255, 255, 255, 0.1);
  }
}

/* Dashboard specific styles */
.dashboard-container {
  padding: 1rem;
  padding-bottom: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: calc(100vh - 8.5rem);
}

/* Welcome Section */
.welcome-section {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.welcome-content {
  position: relative;
  z-index: 2;
}

.welcome-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.welcome-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.welcome-decoration {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

/* Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.stat-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.stat-card-primary .stat-icon {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.stat-card-secondary .stat-icon {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.stat-icon svg {
  width: 24px;
  height: 24px;
}

.stat-content {
  flex: 1;
}

.stat-value {
  font-size: 1.75rem;
  font-weight: 700;
  color: #1f2937;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  color: #6b7280;
  margin-top: 0.25rem;
}

/* Action Section */
.action-section {
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 1rem;
}

.action-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.action-card {
  background: white;
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.action-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.action-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.action-card-blue .action-icon {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.action-card-green .action-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.action-card-purple .action-icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.action-icon svg {
  width: 24px;
  height: 24px;
}

.action-content {
  flex: 1;
}

.action-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.action-subtitle {
  font-size: 0.875rem;
  color: #6b7280;
}

/* Recent Posts Section */
.recent-posts-section {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #f3f4f6;
}

.section-header .section-title {
  color: #1f2937;
  margin-bottom: 0;
}

.section-link {
  color: #3b82f6;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.section-link:hover {
  color: #1d4ed8;
}

.posts-container {
  max-height: 400px;
  overflow-y: auto;
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 3rem 1.5rem;
}

.empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.empty-icon svg {
  width: 32px;
  height: 32px;
}

.empty-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.empty-subtitle {
  color: #6b7280;
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

.empty-action {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.empty-action:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.space-y-6 > * + * {
  margin-top: 1.5rem;
}

.divide-y > * + * {
  border-top: 1px solid #e5e7eb;
}

/* Post Item Styles */
.post-item {
  padding: 1.5rem;
  transition: all 0.2s ease;
  border-bottom: 1px solid #f3f4f6;
}

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

.post-item:last-child {
  border-bottom: none;
}

.post-item-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.post-status-icon {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.status-badge {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.status-ai {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.status-scheduled {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
}

.status-manual {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.status-badge svg {
  width: 20px;
  height: 20px;
}

.post-main-content {
  flex: 1;
  min-width: 0;
}

.post-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.75rem;
}

.post-status-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.post-status-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
}

.post-error-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.5rem;
  background: #fee2e2;
  color: #991b1b;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 500;
}

.post-actions {
  display: flex;
  gap: 0.75rem;
}

.post-action-link {
  color: #3b82f6;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}

.post-action-link:hover {
  color: #1d4ed8;
}

.post-content {
  color: #1f2937;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.post-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.post-date,
.post-media-count {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: #6b7280;
  font-size: 0.875rem;
}

.post-date svg,
.post-media-count svg {
  width: 16px;
  height: 16px;
}

/* Responsive improvements */
@media (max-width: 640px) {
  .post-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .post-actions {
    align-self: flex-end;
  }
  
  .post-meta {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* Modern Header Styles */
.modern-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.05);
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
  min-height: 4rem;
}

.header-left,
.header-right {
  display: flex;
  align-items: center;
  flex: 1;
}

.header-right {
  justify-content: flex-end;
}

.header-center {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 2;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.logo-icon svg {
  width: 24px;
  height: 24px;
}

.back-button {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(107, 114, 128, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.back-button:hover {
  background: rgba(107, 114, 128, 0.2);
  transform: translateX(-2px);
}

.back-button svg {
  width: 20px;
  height: 20px;
}

.page-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1f2937;
  text-align: center;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.notification-button {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(59, 130, 246, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #3b82f6;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.notification-button:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: translateY(-1px);
}

.notification-button svg {
  width: 20px;
  height: 20px;
}

.notification-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 18px;
  height: 18px;
  background: #ef4444;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  border: 2px solid white;
}

/* Modern Footer Navigation */
.modern-footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 -1px 20px rgba(0, 0, 0, 0.05);
}

.footer-nav-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.nav-tabs {
  display: flex;
  height: 4.5rem;
}

.nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #9ca3af;
  transition: all 0.3s ease;
  position: relative;
  gap: 0.25rem;
}

.nav-tab:hover {
  color: #6b7280;
}

.nav-tab-active {
  color: #3b82f6;
}

.nav-tab-icon {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.nav-tab-active .nav-tab-icon {
  transform: translateY(-2px);
}

.nav-tab-icon svg {
  width: 100%;
  height: 100%;
}

.nav-tab-label {
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-tab-active .nav-tab-label {
  font-weight: 600;
}

.nav-tab-indicator {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 32px;
  height: 3px;
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  border-radius: 2px;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    width: 0;
    opacity: 0;
  }
  to {
    width: 32px;
    opacity: 1;
  }
}

/* Layout adjustments for fixed header and footer */
body {
  padding-top: 4rem;
  padding-bottom: 4.5rem;
}

.dashboard-container {
  padding-top: 1rem;
  padding-bottom: 2rem;
}

/* Responsive adjustments for header and footer */
@media (max-width: 640px) {
  .header-content {
    padding: 0.75rem 1rem;
    min-height: 3.5rem;
  }
  
  .page-title {
    font-size: 1.125rem;
  }
  
  .nav-tabs {
    height: 4rem;
  }
  
  .nav-tab-label {
    font-size: 0.6875rem;
  }
  
  body {
    padding-top: 3.5rem;
    padding-bottom: 4rem;
  }
}

/* Create Post Page Styles */
.create-post-container {
  padding: 1rem;
  padding-bottom: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: calc(100vh - 8.5rem);
}

.create-post-header {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.create-post-header .header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.create-post-header .page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.create-post-header .page-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.create-post-header .header-decoration {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.create-post-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Form Card Styles */
.form-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
}

.form-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.form-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.5rem;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-bottom: 1px solid #e2e8f0;
}

.form-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.form-card-icon svg {
  width: 24px;
  height: 24px;
}

.form-card-title {
  flex: 1;
}

.form-card-title h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.form-card-title p {
  font-size: 0.875rem;
  color: #6b7280;
}

.form-card-content {
  padding: 1.5rem;
}

/* Modern Select Styles */
.modern-select-wrapper {
  position: relative;
}

.modern-select {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-right: 3rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  background: white;
  color: #1f2937;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  transition: all 0.2s ease;
}

.modern-select:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.select-arrow {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: #6b7280;
  pointer-events: none;
}

.select-arrow svg {
  width: 100%;
  height: 100%;
}

/* Modern Textarea Styles */
.textarea-wrapper {
  position: relative;
}

.modern-textarea {
  width: 100%;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  resize: none;
  transition: all 0.2s ease;
  font-family: inherit;
  line-height: 1.5;
}

.modern-textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.modern-textarea::placeholder {
  color: #9ca3af;
}

.textarea-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
}

.char-counter {
  font-size: 0.875rem;
  color: #6b7280;
  font-weight: 500;
}

.char-counter.over-limit {
  color: #ef4444;
}

/* Media Upload Styles */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.media-preview-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f3f4f6;
}

.media-preview-image {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.media-remove-btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.9);
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.media-remove-btn:hover {
  background: #ef4444;
  transform: scale(1.1);
}

.media-remove-btn svg {
  width: 16px;
  height: 16px;
}

.media-upload-btn {
  width: 100%;
  min-height: 120px;
  border: 2px dashed #d1d5db;
  border-radius: 12px;
  background: #f9fafb;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.media-upload-btn:hover {
  border-color: #3b82f6;
  background: #eff6ff;
}

.upload-icon {
  width: 48px;
  height: 48px;
  color: #6b7280;
}

.upload-icon svg {
  width: 100%;
  height: 100%;
}

.upload-text {
  text-align: center;
}

.upload-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.25rem;
}

.upload-subtitle {
  display: block;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Timing Options */
.timing-options {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.timing-option {
  cursor: pointer;
}

.timing-option input[type="radio"] {
  display: none;
}

.timing-option-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  transition: all 0.2s ease;
}

.timing-option input[type="radio"]:checked + .timing-option-content {
  border-color: #3b82f6;
  background: #eff6ff;
}

.timing-option-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: #f3f4f6;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: all 0.2s ease;
}

.timing-option input[type="radio"]:checked + .timing-option-content .timing-option-icon {
  background: #3b82f6;
  color: white;
}

.timing-option-icon svg {
  width: 20px;
  height: 20px;
}

.timing-option-text {
  flex: 1;
}

.timing-title {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.timing-subtitle {
  display: block;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Schedule Inputs */
.schedule-inputs {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e5e7eb;
}

.schedule-input-group {
  display: flex;
  gap: 1rem;
}

.modern-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.modern-input:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

/* Action Buttons */
.action-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.action-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
}

.action-btn svg {
  width: 20px;
  height: 20px;
}

.action-btn-primary {
  background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  color: white;
}

.action-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.action-btn-secondary {
  background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
  color: white;
}

.action-btn-secondary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(107, 114, 128, 0.4);
}

/* Responsive Design for Create Post */
@media (max-width: 640px) {
  .create-post-container {
    padding: 0.75rem;
  }
  
  .create-post-header {
    padding: 1.5rem;
  }
  
  .create-post-header .page-title {
    font-size: 1.5rem;
  }
  
  .form-card-header {
    padding: 1rem;
  }
  
  .form-card-content {
    padding: 1rem;
  }
  
  .schedule-input-group {
    flex-direction: column;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* AI Generate Page Styles */
.ai-generate-container {
  padding: 1rem;
  padding-bottom: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: calc(100vh - 8.5rem);
}

.ai-generate-header {
  position: relative;
  background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  overflow: hidden;
}

.ai-generate-header .header-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.ai-generate-header .page-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
}

.ai-generate-header .page-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.ai-generate-header .header-decoration {
  position: absolute;
  top: -50%;
  right: -20%;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  border-radius: 50%;
}

.ai-generate-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* AI-specific form card icons */
.ai-icon {
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.prompt-icon {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.options-icon {
  background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.result-icon {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
}

/* AI Settings Grid */
.ai-settings-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.ai-setting-option {
  cursor: pointer;
}

.ai-setting-option input[type="radio"] {
  display: none;
}

.ai-setting-card {
  padding: 1.5rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  transition: all 0.2s ease;
}

.ai-setting-option input[type="radio"]:checked + .ai-setting-card {
  border-color: #10b981;
  background: linear-gradient(135deg, #ecfdf5 0%, #f0fdf4 100%);
  box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.ai-setting-info {
  margin-bottom: 1rem;
}

.ai-setting-name {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.ai-setting-description {
  color: #6b7280;
  font-size: 0.875rem;
  line-height: 1.4;
}

.ai-setting-details {
  display: flex;
  gap: 1rem;
  font-size: 0.875rem;
}

.ai-setting-model {
  padding: 0.25rem 0.75rem;
  background: #f3f4f6;
  border-radius: 6px;
  color: #374151;
  font-weight: 500;
}

.ai-setting-temperature {
  color: #6b7280;
  font-weight: 500;
}

/* Empty AI Settings */
.empty-ai-settings {
  text-align: center;
  padding: 3rem 1.5rem;
  color: #6b7280;
}

.empty-ai-settings .empty-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
}

.empty-ai-settings .empty-icon svg {
  width: 32px;
  height: 32px;
}

.empty-ai-settings h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.5rem;
}

.empty-ai-settings p {
  margin-bottom: 1.5rem;
}

.empty-action-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.2s ease;
}

.empty-action-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

/* Prompt Input */
.prompt-input-wrapper {
  margin-bottom: 2rem;
}

/* Prompt Templates */
.prompt-templates {
  padding-top: 1.5rem;
  border-top: 1px solid #e5e7eb;
}

.templates-header {
  margin-bottom: 1rem;
}

.templates-header h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin-bottom: 0.25rem;
}

.templates-header p {
  font-size: 0.875rem;
  color: #6b7280;
}

.templates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
}

.template-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem;
  border: 2px solid #e5e7eb;
  border-radius: 12px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease;
}

.template-btn:hover {
  border-color: #f59e0b;
  background: #fffbeb;
}

.template-btn.template-active {
  border-color: #f59e0b;
  background: #fffbeb;
  transform: scale(0.98);
}

.template-icon {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.template-text {
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  text-align: center;
}

/* Option Groups */
.option-group {
  margin-bottom: 1.5rem;
}

.option-group:last-child {
  margin-bottom: 0;
}

.option-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.75rem;
}

/* Generated Content */
.generated-content {
  padding: 1.5rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.generated-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #1f2937;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: white;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
  min-height: 100px;
  white-space: pre-wrap;
}

.generated-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Action Button Variants */
.action-btn-tertiary {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: white;
}

.action-btn-tertiary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
}

/* Generate Button Loading */
.generate-btn {
  position: relative;
  min-width: 200px;
}

.loading-spinner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.animate-spin {
  animation: spin 1s linear infinite;
}

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

/* Toast Notifications */
.toast {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  padding: 1rem 1.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideInRight 0.3s ease;
  max-width: 400px;
}

.toast-success {
  background: #10b981;
  color: white;
}

.toast-error {
  background: #ef4444;
  color: white;
}

.toast-content {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.toast-content svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

/* Responsive Design for AI Generate */
@media (max-width: 640px) {
  .ai-generate-container {
    padding: 0.75rem;
  }
  
  .ai-generate-header {
    padding: 1.5rem;
  }
  
  .ai-generate-header .page-title {
    font-size: 1.5rem;
  }
  
  .ai-setting-details {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .templates-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .generated-actions {
    flex-direction: column;
  }
  
  .action-buttons {
    flex-direction: column;
  }
  
  .toast {
    left: 1rem;
    right: 1rem;
    max-width: none;
  }
}

@media (min-width: 768px) {
  .ai-settings-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .generated-actions {
    justify-content: space-between;
  }
}

/* Responsive design */
@media (min-width: 640px) {
  .sm\:fixed {
    position: fixed;
  }
  
  .sm\:top-0 {
    top: 0;
  }
  
  .sm\:right-0 {
    right: 0;
  }
  
  .sm\:flex {
    display: flex;
  }
  
  .sm\:items-center {
    align-items: center;
  }
  
  .sm\:justify-center {
    justify-content: center;
  }
  
  .sm\:justify-between {
    justify-content: space-between;
  }
  
  .sm\:text-left {
    text-align: left;
  }
  
  .sm\:text-right {
    text-align: right;
  }
  
  .sm\:ml-0 {
    margin-left: 0;
  }
  
  .dashboard-actions {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .dashboard-container {
    padding: 1.5rem;
  }
  
  .welcome-section {
    padding: 2.5rem;
  }
  
  .welcome-title {
    font-size: 2rem;
  }
  
  .stats-grid {
    gap: 1.5rem;
  }
  
  .action-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
  
  .action-card {
    flex-direction: column;
    text-align: center;
    padding: 2rem 1rem;
  }
  
  .action-icon {
    width: 56px;
    height: 56px;
    margin-bottom: 1rem;
  }
  
  .action-content {
    flex: none;
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .lg\:gap-8 {
    gap: 2rem;
  }
  
  .lg\:p-8 {
    padding: 2rem;
  }
}

/* Laravel welcome page specific styles */
.bg-dots-darker {
  background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.22676 0C1.91374 0 2.45351 0.539773 2.45351 1.22676C2.45351 1.91374 1.91374 2.45351 1.22676 2.45351C0.539773 2.45351 0 1.91374 0 1.22676C0 0.539773 0.539773 0 1.22676 0Z' fill='rgba(0,0,0,0.07)'/%3E%3C/svg%3E");
  background-position: center;
}

.bg-dots-lighter {
  background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.22676 0C1.91374 0 2.45351 0.539773 2.45351 1.22676C2.45351 1.91374 1.91374 2.45351 1.22676 2.45351C0.539773 2.45351 0 1.91374 0 1.22676C0 0.539773 0.539773 0 1.22676 0Z' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E");
  background-position: center;
}

.from-gray-700\/50 {
  background: linear-gradient(to bottom, rgba(55, 65, 81, 0.5), transparent);
}

.bg-red-50 {
  background-color: #fef2f2;
}

.stroke-red-500 {
  stroke: #ef4444;
}

.stroke-gray-400 {
  stroke: #9ca3af;
}

.stroke-gray-600 {
  stroke: #4b5563;
}

.focus\:outline {
  outline: 2px solid;
}

.focus\:outline-red-500 {
  outline-color: #ef4444;
}

.focus\:rounded-sm {
  border-radius: 0.125rem;
}

.selection\:bg-red-500 *::selection {
  background-color: #ef4444;
}

.selection\:text-white *::selection {
  color: white;
}

.selection\:bg-red-500::selection {
  background-color: #ef4444;
}

.selection\:text-white::selection {
  color: white;
}

.group:hover .group-hover\:stroke-gray-600 {
  stroke: #4b5563;
}

@media (prefers-color-scheme: dark) {
  .dark\:bg-gray-900 {
    background-color: #111827;
  }
  
  .dark\:bg-gray-800\/50 {
    background-color: rgba(31, 41, 55, 0.5);
  }
  
  .dark\:bg-red-800\/20 {
    background-color: rgba(153, 27, 27, 0.2);
  }
  
  .dark\:bg-dots-lighter {
    background-image: url("data:image/svg+xml,%3Csvg width='30' height='30' viewBox='0 0 30 30' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.22676 0C1.91374 0 2.45351 0.539773 2.45351 1.22676C2.45351 1.91374 1.91374 2.45351 1.22676 2.45351C0.539773 2.45351 0 1.91374 0 1.22676C0 0.539773 0.539773 0 1.22676 0Z' fill='rgba(255,255,255,0.07)'/%3E%3C/svg%3E");
  }
  
  .dark\:bg-gradient-to-bl {
    background-image: linear-gradient(to bottom left, var(--tw-gradient-stops));
  }
  
  .dark\:stroke-gray-600 {
    stroke: #4b5563;
  }
  
  .dark\:text-gray-400 {
    color: #9ca3af;
  }
  
  .dark\:text-white {
    color: white;
  }
  
  .dark\:shadow-none {
    box-shadow: none;
  }
  
  .dark\:ring-1 {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
  }
  
  .dark\:ring-inset {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
  }
  
  .dark\:ring-white\/5 {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
  }
  
  .dark\:hover\:text-white:hover {
    color: white;
  }
  
  .group:hover .dark\:group-hover\:stroke-gray-400 {
    stroke: #9ca3af;
  }
}

/* AI Settings Page Styles */
.ai-settings-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 5rem 0 6rem;
}

.ai-settings-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.ai-settings-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 2s infinite;
}

.ai-settings-header .header-content {
  position: relative;
  z-index: 1;
}

.ai-settings-header .page-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.ai-settings-header .page-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.ai-settings-header .header-decoration {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 50%;
  animation: float 3s ease-in-out infinite;
}

/* Settings Actions */
.settings-actions {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 2rem;
}

/* Settings List */
.settings-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.setting-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.setting-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.setting-card-default {
  border: 2px solid rgba(249, 115, 22, 0.5);
  background: linear-gradient(135deg, rgba(249, 115, 22, 0.1), rgba(249, 115, 22, 0.05));
}

.setting-card-default::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(249, 115, 22, 0.1), transparent);
  animation: shimmer 2s infinite;
}

.setting-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.setting-info {
  flex: 1;
}

.setting-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.setting-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
}

.setting-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.setting-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.setting-badge-default {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: white;
}

.setting-badge-default svg {
  width: 12px;
  height: 12px;
}

.setting-badge-active {
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
}

.setting-badge-inactive {
  background: linear-gradient(135deg, #6b7280, #4b5563);
  color: white;
}

.setting-card-content {
  margin-bottom: 1.5rem;
}

.setting-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
}

.setting-detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.setting-detail-full {
  grid-column: 1 / -1;
}

.setting-detail-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.setting-detail-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-detail-prompt {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  line-height: 1.5;
  max-height: 100px;
  overflow-y: auto;
}

.setting-card-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.setting-card-actions .action-btn {
  font-size: 0.875rem;
  padding: 0.5rem 1rem;
}

/* Empty Settings */
.empty-settings {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-settings .empty-icon {
  width: 80px;
  height: 80px;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.empty-settings .empty-icon svg {
  width: 40px;
  height: 40px;
  color: rgba(255, 255, 255, 0.6);
}

.empty-settings h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.empty-settings p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-container {
  background: white;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
}

.modal-container-small {
  max-width: 400px;
}

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

.modal-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1f2937;
}

.modal-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close:hover {
  background: #e5e7eb;
}

.modal-close svg {
  width: 20px;
  height: 20px;
  color: #6b7280;
}

.modal-form {
  padding: 2rem;
}

.modal-content {
  padding: 2rem;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  padding: 1.5rem 2rem;
  border-top: 1px solid #e5e7eb;
}

/* Form Groups */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group:last-child {
  margin-bottom: 0;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.5rem;
}

/* Slider Styles */
.slider-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.modern-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 4px;
  outline: none;
  transition: all 0.2s ease;
}

.modern-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
  transition: all 0.2s ease;
}

.modern-slider::-webkit-slider-thumb:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.modern-slider::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.3);
}

.slider-value {
  font-size: 0.875rem;
  font-weight: 600;
  color: #3b82f6;
  background: #eff6ff;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  min-width: 60px;
  text-align: center;
}

.slider-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 0.5rem;
}

/* Checkbox Styles */
.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
  display: none;
}

.checkbox-checkmark {
  width: 20px;
  height: 20px;
  background: white;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  position: relative;
  transition: all 0.2s ease;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-checkmark {
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  border-color: #3b82f6;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-checkmark::after {
  content: '';
  position: absolute;
  top: 2px;
  left: 6px;
  width: 6px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label {
  font-size: 0.875rem;
  color: #374151;
  font-weight: 500;
}

/* Action Button Variants */
.action-btn-danger {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  color: white;
}

.action-btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4);
}

.action-btn-danger:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.text-danger {
  color: #ef4444;
}

/* Responsive Design for AI Settings */
@media (max-width: 640px) {
  .ai-settings-container {
    padding: 1rem 0.75rem 6rem;
  }
  
  .ai-settings-header {
    padding: 1.5rem;
  }
  
  .ai-settings-header .page-title {
    font-size: 1.5rem;
  }
  
  .setting-card {
    padding: 1.5rem;
  }
  
  .setting-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .setting-details {
    grid-template-columns: 1fr;
  }
  
  .setting-card-actions {
    flex-direction: column;
  }
  
  .setting-card-actions .action-btn {
    width: 100%;
    justify-content: center;
  }
  
  .modal-container {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }
  
  .modal-header {
    padding: 1rem 1.5rem;
  }
  
  .modal-form {
    padding: 1.5rem;
  }
  
  .modal-actions {
    padding: 1rem 1.5rem;
    flex-direction: column;
  }
  
  .modal-actions .action-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .settings-list {
    grid-template-columns: repeat(auto-fit, minmax(500px, 1fr));
  }
  
  .setting-details {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Settings Page Styles */
.settings-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 5rem 0 6rem;
}

.settings-header {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.settings-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  animation: shimmer 2s infinite;
}

.settings-header .header-content {
  position: relative;
  z-index: 1;
}

.settings-header .page-title {
  font-size: 2rem;
  font-weight: 700;
  color: white;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.settings-header .page-subtitle {
  font-size: 1.125rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 400;
}

.settings-header .header-decoration {
  position: absolute;
  top: -50px;
  right: -50px;
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  border-radius: 50%;
  animation: float 3s ease-in-out infinite;
}

/* Settings Menu */
.settings-menu {
  margin-bottom: 2rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.menu-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.menu-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.menu-card-active {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(59, 130, 246, 0.1));
  border-color: rgba(59, 130, 246, 0.3);
}

.menu-card-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.menu-card-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.menu-card-content {
  flex: 1;
}

.menu-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

.menu-card-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.menu-card-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.menu-card-arrow svg {
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.6);
}

/* Settings Sections */
.settings-sections {
  margin-bottom: 2rem;
}

/* Twitter Integration Card */
.twitter-integration-card {
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.twitter-integration-card .menu-card-content {
  width: 100%;
  margin-bottom: 1rem;
}

.twitter-integration-card .menu-card-actions {
  display: flex;
  justify-content: flex-end;
  width: 100%;
}

.twitter-accounts-list {
  margin-top: 1rem;
  width: 100%;
}

.twitter-empty-state {
  text-align: center;
  padding: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.875rem;
}

.twitter-account-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.twitter-account-item:last-child {
  margin-bottom: 0;
}

.account-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.account-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
}

.account-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.account-details {
  display: flex;
  flex-direction: column;
  gap: 0.125rem;
}

.account-name {
  font-size: 0.875rem;
  font-weight: 600;
  color: white;
}

.account-username {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
}

.account-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.action-btn-small {
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
}

.settings-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: none;
}

.settings-section:first-child {
  display: block;
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
}

/* Settings Form */
.settings-form {
  max-width: 600px;
  margin: 0 auto;
}

.setting-group {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  margin-bottom: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.setting-info {
  flex: 1;
  padding-right: 1rem;
}

.setting-title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

.setting-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.4;
}

.setting-control {
  flex-shrink: 0;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.2);
  transition: 0.4s;
  border-radius: 34px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 3px;
  background: white;
  transition: 0.4s;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.toggle-switch input:checked + .toggle-slider {
  background: linear-gradient(135deg, #10b981, #059669);
}

.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

/* Number Input */
.number-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  padding: 0.5rem 1rem;
}

.number-input-wrapper .modern-input {
  background: transparent;
  border: none;
  color: white;
  font-weight: 500;
  width: 80px;
  text-align: center;
}

.number-input-wrapper .modern-input:focus {
  outline: none;
}

.input-unit {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin-left: 0.5rem;
}

/* Account Management */
.account-management {
  max-width: 600px;
  margin: 0 auto;
}

.account-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 1rem;
}

.account-card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.account-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1da1f2, #0d8bd9);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.account-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.account-info {
  flex: 1;
}

.account-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

.account-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.account-actions {
  display: flex;
  justify-content: flex-end;
}

/* Quick Actions */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
}

.quick-action-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.quick-action-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.1));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.quick-action-icon svg {
  width: 24px;
  height: 24px;
  color: white;
}

.quick-action-content {
  flex: 1;
}

.quick-action-title {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

.quick-action-description {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.form-actions {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
}

/* Responsive Design for Settings */
@media (max-width: 640px) {
  .settings-container {
    padding: 1rem 0.75rem 6rem;
  }
  
  .settings-header {
    padding: 1.5rem;
  }
  
  .settings-header .page-title {
    font-size: 1.5rem;
  }
  
  .menu-grid {
    grid-template-columns: 1fr;
  }
  
  .menu-card {
    padding: 1rem;
  }
  
  .settings-section {
    padding: 1.5rem;
  }
  
  .setting-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
  }
  
  .setting-info {
    padding-right: 0;
  }
  
  .setting-control {
    width: 100%;
    display: flex;
    justify-content: flex-end;
  }
  
  .account-card-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  
  .account-actions {
    width: 100%;
    justify-content: stretch;
  }
  
  .account-actions .action-btn {
    width: 100%;
    justify-content: center;
  }
  
  .quick-actions {
    grid-template-columns: 1fr;
  }
  
  .quick-action-card {
    flex-direction: column;
    text-align: center;
  }
  
  .quick-action-card .action-btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 768px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .settings-form {
    max-width: 700px;
  }
}

/* Current Account Display Styles */
.current-account-display {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.current-account-display:hover {
  background: rgba(255, 255, 255, 0.15);
}

.account-avatar, .posting-account-avatar {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, #1da1f2, #0d8bd9);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.account-avatar svg, .posting-account-avatar svg {
  width: 24px;
  height: 24px;
  color: white;
}

.account-details, .posting-account-info {
  flex: 1;
}

.account-name, .posting-account-name {
  font-size: 1rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.25rem;
}

.account-username, .posting-account-username {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.change-account-btn {
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.change-account-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

.change-account-btn svg {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.8);
}

/* Account Dropdown */
.account-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 10;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  border: 1px solid #e5e7eb;
  margin-top: 0.5rem;
  max-height: 300px;
  overflow-y: auto;
}

.account-list {
  padding: 0.5rem;
}

.account-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.account-item:hover {
  background: #f3f4f6;
}

.account-item .account-avatar {
  width: 40px;
  height: 40px;
}

.account-item .account-avatar svg {
  width: 20px;
  height: 20px;
}

.account-item .account-name {
  color: #1f2937;
  font-size: 0.875rem;
}

.account-item .account-username {
  color: #6b7280;
  font-size: 0.75rem;
}

.current-indicator {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  background: linear-gradient(135deg, #10b981, #059669);
  color: white;
  font-size: 0.75rem;
  font-weight: 500;
  padding: 0.25rem 0.5rem;
  border-radius: 12px;
}

/* Current Posting Account (for posts/create and ai/generate) */
.current-posting-account {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
}

.posting-account-actions {
  flex-shrink: 0;
}

.change-account-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.change-account-link:hover {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  text-decoration: none;
}

.change-account-link svg {
  width: 16px;
  height: 16px;
}