/* InTouch Import Export & Trading - Custom Theme & Interaction Styles */

:root {
  --color-navy: #002147;
  --color-green: #1B5E20;
  --color-green-light: #2e7d32;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  color: #0f172a;
  background-color: #f8fafc;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: -0.02em;
  font-weight: 700;
}

/* Bento card hover effect */
.bento-card {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -8px rgba(0, 33, 71, 0.08);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Nav Link Hover Underline Animation */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #1B5E20;
  transition: width 0.2s ease-in-out;
}
.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Multi-step Form Wizard */
.form-step {
  display: none;
}
.form-step.active {
  display: block;
}

/* Status Badges */
.badge-new { background-color: #eff6ff; color: #1d4ed8; border: 1px solid #bfdbfe; }
.badge-contacted { background-color: #fefce8; color: #a16207; border: 1px solid #fef08a; }
.badge-in_progress { background-color: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
.badge-qualified { background-color: #faf5ff; color: #7e22ce; border: 1px solid #e9d5ff; }
.badge-closed { background-color: #f1f5f9; color: #475569; border: 1px solid #cbd5e1; }

/* Modal Transitions */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  transition: opacity 0.2s ease;
}

/* Spinner Animation */
@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.animate-spin-custom {
  animation: spin 1s linear infinite;
}

/* Touch targets */
@media (max-width: 768px) {
  .touch-target {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
}
