/* =====================================================================
   Simple Professional Lead Management CRM — Base Stylesheet
   ===================================================================== */

:root {
  --crm-primary: #4f46e5;
  --crm-primary-dark: #4338ca;
  --crm-success: #16a34a;
  --crm-warning: #f59e0b;
  --crm-info: #0ea5e9;
  --crm-danger: #dc2626;
  --crm-bg: #f4f6fb;
  --crm-card-radius: 16px;
  --crm-shadow: 0 10px 30px rgba(17, 24, 39, 0.08);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--crm-bg);
}

/* ---------------------------------------------------------------
   Auth / Login Page — Glassmorphism
   --------------------------------------------------------------- */
.auth-body {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 45%, #0ea5e9 100%);
  background-size: 200% 200%;
  animation: gradientShift 12s ease infinite;
  padding: 20px;
}

@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.auth-wrapper {
  width: 100%;
  max-width: 420px;
}

.glass-card {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(17, 24, 39, 0.25);
  padding: 2.5rem 2.25rem;
  animation: fadeInUp 0.5s ease;
}

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

.auth-logo-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crm-primary), #7c3aed);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px rgba(79, 70, 229, 0.35);
}

.auth-body .btn-primary {
  background: linear-gradient(135deg, var(--crm-primary), var(--crm-primary-dark));
  border: none;
  border-radius: 10px;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.auth-body .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(79, 70, 229, 0.35);
}

.auth-body .form-control,
.auth-body .input-group-text {
  border-color: #e5e7eb;
}

.auth-body .form-control:focus {
  box-shadow: none;
  border-color: var(--crm-primary);
}

/* ---------------------------------------------------------------
   Shared admin dashboard tokens (used in later phases)
   --------------------------------------------------------------- */
.card {
  border: none;
  border-radius: var(--crm-card-radius);
  box-shadow: var(--crm-shadow);
}

.badge {
  font-weight: 500;
  letter-spacing: 0.2px;
}
