/* Jainet EA — Global Styles */

/* Typography */
body {
  font-family: 'Inter', system-ui, sans-serif;
}
.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Sidebar transitions */
.sidebar-link {
  transition: all 0.15s ease;
}
.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.1);
}
.sidebar-link.active {
  background: rgba(255, 255, 255, 0.15);
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: transparent;
}
::-webkit-scrollbar-thumb {
  background: #d1d5db;
  border-radius: 3px;
}

/* Focus ring utility */
.input-field {
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input-field:focus {
  border-color: #0d9488;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.15);
  outline: none;
}

/* Card hover */
.stat-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.stat-card:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

/* Button transitions */
.btn {
  transition: all 0.15s ease;
}

/* Email body styling */
.email-body img {
  max-width: 100%;
  height: auto;
}
.email-body a {
  color: #0d9488;
  text-decoration: underline;
}
.email-body table {
  max-width: 100%;
  overflow-x: auto;
}
.email-body blockquote {
  border-left: 3px solid #d1d5db;
  padding-left: 12px;
  margin-left: 0;
  color: #6b7280;
}

/* Conversation card hover */
.conversation-card {
  transition: all 0.15s ease;
}

/* WhatsApp chat bubble styles */
.wa-bubble-out {
  border-radius: 8px 0 8px 8px;
}
.wa-bubble-in {
  border-radius: 0 8px 8px 8px;
}

/* Line clamp utility */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Flash message auto-dismiss animation */
.flash-message {
  animation: flashIn 0.3s ease;
}
@keyframes flashIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
