:root {
  --k: #C8102E;
  --dk: #9B0B22;
  --ak: #F5E6E9;
  --ant: #1A1A2E;
  --g: #6B7280;
  --ag: #F4F4F8;
  --w: #fff;
  --sh: 0 4px 24px rgba(200,16,46,.12)
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0
}

html {
  scroll-behavior: smooth
}

body {
  font-family: 'Sora',sans-serif;
  background: var(--w);
  color: var(--ant);
  overflow-x: hidden
}

/* ─── OVERLAY ─── */
.ov {
  position: fixed;
  inset: 0;
  background: rgba(10,10,20,.75);
  backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem
}

  .ov.on {
    display: flex
  }



@keyframes su {
  from {
    transform: translateY(24px);
    opacity: 0
  }

  to {
    transform: translateY(0);
    opacity: 1
  }
}

.mh {
  background: var(--k);
  padding: 1.4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between
}

  .mh h2 {
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700
  }

.mx {
  background: rgba(255,255,255,.2);
  border: none;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .2s
}

  .mx:hover {
    background: rgba(255,255,255,.35)
  }

.mb {
  padding: 1.75rem 2rem
}

/* ─── LOGIN SCREEN INSIDE PANEL ─── */
.login-screen {
  position: fixed;
  inset: 0;
  background: var(--ant);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem
}

  .login-screen.on {
    display: flex;
    align-items: center;
    justify-content: center
  }

.login-box {
  width: 100%;
  max-width: 420px
}

.login-logo {
  text-align: center;
  margin-bottom: 2rem
}

  .login-logo img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    margin-bottom: .75rem;
    filter: drop-shadow(0 4px 16px rgba(200,16,46,.5))
  }

  .login-logo h1 {
    color: #fff;
    font-size: 1.3rem;
    font-weight: 800;
    line-height: 1.3
  }

  .login-logo p {
    color: rgba(255,255,255,.45);
    font-size: .8rem;
    margin-top: 4px
  }

.login-card {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 20px;
  padding: 2rem;
  backdrop-filter: blur(12px)
}

.lf {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 1rem
}

  .lf label {
    font-size: .72rem;
    font-weight: 700;
    color: rgba(255,255,255,.45);
    text-transform: uppercase;
    letter-spacing: .07em
  }

  .lf input {
    background: rgba(255,255,255,.08);
    border: 1.5px solid rgba(255,255,255,.15);
    border-radius: 10px;
    padding: 11px 14px;
    font-family: 'Sora',sans-serif;
    font-size: .88rem;
    color: #fff;
    outline: none;
    transition: .2s
  }

    .lf input:focus {
      border-color: var(--k);
      background: rgba(255,255,255,.12)
    }

    .lf input::placeholder {
      color: rgba(255,255,255,.3)
    }

.lbtn {
  width: 100%;
  background: var(--k);
  color: #fff;
  border: none;
  border-radius: 10px;
  padding: 13px;
  font-family: 'Sora',sans-serif;
  font-size: .95rem;
  font-weight: 700;
  cursor: pointer;
  transition: .2s;
  margin-top: .25rem
}

  .lbtn:hover {
    background: var(--dk);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(200,16,46,.4)
  }

.demo-accounts {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(255,255,255,.08)
}

.demo-title {
  font-size: .72rem;
  font-weight: 700;
  color: rgba(255,255,255,.35);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .85rem;
  text-align: center
}

.da-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem
}

.da-btn {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 10px;
  padding: .75rem 1rem;
  cursor: pointer;
  transition: .2s;
  text-align: left
}

  .da-btn:hover {
    background: rgba(200,16,46,.2);
    border-color: rgba(200,16,46,.4)
  }

  .da-btn .dico {
    font-size: 1.25rem;
    margin-bottom: 3px
  }

  .da-btn .dname {
    color: #fff;
    font-size: .8rem;
    font-weight: 700;
    line-height: 1.2
  }

  .da-btn .demail {
    color: rgba(255,255,255,.4);
    font-size: .68rem;
    margin-top: 1px
  }

.lerr {
  background: rgba(200,16,46,.15);
  border: 1px solid rgba(200,16,46,.4);
  border-radius: 8px;
  padding: .65rem 1rem;
  font-size: .82rem;
  color: #ff8099;
  margin-bottom: .75rem;
  display: none
}

/* ─── PANEL ─── */
.panel {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: none;
  overflow: hidden
}

  .panel.on {
    display: flex
  }

.sidebar {
  width: 256px;
  background: var(--ant);
  height: 100vh;
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  border-right: 2px solid var(--k);
  overflow-y: auto
}

.sb-head {
  padding: 1.1rem 1.25rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  gap: 10px
}

  .sb-head img {
    width: 34px;
    height: 34px;
    object-fit: contain
  }

  .sb-head .t {
    color: #fff;
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.3
  }

  .sb-head .s {
    color: rgba(255,255,255,.35);
    font-size: .65rem
  }

.sb-user {
  margin: .75rem;
  background: rgba(200,16,46,.15);
  border: 1px solid rgba(200,16,46,.3);
  border-radius: 12px;
  padding: .9rem 1rem
}

  .sb-user .av {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--k);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 800;
    font-size: .95rem;
    margin-bottom: .5rem
  }

  .sb-user .uname {
    color: #fff;
    font-size: .85rem;
    font-weight: 700
  }

  .sb-user .urole {
    color: rgba(255,255,255,.45);
    font-size: .7rem;
    margin-top: 1px
  }

.sb-nav {
  padding: .5rem .75rem;
  flex: 1
}

.sbs {
  color: rgba(255,255,255,.25);
  font-size: .62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .7rem .75rem .35rem
}

.sl {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: .65rem .75rem;
  border-radius: 10px;
  color: rgba(255,255,255,.65);
  font-size: .8rem;
  font-weight: 500;
  cursor: pointer;
  transition: .2s;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  margin-bottom: 1px
}

  .sl:hover {
    background: rgba(255,255,255,.08);
    color: #fff
  }

  .sl.active {
    background: var(--k);
    color: #fff
  }

  .sl .ico {
    font-size: .95rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0
  }

  .sl .bdg {
    margin-left: auto;
    background: rgba(255,255,255,.2);
    color: #fff;
    font-size: .62rem;
    font-weight: 800;
    padding: 2px 7px;
    border-radius: 100px
  }

  .sl.active .bdg {
    background: rgba(255,255,255,.25)
  }

.sb-out {
  padding: .75rem;
  border-top: 1px solid rgba(255,255,255,.08)
}

  .sb-out button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: .6rem .75rem;
    border-radius: 10px;
    color: rgba(255,255,255,.45);
    font-size: .78rem;
    cursor: pointer;
    transition: .2s;
    background: none;
    border: none;
    width: 100%;
    font-family: 'Sora',sans-serif
  }

    .sb-out button:hover {
      background: rgba(200,16,46,.2);
      color: #ff8099
    }

/* ─── MAIN ─── */
.pmain {
  flex: 1;
  background: #f0f0f6;
  overflow-y: auto;
  height: 100vh;
  display: flex;
  flex-direction: column
}

.ptop {
  background: #fff;
  padding: 1rem 2rem;
  border-bottom: 1.5px solid #e5e7eb;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  z-index: 10;
  flex-shrink: 0
}

  .ptop h1 {
    font-size: 1.15rem;
    font-weight: 800
  }

  .ptop .bc {
    font-size: .72rem;
    color: var(--g);
    margin-top: 2px
  }

.ptop-r {
  display: flex;
  align-items: center;
  gap: .75rem
}

.ptop-btn {
  background: var(--k);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-family: 'Sora',sans-serif;
  font-size: .8rem;
  font-weight: 700;
  cursor: pointer;
  transition: .2s
}

  .ptop-btn:hover {
    background: var(--dk)
  }

.pbody {
  padding: 1.75rem;
  flex: 1
}

/* ─── COMPONENTS ─── */
.krow {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1rem;
  margin-bottom: 1.5rem
}

.kc {
  background: #fff;
  border-radius: 14px;
  padding: 1.25rem 1.4rem;
  border: 1.5px solid #eee;
  transition: .25s
}

  .kc:hover {
    box-shadow: var(--sh);
    border-color: rgba(200,16,46,.2)
  }

  .kc .ki {
    font-size: 1.5rem;
    margin-bottom: .4rem
  }

  .kc .kn {
    font-size: 1.9rem;
    font-weight: 800;
    color: var(--k);
    line-height: 1
  }

  .kc .kl {
    font-size: .72rem;
    color: var(--g);
    margin-top: 3px
  }

  .kc .kch {
    font-size: .7rem;
    font-weight: 600;
    margin-top: 5px
  }

.up {
  color: #16a34a
}

.dn {
  color: #dc2626
}

.neu {
  color: var(--g)
}

.sc {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #eee;
  margin-bottom: 1.25rem;
  overflow: hidden
}

.sch {
  padding: .9rem 1.4rem;
  border-bottom: 1.5px solid #eee;
  display: flex;
  align-items: center;
  justify-content: space-between
}

  .sch h3 {
    font-size: .9rem;
    font-weight: 700
  }

.scb {
  padding: 1.4rem
}

table.dt {
  width: 100%;
  border-collapse: collapse
}

  table.dt th {
    background: #f8f8fb;
    padding: .8rem 1.1rem;
    text-align: left;
    font-size: .7rem;
    font-weight: 700;
    color: var(--g);
    text-transform: uppercase;
    letter-spacing: .05em;
    border-bottom: 1.5px solid #eee
  }

  table.dt td {
    padding: .85rem 1.1rem;
    font-size: .82rem;
    border-bottom: 1px solid #f0f0f5;
    vertical-align: middle
  }

  table.dt tr:last-child td {
    border-bottom: none
  }

  table.dt tr:hover td {
    background: #fafafa
  }

.chip {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: .68rem;
  font-weight: 700
}

.cg {
  background: #dcfce7;
  color: #16a34a
}

.cy {
  background: #fef9c3;
  color: #ca8a04
}

.cr {
  background: #fee2e2;
  color: #dc2626
}

.cb {
  background: #dbeafe;
  color: #2563eb
}

.cgr {
  background: #f1f5f9;
  color: #64748b
}

.tb {
  border: none;
  border-radius: 7px;
  padding: 5px 11px;
  font-family: 'Sora',sans-serif;
  font-size: .7rem;
  font-weight: 700;
  cursor: pointer;
  transition: .2s
}

.tbo {
  background: none;
  border: 1.5px solid #ddd;
  color: var(--g)
}

  .tbo:hover {
    border-color: var(--k);
    color: var(--k)
  }

.tbr {
  background: var(--k);
  color: #fff
}

  .tbr:hover {
    background: var(--dk)
  }

.tbg {
  background: #16a34a;
  color: #fff
}

  .tbg:hover {
    background: #15803d
  }

.onay-card {
  background: #fff;
  border-radius: 14px;
  border: 1.5px solid #eee;
  padding: 1.1rem 1.4rem;
  margin-bottom: .9rem;
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  transition: .2s
}

  .onay-card:hover {
    box-shadow: var(--sh)
  }

.oc-l {
  flex: 1
}

.oc-t {
  font-size: .9rem;
  font-weight: 700;
  margin-bottom: 3px
}

.oc-m {
  font-size: .75rem;
  color: var(--g);
  line-height: 1.6
}

.oc-r {
  display: flex;
  gap: .4rem;
  align-items: center;
  flex-shrink: 0
}

.pf {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .9rem
}

.pff {
  display: flex;
  flex-direction: column;
  gap: 5px
}

  .pff.full {
    grid-column: 1/-1
  }

  .pff label {
    font-size: .7rem;
    font-weight: 700;
    color: var(--g);
    text-transform: uppercase;
    letter-spacing: .06em
  }

  .pff input, .pff select, .pff textarea {
    border: 1.5px solid #ddd;
    border-radius: 9px;
    padding: 9px 13px;
    font-family: 'Sora',sans-serif;
    font-size: .84rem;
    color: var(--ant);
    outline: none;
    transition: .2s;
    background: #fff
  }

    .pff input:focus, .pff select:focus, .pff textarea:focus {
      border-color: var(--k)
    }

  .pff textarea {
    resize: vertical;
    min-height: 80px
  }

.psec {
  grid-column: 1/-1;
  border-top: 1.5px dashed #eee;
  padding-top: .9rem;
  margin-top: .2rem
}

  .psec h4 {
    font-size: .75rem;
    font-weight: 700;
    color: var(--g);
    text-transform: uppercase;
    letter-spacing: .06em;
    margin-bottom: .85rem
  }

.cbg {
  display: flex;
  flex-direction: column;
  gap: .45rem
}

.cbi {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .83rem;
  cursor: pointer
}

  .cbi input[type=checkbox] {
    width: 15px;
    height: 15px;
    accent-color: var(--k)
  }

.pbtn {
  background: var(--k);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 11px 24px;
  font-family: 'Sora',sans-serif;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: .2s
}

  .pbtn:hover {
    background: var(--dk);
    transform: translateY(-1px);
    box-shadow: 0 5px 18px rgba(200,16,46,.35)
  }

.pbtn-sec {
  background: var(--ant);
  color: #fff;
  border: none;
  border-radius: 9px;
  padding: 11px 24px;
  font-family: 'Sora',sans-serif;
  font-size: .9rem;
  font-weight: 700;
  cursor: pointer;
  transition: .2s
}

  .pbtn-sec:hover {
    background: #0f0f1f
  }

.alert {
  border-radius: 10px;
  padding: .9rem 1.1rem;
  margin-bottom: 1rem;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: .8rem;
  line-height: 1.5
}

.alert-info {
  background: #eff6ff;
  border: 1.5px solid #bfdbfe;
  color: #1e40af
}

.alert-warn {
  background: #fffbeb;
  border: 1.5px solid #fcd34d;
  color: #92400e
}

.alert-ok {
  background: #f0fdf4;
  border: 1.5px solid #86efac;
  color: #14532d
}

.sbar {
  display: flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: 1.75rem
}

.sd {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  font-weight: 800;
  flex-shrink: 0;
  transition: .3s
}

.sd-d {
  background: var(--k);
  color: #fff
}

.sd-c {
  background: var(--ant);
  color: #fff;
  box-shadow: 0 0 0 4px rgba(26,26,46,.15)
}

.sd-t {
  background: #e5e7eb;
  color: var(--g)
}

.sl- {
  flex: 1;
  height: 2px;
  background: #e5e7eb;
  transition: .3s
}

.sl-d {
  background: var(--k)
}

.bar {
  height: 8px;
  border-radius: 100px;
  background: #f0f0f5;
  overflow: hidden;
  margin-top: 4px
}

.bar-fill {
  height: 100%;
  background: var(--k);
  border-radius: 100px;
  transition: width .5s
}

/* ─── NAV (landing) ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(26,26,46,.97);
  backdrop-filter: blur(12px);
  border-bottom: 2px solid var(--k);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px
}

.nl {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none
}

  .nl img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(200,16,46,.4))
  }

  .nl .un {
    font-size: .65rem;
    font-weight: 300;
    letter-spacing: .08em;
    opacity: .7;
    line-height: 1.2;
    color: #fff
  }

  .nl .sn {
    font-size: .9rem;
    font-weight: 700;
    color: #fff
  }

.nlinks {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none
}

  .nlinks a {
    color: rgba(255,255,255,.75);
    text-decoration: none;
    font-size: .83rem;
    font-weight: 500;
    transition: .2s;
    position: relative
  }

    .nlinks a::after {
      content: '';
      position: absolute;
      bottom: -4px;
      left: 0;
      right: 0;
      height: 2px;
      background: var(--k);
      transform: scaleX(0);
      transition: .2s
    }

    .nlinks a:hover {
      color: #fff
    }

      .nlinks a:hover::after {
        transform: scaleX(1)
      }

.nbtn {
  background: var(--k);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 9px 20px;
  font-size: .83rem;
  font-weight: 700;
  font-family: 'Sora',sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: .2s;
  display: inline-block
}

  .nbtn:hover {
    background: var(--dk);
    transform: translateY(-1px)
  }

.nbtn-g {
  background: rgba(255,255,255,.1);
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 8px;
  padding: 9px 18px;
  font-size: .83rem;
  font-weight: 600;
  font-family: 'Sora',sans-serif;
  cursor: pointer;
  text-decoration: none;
  transition: .2s;
  display: inline-block
}

  .nbtn-g:hover {
    background: rgba(255,255,255,.18)
  }

/* HERO */
.hero {
  min-height: 100vh;
  background: var(--ant);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 70px
}

.hbg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 70% 50%,rgba(200,16,46,.18) 0%,transparent 70%),radial-gradient(ellipse 50% 80% at 10% 20%,rgba(200,16,46,.1) 0%,transparent 60%)
}

.hgrid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.022) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.022) 1px,transparent 1px);
  background-size: 60px 60px
}

.hc {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center
}

.hbadge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: rgba(200,16,46,.15);
  border: 1px solid rgba(200,16,46,.4);
  border-radius: 100px;
  padding: 5px 15px;
  color: #ff8099;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 1.4rem
}

  .hbadge span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--k);
    animation: pulse 2s infinite
  }

@keyframes pulse {
  0%,100% {
    opacity: 1;
    transform: scale(1)
  }

  50% {
    opacity: .5;
    transform: scale(1.3)
  }
}

.hero h1 {
  font-size: clamp(2rem,3.8vw,3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: .9rem;
  letter-spacing: -.02em
}

  .hero h1 em {
    font-style: normal;
    color: var(--k)
  }

.hero > * p, .hc > div > p {
  font-size: 1rem;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-bottom: 1.75rem;
  max-width: 480px
}

.ha {
  display: flex;
  gap: .9rem;
  flex-wrap: wrap
}

.btn-p {
  background: var(--k);
  color: #fff;
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 700;
  font-size: .9rem;
  text-decoration: none;
  display: inline-block;
  transition: .25s;
  border: 2px solid var(--k);
  cursor: pointer;
  font-family: 'Sora',sans-serif
}

  .btn-p:hover {
    background: var(--dk);
    border-color: var(--dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(200,16,46,.4)
  }

.btn-o {
  background: transparent;
  color: rgba(255,255,255,.85);
  padding: 13px 30px;
  border-radius: 10px;
  font-weight: 600;
  font-size: .9rem;
  text-decoration: none;
  display: inline-block;
  transition: .25s;
  border: 2px solid rgba(255,255,255,.22);
  cursor: pointer;
  font-family: 'Sora',sans-serif
}

  .btn-o:hover {
    border-color: rgba(255,255,255,.55);
    color: #fff;
    transform: translateY(-2px)
  }

.hstats {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1px;
  background: rgba(255,255,255,.07);
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  margin-top: 2rem
}

.hsi {
  background: rgba(26,26,46,.6);
  padding: 1.3rem;
  text-align: center
}

  .hsi .n {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--k);
    display: block;
    line-height: 1
  }

  .hsi .l {
    font-size: .68rem;
    color: rgba(255,255,255,.45);
    font-weight: 500;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-top: 3px
  }

.dcard {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 18px;
  padding: 1.4rem;
  backdrop-filter: blur(12px);
  animation: float 6s ease-in-out infinite
}

@keyframes float {
  0%,100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(-10px)
  }
}

.dh {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.3rem
}

.dt2 {
  color: #fff;
  font-size: .82rem;
  font-weight: 600
}

.dtag {
  background: rgba(200,16,46,.2);
  color: #ff8099;
  padding: 3px 9px;
  border-radius: 6px;
  font-size: .7rem;
  font-weight: 600
}

.erow {
  background: rgba(255,255,255,.05);
  border-radius: 11px;
  padding: 11px 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid rgba(255,255,255,.05);
  transition: .2s;
  margin-bottom: 8px
}

  .erow:hover {
    background: rgba(255,255,255,.09)
  }

.edot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  flex-shrink: 0
}

.ei {
  flex: 1
}

.en {
  color: rgba(255,255,255,.9);
  font-size: .8rem;
  font-weight: 600
}

.em {
  color: rgba(255,255,255,.38);
  font-size: .7rem;
  margin-top: 1px
}

.ebdg {
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px
}

.bon {
  background: rgba(34,197,94,.15);
  color: #4ade80
}

.bw {
  background: rgba(251,191,36,.15);
  color: #fbbf24
}

/* FEATURES */
.sec {
  padding: 5.5rem 2rem
}

.si {
  max-width: 1200px;
  margin: 0 auto
}

.sh {
  text-align: center;
  margin-bottom: 3.5rem
}

.stag {
  display: inline-block;
  background: var(--ak);
  color: var(--k);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 5px 13px;
  border-radius: 100px;
  margin-bottom: .9rem;
  border: 1px solid rgba(200,16,46,.2)
}

.st {
  font-size: clamp(1.7rem,2.8vw,2.3rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -.02em;
  margin-bottom: .75rem
}

.sd2 {
  font-size: 1rem;
  color: var(--g);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.7
}

.fg {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.3rem
}

.fc {
  background: #fff;
  border-radius: 18px;
  padding: 1.75rem;
  border: 1.5px solid #EAEBF0;
  transition: .3s;
  position: relative;
  overflow: hidden
}

  .fc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--k);
    transform: scaleX(0);
    transition: .3s;
    transform-origin: left
  }

  .fc:hover {
    border-color: rgba(200,16,46,.25);
    box-shadow: var(--sh);
    transform: translateY(-4px)
  }

    .fc:hover::before {
      transform: scaleX(1)
    }

.fi {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--ak);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  font-size: 1.4rem
}

.fc h3 {
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .5rem
}

.fc p {
  font-size: .83rem;
  color: var(--g);
  line-height: 1.6
}
/* STATS */
.ssec {
  background: var(--k);
  padding: 4.5rem 2rem
}

.sg {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 2rem;
  text-align: center
}

.si2 .b {
  font-size: clamp(2.3rem,3.8vw,3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1
}

.si2 .lb {
  font-size: .8rem;
  color: rgba(255,255,255,.65);
  margin-top: 7px;
  font-weight: 500
}
/* CALENDAR */
.csec {
  background: var(--ant);
  padding: 5.5rem 2rem
}

.cg2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1200px;
  margin: 0 auto
}

.cwid {
  background: rgba(255,255,255,.04);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.08);
  overflow: hidden
}

.ch {
  background: var(--k);
  padding: .9rem 1.4rem;
  display: flex;
  justify-content: space-between;
  align-items: center
}

  .ch span {
    color: #fff;
    font-weight: 700
  }

.cn {
  background: rgba(0,0,0,.2);
  border: none;
  color: #fff;
  width: 26px;
  height: 26px;
  border-radius: 6px;
  cursor: pointer;
  font-size: .85rem
}

.cbd {
  padding: .9rem 1.4rem 1.4rem
}

.cdd {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  text-align: center;
  font-size: .67rem;
  color: rgba(255,255,255,.38);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: .4rem
}

.cddays {
  display: grid;
  grid-template-columns: repeat(7,1fr);
  gap: 2px
}

.cday {
  aspect-ratio: 1;
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .77rem;
  color: rgba(255,255,255,.45);
  cursor: pointer;
  transition: .15s;
  position: relative
}

  .cday:hover {
    background: rgba(255,255,255,.1);
    color: #fff
  }

  .cday.today {
    background: var(--k);
    color: #fff;
    font-weight: 700
  }

  .cday.he::after {
    content: '';
    position: absolute;
    bottom: 2px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #D4A843
  }

  .cday.empty {
    opacity: 0;
    pointer-events: none
  }

.uev {
  display: flex;
  flex-direction: column;
  gap: .85rem
}

.cst {
  color: rgba(255,255,255,.9);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 1.3rem
}

.ecard {
  background: rgba(255,255,255,.05);
  border-radius: 14px;
  padding: 1.1rem 1.3rem;
  border: 1px solid rgba(255,255,255,.07);
  transition: .2s;
  display: flex;
  gap: .9rem;
  align-items: flex-start
}

  .ecard:hover {
    background: rgba(255,255,255,.09);
    border-color: rgba(200,16,46,.3)
  }

.edb {
  background: var(--k);
  border-radius: 9px;
  padding: 7px 11px;
  text-align: center;
  flex-shrink: 0;
  min-width: 48px
}

  .edb .dy {
    font-size: 1.3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1
  }

  .edb .mo {
    font-size: .62rem;
    color: rgba(255,255,255,.65);
    font-weight: 600;
    text-transform: uppercase
  }

.eci {
  flex: 1
}

.ect {
  font-size: .87rem;
  font-weight: 700;
  color: rgba(255,255,255,.9);
  margin-bottom: 3px
}

.ecs {
  font-size: .75rem;
  color: rgba(255,255,255,.42)
}

.etag {
  font-size: .65rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 5px;
  background: rgba(200,16,46,.2);
  color: #ff8099;
  margin-top: 5px;
  display: inline-block
}
/* INTEGRATIONS */
.ig {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1.3rem;
  max-width: 860px;
  margin: 2.5rem auto 0
}

.ic {
  background: #fff;
  border-radius: 14px;
  padding: 1.3rem;
  text-align: center;
  border: 1.5px solid #EAEBF0;
  transition: .25s
}

  .ic:hover {
    box-shadow: var(--sh);
    border-color: rgba(200,16,46,.2);
    transform: translateY(-3px)
  }

.ii {
  font-size: 1.9rem;
  margin-bottom: .65rem
}

.in {
  font-size: .82rem;
  font-weight: 700
}

.id2 {
  font-size: .72rem;
  color: var(--g);
  margin-top: 3px
}
/* FOOTER */
footer {
  background: var(--ant);
  color: rgba(255,255,255,.55);
  padding: 2.75rem 2rem;
  border-top: 3px solid var(--k)
}

.fi2 {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 3rem
}

.fb .lr {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: .9rem
}

.fb img {
  width: 40px;
  height: 40px;
  object-fit: contain
}

.fb .un2 {
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.3
}

.fb p {
  font-size: .8rem;
  line-height: 1.7;
  max-width: 300px
}

.fcol h4 {
  color: #fff;
  font-size: .82rem;
  font-weight: 700;
  margin-bottom: .9rem;
  letter-spacing: .04em
}

.fcol a {
  display: block;
  color: rgba(255,255,255,.45);
  text-decoration: none;
  font-size: .8rem;
  margin-bottom: .45rem;
  transition: .15s;
  cursor: pointer
}

  .fcol a:hover {
    color: var(--k)
  }

.fbot {
  max-width: 1200px;
  margin: 1.75rem auto 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(255,255,255,.07);
  text-align: center;
  font-size: .75rem;
  color: rgba(255,255,255,.28)
}

.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease,transform .55s ease
}

  .fade-up.visible {
    opacity: 1;
    transform: translateY(0)
  }

/* ─── ACCOUNTS PANEL ─── */
.accounts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2rem
}

.acc-card {
  border-radius: 16px;
  padding: 1.5rem;
  cursor: pointer;
  transition: all .25s;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden
}

  .acc-card::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: .06;
    background: linear-gradient(135deg,#fff,transparent)
  }

  .acc-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,.15)
  }

  .acc-card.selected {
    border-color: rgba(255,255,255,.5);
    transform: translateY(-3px)
  }

  .acc-card .ac-ico {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: rgba(255,255,255,.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: .9rem
  }

  .acc-card .ac-name {
    color: #fff;
    font-size: .95rem;
    font-weight: 700;
    margin-bottom: 2px
  }

  .acc-card .ac-role {
    color: rgba(255,255,255,.65);
    font-size: .75rem;
    margin-bottom: .6rem
  }

  .acc-card .ac-email {
    color: rgba(255,255,255,.5);
    font-size: .7rem;
    font-family: monospace
  }

  .acc-card .ac-pass {
    color: rgba(255,255,255,.4);
    font-size: .7rem;
    margin-top: 2px
  }

  .acc-card .ac-badge {
    position: absolute;
    top: .9rem;
    right: .9rem;
    font-size: .6rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 5px;
    background: rgba(255,255,255,.15);
    color: rgba(255,255,255,.7);
    text-transform: uppercase;
    letter-spacing: .05em
  }

@media(max-width:900px) {
  .hc, .cg2, .fi2 {
    grid-template-columns: 1fr
  }

  .hvisual {
    display: none
  }

  .fg {
    grid-template-columns: 1fr 1fr
  }

  .sg {
    grid-template-columns: 1fr 1fr
  }

  .ig {
    grid-template-columns: 1fr 1fr
  }

  .krow {
    grid-template-columns: 1fr 1fr
  }

  .pf {
    grid-template-columns: 1fr
  }

  .pff.full {
    grid-column: 1
  }

  .sidebar {
    width: 220px
  }

  nav {
    padding: 0 1rem
  }

  .nlinks {
    display: none
  }

  .accounts-grid {
    grid-template-columns: 1fr
  }
}
.wf-step {
  padding: .5rem .25rem
}

.wf-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto .75rem;
  box-shadow: 0 6px 20px rgba(0,0,0,.18);
  transition: .25s
}

.wf-step:hover .wf-icon {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,.22)
}

.wf-num {
  font-size: .65rem;
  font-weight: 800;
  color: #C8102E;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .3rem
}

.wf-title {
  font-size: .82rem;
  font-weight: 800;
  color: #1A1A2E;
  margin-bottom: .45rem;
  line-height: 1.3
}

.wf-desc {
  font-size: .7rem;
  color: #6b7280;
  line-height: 1.65;
  margin-bottom: .6rem;
  min-height: 52px
}

.wf-badge {
  display: inline-block;
  font-size: .62rem;
  font-weight: 700;
  padding: 3px 9px;
  border-radius: 100px
}

/* --- ETKİNLİK KARTLARI --- */
.events-section { background: var(--ag); padding: 4.5rem 2rem !important; }
.events-container { max-width: 1200px; margin: 0 auto; }
.events-heading, .event-group-title { display:flex; align-items:center; justify-content:space-between; gap:1rem; }
.events-heading { margin-bottom: 2.5rem; }
.events-kicker { display:inline-block; color:var(--k); font-size:.68rem; font-weight:800; letter-spacing:.12em; margin-bottom:.55rem; }
.events-heading h2 { margin:0; font-size:clamp(1.45rem,2.4vw,2rem); font-weight:800; letter-spacing:-.025em; color:var(--ant); }
.events-heading p { color:var(--g); font-size:.88rem; margin:.55rem 0 0; max-width:650px; line-height:1.7; }
.events-apply { white-space:nowrap; padding:10px 18px; font-size:.78rem; }
.event-group { margin-bottom:2.7rem; }
.event-group-title { margin-bottom:1rem; font-size:1rem; font-weight:800; color:var(--ant); }
.event-group-title > div { display:flex; align-items:center; gap:.55rem; }
.section-dot { width:9px; height:9px; display:inline-block; border-radius:50%; background:var(--k); box-shadow:0 0 0 5px var(--ak); }
.muted-dot { background:#64748b; box-shadow:0 0 0 5px #e2e8f0; }
.event-count { font-size:.7rem; color:var(--g); font-weight:600; }
.event-card { height:100%; border:1px solid #e7e9ef; border-radius:16px; background:#fff; overflow:hidden; transition:transform .2s, box-shadow .2s, border-color .2s; }
.event-card:hover { transform:translateY(-4px); border-color:rgba(200,16,46,.25); box-shadow:0 12px 30px rgba(26,26,46,.09); }
.event-card-top { height:7px; background:linear-gradient(90deg,var(--k),#ef7d61); }
.event-card.past-card .event-card-top { background:linear-gradient(90deg,#64748b,#94a3b8); }
.event-card-body { padding:1.15rem 1.2rem 1.25rem; }
.event-date-box { display:inline-flex; flex-direction:column; align-items:center; justify-content:center; min-width:49px; height:52px; border-radius:10px; background:var(--ak); color:var(--k); margin-bottom:.9rem; }
.past-card .event-date-box { background:#f1f5f9; color:#475569; }
.event-date-box strong { font-size:1.25rem; line-height:1; }
.event-date-box small { font-size:.58rem; font-weight:800; text-transform:uppercase; margin-top:3px; }
.event-card h3 { font-size:.96rem; line-height:1.4; margin:0 0 .55rem; color:var(--ant); }
.event-meta { color:var(--g); font-size:.72rem; line-height:1.7; display:flex; gap:.4rem; align-items:flex-start; }
.event-meta + .event-meta { margin-top:.15rem; }
.event-empty { padding:1.5rem; border:1px dashed #d7dbe5; border-radius:14px; color:var(--g); background:rgba(255,255,255,.55); font-size:.8rem; }
.past-group { padding-top: .25rem; }
@media(max-width:700px) { .events-heading { align-items:flex-start; flex-direction:column; } .events-apply { width:100%; text-align:center; } }
