
/* =====================================================
   JAKSKY PREMIUM LITE
   Attractive, clean, mobile-first, lightweight
   ===================================================== */

:root{
  --jl-bg:#040916;
  --jl-bg-soft:#081121;

  --jl-card:#0b1629;
  --jl-card-2:#0e1b31;

  --jl-border:rgba(143,172,255,.14);
  --jl-border-strong:rgba(143,172,255,.26);

  --jl-text:#f4f7ff;
  --jl-muted:#91a0bd;

  --jl-blue:#829cff;
  --jl-cyan:#69d6f1;
  --jl-green:#62dda7;

  --jl-radius:20px;

  --jl-shadow:
    0 16px 44px rgba(0,0,0,.25);
}


/* =========================
   PAGE
   ========================= */

html,
body{
  background:#040916 !important;
}

body{
  color:var(--jl-text);

  background:
    radial-gradient(
      circle at 85% -10%,
      rgba(83,112,255,.10),
      transparent 30%
    ),
    radial-gradient(
      circle at -10% 75%,
      rgba(65,188,224,.06),
      transparent 28%
    ),
    #040916 !important;
}


/* =========================
   CONTENT
   ========================= */

.content{
  max-width:1500px !important;
}

.page-heading .kicker,
.kicker{
  color:#77cce5 !important;

  font-size:10px !important;
  font-weight:800 !important;

  letter-spacing:.24em !important;

  text-transform:uppercase;
}

.page-heading h2{
  color:#fff !important;

  letter-spacing:-.045em;

  line-height:1.02;
}


/* =========================
   TOPBAR
   ========================= */

.topbar{
  border-bottom:
    1px solid
    rgba(142,172,241,.07) !important;
}

.status-pill{
  border:
    1px solid
    rgba(143,174,255,.14) !important;

  border-radius:999px !important;

  background:
    rgba(10,19,36,.88) !important;

  box-shadow:
    inset 0 1px 0
    rgba(255,255,255,.02);
}

.status-pill i.on{
  background:
    var(--jl-green) !important;

  box-shadow:
    0 0 0 4px
    rgba(98,221,167,.07);
}


/* =========================
   PANELS
   ========================= */

.panel,
.user-card,
.pair-state,
.hero-card{
  position:relative;

  overflow:hidden;

  border:
    1px solid
    var(--jl-border) !important;

  border-radius:
    var(--jl-radius) !important;

  background:
    linear-gradient(
      145deg,
      rgba(14,27,49,.96),
      rgba(7,15,29,.98)
    ) !important;

  box-shadow:
    var(--jl-shadow) !important;

  transition:
    border-color .18s ease,
    transform .18s ease,
    box-shadow .18s ease;
}


/* top highlight */
.panel::before,
.user-card::before,
.hero-card::before{
  content:"";

  position:absolute;

  left:18px;
  right:18px;
  top:0;

  height:1px;

  background:
    linear-gradient(
      90deg,
      transparent,
      rgba(132,165,255,.32),
      transparent
    );

  pointer-events:none;
}


@media(hover:hover){

  .panel:hover,
  .user-card:hover,
  .hero-card:hover{
    border-color:
      var(--jl-border-strong) !important;

    transform:
      translateY(-2px);

    box-shadow:
      0 20px 55px
      rgba(0,0,0,.30) !important;
  }
}


/* =========================
   HERO
   ========================= */

.account-card{
  background:
    linear-gradient(
      145deg,
      rgba(22,34,62,.98),
      rgba(8,16,31,.98)
    ) !important;
}

.whatsapp-card{
  background:
    linear-gradient(
      145deg,
      rgba(10,39,48,.95),
      rgba(7,20,28,.98)
    ) !important;
}

.hero-card h3{
  color:#fff;

  letter-spacing:-.05em;
}


/* =========================
   LABELS / META
   ========================= */

.panel-title h3,
.user-card h3{
  color:#fff !important;

  letter-spacing:-.03em;
}

.user-facts > *,
.hero-card .meta,
.panel p{
  color:
    var(--jl-muted);
}


/* =========================
   BUTTONS
   ========================= */

.primary,
.secondary,
.danger,
.warn,
.icon-btn,
.mobile-logout{
  min-height:47px !important;

  border-radius:
    13px !important;

  font-weight:
    700 !important;

  transition:
    transform .14s ease,
    border-color .14s ease,
    box-shadow .14s ease,
    background .14s ease !important;
}


.primary{
  color:#07101e !important;

  border:
    1px solid
    rgba(181,200,255,.35) !important;

  background:
    linear-gradient(
      115deg,
      #9bafff 0%,
      #7e98ff 48%,
      #6ed3ee 100%
    ) !important;

  box-shadow:
    0 10px 28px
    rgba(69,104,230,.20) !important;
}


.primary:active,
.secondary:active,
.icon-btn:active{
  transform:
    scale(.985);
}


.secondary,
.icon-btn,
.mobile-logout{
  color:#e9efff !important;

  border:
    1px solid
    rgba(142,170,236,.16) !important;

  background:
    rgba(11,22,42,.94) !important;
}


.secondary:hover{
  border-color:
    rgba(142,170,236,.30) !important;
}


/* destructive */
.danger{
  border-color:
    rgba(255,107,137,.30) !important;

  color:#ffb6c4 !important;

  background:
    rgba(109,25,47,.30) !important;
}


/* =========================
   FORMS
   ========================= */

input,
select,
textarea{
  min-height:48px;

  border:
    1px solid
    rgba(142,170,236,.14) !important;

  border-radius:
    14px !important;

  color:
    #eef3ff !important;

  background:
    rgba(6,14,29,.80) !important;

  transition:
    border-color .16s ease,
    box-shadow .16s ease,
    background .16s ease !important;
}


input:focus,
select:focus,
textarea:focus{
  outline:none !important;

  border-color:
    rgba(123,157,255,.52) !important;

  background:
    rgba(9,20,39,.96) !important;

  box-shadow:
    0 0 0 4px
    rgba(98,131,255,.075) !important;
}


textarea{
  line-height:1.55;
}


/* =========================
   PAIRING
   ========================= */

.pair-state{
  padding:17px 18px !important;
}

.pair-state-icon{
  border:
    1px solid
    rgba(112,224,171,.20) !important;

  background:
    rgba(48,157,111,.09) !important;
}


.code-box,
.qr-box{
  border:
    1px solid
    rgba(143,172,255,.10);

  border-radius:
    17px !important;

  background:
    rgba(6,15,30,.76) !important;
}


/* =========================
   SETTINGS
   ========================= */

.setting-card{
  overflow:hidden;
}

.toggle{
  border-bottom:
    1px solid
    rgba(142,172,241,.055);
}

.toggle:last-child{
  border-bottom:0;
}


/* save button is normal, not sticky */
.settings-save{
  position:static !important;

  bottom:auto !important;

  margin-top:18px !important;

  border:0 !important;

  background:transparent !important;

  box-shadow:none !important;

  backdrop-filter:none !important;
}


/* =========================
   USER / CUSTOMER CARDS
   ========================= */

.user-card{
  padding:
    20px !important;
}

.user-card .avatar{
  border:
    1px solid
    rgba(143,172,255,.18);

  background:
    linear-gradient(
      145deg,
      rgba(95,128,236,.16),
      rgba(68,186,221,.06)
    );
}


/* =========================
   BOTTOM NAV
   ========================= */

@media(max-width:760px){

  .sidebar{
    left:10px !important;
    right:10px !important;

    bottom:
      max(
        10px,
        env(safe-area-inset-bottom)
      ) !important;

    width:auto !important;

    padding:
      7px !important;

    border:
      1px solid
      rgba(143,172,255,.13) !important;

    border-radius:
      22px !important;

    background:
      rgba(4,10,22,.94) !important;

    box-shadow:
      0 18px 55px
      rgba(0,0,0,.42) !important;

    backdrop-filter:
      blur(16px);

    -webkit-backdrop-filter:
      blur(16px);
  }


  .sidebar nav{
    display:grid !important;

    grid-template-columns:
      repeat(5,1fr);

    gap:4px !important;
  }


  .nav{
    min-width:0 !important;

    min-height:68px !important;

    padding:
      7px 3px !important;

    border-radius:
      15px !important;

    font-size:
      10px !important;

    color:
      #8392ad !important;

    transition:
      background .15s ease,
      color .15s ease,
      transform .15s ease !important;
  }


  .nav-icon{
    width:30px !important;
    height:30px !important;

    border-radius:
      10px !important;

    margin-bottom:
      3px;

    background:
      rgba(14,28,53,.74) !important;
  }


  .nav.active{
    color:#fff !important;

    background:
      linear-gradient(
        145deg,
        rgba(99,128,230,.27),
        rgba(68,174,210,.10)
      ) !important;

    box-shadow:
      inset 0 0 0 1px
      rgba(143,173,255,.15);
  }


  .nav.active .nav-icon{
    color:
      #8ee7fa !important;

    background:
      linear-gradient(
        145deg,
        rgba(99,133,242,.30),
        rgba(69,198,228,.11)
      ) !important;
  }


  .nav:active{
    transform:
      scale(.96);
  }


  .content{
    padding-bottom:
      calc(
        112px +
        env(safe-area-inset-bottom)
      ) !important;
  }

}


/* =========================
   MOBILE CARDS
   ========================= */

@media(max-width:760px){

  .content{
    padding-left:
      14px !important;

    padding-right:
      14px !important;
  }


  .panel,
  .hero-card,
  .user-card,
  .pair-state{
    border-radius:
      18px !important;
  }


  .panel{
    padding:
      18px !important;
  }


  .hero-card{
    min-height:
      185px !important;
  }


  .page-heading h2{
    font-size:
      29px !important;
  }


  .topbar{
    margin-bottom:
      18px !important;
  }


  .whatsapp-card h3{
    overflow-wrap:
      anywhere;
  }

}


/* =========================
   TINY SCREEN
   ========================= */

@media(max-width:400px){

  .content{
    padding-left:
      10px !important;

    padding-right:
      10px !important;
  }


  .nav{
    font-size:
      9px !important;
  }


  .panel{
    padding:
      15px !important;
  }

}


/* =========================
   ACCESSIBILITY
   ========================= */

@media(prefers-reduced-motion:reduce){

  *,
  *::before,
  *::after{
    transition:none !important;
  }

}

