/* Icarus Tool Portal — Shared Styles
 *
 * Colour palette (Bootstrap 5.3.3 dark theme — data-bs-theme="dark")
 * All combinations verified against WCAG 2.1 SC 1.4.3 (AA ≥4.5:1 normal text, ≥3:1 large/UI).
 *
 * Foreground            Background          Contrast   WCAG
 * --------------------  ------------------  ---------  ----
 * #dee2e6  (body)        #212529  (bg)        ~10.4:1   AA ✓
 * #adb5bd  (muted)       #212529  (bg)         ~5.9:1   AA ✓
 * #ffc107  (warning)     #212529  (bg)         ~8.1:1   AA ✓
 * #6ea8fe  (link)        #212529  (bg)         ~5.4:1   AA ✓
 * #dee2e6  (body)        #2b3035  (tertiary)   ~9.5:1   AA ✓
 * #000000  (btn text)    #ffc107  (btn bg)     ~8.1:1   AA ✓
 * #fff     (skip-link)   #000000  (skip bg)   ~21.0:1   AA ✓
 */

/* ─── Skip link ─────────────────────────────────────────────────────── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 9999;
    padding: 0.5rem 1rem;
    background: #000;
    color: #fff;
    text-decoration: none;
}
.skip-link:focus {
    top: 0;
}

/* ─── Tool cards (landing page) ─────────────────────────────────────── */
.tool-card {
    transition: box-shadow 0.15s ease, border-color 0.15s ease;
}
.tool-card:hover {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}
.tool-card:focus-within {
    border-color: var(--bs-primary) !important;
    box-shadow: 0 0 0 2px rgba(13, 110, 253, 0.25);
}
