@tailwind base;
@tailwind components;
@tailwind utilities;





.table {
  @apply text-left text-sm rtl:text-right;
  :where(th, td) {
    @apply px-4 py-3 align-middle;
  }
  tr.active,
  tr.active:nth-child(even),
  &-zebra tbody tr:nth-child(even) {
    @apply bg-[#191E24];
  }
  tr.hover,
  tr.hover:nth-child(even) {
    @apply [@media(hover:hover)]:hover:bg-[#000];
  }

  &-zebra {
    tr.active,
    tr.active:nth-child(even),
    &-zebra tbody tr:nth-child(even) {
      @apply bg-[#000];
    }
  }
  &-zebra tr.hover,
  &-zebra tr.hover:nth-child(even) {
    @apply [@media(hover:hover)]:hover:bg-[#000];
  }

  :where(thead, tbody) {
    :where(tr:not(:last-child)),
    :where(tr:first-child:last-child) {
      @apply border-b-[#000] border-b;
    }
  }

  :where(thead, tfoot) {
    @apply whitespace-nowrap text-xs;
  }
}


@layer utilities {
    /* Chrome, Safari and Opera */
    .no-scrollbar::-webkit-scrollbar {
      display: none;
    }

    .no-scrollbar {
      -ms-overflow-style: none;  /* IE and Edge */
      scrollbar-width: none;  /* Firefox */
      overflow: -moz-scrollbars-none; /* Legacy support for older Firefox versions */
    }
    
    .no-scrollbar::-webkit-scrollbar {
      display: none; /* Chrome, Safari, and other WebKit-based browsers */
    }


    .shake-ticker:hover img {
        animation-name: shake;
        animation-duration: 0.5s;
        animation-iteration-count: infinite;
        animation-timing-function: ease-in-out;
    }
    
    
    @keyframes shake {
        0% { transform: rotate(0deg); }
        25% { transform: rotate(10deg); }
        50% { transform: rotate(0deg); }
        75% { transform: rotate(-10deg); }
        100% { transform: rotate(0deg); }
    }

}





.loader,
.loader:before,
.loader:after {
border-radius: 50%;
width: 2.5em;
height: 2.5em;
-webkit-animation-fill-mode: both;
animation-fill-mode: both;
-webkit-animation: load7 0.8s infinite ease-in-out;
animation: load7 0.8s infinite ease-in-out;
}
.loader {
color: #ffffff;
font-size: 10px;
margin: 80px auto;
position: relative;
text-indent: -9999em;
-webkit-transform: translateZ(0);
-ms-transform: translateZ(0);
transform: translateZ(0);
-webkit-animation-delay: -0.16s;
animation-delay: -0.16s;
}
.loader:before,
.loader:after {
content: '';
position: absolute;
top: 0;
}
.loader:before {
left: -3.5em;
-webkit-animation-delay: -0.32s;
animation-delay: -0.32s;
}
.loader:after {
left: 3.5em;
}
@-webkit-keyframes load7 {
0%,
80%,
100% {
box-shadow: 0 2.5em 0 -1.3em;
}
40% {
box-shadow: 0 2.5em 0 0;
}
}
@keyframes load7 {
0%,
80%,
100% {
box-shadow: 0 2.5em 0 -1.3em;
}
40% {
box-shadow: 0 2.5em 0 0;
}
}
  
