/* ==============================================================================
   Onesimus Enterprise MailOps - Design System & Custom Stylesheet
   Obsidian & Crimson Aesthetic | Tailwind CSS Complementary
   ============================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.code-font {
  font-family: 'JetBrains Mono', monospace;
}

/* --- Premium Custom Scrollbar Styles --- */
::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

.scroll-dark::-webkit-scrollbar-track {
  background: #09090b;
}

.scroll-dark::-webkit-scrollbar-thumb {
  background: #27272a;
  border-radius: 2px;
}

.scroll-dark::-webkit-scrollbar-thumb:hover {
  background: #3f3f46;
}

.scroll-light::-webkit-scrollbar-track {
  background: #fafafa;
}

.scroll-light::-webkit-scrollbar-thumb {
  background: #e4e4e7;
  border-radius: 2px;
}

.scroll-light::-webkit-scrollbar-thumb:hover {
  background: #d4d4d8;
}

/* --- Glass / Glow Highlights for Obsidian Elements --- */
.glow-red {
  box-shadow: 0 0 20px rgba(225, 29, 72, 0.12), 0 0 1px rgba(225, 29, 72, 0.4);
}

.glow-light-red {
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.08), 0 0 1px rgba(220, 38, 38, 0.3);
}

.glow-emerald {
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.15);
}

/* --- Smooth Transitions --- */
.transition-all-custom {
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Password Entropy Bar Styles --- */
.entropy-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 9999px;
  overflow: hidden;
  margin-top: 6px;
}

.entropy-bar-fill {
  height: 100%;
  width: 0%;
  border-radius: 9999px;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.entropy-very-weak {
  width: 15%;
  background: #ef4444;
}

.entropy-weak {
  width: 35%;
  background: #f97316;
}

.entropy-moderate {
  width: 60%;
  background: #eab308;
}

.entropy-strong {
  width: 85%;
  background: #10b981;
}

.entropy-exceptional {
  width: 100%;
  background: #06b6d4;
  box-shadow: 0 0 10px rgba(6, 182, 212, 0.5);
}

/* --- Spin animations --- */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

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