:root {
    --or : #c2c9da;
    --pro : #585d6a;
    --border-dark: rgba(51,54,62,1);
    --new-dark: rgba(38,41,47,1);
    --new-gray: rgb(242,242,242);
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #fd7e14;
    --yellow: #ffc107;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #fff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --primary: #007bff;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --sec-color: #ff94b1;
    --dark-light:  rgb(169,174,186);
}
.hover-nav:hover{
    color: #000!important;    
    transition: 0.4s;
}
.bg-main{
    background-color: var(--or);
}
.text-strong{
    font-weight: 800;
}
.bottom-new-dark{
    border: 2px solid var(--border-dark);
}
@keyframes float{
    0% {
       transform: translatey(0px);
    }
    50% {
       transform: translatey(-50px);
    }
    100% {
       transform: translatey(0px);
    }
}
.btn-menu:hover{
    transform: scale(1.1);
    transition: 0.4s;
}
.img-radius{
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
}
.bg-pro{
    background-color: var(--new-gray);
    color: #fff!important;
}
.main-badge{
    padding-left: 20px;
    padding-right: 20px;
    background-color: var(--or);
    border-radius: 10px;
}

.statistic-hover:hover{
    transform:  scale(1.05);
}
.border-sta{
    border: 2px solid var(--dark-light);
}
.bg-nav-bar{
    /* background: rgb(99,11,11);
    background: linear-gradient(0deg, rgba(99,11,11,1) 0%, rgba(255,38,38,1) 90%); */
    background-color: #000;
}
.float-ani{
    animation: float 4s ease-in-out infinite;
}
.bg-yw-gra{
    background: rgb(99,11,11);
    background: linear-gradient(0deg, rgba(99,11,11,1) 0%, rgba(255,38,38,1) 90%);
}
.bg-yw-gra-flip{
    background: rgb(99,11,11);
    background: linear-gradient(180deg, rgba(99,11,11,1) 0%, rgba(255,38,38,1) 90%);
}
.btn-contain .card-body img{
    margin-bottom: 20px;
}
.btn-or-gra{
    background: rgb(80,93,255);
background: linear-gradient(90deg, rgba(80,93,255,1) 0%, rgba(106,180,255,1) 100%);
}
.bottom-or{
    
    border-bottom: 3px solid rgba(255,38,38,1);
    border-radius: 6px;
}
.border-wrap {
    border-style: solid;
    border-width: 5px;
    border-image:  linear-gradient(rgba(244,125,51,1), rgba(255,234,30,1)) 1;
    border-radius: 10px;
}
.text-or{
    color: var(--or);
}
.btn-hover-action-red:hover{
    filter: grayscale(50%);
    transition: 0.7s;
}
.border-or{
    border: 3px solid rgba(255,38,38,1)!important;
}
hr{
    opacity: 1.0;
    border-top: 2px solid rgb(255,255,255);
}



.sidebar {
    left: -250px;  /* Sidebar ซ่อนอยู่ทางซ้าย */
  position: fixed;
  top: 0;
  height: 100%;
  width: 85px;
  display: flex;
  overflow-x: hidden;
  flex-direction: column;
  background-color: #111610;
    border: solid 1px #171d18;
  padding: 30px 20px;
  transition: all 0.4s ease;
  z-index: 99998;
}

.sidebar:hover {
  width: 260px;
}
.sidebar .sidebar-header {
  display: flex;
  align-items: center;
}
.sidebar .sidebar-header img {
  width: 44px;
  border-radius: 50%;
  border: solid 2px #656cac
}
.sidebar .sidebar-header h2 {
  color: #fff;
  font-size: 1.25rem;
  font-weight: 600;
  white-space: nowrap;
  margin-left: 12px;
}
.sidebar-links h4 {
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
  margin: 10px 0;
  position: relative;
}
.sidebar-links h4 span {
  opacity: 0;
}
.sidebar:hover .sidebar-links h4 span {
  opacity: 1;
}
.sidebar-links .menu-separator {
  position: absolute;
  left: 0;
  top: 50%;
  width: 100%;
  height: 1px;
  transform: scaleX(1);
  transform: translateY(-10%);
  background: #646aa3;
  transform-origin: right;
  transition-delay: 0.2s;
}
.sidebar:hover .sidebar-links .menu-separator {
  transition-delay: 0s;
  transform: scaleX(0);
}
.sidebar-links {
  list-style: none;
  margin-top: 20px;
  margin-left: -30px;
  height: 80%;
  overflow-y: auto;
  scrollbar-width: none;
  z-index: 9999;
}
.sidebar-links::-webkit-scrollbar {
  display: none;
}
.sidebar-links li a {
  display: flex;
  align-items: center;
  gap: 0 20px;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  white-space: nowrap;
  padding: 15px 10px;
  text-decoration: none;
  transition: 0.2s ease;
}
.sidebar-links li a:hover {
  color: #7ba2f7;
  background: #32314e46;
  border-radius: 0 18px 18px 0;
  border: solid 1px #4b4b6b;
}
.user-account {
  margin-top: auto;
  padding: 12px 10px;
  margin-left: -10px;

}
.user-profile {
  display: flex;
  align-items: center;
  color: #fcfcfc;
}
.user-profile img {
  width: 42px;
  border-radius: 50%;
  border: 2px solid #7c9bff;
}
.user-profile h3 {
  font-size: 1rem;
  font-weight: 600;
}
.user-profile span {
  font-size: 0.600rem;
  font-weight: 500;
}
.user-detail {
  margin-left: 23px;
  white-space: nowrap;
}
.user-profile .role {
    background-color: #3a42854f;
    font-size: 10px;
    border-radius: 8px;
    color: #8396ff;
    padding: 2px 5px
}
.sidebar:hover .user-account {
  background: #2a2d387a;
  border-radius: 12px;
  border: solid 1px #3e4049;
}

.btn-manu {
    background-color: #17181d;
    border: solid 1px #282930;
    border-radius: 8px; 
    color:#fff;
}
.btn-manu:focus{
    color: #6375dd;
    border: solid 1px #383d5e;
}



/* Sidebar when opened */
.sidebar.open {
  left: 0;  /* เมื่อคลิกปุ่มให้แสดง Sidebar */
}

/* Toggle button */
#sidebar-toggle {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 1000;
}

/* Hide toggle button when Sidebar is open */
#sidebar-toggle.hide {
  display: none;  /* ซ่อนปุ่มเมื่อ Sidebar เปิด */
}


.tblu-1 {
  border:none;
  padding:0.5rem;
  border-radius:1vh;
  color:#f4f4f4;
  background: linear-gradient(to right,rgb(51, 73, 199) 0%,rgb(33, 36, 48) 100%);
}
.bg-from {
background-color:#030508; 
border:none;
margin-top:0.5rem;
border-radius:1vh;
font-size: 14px;
}
.dedazen_boder {
border: solid 1px rgb(38, 40, 51);
color:#cecece;
}  





/* card-dezen-backend */
.card-dezen-backend h4 {
    font-weight: 600;
}
.card-dezen-backend p {
    font-size: 13px;
    color: #a3a3a3;
}
.card-dezen-backend {
    color: #fff;
    background-color: #f1f1f146;
    border: solid 1px #e4e4e4;
    border-radius: 18px;
}
.card-dezen-backend .text-num {
    color: #476ce7;
}
.card-dezen-backend .alaet-help {
  background-color: #23233f63;
  font-size: 13px;
  border: solid 1px #394ec9;
  color: #82e77f;
  border-radius: 18px;
  padding: 4px 10px;
  text-decoration: none;
}
.card-dezen-backend .alaet-help:hover {
  background-color: #62ad5f63;
}
/* card-dezen-topup */
.card-dezen-topup {
  text-decoration: none;
  color: #fff;
  background-color: #0f0f11;
  border: solid 1px #1b1c1e;
  border-radius: 18px;
}
.card-dezen-topup img {
  width: 95px;
}
.card-dezen-topup h3{
  float: right;
  font-weight: 600;
}
.card-dezen-topup p {
  float: right;
  font-size: 13px;
  color: #969696;
  margin-top: -3.5rem;
}

.card-dezen-topup .btn-topup-open {
    background-color: #3e922849;
    color: #5bdd41;
}


/*  card-popup  */
.card-popup  {
    background-color: #101114;
    border: solid 1px #202127;
    border-radius: 10px;
}

.modal-body .card-box {
    border: solid 1px #3d3d3d00;
    background-color: #13141a95;
    border-radius: 10px;
}


.hr-border {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent 50%, #33333d 50%);
  background-size: 10px 100%; 
  margin-top: 20px; 
  margin-bottom: 20px;
}

.font-des-text {
    color: #7f7f7f;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-clamp: 2; /* กำหนดจำนวนบรรทัดที่ต้องการ */
    -webkit-line-clamp: 2; /* รองรับสำหรับ Webkit-based browsers */
    max-height: calc(1.1em * 2); /* 1.2em คือความสูงต่อบรรทัด, คูณด้วยจำนวนบรรทัด */
}
.contact-dezen {
    background-color: #1d1d22;
    border: solid 1px #343a40;
    border-radius: 14px;
    color: #fff;
    padding: 1rem;
}

.contact-dezen:hover {
    border-left: solid 1.5px var(--main)
}

.img-dezen {
    border-radius: 1vh;
}
/* Contact Style */
.cr-contact {
    background-color: #1d1d22;
    font-size: 10px;
    color: #fff;
    border-radius: 12px;
}
.btn-dezen {
    color: #fff;
    background-color: #34343d;
    border-radius: 12px;
    border: solid 1px #2d2d36;
    text-decoration: none;
}

.btn-dezen:hover {
    color: #585d6a;
}







@layer demo {
    #pie {
      --ng: 120deg; /* can be set via slider */
      --thickness: 3px;
      --_inner: calc(70% - var(--thickness));
      --_outer: calc(var(--_inner) + 1px); /* fixes aliasing */
      
      /* hides the inner part of the conic gradient */
      mask: radial-gradient(circle, #0000 var(--_inner), #000 var(--_outer));
      
      /* the conic gradient, transparent after --ng */
      background-image: conic-gradient(#476ce7, #242744 var(--ng), #0000 0);
    }
  }
  
  @layer demo.support {
    #pie {
      aspect-ratio: 1;
      inline-size: 20vh;
      border-radius: 50%;
    }
    
    .chart {
      display: grid;
      place-items: center;
    }
    
    .chart > * {
      grid-area: 1/1;
    }
    
    .chart > h3 {
      font-variant-numeric: tabular-nums;
    }
}






/* Custom Css */

.close-btndezenx {
  background: rgb(65, 95, 151);
        background: linear-gradient(165deg, rgb(17, 43, 100) 8%, rgb(33, 155, 255) 100%);
  border: solid 1.5px #4f81ff;
  border-radius: 8px;
}
.menu-text {
  font-size: 16px;
  color: #fff;
}


.dezen-manu {
  background: rgb(255, 255, 255);
  background: linear-gradient(12deg, rgb(7, 7, 7) 0%, rgb(41, 41, 41) 66%, rgb(39, 39, 39) 95%);
  border-radius: 18px 18px 0px 0px;
}

.card-dezenx {
  background-color: #34343d;
  border-radius: 12px;
}

.card-dezenx:hover {
  background-color: #18181b;
}




.bg-discorduser,
.bg-lineuser,
.bg-googleuser {
    display: inline-block;
    width: 80px;
    /* ปรับขนาดความกว้างตามต้องการ */
    text-align: center;
    padding: 5px 10px;
    margin: 2px;
    border-radius: 12px;
}


.bg-discorduser {
    background-color: #ae8af195;
    color:#4e20a5;
    border-radius: 12px;
    border: solid 1px #a785e6;
    font-size: 12px;
}
.bg-lineuser{
    background-color: #8ed47c9a;
        color: #54a130;
        border-radius: 12px;
        border: solid 1px #7dd375;
        font-size: 12px;
}
.bg-googleuser {
    background-color: #f18a8a95;
    color: #a52020;
    border-radius: 12px;
    border: solid 1px #e68585;
    font-size: 12px;
}
.bg-usernone {
    color: #3b3b3b;
    font-size: 10.5px;
}