/* Shopfront Desk - Warm & Friendly Design System */

:root {
  /* Primary Colors - Warm and inviting */
  --primary-warm: #FF6B35;  /* Warm orange */
  --primary-modern: #4A90E2; /* Trust blue */
  --success-warm: #8BD8BD;  /* Mint green */
  --warning-warm: #FFD93D;   /* Friendly yellow */
  --danger-soft: #F95959;    /* Soft red */
  
  /* Neutral Colors */
  --dark-blue: #243665;      /* Professional navy */
  --text-primary: #2C3E50;   /* Dark slate */
  --text-muted: #718096;     /* Soft gray */
  --bg-light: #F8FAFB;       /* Off white */
  --bg-warm: #FFF9F5;        /* Warm white */
  
  /* Gradients */
  --gradient-warm: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  --gradient-success: linear-gradient(135deg, #8BD8BD 0%, #6FC3A0 100%);
  --gradient-primary: linear-gradient(135deg, #667eea 0%, #4A90E2 100%);
  
  /* Shadows */
  --shadow-soft: 0 4px 6px rgba(0, 0, 0, 0.07);
  --shadow-modern: 0 10px 30px rgba(0, 0, 0, 0.1);
  --shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
  
  /* Border Radius */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* Global Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
}

/* Warm Headers */
h1, h2, h3, h4, h5, h6 {
  color: var(--dark-blue);
  font-weight: 700;
  line-height: 1.3;
}

.display-4, .display-5 {
  font-weight: 800;
  letter-spacing: -0.02em;
}

/* Warm Buttons */
.btn-warm-primary {
  background: var(--gradient-warm);
  color: white;
  border: none;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.btn-warm-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: white;
}

.btn-warm-success {
  background: var(--gradient-success);
  color: white;
  border: none;
  padding: 12px 28px;
  font-weight: 600;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
}

.btn-warm-success:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-hover);
  color: white;
}

.btn-warm-outline {
  background: transparent;
  color: var(--primary-modern);
  border: 2px solid var(--primary-modern);
  padding: 10px 26px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.btn-warm-outline:hover {
  background: var(--primary-modern);
  color: white;
  transform: translateY(-2px);
}

/* Warm Cards */
.card-warm {
  background: white;
  border-radius: var(--radius-lg);
  border: none;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card-warm:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-modern);
}

.card-warm .card-header {
  background: var(--bg-warm);
  border-bottom: 2px solid #E2E8F0;
  padding: 1rem 1.25rem;
  font-weight: 600;
}

/* Stat Cards */
.stat-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  border-left: 4px solid;
  height: 100%;
}

.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-modern);
}

.stat-card.primary { border-left-color: var(--primary-modern); }
.stat-card.success { border-left-color: var(--success-warm); }
.stat-card.warning { border-left-color: var(--warning-warm); }
.stat-card.info { border-left-color: var(--primary-warm); }

.stat-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.stat-icon.primary { background: rgba(74, 144, 226, 0.1); color: var(--primary-modern); }
.stat-icon.success { background: rgba(139, 216, 189, 0.1); color: var(--success-warm); }
.stat-icon.warning { background: rgba(255, 217, 61, 0.1); color: var(--warning-warm); }
.stat-icon.info { background: rgba(255, 107, 53, 0.1); color: var(--primary-warm); }

/* Warm Badges */
.badge-warm {
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.875rem;
}

.badge-warm-success {
  background: rgba(139, 216, 189, 0.15);
  color: #2F7C57;
}

.badge-warm-primary {
  background: rgba(74, 144, 226, 0.15);
  color: var(--primary-modern);
}

.badge-warm-warning {
  background: rgba(255, 217, 61, 0.15);
  color: #B17900;
}

/* Warm Alerts */
.alert-warm {
  border-radius: var(--radius-md);
  border: none;
  padding: 1rem 1.25rem;
}

.alert-warm-info {
  background: rgba(74, 144, 226, 0.1);
  color: var(--primary-modern);
  border-left: 4px solid var(--primary-modern);
}

.alert-warm-success {
  background: rgba(139, 216, 189, 0.1);
  color: #2F7C57;
  border-left: 4px solid var(--success-warm);
}

.alert-warm-warning {
  background: rgba(255, 217, 61, 0.1);
  color: #B17900;
  border-left: 4px solid var(--warning-warm);
}

/* Navigation Updates */
.navbar {
  background: white !important;
  box-shadow: var(--shadow-soft);
  padding: 1rem 0;
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--dark-blue) !important;
}

.nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  border-radius: var(--radius-sm);
  padding: 0.5rem 1rem !important;
  transition: all 0.2s ease;
}

.nav-link:hover {
  background: var(--bg-warm);
  color: var(--primary-modern) !important;
}

.nav-link.active {
  background: var(--gradient-primary);
  color: white !important;
}

/* Sidebar Updates */
.nav-pills .nav-link {
  border-radius: var(--radius-md);
  margin-bottom: 0.25rem;
  transition: all 0.2s ease;
}

.nav-pills .nav-link:hover {
  background: var(--bg-warm);
  transform: translateX(4px);
}

.nav-pills .nav-link.active {
  background: var(--gradient-primary);
  color: white;
}

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

.empty-state-icon {
  font-size: 4rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.empty-state h5 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.empty-state p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

/* List Items */
.list-item-warm {
  background: white;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-bottom: 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: all 0.2s ease;
}

.list-item-warm:hover {
  border-color: var(--primary-modern);
  box-shadow: var(--shadow-soft);
  transform: translateX(4px);
}

/* Chat/Message Styles */
.chat-bubble {
  border-radius: var(--radius-lg);
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  max-width: 70%;
  word-wrap: break-word;
}

.chat-bubble.sent {
  background: var(--gradient-primary);
  color: white;
  margin-left: auto;
  border-bottom-right-radius: 4px;
}

.chat-bubble.received {
  background: var(--bg-warm);
  color: var(--text-primary);
  border-bottom-left-radius: 4px;
}

/* Form Styles */
.form-control, .form-select {
  border-radius: var(--radius-sm);
  border: 2px solid #E2E8F0;
  padding: 0.625rem 0.875rem;
  transition: all 0.2s ease;
}

.form-control:focus, .form-select:focus {
  border-color: var(--primary-modern);
  box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
}

.form-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

/* Table Styles */
.table-warm {
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.table-warm thead {
  background: var(--bg-warm);
}

.table-warm th {
  font-weight: 600;
  color: var(--text-primary);
  border-bottom: 2px solid var(--success-warm);
  padding: 1rem;
}

.table-warm tbody tr {
  transition: all 0.2s ease;
}

.table-warm tbody tr:hover {
  background: var(--bg-warm);
}

/* Animation Classes */
.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out;
}

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

.animate-pulse-soft {
  animation: pulseSoft 3s ease-in-out infinite;
}

@keyframes pulseSoft {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.02); }
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .display-4 { font-size: 2.5rem; }
  .display-5 { font-size: 2rem; }
  .stat-card { margin-bottom: 1rem; }
}

/* Quick Action Buttons */
.quick-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.25rem;
  background: white;
  border: 2px solid var(--bg-light);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-weight: 500;
  transition: all 0.2s ease;
  text-decoration: none;
}

.quick-action:hover {
  border-color: var(--primary-modern);
  background: var(--bg-warm);
  transform: translateY(-2px);
  color: var(--primary-modern);
  text-decoration: none;
}

.quick-action-icon {
  font-size: 1.25rem;
}

