/*
Responsive HTML Table With Pure CSS - Web Design/UI Design

Code written by:
👨🏻‍⚕️ Coding Design (Jeet Saru)

> You can do whatever you want with the code. However if you love my content, you can **SUBSCRIBED** my YouTube Channel.

🌎link: www.youtube.com/codingdesign 
*/

/*
* {
    margin: 0;
    padding: 0;

    box-sizing: border-box;
    font-family: sans-serif;
}
*/

@media print {
.svs_t1_table_div, .svs_t1__body {
/*
  overflow: visible;
  height: auto !important;
  width: auto !important;
*/
}
}

/*@page {
    size: landscape;
    margin: 0; 
}*/

/*
body {
    min-height: 100vh;
    background: url(images/html_table.jpg) center / cover;
    display: flex;
    justify-content: center;
    align-items: center;
}
*/

div.svs_t1_table_div {
    width: 82vw;
    height: 90vh;
    background-color: #fff5;

    backdrop-filter: blur(7px);
    box-shadow: 0 .4rem .8rem #0005;
    border-radius: .8rem;

    overflow: hidden;

    width: 100%;

    min-height: 100vh;
    /*background: url(images/html_table.jpg) center / cover; */
    display: flex;
    flex-direction:column;
    justify-content: center;
    align-items: center;

    margin: 0;
    padding: 0;

    box-sizing: border-box;
    font-family: sans-serif;


}

.svs_t1__header {
    width: 100%;
/*    height: 10%;  */
    height: 60px;
    background-color: #fff4;
    padding: .8rem 1rem;

    display: flex;
    justify-content: space-between;
    align-items: center;

    box-sizing: border-box;
}

.svs_t1__header .input-group {
    width: 35%;
    height: 100%;
    background-color: #fff5;
    padding: 0 .8rem;
    border-radius: 2rem;

    display: flex;
    justify-content: center;
    align-items: center;

    transition: .2s;
}

.svs_t1__header .input-group:hover {
    width: 45%;
    background-color: #fff8;
    box-shadow: 0 .1rem .4rem #0002;
}

.svs_t1__header .input-group img {
    width: 1.2rem;
    height: 1.2rem;
}

.svs_t1__header .input-group input {
    width: 100%;
    padding: 0 .5rem 0 .3rem;
    background-color: transparent;
    border: none;
    outline: none;
}

.svs_t1__body {
    width: 95%;
/*    max-height: calc(89% - 1.6rem); */
    background-color: #fffb;

    margin: .8rem auto;
    border-radius: .6rem;

    overflow: auto;
    overflow: overlay;
}


.svs_t1__body::-webkit-scrollbar{
    width: 0.5rem;
    height: 0.5rem;
}

.svs_t1__body::-webkit-scrollbar-thumb{
    border-radius: .5rem;
    background-color: #0004;
    visibility: hidden;
}

.svs_t1__body:hover::-webkit-scrollbar-thumb{ 
    visibility: visible;
}


.svs_t1__table {
    width: 100%;
    border-collapse: collapse;
    padding: 1rem;
    text-align: left;
/*    background-color:black !important; */
/*MELANI    background: linear-gradient(90deg, rgb(2, 0, 36) 0%, rgb(130, 36, 227) 100%); */
    background: linear-gradient(to right, #6ebce2, #3a7fd5);
    color: white;
}

.svs_t1__table tr.extracolor {
    background: linear-gradient(to right, rgb(255, 166, 0), rgb(255, 99, 97));
}

.svs_t1__table td img {
    width: 36px;
    height: 36px;
    margin-right: .5rem;
    border-radius: 50%;

    vertical-align: middle;
}


.svs_t1__table th, .svs_t1__table td {
    border-collapse: collapse;
/*    padding: 1rem;    */
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left;
}




.svs_t1__table thead th {
    position: sticky;
    top: -1px;
    left: 0;
/*    background-color: #d5d1defe;  */
/*GREY    background-color: #797780; */
/*    background: linear-gradient(90deg, rgb(2, 0, 36) 0%, #027ABB 100%); */
    background-color: #027ABB;
cursor: pointer;
    text-transform: capitalize;
    height: 60px;
}

.svs_t1__table tbody tr:nth-child(even) {
/*    background-color: #0000000b; */
/*grammes pinaka:*/
    /*background-color: hsla(0, 100%, 50%, 0.1);*/
    background-color: rgba(255,255,255,0.1);
}

.svs_t1__table tbody tr {
/*    --delay: .1s; */
    transition: .5s ease-in-out var(--delay), background-color 0s;
}

.svs_t1__table tbody tr.hide {
    opacity: 0;
    transform: translateX(100%);
}

.svs_t1__table tbody tr:hover {
    background-color: #fff6 !important;
}


.svs_t1__table tbody tr td,
.svs_t1__table tbody tr td p,
.svs_t1__table tbody tr td img {
    transition: .2s ease-in-out;
}

.svs_t1__table tbody tr.hide td,
.svs_t1__table tbody tr.hide td p {
    padding: 0;
    font: 0 / 0 sans-serif;
    transition: .2s ease-in-out .5s;
}

.svs_t1__table tbody tr.hide td img {
    width: 0;
    height: 0;
    transition: .2s ease-in-out .5s;
}

.svs_t1__table .status {
    padding: .4rem 0;
    border-radius: 2rem;
    text-align: center;
}

.svs_t1__table .status.delivered {
    background-color: #86e49d;
    color: #006b21;
}

.svs_t1__table .status.cancelled {
    background-color: #d893a3;
    color: #b30021;
}

.svs_t1__table .status.pending {
    background-color: #ebc474;
    color: #946403;
}

.svs_t1__table .status.shipped {
    background-color: #6fcaea;
    color: #016c91;
}


@media (max-width: 1000px) {
/*
    td:not(:first-of-type) {
        min-width: 12.1rem;
    }
*/
}

.svs_t1__table thead th span.icon-arrow {
    display: inline-block;
    width: 1.3rem;
    height: 1.3rem;
    border-radius: 50%;
    border: 1.4px solid transparent;
    
    text-align: center;
    font-size: 1rem;
    
    margin-left: .5rem;
    transition: .2s ease-in-out;
}

.svs_t1__table thead th:hover span.icon-arrow{
    border: 1.4px solid #6c00bd;
}

.svs_t1__table thead th:hover {
    color: #6c00bd;
}

.svs_t1__table thead th.active span.icon-arrow{
    background-color: #6c00bd;
    color: #fff;
}

.svs_t1__table thead th.asc span.icon-arrow{
    transform: rotate(180deg);
}

.svs_t1__table thead th.active,tbody td.active {
    /*  color: #6c00bd; */
    color: #c691ed;
}

.export__file {
    position: relative;
}

.export__file .export__file-btn {
    display: inline-block;
    width: 2rem;
    height: 2rem;
    background: #fff6 url(images/export.png) center / 80% no-repeat;
    border-radius: 50%;
    transition: .2s ease-in-out;
}

.export__file .export__file-btn:hover { 
    background-color: #fff;
    transform: scale(1.15);
    cursor: pointer;
}

.export__file input {
    display: none;
}

.export__file .export__file-options {
    position: absolute;
    right: 0;
    
    width: 12rem;
    border-radius: .5rem;
    overflow: hidden;
    text-align: center;

    opacity: 0;
    transform: scale(.8);
    transform-origin: top right;
    
    box-shadow: 0 .2rem .5rem #0004;
    
    transition: .2s;
}

.export__file input:checked + .export__file-options {
    opacity: 1;
    transform: scale(1);
    z-index: 100;
}

.export__file .export__file-options label{
    display: block;
    width: 100%;
    padding: .6rem 0;
    background-color: #f2f2f2;
    
    display: flex;
    justify-content: space-around;
    align-items: center;

    transition: .2s ease-in-out;
}

.export__file .export__file-options label:first-of-type{
    padding: 1rem 0;
    background-color: #86e49d !important;
}

.export__file .export__file-options label:hover{
    transform: scale(1.05);
    background-color: #fff;
    cursor: pointer;
}

.export__file .export__file-options img{
    width: 2rem;
    height: auto;
}
