/* ============================================================
   Yoldas Web Test V29 - GLOBAL SHELL STYLE
   - Sidebar (left) layout
   - Glass/neon buttons (no more matte)
   - Safe defaults for all modules
   ============================================================ */

:root{
  --bg0:#07060a;
  --bg1:#0c0a12;
  --panel: rgba(18, 14, 26, .72);
  --panel2: rgba(18, 14, 26, .48);
  --stroke: rgba(255,255,255,.10);
  --stroke2: rgba(255,79,163,.22);

  --text:#eae7f2;
  --muted: rgba(234,231,242,.72);

  --accent:#ff4fa3;
  --accent2:#8f6cff;

  --shadow: 0 18px 40px rgba(0,0,0,.55);
  --r16:16px;
  --r20:20px;
  --r24:24px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial;
  color:var(--text);
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(255,79,163,.18), transparent 55%),
    radial-gradient(900px 500px at 85% 10%, rgba(143,108,255,.16), transparent 55%),
    linear-gradient(180deg, var(--bg0), var(--bg1));
  overflow-x:hidden;
}

/* ---------- App Shell ---------- */
.y-shell{
  display:grid;
  grid-template-columns: 280px 1fr;
  min-height:100vh;
}

.y-sidebar{
  position:sticky;
  top:0;
  height:100vh;
  padding:18px 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-right:1px solid rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
}

.y-brand{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:14px 14px 16px;
  border-radius: var(--r20);
  background: linear-gradient(180deg, rgba(255,79,163,.14), rgba(143,108,255,.07));
  border: 1px solid rgba(255,79,163,.20);
  box-shadow: 0 10px 26px rgba(0,0,0,.35);
}

.y-brand .t{
  font-weight:800;
  letter-spacing:.6px;
  text-transform:uppercase;
  font-size:13px;
  color: rgba(255,255,255,.92);
}
.y-brand .s{
  font-size:12px;
  color: rgba(255,255,255,.62);
}

/* ---------- Sidebar Nav Buttons ---------- */
.y-nav{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

.y-nav a{
  text-decoration:none;
  color: rgba(255,255,255,.90);
}

/* Neon glass button base */
.y-btn,
button,
a.y-btn,
.icon-btn,
.btn{
  appearance:none;
  border:1px solid rgba(255,79,163,.22);
  background:
    linear-gradient(180deg, rgba(255,79,163,.22), rgba(255,79,163,.08));
  color: rgba(255,255,255,.92);
  border-radius: 14px;
  padding: 12px 14px;
  font-weight:700;
  letter-spacing:.2px;
  box-shadow:
    0 14px 30px rgba(0,0,0,.48),
    0 0 0 1px rgba(255,255,255,.06) inset,
    0 0 0 1px rgba(255,79,163,.08);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease, filter .12s ease;
  cursor:pointer;
  position:relative;
}

.y-btn::before,
button::before,
a.y-btn::before,
.icon-btn::before,
.btn::before{
  content:"";
  position:absolute;
  inset:0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255,255,255,.10), transparent 55%);
  pointer-events:none;
  opacity:.85;
}

.y-btn:hover,
button:hover,
a.y-btn:hover,
.icon-btn:hover,
.btn:hover{
  transform: translateY(-1px);
  border-color: rgba(255,79,163,.38);
  box-shadow:
    0 18px 44px rgba(0,0,0,.58),
    0 0 0 1px rgba(255,255,255,.07) inset,
    0 0 28px rgba(255,79,163,.18);
  filter: saturate(1.08);
}

.y-btn:active,
button:active,
a.y-btn:active,
.icon-btn:active,
.btn:active{
  transform: translateY(0px);
  box-shadow:
    0 12px 28px rgba(0,0,0,.52),
    0 0 0 1px rgba(255,255,255,.06) inset;
}

.y-btn.is-active{
  border-color: rgba(255,79,163,.55);
  box-shadow:
    0 18px 44px rgba(0,0,0,.62),
    0 0 0 1px rgba(255,255,255,.08) inset,
    0 0 40px rgba(255,79,163,.22);
}

/* Sidebar specific button sizing */
.y-nav .y-navlink{
  display:flex;
  align-items:center;
  gap:10px;
  width:100%;
  padding: 13px 14px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 14px 30px rgba(0,0,0,.45);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.y-nav .y-navlink:hover{
  transform: translateY(-1px);
  border-color: rgba(255,79,163,.28);
  box-shadow: 0 18px 44px rgba(0,0,0,.56), 0 0 28px rgba(255,79,163,.14);
}
.y-nav .y-navlink .dot{
  width:10px;height:10px;border-radius:99px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.9), rgba(255,79,163,.95));
  box-shadow: 0 0 16px rgba(255,79,163,.32);
}
.y-nav .y-navlink span{
  font-weight:800;
  color: rgba(255,255,255,.92);
}

/* ---------- Main ---------- */
.y-main{
  padding:22px 22px 34px;
}

.y-card{
  background: var(--panel);
  border:1px solid rgba(255,255,255,.10);
  border-radius: var(--r24);
  box-shadow: var(--shadow);
  backdrop-filter: blur(12px);
}

/* Common headings */
h1,h2,h3{ margin:0; }
.y-title{
  font-size:44px;
  font-weight:900;
  letter-spacing:.2px;
}
.y-sub{
  margin-top:10px;
  color: var(--muted);
  font-size:13px;
  line-height:1.45;
}

/* inputs */
input, select, textarea{
  width:100%;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.90);
  border-radius: 14px;
  padding: 12px 12px;
  outline: none;
  transition: border-color .12s ease, box-shadow .12s ease;
}
input:focus, select:focus, textarea:focus{
  border-color: rgba(255,79,163,.38);
  box-shadow: 0 0 0 3px rgba(255,79,163,.12);
}

/* Responsive */
@media (max-width: 980px){
  .y-shell{ grid-template-columns: 1fr; }
  .y-sidebar{
    position:relative;
    height:auto;
    border-right:none;
    border-bottom:1px solid rgba(255,255,255,.08);
  }
  .y-main{ padding:16px; }
}
