
:root {
  --site-color-01: #2b2d42;
  --site-color-02: #ffab02;
  --site-color-03: #1a1a1a;
  --site-color-04: #ffffff;
  --site-color-05: #ccc;
  --site-color-06: #006d77;
  --site-color-07: rgba(0, 109, 119,0.2);
  --site-color-08: #ffa896;
  --site-color-09: #9b1313;
  --site-color-10: rgba(255, 171, 2, 0.3);




  --radius: 12px;
  --gap: 16px;
}
*{box-sizing:border-box;
}
html,body{height:100%;
  margin:0;
  font-family:Inter, system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  color:var(--site-color-03);
  background:#f6f7fb;
  
}
.app{display:grid;
  grid-template-columns:260px 1fr;
  gap:var(--gap);
  min-height:100vh;
  padding:20px;
}
.header{
  /* position:sticky; */
  top:0px;
  z-index: 999;
  /* width: 60vw; */
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px;
  border-radius:14px;
  background:linear-gradient(180deg,var(--site-color-04),#fbfbfb);
      box-shadow: 0 4px 8px 0 rgba(0,0,0,0.8),0 6px 20px 0 rgba(0,0,0,0.2);

}
.header .profile-img{
  width: 70px;
  height: 70px;
}
.header .profile-img img{
  width: 100%;
  height: 100%;
  border-radius: 10px;
}
.brand{display:flex;
  gap:12px;
  align-items:center;
}
.logo{width:44px;
  height:44px;
  border-radius:10px;
  background:var(--site-color-01);
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--site-color-04);
  font-weight:700;
}
.search{display:flex;
  gap:8px;
  align-items:center;
}
.search input{padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--site-color-05);
  min-width:220px;

}
.icon-btn{background:transparent;
  border:0;
  padding:8px;
  border-radius:8px;
  cursor:pointer;
}
.sidebar{
  background:var(--site-color-04);
  padding:18px;
  border-radius:14px;
  box-shadow:0 6px 18px rgba(43,45,66,0.04);
  height:fit-content;
  top: 20px;
  position: sticky;
  /* display: none; */
}
.sel{
  /* background: var(--site-color-06); */
  /* border: 1px solid red; */
}
.sel select{
  width: 100%;
  height: 40px;
  border-radius: 10px;
  background: var(--site-color-07);
  font-size: 20px;
  font-weight: 600;
  color: var(--site-color-06);
  /* border: 1px solid red; */
}
.sel select option{
  color: var(--site-color-06);
  /* border: 1px solid red; */
}
.nav{display:flex;
  flex-direction:column;
  gap:8px;
}
.nav a{padding:10px 12px;
  border-radius:10px;
  text-decoration:none;
  color:var(--site-color-03);
  display:flex;
  align-items:center;
  gap:10px;
}
.nav a.active{
  background:linear-gradient(90deg,var(--site-color-02),#ffd57f);
  color:var(--site-color-03);
  font-weight:600;
}
.catt{
  top: -100px;
  position: sticky;
  /* border: 2px solid red; */
}
.cat{
  background:linear-gradient(90deg,var(--site-color-02),#ffd57f);
  color:var(--site-color-06);
  font-weight:700;
  padding: 5px 10px;
  border-radius: 12px;
  /* border: 2px solid red; */
}
.content{padding:0;
}
.cardacc{
  top: 0px;
  background:var(--site-color-04);
  padding:16px;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(43,45,66,0.04);
  position: sticky;
  z-index: 1005;
  /* border: 2px solid rgb(9, 255, 0); */

}
.cardacc .card-div{
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  box-shadow:0 6px 18px rgba(43,45,66,0.04);
  /* border: 2px solid red; */
}
.cardacc .card-div div{
  width: 200px;
  flex-direction: column;
  display: flex;
  align-items: center;
  border-radius: 10px;
  background: var(--site-color-06);
  box-shadow:0 6px 18px rgba(43,45,66,0.04);
  cursor: pointer;
}
.cardacc .card-div div p{
  /* padding: 0px; */
  margin: 0 auto ;
  font-size: 27px;
  font-weight: 700;
  color: var(--site-color-04);
  padding-bottom: 10px;
}
.cardacc .card-div div strong{
  color: var(--site-color-02);
}
.controls{display:flex;
  gap:12px;
  align-items:center;
}
.grid{display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:12px;
  margin-top:12px;
}
.table{width:100%;
  border-collapse:collapse;
}
.table th,.table td{
  padding:10px;
  border-bottom:1px solid #eee;
  text-align:left;
}
.table td .tt{
  font-size: 12px;
  padding:3px;
  height: 60px;
  overflow: hidden;
  /* border:1px solid #f50101; */
}
tbody tr:nth-child(odd){
  background-color: var(--site-color-04);
  /* border-bottom: 1px solid red; */
}
tbody tr{
  transition: 600ms ease-in-out all;
  /* border-bottom: 1px solid red; */
}
tbody tr:hover{
  background-color: var(--site-color-07);
  /* border-bottom: 1px solid red; */
}
.badge{display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  background:#f0f0f0;
  font-size:13px;
}

textarea{
    width: 100%;
    padding: 20px;
    font-size: 20px;
    font-weight: 700;
}
.btn.primary{background:var(--site-color-02);
  color:var(--site-color-03);
  font-weight:700;
}
.btn.ghost{background:transparent;
  border:1px solid var(--site-color-05);
}
.footer{padding:12px;
  text-align:center;
  color:#777;
;
}
.featured{
  color:var(--site-color-06);
  font-weight:700;
  cursor: pointer;
}
.mobile-toggle{
  display:none;
}

.mainbd{
  display:flex;
  gap:12px;
  margin-top:12px;
  align-items:flex-start;
}
.act-btn{
  /* border: 2px solid red; */
}
.act-btn .btn{
  width: 100px;
  background: var(--site-color-07);
  /* border: 2px solid red; */
}
.act-btn .btnd{
  width: 100px;
  background: var(--site-color-08);
  color: var(--site-color-09);
  /* border: 2px solid red; */
  font-size: 15px;
}
.act-btn .btnu{
  width: 100px;
  background: var(--site-color-10);
  color: var(--site-color-06);
  /* border: 2px solid red; */
}

/*  */
/* ======= Modal ======= */
.hhh{
    margin-top: 1200px;
    /* width: 100%; */
    background: var(--site-color-07);
}
.select-container{
    display: flex;
    justify-content: center;
    position: relative;
    width: 80%;
    height: 55px;
    /* background: red; */
    margin-left: 20px;
    color: var(--text-clr);
    border-radius: 8px;
    border: 1px solid var(--site-color-06);
}
.select-container .select-box{
    /* border: 2px solid var(--site-color-02); */
    appearance: none;
    border: none;
    padding: 0px 30px 0px 15px;
    width: 100%;
    border-radius: 8px;
    background: var(--base-clr);
    height: 100%;
    color: var(--text-clr);
    font-size: 20px;
}
.select-container .icon-container{
    width: 55px;
    height: 100%;
    position: absolute;
    right: 0;
    margin-top: 10px;
    padding-right: 15px;
    font-size: 30px;
    color: var(--site-color-02);
}
.select-container .icon-container i{
    right: 0;
    /* border: 2px solid var(--site-color-02); */
    padding-left: 15px;
}
select option{
  color: red;
  /* text-wrap: w; */
    border: 2px solid red;
}
#fr, #exdrand{
    color: red;
    background: rgba(255, 0, 0, 0.2);
    width: 300px;
    cursor: pointer;
}
 #sec-sel, #sec-selx{
    display: none;
  }
    label svg{
    font-size: 25px;
    fill: var(--site-color-06);
    /* border: 2px solid red; */
  }
.titlex {
    color: var(--site-color-03);
    font-family: sans-serif;
    text-align: center;
    font-size: 40px;
    font-weight: 600;
    margin: 10px 0px;
  }
  .titlex  span{
    color: var(--site-color-09);
    margin-top: 210px;
  }
.modal, .modalacc {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  overflow: scroll;
}

.modal-content {
  background: var(--site-color-04);
  padding: 1.5rem;
  border-radius: var(--radius);
  width: 90%;
  /* max-width: 680px; */
  box-shadow: 0 8px 25px rgba(0,0,0,0.2);
  text-align: center;
}

.modal-content h3 {
  margin-bottom: 1rem;
  color: var(--site-color-01);
}

.modal-content input {
  width: 100%;
  padding: 10px;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--site-color-05);
}

.modal-content button {
  width: 100%;
}

.close {
  position: absolute;
  top: 10px;
  right: 25px;
  font-size: 1.7rem;
  color: var(--site-color-09);
  cursor: pointer;
}
.logout{
  background:linear-gradient(45deg,var(--site-color-09),var(--site-color-02));
  color:var(--site-color-03);
  font-weight:600;
  border-radius:10px;

}
.logout a{
  padding:10px 12px;
  text-decoration:none;
  color:var(--site-color-04);
  display:flex;
  gap:10px;
  text-align: center;

}

/* USER ORDER */
.order-container {
  width: 90%;
  margin: auto;
  background-color: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

h1 {
  text-align: center;
  /* color: #333; */
  /* margin-bottom: 30px; */
}

.order-card {
  display: flex;
  /* gap: 20px; */
  padding: 20px 0px 0px;
  border-bottom: 1px solid #ddd;
  align-items: center;
  flex-wrap: wrap;
    /* border:2px solid red; */
    /* flex-direction: column; */
}

.order-card:last-child {
  border-bottom: none;
}

.product-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.order-details {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}


.order-details h2 {
  margin: 0 0 10px;
  font-size: 18px;
  color: #2c3e50;
}

.order-meta {
  font-size: 14px;
  color: #555;
  margin-bottom: 5px;
}

.status {
  display: inline-block;
  padding: 5px 10px;
  margin-top: 5px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
}

.status.delivered {
  background-color: #c0ecca;
  color: #02fa3c;
}

.status.shipping {
  background-color: #d4edda;
  color: #045c0b;
}

.status.pending {
  background-color: #fff3cd;
  color: #856404;
}

.status.cancelled {
  background-color: #f8d7da;
  color: #721c24;
}

.priceux {
  font-size: 16px;
  font-weight: bold;
  margin-top: 10px;
  color: #111;
}
.order-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0px;
  gap: 20px;
}

/* VNDO USER  */


.label{font-size:13px;color:var(--site-color-05);margin-bottom:8px;}
.value{font-weight:700;font-size:16px;color:var(--site-color-03);}
.btn-save{background:var(--site-color-02);border:0;margin-top:15px;padding:15px 20px;border-radius:var(--radius);font-weight:900;font-size:16px;color:#000;width:220px;}

/* UPDATE date */
.upd-pdt{
  border: 2px solid red;

}
/* UPDATE date */
@media(max-width:768px){.card{flex:1 1 100%;}}
/* VNDO USER  */
/* HISTORY  ACCOUNT*/
  /* small visual helpers */
    .tag{padding:4px 8px;
      border-radius:6px;
      font-size:11px;
      font-weight:700;
      display:inline-block;
      margin-top:4px;
    }
.tag-credit{background:rgba(0,109,119,0.18);
  color:var(--site-color-06);
  border-left:3px solid var(--site-color-06);
} 
.tag-debit{background:rgba(217,83,79,0.18);
  color:#d9534f;
  border-left:3px solid #d9534f;
}
.tag-pending {
  background-color: #fff3cd;
  color: #856404;
  border-left:3px solid #856404;

}
 .controls{
      /* display:flex; */
      /* gap:8px; */
      justify-content: center;
      align-items:center;
    } 

     .search{
      padding:8px 12px;
      border-radius:10px;
      border:1px solid var(--site-color-05);
      background:var(--site-color-04);

      /* min-width:180px */
    } 

     .filter-btn{
      background: transparent;
      border:none;
      color: var(--site-color-06);
      /* padding:8px 12px; */
      border-radius:10px;
      /* border: 2px solid var(--site-color-06); */
      /* color:#111; */
      font-weight:600;
      cursor:pointer
    } 

 /* HISTORY  ACCOUNT */
 .pdt_img{
  width: 50px;
  height: 50px;
  margin-bottom: 30px;
    /* border: 2px solid red; */
 }
 .pdt_img img{
  width: 50px;
  height: 50px;
  border-radius:10px ;
    /* border: 2px solid red; */
 }
/*  */
 .container{
    max-width:750px;
    margin:0 auto;
    background:var(--site-color-04);
    padding:30px;
    border-radius:20px;
    color:var(--site-color-03);
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
  }

  h2{
    text-align:center;
    color:var(--site-color-06);
    margin-bottom:25px;
    font-size:26px;
    font-weight:800;
  }

  .row{
    display:flex;
    gap:20px;
    margin-bottom:20px;
  }

  .row .col{
    flex:1;
  }

  label{
    font-weight:700;
    margin-bottom:6px;
    display:block;
    color:var(--site-color-01);
  }

  input,.container select, textarea{
    width:100%;
    padding:12px;
    border:2px solid var(--site-color-05);
    border-radius:10px;
    margin-top:5px;
    background:var(--site-color-07);
    font-size:15px;
  }

  /* Stylish File Input */
  input[type=file]{
    padding:12px;
    background:var(--site-color-04);
    border:2px dashed var(--site-color-06);
    cursor:pointer;
    border-radius:12px;
    font-weight:600;
    transition:0.3s;
  }

  input[type=file]:hover{
    background:var(--site-color-07);
    border-color:var(--site-color-02);
  }

  textarea{resize:vertical;min-height:120px;}

  .image-box{
    border:2px dashed var(--site-color-06);
    padding:25px;
    text-align:center;
    border-radius:12px;
    background:var(--site-color-07);
    color:var(--site-color-03);
    font-weight:600;
    margin-bottom:20px;
  }

  .btn{
    /* width:100%; */
    padding:10px 5px;
    background:linear-gradient(105deg, var(--site-color-02), var(--site-color-07));
    border:none;
    border-radius:12px;
    color:var(--site-color-03);
    font-weight:800;
    font-size:17px;
    cursor:pointer;
    box-shadow:0 5px 12px rgba(0,0,0,0.3);
    transition:2s all ease-in-out;
    
  }

  .btn:hover{
    transform:translateY(-2px);
    /* opacity:0.95; */
    background:linear-gradient(105deg, var(--site-color-07), var(--site-color-02));

  }
.hidden {
        display: none;
    }
  #note, #submitBtnx{
        color: red;
        font-size: 14px;
        margin-top: 6px;
    }
     .notice{
            background: var(--site-color-02);
            padding: 18px;
            text-align: center;
            border-radius: 10px;
            font-size: 18px;
            font-weight: bold;
            color: var(--site-color-06);
            margin-top: 20px;
        }

        /* OTP PIN  */
         /* trigger button */
    .open-btn{background:var(--accent);border:0;padding:12px 18px;border-radius:10px;
      color:var(--site-color-06);
      font-weight:600;cursor:pointer;box-shadow:0 6px 18px rgba(255,171,2,0.18)}

    /* overlay + modal */
    .overlay{position:fixed;
      inset:0;
      display:none;
      align-items:center;
      justify-content:center;
      background:rgba(2,6,23,0.6);
      backdrop-filter:blur(6px);
      z-index:1010}
    .overlay.show{
      display: flex;
      
    }
    .modalpin{width:min(520px,96%);
      /* background:linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02)); */
      background: var(--site-color-05);
      border-radius:14px;
      padding:20px;
      box-shadow:0 14px 30px rgba(2,6,23,0.6);
      border:1px solid rgba(255,255,255,0.04)}

    .modalpin h2{margin:0 0 6px 0;
      font-size:20px}
    .modalpin p{margin:0 0 16px 0;
      color:var(--site-color-09);
      font-size:14px;
    text-align: center;}

    /* .rowpin{display:flex;
    gap:12px;
    align-items:center} */
    .otp-inputs{display:flex;
      gap:8px}
    .otp-inputs input{width:44px;
      height:58px;
      border-radius:8px;
      border:1px solid var(--site-color-06);
      background:transparent;
      color:var(--site-color-06);
      font-size:22px;
      text-align:center;
      outline:none}
    .otp-inputs input:focus{border-color:var(--site-color-02);
      box-shadow:0 6px 18px rgba(255,171,2,0.08)}

    .pin-wrap{display:flex;
      gap:8px;
      align-items:center}
    .pin-input{padding:12px 14px;
      border-radius:10px;
      border:1px solid var(--site-color-06);
      background:transparent;
      color:var(--site-color-06);
      width:180px;
      font-size:20px}
    .icon-btn{background:transparent;
      border:0;
      color:var(--muted);
      cursor:pointer}

    .actions{display:flex;
      gap:10px;
      justify-content:flex-end;
      margin-top:16px}
    .btn{padding:10px 14px;
      border-radius:10px;
      border:0;
      font-weight:600;
      cursor:pointer}
    .btn.secondary{background:transparent;
      color:var(--site-color-09);
      border:1px solid rgba(255,255,255,0.06)}
    .btn.primary{background:var(--site-color-06);
      color: var(--site-color-02)}

    .hint{font-size:13px;
      color:var(--muted);
      margin-top:8px}
    .danger{color:var(--site-color-09);
      font-size:13px;
      margin-top:6px}

    /* success message */
    .success{display:none;
      padding:18px;
      border-radius:10px;
      background:linear-gradient(90deg, rgba(34,197,94,0.12), rgba(34,197,94,0.06));
      color: var(--site-color-06);
      margin-top:12px}
    .success.show{display:block}

    /* USER ACCOUNT  */
.wrap{max-width:1100px;
        margin:0 auto;
        display:grid;
        grid-template-columns:360px 1fr;
        gap:24px;
        /* border: 2px solid red; */
        
    }

    /* Profile column */
    .profile-card{background:var(--card);
        border-radius:14px;
        padding:20px;
        box-shadow:0 8px 20px rgba(16,24,40,0.06)}
    .avatar{width:100px;
        height:100px;
        border-radius:14px;
        overflow:hidden;
        border:4px solid var(--glass);
        display:flex;
        align-items:center;
        justify-content:center;
        background:linear-gradient(135deg,#e6eefc,#fff)}
    .avatar img{
        width:100%;
        height:100%;
        object-fit:cover}
    .name{font-size:18px;
        font-weight:700;
        margin-top:12px}
    .role{color:var(--site-color-06);
        font-size:13px}
    .chips{display:flex;
        flex-wrap:wrap;
        gap:8px;
        margin-top:14px}
    .chip{background:#f1f5f9;
        padding:6px 10px;
        border-radius:999px;
        font-size:13px;
        color:#0f172a}
    .stats{display:flex;
        gap:12px;
        margin-top:16px}
    .stat{flex:1;
        background:#f8fafc;
        padding:12px;
        border-radius:10px;
        text-align:center}
    .stat strong{display:block;
        font-size:16px}

    /* Details column */
    .panel{background:var(--card);
        border-radius:14px;
        padding:18px;
        box-shadow:0 8px 20px rgba(16,24,40,0.04);
        margin-bottom:18px}
    h2{margin:0 0 12px 0}
    .grid{display:grid;
        grid-template-columns:1fr 1fr;
        gap:12px}
    .row{display:flex;
        gap:12px;
        align-items:center}
    label{font-size:13px;
        color:var(--site-color-06);
        display:block;
        margin-bottom:6px}
    /* input, textarea, select{width:100%;
        padding:10px;
        border-radius:8px;
        border:1px solid #e6eef6;
        background:#fff} */
    /* textarea{min-height:80px} */
    .actions{display:flex;
        gap:10px;
        margin-top:12px}
    /* button{border:0;
        padding:10px 12px;
        border-radius:10px;
        cursor:pointer} */
    /* .btn-primary{background:var(--site-color-02);
        color:#fff}
    .btn-ghost{background:transparent;
        border:1px solid #e2e8f0} */

    /* Purchase history table */
    /* table{width:100%;
        border-collapse:collapse}
    th,td{padding:10px;
        text-align:left;
        border-bottom:1px solid #f1f5f9;
        font-size:14px}
    th{font-size:13px;
        color:var(--site-color-06)} */

    /* Responsive */
    @media (max-width:900px){
      .wrap{grid-template-columns:1fr}
      
    }

    /* small helpers */
    .muted {
      color:var(--site-color-06);
      font-weight: 600;
    }
    /* .editable{background:#f8fafc;
        padding:8px;
        border-radius:8px}
    .tag{display:inline-block;padding:6px 8px;border-radius:999px;background:#eef2ff;font-weight:600;font-size:12px} */
/* USER ACCOUNT  */

    /* small screen tweaks */
    @media (max-width:420px){
      .otp-inputs input{width:38px;
        height:48px;
        font-size:20px}
      .pin-input{width:140px}
    }
        /* OTP PIN  */

.chatlive{
  width: 50px;
  height: 50px;
  position: absolute;
  /* border: 2px solid red; */
  background: transparent;
  right: 40px;
bottom: -450px;
opacity: 0.5;
transition: 500ms ease-in-out all;
z-index: 2000;
border-radius: 50%;

}
.chatlive:hover{
  width: 55px; 
  height: 55px;
opacity: 1;
}
.chatlive img{
  width: 50px;
  height: 50px;
border-radius: 50%;

}
@media screen and (max-width:900px) {
  .profile-card, .panel{
    margin-left: -50px;
        /* border: 2px solid red; */

    
  }
  .mainbd{
    width: 98vw;
    

   /* border: 2px solid red; */
     
    overflow: scroll;
}

.mainbd::-webkit-scrollbar-thumb{
  border-radius: .5rem;
  background-color: #050d4d;
  visibility: hidden;
}
.mainbd:hover::-webkit-scrollbar-thumb{
  visibility: visible;
}
  .app{grid-template-columns:2fr;
  }
  .sidebar{
    top: 115px;
    position: fixed;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.8),0 6px 20px 0 rgba(0,0,0,0.2);
    display:none;
    z-index: 100;

  }
  .mobile-toggle{
    font-size: 20px;
    display:inline-flex;
  }
  .search input{min-width:120px;
  }
  .search input{
    display: none;
}


}

@media screen and (max-width:700px) {
   .mainbd{
    width: 100vw;
    

   /* border: 2px solid red; */
     
    overflow: scroll;
}

 .order-container {
  width: 97%;
  margin-top: 200px;

}
.act-btn .btnd{
  font-size: 10px;
}
.act-btn .btnu{
  font-size: 15px;
}
  .cardacc .card-div div{
  width: 150px;
  flex-direction: column;
  display: flex;
  align-items: center;
  border-radius: 10px;
  background: var(--site-color-06);
  box-shadow:0 6px 18px rgba(43,45,66,0.04);
}
.table td .tt{
  width: 120px;
  /* height: 20px; */
}
.act-btn .btn{
  width: 70px;
  /* border: 2px solid red; */
}
.cardacc .card-div div p{
  /* padding: 0px; */
  margin: 0 auto ;
  font-size: 27px;
  font-weight: 700;
  color: var(--site-color-04);
  padding-bottom: 10px;
}
}
@media screen and (max-width:550px) {
  .cardacc .card-div div{
  width: 110px;
  border-radius: 6px;
}
.cardacc .card-div div p{
  font-size: 16px;
}
}