/* /vocabee/assets/vocabee_light.css
   Vocabee unified light theme (linen / white / aliceblue)
   - Ivysoft throughout
   - No rgba()/rgb() BACKGROUNDS (solid named or solid hex)
*/
/* ---------------------------
   Global tokens (light)
   --------------------------- */
:root{
  --vb-bg: linen;
  --vb-bg-new: #fff;
  --vb-surface: #ffffff;
  --vb-surface-2: aliceblue;     /* requested */
  --vb-border: #e5e7eb;          /* gray-200 */
  --vb-border-2: #d1d5db;        /* gray-300 */
  --vb-text: #0f172a;            /* slate-900 */
  --vb-muted: #475569;           /* slate-600 */
  --vb-muted-2: #64748b;         /* slate-500 */
  --vb-brand: #7c3aed;           /* purple */
  --vb-brand-2: #2563eb;         /* blue */
  --vb-good: #16a34a;
  --vb-warn: #d97706;
  --vb-bad:  #dc2626;

  --vb-radius: 18px;
  --vb-radius-2: 22px;

  /* Shadow using 8-digit hex (not rgba) */
  --vb-shadow: 0 18px 60px #0000001a;  /* 10% black */
}
/* Typography (Ivysoft first, then safe fallbacks) */
html, body{
  font-family: "ivysoft-variable", "ivysoft", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: #0f172a;               /* slate-900 */
  background: var(--vb-bg-new);            /* requested */
  margin: 0;
}

/* Layout helper you already use */
.wrap{
  max-width: 1120px;
  margin: 0 auto;
  padding: 22px;
}

/* Links */
a{/* color: inherit; */color: #ede9fe;}
a:hover{ text-decoration: none; }



/* ---------------------------
   Cards / panels
   --------------------------- */
.card{
  border: 1px solid var(--vb-border);
  background: var(--vb-surface);
  border-radius: var(--vb-radius-2);
  box-shadow: var(--vb-shadow);
  padding: 18px;
}

.players,
.words,
.list{
  border: 1px solid var(--vb-border);
  background: var(--vb-surface-2);
  border-radius: 16px;
}

/* Row separators (dashed feels “paper-like”) */
.row{
  border-bottom: 1px dashed var(--vb-border-2);
}
.row:last-child{ border-bottom: none; }

/* Pills / chips 
.pill, .chip, .badge{
  border: 1px solid var(--vb-border);
  background: var(--vb-surface-2);
  color: var(--vb-muted);
  border-radius: 999px;
}*/

    .pill, .chip, .badge {
      display: inline-flex;
      align-items: center;
      gap: 0.25rem;
      border-radius: 10px;
      padding: 0.1rem 0.25rem;
      font-size: 0.7rem;
      text-transform: uppercase;
      letter-spacing: 0.03em;
      border: 1px solid rgba(148, 163, 184, 0.8);
      color: #000;
    }

/* Status */
.status{
  color: var(--vb-muted);
  font-weight: 700;
    border-radius: 10px;
    color:red;
    display: inline-flex;
    padding: .5rem;
    flex-wrap: wrap;
 border: 1px solid red;
    text-transform: uppercase;

}

/* ---------------------------
   Buttons
   --------------------------- */
.btn, .vb-btn{
  appearance: none;
  /* border: 1px solid var(--vb-border-2); */
  background: #ededed;
  color: var(--vb-text);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
  transition: transform .12s ease;
}

.btn:hover, .vb-btn:hover{ transform: translateY(-1px); }
.btn:active, .vb-btn:active{ transform: translateY(0) scale(.99); }

.btn.primary, .vb-btn-primary{
  /* border-color: #c4b5fd; */ /* purple-200 */
  background: #363636;   /* purple-100 */
  color: #ffcc00;        /* purple-950-ish */
}

.btn.ghost, .vb-btn-ghost{
  background: aliceblue;
}

.btn.danger, .vb-btn-danger{
  border-color: #fecaca; /* red-200 */
  background: #fff1f2;   /* rose-50 */
  color: #7f1d1d;
}

/* ---------------------------
   Inputs
   --------------------------- */
input[type="text"],
input[type="search"],
input[type="email"],
textarea,
.txt,
.vb-code{
  /* width: 100%; */
  /* border: 1px solid var(--vb-border-2); */
  background: #ffffff;
  color: var(--vb-text);
  border-radius: 14px;
  padding: 12px 12px;
  /* font-size: 1rem; */
  outline: none;
}

textarea{ resize: vertical; }

input:focus, textarea:focus, .txt:focus, .vb-code:focus{
  border-color: #c4b5fd;
  box-shadow: 0 0 0 4px #c4b5fd55; /* this is NOT a background; OK for focus ring */
}

/* Labels and hints */
label{
  color: var(--vb-text);
  font-weight: 900;
}
.hint, .fineprint, .muted{
  color: var(--vb-muted-2);
}

/* ---------------------------
   Vocabee injected topbar (light)
   --------------------------- */
.vb-topbar{
  background: #1c1c1c;
  border-bottom: 1px solid var(--vb-border);
  position: sticky;
  color: #ffcc00;
  top: 0;
  z-index: 2500;
}

.vb-topbar-inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.vb-logo{
  width: 36px;
  height: 36px;
  border-radius: 12px;
  border: 1px solid var(--vb-border);
  background: aliceblue;
}

.vb-brand-name{ font-weight: 1000; }
.vb-brand-sub{/* color: var(--vb-muted-2); */font-weight: 800;}

.vb-link{
  /* border: 1px solid transparent; */
  background: #363636;
  color: var(--vb-muted);
  color: #ffcc00;
  padding: 9px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.vb-link:hover{
  border-color: var(--vb-border);
  background: aliceblue;
  color: var(--vb-text);
}

.vb-link.is-active{
  /* border-color: #c4b5fd; */
  /* background: #363636; */
  /* color: #ffcc00; */
}

/* Burger */
.vb-burger{
  display: none;
  border: 1px solid var(--vb-border);
  background: aliceblue;
  border-radius: 999px;
  width: 44px;
  height: 40px;
  cursor: pointer;
}

.vb-burger-lines{
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--vb-text);
  display: block;
  border-radius: 99px;
}

.vb-burger-lines::before,
.vb-burger-lines::after{
  content:"";
  position:absolute;
  left:0;
  width: 18px;
  height: 2px;
  background: var(--vb-text);
  border-radius: 99px;
  transition: transform .18s ease, top .18s ease;
}

.vb-burger-lines::before{ top:-6px; }
.vb-burger-lines::after{ top:6px; }

/* Menu */
.vb-menu{
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

@media (max-width: 860px){
  .vb-burger{ display: inline-flex; align-items:center; justify-content:center; }

  .vb-menu{
    width: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;

    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-6px);
    transition: max-height .25s ease, opacity .20s ease, transform .25s ease;
  }

  .vb-topbar.is-open .vb-menu{
    max-height: 520px;
    opacity: 1;
    transform: translateY(0);
  }


  .vb-nav{ display:flex; flex-direction:column; gap:8px; }
  .vb-link{
    /* border: 1px solid var(--vb-border); */
    /* background: aliceblue; */
    /* border-radius: 14px; */
    /* color: black; */
  }

  .vb-code{ width: 100%; }
  .vb-btn{/* width: 100%; *//* justify-content:center; */}

  /* burger -> X */
  .vb-topbar.is-open .vb-burger-lines{ background: transparent; }
  .vb-topbar.is-open .vb-burger-lines::before{ top:0; transform: rotate(45deg); }
  .vb-topbar.is-open .vb-burger-lines::after{ top:0; transform: rotate(-45deg); }
}
.vb-brand { text-decoration: none; color: inherit; }
.vb-brand * { text-decoration: none; }



/* ---------- Toasts ---------- */
#vbToastStack{
  position: fixed;
  right: 14px;
  bottom: 14px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  max-width: min(360px, 92vw);
}

.vb-toast{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid #d1d5db;
  background: #ffffff;
  box-shadow: 0 18px 60px #0000001a;
  transform: translateY(6px);
  opacity: 0;
  transition: transform .18s ease, opacity .18s ease;
}

.vb-toast.show{
  transform: translateY(0);
  opacity: 1;
}

.vb-toast__text{
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
}

.vb-toast__actions{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.vb-toast__btn{
  border: 1px solid #111827;
  background: aliceblue;
  color: #111827;
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 900;
  cursor: pointer;
}

.vb-toast__x{
  border: 1px solid #d1d5db;
  background: #ffffff;
  color: #111827;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 900;
  line-height: 1;
}

/* variants */
.vb-toast--success{ border-color: #bbf7d0; background: #ecfdf5; }
.vb-toast--error{ border-color: #fecaca; background: #fff1f2; }
.vb-toast--info{ border-color: #d1d5db; background: #ffffff; }


cta js-profile{
      /* border: 1px solid transparent; */
  background: #363636;
  color: var(--vb-muted);
  color: #ffcc00;
  padding: 9px 12px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
    
};
.gh-btn {
    padding: .55rem .8rem;
    border-radius: 10px;
    border: 1px solid #d0d7de;
    background: #f6f8fa;
    cursor: pointer;
    color: black;
}
