/* ============================
   Tools Pack — Global Styles
   ============================ */

/* 1) Base reset & typography */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  min-height: 100vh;
  background: var(--background);
  color: var(--text);

  /* subtle brand background glow, used across the site */
  background-image: radial-gradient(
      circle at 20% 20%,
      rgba(59, 130, 246, 0.1) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(139, 92, 246, 0.1) 0%,
      transparent 50%
    );
  /* background-attachment: fixed; */
  background-attachment: scroll; /* override your fixed attachment */
}

/* 2) Design tokens */
:root {
  --badge: #073c92;
  --primary: #4a6fa5;
  --secondary: #6b8cbc;
  --primary-hover: #2563eb;

  --accent: #ff7e5f;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --radius: 10px;
  --background: #0f172a; /* page bg (slate-900) */
  --surface: #1e293b; /* card bg (slate-800) */
  --surface-light: #334155; /* lighter surface */
  --text: #f1f5f9; /* slate-100 */
  --text-muted: #c4cdd6; /* slate-400 */
  --border: #475569; /* slate-600 */

  --gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);

  --shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1),
    0 10px 10px -5px rgb(0 0 0 / 0.04);

  --shadow-lg: 0 25px 50px -12px rgb(0 0 0 / 0.25);

  --link: #60a5fa; /* sky-400 on dark bg: passes 4.5:1 */
  --link-hover: #93c5fd; /* lighter on hover */
  --link-visited: #a78bfa; /* violet-400, still passes on dark bg */
}
/* 2) Design tokens */
/* --- Light theme defaults (explicit) --- */
:root {
  --background: #ffffff;
  --surface: #f8fafc;
  --surface-light: #f1f5f9;
  --text: #0f172a;
  --text-muted: #475569;
  --border: #e6edf6;
  --link: #2563eb;
  --link-hover: #3b82f6;
}

/* --- Dark theme overrides --- */
[data-theme="dark"] {
  --background: #0f172a;
  --surface: #1e293b;
  --surface-light: #334155;
  --text: #f1f5f9;
  --text-muted: #eef6ff;
  --border: #475569;
  --link: #60a5fa;
  --link-hover: #93c5fd;
}
header.global-top-header {
  text-align: center;
  margin-bottom: 40px;
  padding: 30px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 10px;
  box-shadow: var(--shadow);
}

.global-top-header h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}
.tagline {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}
.content-section {
  background: var(--surface);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow);
  margin-bottom: 2rem;
}

.content-section h2 {
  color: var(--primary);
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--light);
}

.content-section h3 {
  color: var(--secondary);
  margin: 1.5rem 0 1rem;
}

.content-section p {
  margin-bottom: 1rem;
}

.top-card {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2rem;
}
@media (max-width: 992px) {
  .top-card {
    grid-template-columns: 1fr;
  }
}
/* Theme toggle visual */
#theme-toggle {
  background: none;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: background 0.12s ease, transform 0.12s ease,
    border-color 0.12s ease;
}
#theme-toggle:hover {
  background: var(--surface-light);
  transform: translateY(-2px);
}
#theme-toggle[aria-pressed="true"] {
  border-color: var(--primary);
  background: linear-gradient(
    90deg,
    rgba(59, 130, 246, 0.06),
    rgba(16, 185, 129, 0.03)
  );
}
#theme-toggle-icon {
  font-size: 16px;
  line-height: 1;
}

.contrast-result {
  display: block !important;
  position: static !important;
  clip: auto !important;
  clip-path: none !important;
  width: auto !important;
  height: auto !important;
  overflow: visible !important;
  visibility: visible !important;
  opacity: 1 !important;

  margin-top: 32px;
  padding: 10px;
  border: 1px solid #e6eae9;
  border-radius: 8px;
  font: 14px/1.4 ui-monospace, SFMono-Regular, Menlo, Consolas,
    "Liberation Mono", monospace;
}

/* global-tock style  */

/* global-toc styles */
.global-toc {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);

  transition: all 0.3s ease;
}

.global-toc a {
  color: var(--text-muted); /* dark blue for links */
  text-decoration: none;
  font-weight: 500;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s, color 0.2s;
}
a {
  /* text-decoration: none; */
  color: white;
}
.global-toc a:hover,
.global-toc a:focus {
  background: #242529;
  color: #888b91;
  outline: none;
}

.global-toc a:active {
  background: #c7d2fe;
}

.global-toc a.current {
  background: #1e40af;
  color: #fff;
}
.global-breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: 0.75rem;
  border: 1px solid var(--border);
}
.global-breadcrumbs a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.3s ease;
  font-size: 1rem;
}
.global-breadcrumbs a:hover {
  color: var(--primary-hover);
}
/* 3) Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

/* 4) Header + global-breadcrumbs */
.header {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeInUp 0.8s ease-out;
}
.header h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 1rem;
}
.header .subtitle {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 1rem;
  line-height: 2;
}

.badge {
  display: inline-block;
  background: var(--badge);
  color: #fff;
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* 5) Card (shared) */
.card {
  background: var(--surface);
  border-radius: 1.5rem;
  padding: 2rem;
  margin-bottom: 2rem;
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  transition: all 0.3s ease;

  /* entrance animation baseline */
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateY(20px);
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.card:nth-child(odd) {
  animation-delay: 0.1s;
}
.card:nth-child(even) {
  animation-delay: 0.2s;
}

/* “tool-card” = hero card on each tool page.
   Keep generic here; override in per-tool CSS if needed. */
.tool-card {
  background: linear-gradient(
    135deg,
    var(--surface) 0%,
    rgba(59, 130, 246, 0.05) 100%
  );
}
.tool-card h3 {
  background: var(--gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
  font-size: 1.8rem;
}
/* 6) Forms (shared) */
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  color: var(--text-muted);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.form-input,
.form-textarea {
  width: 100%;
  background: var(--background);
  border: 2px solid var(--border);
  border-radius: 0.75rem;
  padding: 1rem;
  color: var(--text);
  font-family: "Monaco", "Menlo", "Ubuntu Mono", monospace;
  font-size: 0.9rem;
  line-height: 1.5;
  transition: all 0.3s ease;
}

.form-textarea {
  min-height: 120px;
  resize: vertical;
}
.input-with-icon {
  position: relative;
  display: flex;
  align-items: center;
}
.cal-btn {
  position: absolute;
  right: 20px;

  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #6b7280;
  transition: color 0.2s, transform 0.2s;
}
.cal-btn svg {
  width: 20px;
  height: 20px;
  stroke-width: 1.6;
}
.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Output textarea style used by many tools */
.form-textarea.output {
  background: rgba(16, 185, 129, 0.05);
  border-color: rgba(16, 185, 129, 0.3);
}

/* form select  */

/* Base select (matches .form-input) */
.form-select {
  /* remove native arrows */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;

  /* custom chevron */
}

.form-select:hover {
  border-color: var(--primary);
}

.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Disabled */
.form-select:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Multiple selects: remove chevron, adjust padding */
.form-select[multiple],
.form-select[size]:not([size="0"]):not([size="1"]) {
  background-image: none;
  padding-right: 1rem;
  min-height: 8rem; /* feel free to tweak */
}

/* Validation helpers (optional) */
.form-select.is-valid {
  border-color: var(--success);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}
.form-select.is-invalid {
  border-color: var(--danger);
  box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
}

/* Size variants (optional) */
.form-select.sm {
  padding: 0.5rem 2rem 0.5rem 0.75rem;
  font-size: 0.85rem;
}
.form-select.lg {
  padding: 1.15rem 2.75rem 1.15rem 1.15rem;
  font-size: 1rem;
}

/* Option text color (fallback; many UAs ignore) */
/* .form-select option {
  color: var(--text);
  background: var(--background);
} */

/* 7) Buttons (shared) */
.controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
  justify-content: center;
}

.global-btn {
  background: var(--primary);
  color: #fff;
  border: 0;
  padding: 0.875rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}
.global-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px var(--primary);
}
.global-btn:active {
  transform: translateY(0);
}

.global-btn-success {
  background: var(--success);
}
.global-btn-success:hover {
  background: #059669;
  box-shadow: 0 10px 25px -5px var(--success);
}
.global-btn-danger {
  background: var(--danger);
}
.global-btn-danger:hover {
  background: #dc2626;
}
.global-btn-small {
  padding: 0.5rem;
  min-width: auto;
  border-radius: 0.5rem;
  font-size: 0.875rem;
}

/* 9) Info grid + examples (shared) */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}
.info-section h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.25rem;
}
.info-section ul {
  list-style: none;
}
.info-section li {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}
.info-section li:last-child {
  border-bottom: none;
}
.info-section li::before {
  content: "✓";
  color: var(--success);
  font-weight: bold;
  width: 1rem;
  flex-shrink: 0;
  margin-top: 0.125rem;
}
.info-section code {
  color: var(--white);
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875rem;
}

.examples {
  background: var(--background);
  border-radius: 0.75rem;
  padding: 1.5rem;
  margin: 1.5rem 0;
  border: 1px solid var(--border);
}
.example {
  margin: 1rem 0;
  padding: 1rem;
  background: var(--surface);
  border-radius: 0.5rem;
  border-left: 4px solid var(--primary);
}
.example-title {
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
  font-size: 22px;
}
.example-content {
  font-size: 0.975rem;
  color: var(--white);
  word-break: break-all;
}

/* Optional shared “tip” block */
.tip {
  background: rgba(59, 130, 246, 0.05);
  border-left: 4px solid var(--primary);
  padding: 1.5rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 1.5rem 0;
}
.tip h3 {
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-size: 1.125rem;
}

/* 10) FAQ (shared) */
.faq-section {
  margin-top: 2rem;
}
.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
}
.faq-question {
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  text-align: left;
}
.faq-question:hover {
  color: var(--primary);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--text-muted);
}
.faq-answer.shows {
  max-height: 500px;
  padding-top: 1rem;
}
.faq-icon {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  color: var(--primary);
}
.faq-icon.rotate {
  transform: rotate(45deg);
}

/* 11) Footer (shared) */
.footer {
  text-align: center;
  padding: 3rem 0;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 4rem;
}

/* 12) Animations */
@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 13) Responsive (shared) */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  .controls {
    flex-direction: column;
  }
  .global-btn {
    width: 100%;
    justify-content: center;
  }
}
/* =========================
   Dark Mode — Home Sections
   ========================= */

/* 0) Helpers */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 1px, 1px) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* 1) Sticky header / brand bar */
header.sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in oklab, var(--surface) 86%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.wrap.brand {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
}

/* .logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--gradient);
  box-shadow: var(--shadow);
} */

.site-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  letter-spacing: 0.2px;
}
.sub {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Header nav links */
.wrap.brand nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  padding: 8px 10px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s, transform 0.15s;
  outline-offset: 2px;
}
.wrap.brand nav a:hover,
.wrap.brand nav a:focus-visible {
  color: var(--text);
  background: color-mix(in oklab, var(--surface-light) 60%, transparent);
}
.wrap.brand nav a:active {
  transform: translateY(1px);
}
header a {
  color: var(--text);
}
.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 4px;
}

/* 7) Footer */
footer.wrap {
  margin-top: 40px;
  padding: 28px 20px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  text-align: center;
}
footer.wrap nav a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 6px;
  padding: 4px 6px;
  border-radius: 6px;
}
footer.wrap nav a:hover,
footer.wrap nav a:focus-visible {
  color: var(--text);
  background: color-mix(in oklab, var(--surface) 60%, transparent);
}

/* 8) Focus visibility for keyboard users */
:where(a, button, [href], .tool-link, .global-btn):focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
  border-radius: 8px;
}

/* 9) Motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

/* add new style  */

.form-textarea {
  width: 100%;
  padding: 15px;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: "Courier New", monospace;
  font-size: 16px;
  resize: vertical;
  transition: all 0.3s;
  color: var(--text);
}
.form-textarea::placeholder {
  color: var(--text-muted);
}
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.form-input {
  padding: 12px 15px;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s;
  color: var(--text);
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}
.global-btn-group {
  margin-top: 15px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.global-btn {
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  flex-grow: 1;
  min-width: 120px;
  background-color: var(--surface-light);
  color: var(--text);
}

.global-btn-primary {
  background: var(--gradient);
  color: white;
}

.global-btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.global-btn:hover:not(.global-btn-primary) {
  background-color: var(--border);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.muted {
  color: var(--text-muted);
  font-size: 28px;
  margin-top: 10px;
  /* text-align: center; */
  min-height: 20px;
}
.success {
  color: var(--success);
}

.error {
  color: var(--danger);
}

.warning {
  color: var(--warning);
}

@media (max-width: 600px) {
  .global-btn-group {
    flex-direction: column;
  }

  .global-btn {
    width: 100%;
  }
  .site-title {
    display: none;
  }
}

/* style for add  */
/* style for add  */
/* style for add  */

.global-ad-wrap {
  background-color: var(--surface-light);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 15px;
  margin: 20px 0;

  text-align: center;
  position: relative;

  /* 🧱 Layout stability */
  min-height: 70px; /* Ad block-এর নির্দিষ্ট জায়গা রাখে */
  display: flex;
  align-items: center;
  justify-content: center;

  /* 🪄 Smooth appearance */
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.ad-label {
  position: absolute;
  top: -10px;
  left: 10px;
  background: var(--surface);
  padding: 0 5px;
  font-size: 12px;
  color: var(--text-muted);
}

.ad-content {
  color: var(--text-muted);
  font-style: italic;
}
.span-6 {
  grid-column: span 6;
}

.span-12 {
  grid-column: span 12;
}

.field {
  display: flex;
  flex-direction: column;
}

.unit-block {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}

.unit-block:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}
.form-label {
  display: block;

  font-weight: 600;
  color: var(--text);
}

.row {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  flex-wrap: wrap;
}

/* .form-input {
  padding: 10px 12px;
  background-color: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s;
  color: var(--text);
  flex: 1;
  min-width: 120px;
} */

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.form-select {
  padding: 10px 12px;
  background-color: var(--background);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 16px;
  color: var(--text);
  cursor: pointer;
  flex: 1;
  min-width: 120px;
}

.form-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.result {
  padding: 10px;
  background-color: var(--surface-light);
  border-radius: 8px;
  border: 1px solid var(--border);
  font-family: "Courier New", monospace;
  font-size: 1rem;
  min-height: 1.5em;
  color: var(--success);
}

.muted {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 15px;
}

kbd {
  background-color: var(--surface-light);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 2px 6px;
  font-size: 0.8rem;
  font-family: monospace;
}

@media (max-width: 480px) {
  .row {
    flex-direction: column;
  }

  .form-input,
  .form-select {
    width: 100%;
  }
}
#related .global-btn {
  margin: 0.5rem 0;
}
#related .muted {
  font-size: 18px;
}

#related .small {
  font-size: 18px;
}
footer .muted {
  font-size: 1.1rem;
}
.text-link {
  color: var(--link, #60a5fa); /* good contrast on dark */
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
  font-weight: 600; /* extra non-color cue */
}

/* Hover & focus: add a second cue beyond color */
.text-link:hover,
.text-link:focus-visible {
  color: var(--link-hover, #93c5fd);
  text-decoration-thickness: 3px;
  outline: 2px solid var(--link-hover, #93c5fd);
  outline-offset: 2px;
}

/* Visited state remains distinguishable */
.text-link:visited {
  color: var(--link-visited, #a78bfa);
}
