/* Race-Day Online theme (login) */
.rd-theme{
    --rd-lime: #CFFF00;
    --rd-blue: #0013FF;
    --rd-black:#000;
  
    /* map to Bootstrap tokens so text-primary / text-warning work */
    --bs-primary: var(--rd-blue);
    --bs-primary-rgb: 0,19,255;
    --bs-warning: var(--rd-lime);
    --bs-warning-rgb: 207,255,0;
  }
  
  /* ===== Backgrounds ===== */
  .rd-theme.rd-blue{
    background:
      radial-gradient(1100px 700px at 85% -10%, rgba(255,255,255,.12), transparent 60%),
      radial-gradient(900px 600px at -10% 110%, rgba(0,0,0,.12), transparent 60%),
      var(--rd-blue) !important;
  }
  .rd-theme.rd-lime{
    background:
      radial-gradient(1100px 700px at 85% -10%, rgba(0,0,0,.06), transparent 60%),
      radial-gradient(900px 600px at -10% 110%, rgba(0,0,0,.08), transparent 60%),
      var(--rd-lime) !important;
  }
  
  /* ===== Card & polish ===== */
  .rd-theme .auth-card{
    border: 1px solid rgba(16,24,40,.06);
    border-radius: 1.25rem !important;
    box-shadow: 0 12px 30px rgba(16,24,40,.10)!important; /* keep your feel, a touch stronger */
  }
  
  /* ===== Inputs ===== */
  .rd-theme .input-group{
    border:1px solid #e6eaef !important;
    background:#fff; border-radius: 999px;
  }
  .rd-theme .form-control{
    border:0 !important; background:transparent;
  }
  .rd-theme .form-control:focus{
    box-shadow: 0 0 0 .25rem rgba(207,255,0,.35) !important; /* lime ring */
  }
  
  /* ===== Buttons ===== */
  /* Make primary CTA lime (with blue text) for pop */
  .rd-theme .btn-primary{
    background-color: var(--rd-lime) !important;
    border-color: var(--rd-lime) !important;
    color: var(--rd-blue) !important;
    font-weight:800; border-radius: 999px;
  }
  .rd-theme .btn-primary:hover{ filter: brightness(.96); }
  
  /* ===== Links ===== */
  .rd-theme a{ color: var(--rd-blue); }
  .rd-theme.rd-blue a:hover{ color:#3347ff; }
  .rd-theme.rd-lime a:hover{ color:#0013FF; }
  .brand-logo{   max-width:155px;
    border-radius: 12px;}
    .nav-logo {
        max-height: 55px;
     
    }
    
  /* ===== Small tweaks you had inline ===== */
  .rd-theme .input-group-lg .input-group-text{ padding-left:1rem; padding-right:.5rem; }
  .rd-theme .text-warning{ color: var(--rd-lime) !important; }   /* ensure `.text-warning` is our lime */
  /* ===== Nav (rd-blue theme) ============================================ */
/* Blue navbar variant */
.rd-theme .navbar.nav-blue{
    background: var(--rd-blue) !important;
    border: 0 !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.15) !important;
  }
  .rd-theme .navbar.nav-blue::before{
    content:""; position:absolute; left:0; right:0; top:0; height:0.4px;
    background: var(--rd-lime);
  }
  .rd-theme .navbar.nav-blue .navbar-brand,
  .rd-theme .navbar.nav-blue .nav-link,
  .rd-theme .navbar.nav-blue i,
  .rd-theme .navbar.nav-blue .text-secondary,
  .rd-theme .navbar.nav-blue .text-dark{
    color:#fff !important;
  }
  .rd-theme .navbar.nav-blue .nav-link{ font-weight:600; opacity:.95 }
  .rd-theme .navbar.nav-blue .nav-link:hover{ opacity:1 }
  .rd-theme .navbar.nav-blue .nav-link.active{
    color:#fff !important;
  }
  .rd-theme .navbar.nav-blue .nav-link.active::after{
    content:""; position:absolute; left:12px; right:12px; bottom:.35rem; height:0.3px;
    background: #fff; border-radius:3px;
  }
  .rd-theme .navbar.nav-blue .dropdown-menu{
    border:1px solid rgba(255,255,255,.25);
    border-radius:.75rem;
    background:rgba(255,255,255,.96);
    box-shadow:0 12px 30px rgba(0,0,0,.2);
  }
  .rd-theme .navbar.nav-blue .dropdown-header{ color:var(--rd-blue); font-weight:800 }
  .rd-theme .navbar.nav-blue .dropdown-item:hover{ background: rgba(0,19,255,.08); }
  
  .rd-theme .navbar.nav-blue .nav-link.fw-semibold{
    border:1px solid rgba(255,255,255,.45);
    border-radius:999px; padding:.35rem .9rem;
  }
  .rd-theme .navbar.nav-blue .nav-link.fw-semibold:hover{
    background:var(--rd-lime); border-color:var(--rd-lime); color:var(--rd-blue) !important;
  }
  
  /* Toggler & search on blue */
  .rd-theme .navbar.nav-blue .navbar-toggler{ border:0 }
  .rd-theme .navbar.nav-blue .navbar-toggler-icon{
    background-image:url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%23ffffff' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  }
  .rd-theme .navbar.nav-blue .nav-search-form{
    background: rgba(255,255,255,.08) !important;
    border:1px solid rgba(255,255,255,.35) !important;
    box-shadow: 0 12px 30px rgba(0,0,0,.25);
  }
  .rd-theme .navbar.nav-blue .nav-search-form .form-control,
  .rd-theme .navbar.nav-blue .nav-search-form i{ color:#fff }
  .rd-theme .navbar.nav-blue .badge.bg-danger{ box-shadow:0 0 0 2px var(--rd-blue) }
  .rd-theme .navbar .nav-logo{ height:44px; width:auto; filter: drop-shadow(0 1px 1px rgba(0,0,0,.12)); }
  /* Utilities */
  .rd-theme .badge.bg-danger{ box-shadow: 0 0 0 2px #fff; } /* ring for cart badge on white nav */

  /* === Lime links in nav (works for both nav-elevated and nav-blue) === */

/* Top-level links */
.rd-theme .navbar .nav-link{
    color: var(--rd-lime) !important;
    font-weight: 600;
  }
  .rd-theme .navbar .nav-link:hover,
  .rd-theme .navbar .nav-link:focus{
    color: #b9ff00 !important; /* slightly darker lime on hover */
  }
  .rd-theme .navbar .nav-link.active{
    color: var(--rd-lime) !important;
  }
  /* Keep the lime underline for active items */
  .rd-theme .navbar .nav-link.active::after{
    background: var(--rd-lime) !important;
  }
  
  /* “Sign In” pill link */
  .rd-theme .navbar .nav-link.fw-semibold{
    color: var(--rd-lime) !important;
    border-color: var(--rd-lime) !important;
  }
  .rd-theme .navbar .nav-link.fw-semibold:hover{
    background: var(--rd-lime) !important;
    color: var(--rd-blue) !important;
  }
  
  /* Blue navbar variant: also make icons & user text lime for consistency */
  .rd-theme .navbar.nav-blue i,
  .rd-theme .navbar.nav-blue .text-secondary{
    color: var(--rd-lime) !important;
  }
  
  /* Optional: blue navbar brand stays white; uncomment to make it lime too */
  /*
  .rd-theme .navbar.nav-blue .navbar-brand { color: var(--rd-lime) !important; }
  */
  /* === Force top-level nav links to lime on the blue navbar === */
.rd-theme .navbar.nav-blue .navbar-nav > .nav-item > .nav-link{
    color: var(--rd-lime) !important;
  }
  .rd-theme .navbar.nav-blue .navbar-nav > .nav-item > .nav-link:hover,
  .rd-theme .navbar.nav-blue .navbar-nav > .nav-item > .nav-link:focus{
    color: #e3ff66 !important; /* hover lime */
  }
  .rd-theme .navbar.nav-blue .navbar-nav > .nav-item > .nav-link.active{
    color: var(--rd-lime) !important;
  }
  .rd-theme .navbar.nav-blue .navbar-nav > .nav-item > .nav-link.active::after{
    background: var(--rd-lime) !important; /* keep lime underline */
  }
  
  /* “Sign In” pill in lime too */
  .rd-theme .navbar.nav-blue .nav-link.fw-semibold{
    color: var(--rd-lime) !important;
    border-color: var(--rd-lime) !important;
  }
  .rd-theme .navbar.nav-blue .nav-link.fw-semibold:hover{
    background: var(--rd-lime) !important;
    color: var(--rd-blue) !important;
  }
  /* ===== Footer (rd-blue page theme) ===== */
.rd-theme .rd-footer{
    position: relative;
    color: #fff;
    background:
      radial-gradient(1200px 600px at 100% -10%, rgba(255,255,255,.10), transparent 60%),
      radial-gradient(900px 600px at -20% 110%, rgba(0,0,0,.18), transparent 60%),
      var(--rd-blue);
  }
  .rd-theme .rd-footer::before{
    /* thin lime accent strip */
    content:""; position:absolute; inset:0 0 auto 0; height:4px; background: var(--rd-lime);
  }
  
  /* headings */
  .rd-theme .rd-footer h4,
  .rd-theme .rd-footer h6{ color:#fff; }
  .rd-theme .rd-footer .brand-line .text-warning{ color: var(--rd-lime) !important; }
  
  /* links */
  .rd-theme .rd-footer a{
    color: var(--rd-lime) !important;
    text-decoration: none;
  }
  .rd-theme .rd-footer a:hover{ color:#e3ff66 !important; text-decoration: underline; }
  .rd-theme .rd-footer a:focus{ outline:2px solid var(--rd-lime); outline-offset:2px; }
  
  /* lists + spacing */
  .rd-theme .rd-footer .list-unstyled li{ margin-bottom: .4rem; }
  .rd-theme .rd-footer hr{ border-color: rgba(255,255,255,.25); }
  .rd-theme .rd-footer .copyright{ color: rgba(255,255,255,.8); }
  
  /* social */
  .rd-theme .rd-footer .social a{
    display:inline-flex; align-items:center; justify-content:center;
    width:36px; height:36px; border-radius:50%;
    border:1px solid rgba(255,255,255,.35);
    transition: transform .15s ease, background-color .15s ease, border-color .15s ease;
  }
  .rd-theme .rd-footer .social a:hover{
    background: rgba(255,255,255,.08);
    border-color: var(--rd-lime);
    transform: translateY(-1px);
  }
  .footer-logo{
    height:144px; width:auto;
  }