/* ============================================================
   OVERRIDE FOR: public/css/admin/styles.css
   INSTRUCTION: Load this file AFTER styles.css in your layout
   template. Do NOT replace styles.css — this overrides it.

   Changes applied:
   - Font: Helvetica Neue → Inter/Segoe UI
   - Body font-size: 13px → 14px
   - Body background: #ffffff → #f8fafc
   - Body text color: #333333 → #1e293b (richer dark)
   - Headings: Raleway weight 300 → Inter weight 600
   - Link colors: updated to modern blue
   - Selection highlight: updated
   - Topbar/navbar: font-size tick-up
   ============================================================ */

/* ---- Google Font: Inter ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* ---- Base Body ---- */
html,
body {
    font-family: 'Inter', 'Segoe UI', system-ui, Arial, sans-serif;
    font-size: 14px;
    color: #1e293b;
    background: #f8fafc;
}

/* ---- Text Selection ---- */
::-moz-selection {
    background: #3b82f6;
    text-shadow: none;
    color: #ffffff;
}

::selection {
    background: #3b82f6;
    text-shadow: none;
    color: #ffffff;
}

/* ---- Links ---- */
a {
    color: #2563eb;
}

a:hover,
a:focus,
a:active {
    color: #1d4ed8;
}

/* ---- Headings ---- */
h1, h2, h3, h4 {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 600;
}

h5, h6 {
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    font-weight: 500;
}

.text-bold h1, h1.text-bold,
.text-bold h2, h2.text-bold,
.text-bold h3, h3.text-bold,
.text-bold h4, h4.text-bold {
    font-weight: 700;
}

/* ---- Topbar Nav Items ---- */
.topbar .container .topbar-tools > ul > li > a {
    font-size: 13px;
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
}

/* ---- Main Navigation Menu items ---- */
ul.main-navigation-menu > li a {
    font-family: 'Inter', 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
}

  /* ── Core badge ── */
  .badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 9999px;
    font-weight: 500;
    white-space: nowrap;
    border: 1px solid transparent;
    cursor: default;
    user-select: none;
    transition: opacity 0.15s ease;
  }
  .badge:hover { opacity: 0.85; }

  /* Sizes */
  .badge-sm { font-size: 11px; padding: 3px 9px; }
  .badge-sm .badge-icon { font-size: 11px; width: 11px; height: 11px; }

  .badge-md { font-size: 13px; padding: 5px 13px; }
  .badge-md .badge-icon { font-size: 13px; width: 13px; height: 13px; }

  .badge-lg { font-size: 15px; padding: 7px 16px; }
  .badge-lg .badge-icon { font-size: 15px; width: 15px; height: 15px; }

  /* Pass */
  .badge-pass {
    background: #EAF3DE;
    border-color: #7CB83E;
    color: #3B6D11;
  }

  /* Fail */
  .badge-fail {
    background: #FCEBEB;
    border-color: #E24B4A;
    color: #A32D2D;
  }
