/* ============================================================================
   JK Tour CRM — Client-area theme. Brand = the LOGO colours: deep INDIGO
   (#4f2dbf, "JK Tour" + plane) with AMBER (#f59e0b, "CRM") as the secondary.
   Loaded ONLY by layouts/user.blade.php; the marketing site stays as-is.
   Neutral-dominant (60-30-10): light-grey canvas, white cards, brand indigo used
   sparingly as the accent. Remaps the compiled emerald utilities to brand indigo.
   ============================================================================ */
:root{
  --emerald:#4f2dbf; --emerald-light:#f2effc;
  --green:#4f2dbf; --green-light:#f2effc; --green-mid:#ccbdf4;
}
/* --- emerald → brand-indigo utility overrides --- */
.bg-emerald-100{background-color:#e6ddfa!important}
.bg-emerald-50{background-color:#f2effc!important}
.bg-emerald-50\/30{background-color:rgb(242 239 252 / 0.3)!important}
.bg-emerald-50\/40{background-color:rgb(242 239 252 / 0.4)!important}
.bg-emerald-50\/50{background-color:rgb(242 239 252 / 0.5)!important}
.bg-emerald-50\/60{background-color:rgb(242 239 252 / 0.6)!important}
.bg-emerald-500{background-color:#6d3fd3!important}
.bg-emerald-500\/10{background-color:rgb(109 63 211 / 0.1)!important}
.bg-emerald-500\/15{background-color:rgb(109 63 211 / 0.15)!important}
.bg-emerald-500\/90{background-color:rgb(109 63 211 / 0.9)!important}
.bg-emerald-600{background-color:#4f2dbf!important}
.bg-emerald-600\/0{background-color:rgb(79 45 191 / 0.0)!important}
.bg-emerald-600\/80{background-color:rgb(79 45 191 / 0.8)!important}
.bg-emerald-700{background-color:#412399!important}
.border-emerald-100{border-color:#e6ddfa!important}
.border-emerald-200{border-color:#ccbdf4!important}
.border-emerald-300{border-color:#ac92ec!important}
.border-emerald-400{border-color:#8b63e0!important}
.border-emerald-400\/30{border-color:rgb(139 99 224 / 0.3)!important}
.border-emerald-500{border-color:#6d3fd3!important}
.border-emerald-600{border-color:#4f2dbf!important}
.border-emerald-700{border-color:#412399!important}
.focus-within\:text-emerald-700:focus-within{color:#412399!important}
.focus\:border-emerald-400:focus{border-color:#8b63e0!important}
.focus\:border-emerald-500:focus{border-color:#6d3fd3!important}
.focus\:border-emerald-600:focus{border-color:#4f2dbf!important}
.focus\:border-emerald-700:focus{border-color:#412399!important}
.focus\:ring-emerald-200:focus{--tw-ring-color:#ccbdf4!important}
.focus\:ring-emerald-300:focus{--tw-ring-color:#ac92ec!important}
.focus\:ring-emerald-400:focus{--tw-ring-color:#8b63e0!important}
.focus\:ring-emerald-500:focus{--tw-ring-color:#6d3fd3!important}
.focus\:ring-emerald-500\/50:focus{--tw-ring-color:rgb(109 63 211 / 0.5)!important}
.focus\:ring-emerald-600\/10:focus{--tw-ring-color:rgb(79 45 191 / 0.1)!important}
.focus\:ring-emerald-700\/10:focus{--tw-ring-color:rgb(65 35 153 / 0.1)!important}
.from-emerald-400{--tw-gradient-from:#8b63e0 var(--tw-gradient-from-position)!important;--tw-gradient-to:rgb(139 99 224 / 0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}
.from-emerald-50{--tw-gradient-from:#f2effc var(--tw-gradient-from-position)!important;--tw-gradient-to:rgb(242 239 252 / 0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}
.from-emerald-50\/50{--tw-gradient-from:rgb(242 239 252 / 0.5) var(--tw-gradient-from-position)!important;--tw-gradient-to:rgb(242 239 252 / 0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}
.from-emerald-50\/60{--tw-gradient-from:rgb(242 239 252 / 0.6) var(--tw-gradient-from-position)!important;--tw-gradient-to:rgb(242 239 252 / 0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}
.from-emerald-600{--tw-gradient-from:#4f2dbf var(--tw-gradient-from-position)!important;--tw-gradient-to:rgb(79 45 191 / 0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}
.from-emerald-600\/10{--tw-gradient-from:rgb(79 45 191 / 0.1) var(--tw-gradient-from-position)!important;--tw-gradient-to:rgb(79 45 191 / 0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}
.group:hover .group-hover\:bg-emerald-100{background-color:#e6ddfa!important}
.group:hover .group-hover\:bg-emerald-600{background-color:#4f2dbf!important}
.group:hover .group-hover\:bg-emerald-600\/20{background-color:rgb(79 45 191 / 0.2)!important}
.group:hover .group-hover\:ring-emerald-100{--tw-ring-color:#e6ddfa!important}
.group:hover .group-hover\:text-emerald-500{color:#6d3fd3!important}
.group:hover .group-hover\:text-emerald-600{color:#4f2dbf!important}
.group:hover .group-hover\:text-emerald-700{color:#412399!important}
.hover\:bg-emerald-100:hover{background-color:#e6ddfa!important}
.hover\:bg-emerald-50:hover{background-color:#f2effc!important}
.hover\:bg-emerald-50\/30:hover{background-color:rgb(242 239 252 / 0.3)!important}
.hover\:bg-emerald-500:hover{background-color:#6d3fd3!important}
.hover\:bg-emerald-500\/20:hover{background-color:rgb(109 63 211 / 0.2)!important}
.hover\:bg-emerald-500\/30:hover{background-color:rgb(109 63 211 / 0.3)!important}
.hover\:bg-emerald-600:hover{background-color:#4f2dbf!important}
.hover\:bg-emerald-700:hover{background-color:#412399!important}
.hover\:bg-emerald-800:hover{background-color:#351d78!important}
.hover\:border-emerald-200:hover{border-color:#ccbdf4!important}
.hover\:border-emerald-300:hover{border-color:#ac92ec!important}
.hover\:border-emerald-400:hover{border-color:#8b63e0!important}
.hover\:border-emerald-500:hover{border-color:#6d3fd3!important}
.hover\:border-emerald-500\/40:hover{border-color:rgb(109 63 211 / 0.4)!important}
.hover\:from-emerald-700:hover{--tw-gradient-from:#412399 var(--tw-gradient-from-position)!important;--tw-gradient-to:rgb(65 35 153 / 0) var(--tw-gradient-to-position)!important;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)!important}
.hover\:ring-emerald-200:hover{--tw-ring-color:#ccbdf4!important}
.hover\:ring-emerald-300:hover{--tw-ring-color:#ac92ec!important}
.hover\:ring-emerald-500:hover{--tw-ring-color:#6d3fd3!important}
.hover\:shadow-emerald-300:hover{--tw-shadow-color:#ac92ec!important}
.hover\:shadow-emerald-600\/30:hover{--tw-shadow-color:rgb(79 45 191 / 0.3)!important}
.hover\:text-emerald-200:hover{color:#ccbdf4!important}
.hover\:text-emerald-400:hover{color:#8b63e0!important}
.hover\:text-emerald-600:hover{color:#4f2dbf!important}
.hover\:text-emerald-700:hover{color:#412399!important}
.hover\:text-emerald-800:hover{color:#351d78!important}
.hover\:to-emerald-800:hover{--tw-gradient-to:#351d78!important}
.ring-emerald-100{--tw-ring-color:#e6ddfa!important}
.ring-emerald-200{--tw-ring-color:#ccbdf4!important}
.ring-emerald-400{--tw-ring-color:#8b63e0!important}
.ring-emerald-50{--tw-ring-color:#f2effc!important}
.ring-emerald-500{--tw-ring-color:#6d3fd3!important}
.ring-emerald-600{--tw-ring-color:#4f2dbf!important}
.shadow-emerald-200{--tw-shadow-color:#ccbdf4!important}
.shadow-emerald-600\/20{--tw-shadow-color:rgb(79 45 191 / 0.2)!important}
.shadow-emerald-600\/25{--tw-shadow-color:rgb(79 45 191 / 0.25)!important}
.shadow-emerald-600\/30{--tw-shadow-color:rgb(79 45 191 / 0.3)!important}
.shadow-emerald-900\/10{--tw-shadow-color:rgb(43 25 94 / 0.1)!important}
.shadow-emerald-900\/20{--tw-shadow-color:rgb(43 25 94 / 0.2)!important}
.text-emerald-300{color:#ac92ec!important}
.text-emerald-300\/90{color:rgb(172 146 236 / 0.9)!important}
.text-emerald-400{color:#8b63e0!important}
.text-emerald-50{color:#f2effc!important}
.text-emerald-50\/80{color:rgb(242 239 252 / 0.8)!important}
.text-emerald-50\/90{color:rgb(242 239 252 / 0.9)!important}
.text-emerald-500{color:#6d3fd3!important}
.text-emerald-600{color:#4f2dbf!important}
.text-emerald-600\/50{color:rgb(79 45 191 / 0.5)!important}
.text-emerald-700{color:#412399!important}
.text-emerald-700\/70{color:rgb(65 35 153 / 0.7)!important}
.text-emerald-800{color:#351d78!important}
.text-emerald-900{color:#2b195e!important}
.to-emerald-600{--tw-gradient-to:#4f2dbf!important}
.to-emerald-700{--tw-gradient-to:#412399!important}

/* --- Quick-link shortcut cards (clean, minimal, outline icons) --- */
.ely-ql{display:flex;align-items:center;gap:.75rem;padding:.85rem .9rem;border-radius:14px;background:#fff;border:1px solid #ecedf1;transition:border-color .15s,box-shadow .15s}
.ely-ql:hover{border-color:#d9ccf7;box-shadow:0 8px 22px -12px rgba(79,45,191,.28)}
.ely-ql-ic{width:38px;height:38px;border-radius:10px;display:flex;align-items:center;justify-content:center;flex-shrink:0;border:1px solid #edeef2;background:#fafafb;color:#475569;transition:border-color .15s,color .15s,background .15s}
.ely-ql:hover .ely-ql-ic{border-color:#d9ccf7;color:#4f2dbf;background:#f6f2fe}
.ely-ql-ic svg{width:19px;height:19px;stroke-width:2;fill:none;stroke:currentColor}
.ely-ql-ic.is-ai{border-color:#e6ddfa;background:#f2effc;color:#4f2dbf}

/* --- Aurora quick-access cards (soft corner glow + outline icon + pill), per reference --- */
.ely-ac{position:relative;overflow:hidden;border-radius:18px;background:#fff;border:1px solid #eef0f4;padding:1.05rem 1.1rem;transition:box-shadow .18s,border-color .18s,transform .18s;display:block}
.ely-ac::before{content:"";position:absolute;top:-55%;right:-25%;width:80%;height:135%;border-radius:50%;filter:blur(30px);opacity:.42;z-index:0;background:var(--ac,#8b63e0);transition:opacity .18s}
.ely-ac:hover{border-color:#e4e6ec;box-shadow:0 16px 36px -18px rgba(79,45,191,.28);transform:translateY(-2px)}
.ely-ac:hover::before{opacity:.62}
.ely-ac > *{position:relative;z-index:1}
.ely-ac-ic{width:34px;height:34px;display:flex;align-items:center;justify-content:center;color:var(--act,#4f2dbf)}
.ely-ac-ic svg{width:22px;height:22px;stroke-width:2;fill:none;stroke:currentColor}
.ely-ac-t{color:var(--act,#4f2dbf)}
.ely-ac-pill{font-size:.68rem;font-weight:700;color:#475569;background:#fff;border:1px solid #e7e9ef;border-radius:999px;padding:.2rem .6rem;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.ac-indigo{--ac:#b3a0f2;--act:#4f2dbf}
.ac-blue{--ac:#9cc4fb;--act:#2563eb}
.ac-amber{--ac:#fbd389;--act:#d97706}
.ac-violet{--ac:#c9b6f6;--act:#7c3aed}
.ac-sky{--ac:#a5d8f7;--act:#0284c7}

/* --- AI prompt box: dark input with a soft SPLIT ambient glow (amber left / indigo-blue right),
       a lit warm→cool top edge, and a faint dot texture — matching the reference. --- */
.ely-aibox-wrap{position:relative;border-radius:26px;isolation:isolate}
/* faint dot texture behind the box (the reference's "matrix"), masked to fade out */
.ely-aibox-grid{position:absolute;inset:-48px -36px;z-index:-2;border-radius:46px;pointer-events:none;opacity:.6;
  background-image:radial-gradient(rgba(255,255,255,.05) 1px, transparent 1px);background-size:15px 15px;
  -webkit-mask:radial-gradient(62% 88% at 50% 50%,#000,transparent 76%);mask:radial-gradient(62% 88% at 50% 50%,#000,transparent 76%)}
/* ambient split glow: warm amber from the LEFT, cool indigo/blue from the RIGHT, soft blue from below */
.ely-aibox-halo{position:absolute;inset:-38px -28px;border-radius:46px;z-index:-1;pointer-events:none;
  background:
    radial-gradient(44% 88% at 5% 50%, rgba(245,158,11,.60), rgba(245,158,11,0) 70%),
    radial-gradient(46% 92% at 95% 50%, rgba(99,102,241,.62), rgba(79,45,191,0) 72%),
    radial-gradient(72% 120% at 50% 130%, rgba(79,45,191,.22), transparent 72%);
  filter:blur(42px);opacity:.82;transition:opacity .5s}
/* thin lit edge: warm-left → cool-right */
.ely-aibox-glow{position:absolute;inset:0;border-radius:26px;padding:1px;pointer-events:none;
  background:linear-gradient(100deg, rgba(245,158,11,.95) 0%, rgba(245,158,11,.12) 26%, rgba(255,255,255,.05) 50%, rgba(99,102,241,.22) 72%, rgba(99,102,241,.95) 100%);
  -webkit-mask:linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);-webkit-mask-composite:xor;mask-composite:exclude;opacity:.9}
.ely-aibox-wrap:focus-within .ely-aibox-halo{opacity:1}
.ely-aibox-wrap:focus-within .ely-aibox-glow{opacity:1}
.ely-aibox{position:relative;border-radius:26px;background:#09090f;border:1px solid #17171f;overflow:hidden}
.ely-aibox input,.ely-aibox textarea{background:transparent;color:#f3f3fa}
.ely-aibox input:focus,.ely-aibox textarea:focus{outline:none!important;box-shadow:none!important;border-color:transparent!important}
.ely-aibox input::placeholder,.ely-aibox textarea::placeholder{color:#7d7d95}
/* StarBorder (vanilla port) — animated star-trail border canvas */
.star-border__light{position:absolute;top:-48px;left:-48px;z-index:0;width:calc(100% + 96px);height:calc(100% + 96px);pointer-events:none}
.ely-aibox-wrap.has-star > .ely-aibox{z-index:1}
.ely-aibox-plus{width:34px;height:34px;border-radius:999px;display:flex;align-items:center;justify-content:center;color:#cfcfe0;border:1px solid #2a2a38;background:#121219;transition:background .15s,border-color .15s;flex-shrink:0}
.ely-aibox-plus:hover{background:#1a1a24;border-color:#3a3a4a}
.ely-aibox-chip{display:inline-flex;align-items:center;gap:.45rem;padding:.42rem .85rem;border-radius:999px;background:#121219;border:1px solid #2a2a38;color:#c7c7d6;font-size:.8rem;font-weight:600;transition:background .15s,border-color .15s;white-space:nowrap}
.ely-aibox-chip:hover{background:#1a1a24;border-color:#3a3a4a}
.ely-aibox-send{width:42px;height:42px;border-radius:999px;display:flex;align-items:center;justify-content:center;color:#fff;border:none;background:linear-gradient(135deg,#4f2dbf 0%,#7c3aed 45%,#f59e0b 125%);box-shadow:0 6px 18px -6px rgba(124,58,237,.75);flex-shrink:0}
.ely-aibox-send:hover{filter:brightness(1.08)}
