.cards{
    padding: 6px;
    /* display: flex; */
    /* background: black; */
    margin: 6px;
    width: 100%;

}
.card *{
    text-align: center;
    width: 100%;
}
.card{
    float:left;
    width: 33%;
    min-width: 120px;
    max-width: 130px;
    height: 150px;
    padding: 1px;
    background: whitesmoke;
    color: black;
    margin: 10px;
    border-radius: 5px;
    font-size: 12px;
    box-shadow: var(--shadow-small);
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 6px;
    padding-top: 35px;
}
.card::before{
    content: '';
    position: absolute;
    width: 50%;
    left: 0;
    top: 5%;
    /* height: 25px; */
    /* height: 15%; */
    z-index: 1;
    border-radius: 0px;
    text-align: center;
    color: white;
    padding: 0;
    border-radius: 0 6px 6px 0;
    background: rgb(0, 136, 186); 
    box-shadow: 3px 3px 15px 2px rgba(34, 8, 8, 0.395),
    inset 1px -1px 1px 1px rgba(196, 5, 5, 0.441);
    /* background: rgb(3, 139, 108); */
    border-top: 20px solid transparent;
    border-right: 30px solid rgb(248, 146, 99);
    border-bottom: 
    20px solid transparent;
    /* border-left: 10px solid rgb(128, 0, 122) ; */
}
.card::before{
    /* content: 'PDF'; */
}
.card::after{
    content: '+';
    font-size: 40px;
    text-align: center;
    background: rgba(0, 0, 0, 0.309);
    position: absolute;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: gry;
    padding: 10px;
    display: none;
    transition: all .5s ease;
    z-index: 1;
}
.card:hover, .card.active{
    box-shadow: 2px 2px 10px 1px rgb(117, 240, 227);
}
.card:hover::after{
    display: initial;
    z-index: 10;
}

.float-list{
    padding: 10px;
    border-radius: 5px;
}
.float-item{
    padding: 0 10px 10px;
    float: left;
    width: 80px;
    min-height: 50px;
    /* background: white; */
    margin: 8px;
    border-radius: 6px;
    font-size: 14px;
    align-items: center;
    display: flex;
    justify-content: center;
    flex-direction: column;
    color: wheat;
    border: 2px solid rgb(61, 60, 60);
    transition: all.3s ease;
}
.file:hover::before{
    content: '';
    background: rgb(216, 232, 248);
    position: absolute;
    left: 5px;
    top: 0;
    width: calc(100% - 20px);
    height: 43px;
    border-radius: 5px 5px 0 0;
    z-index: 1;
    animation: scale_in .3s forwards;
}
.file>div:has(.flip-card){
    z-index: 2;
}
.file-img{
    background: red;
    width: 30px;
    height: 30px;
    border-radius: 6px;
    margin-top: -10px;
    position: relative;
    display: flex;
    align-content: center;
    justify-content: center;
}
.file-img a{
    align-self: center;
    font-weight: 600;
}
.file.active .file-img,
    .file:hover .file-img{
    background: rgb(85, 168, 241);
}
[data-theme="light"] .file{
    background: rgb(250, 250, 250);
}
[data-theme="dark"] .file.active, 
[data-theme="dark"] .file:hover{
    background: rgb(27, 44, 58);
}
[data-theme="light"] .file:hover{
    background: rgb(211, 235, 254);
}
.file:has(a) .file-img{
    background: rgb(40, 58, 65);
}
.float-list.col-list .float-item{
    float: initial;
    flex-direction: row;
    gap: 15px;
}

.float-list.col-list .float-item{
    margin: 2px;
    width: 100%;
    justify-content: left;
    padding: 5px;
    align-items: center;
}

.float-list.col-list .file-img{
    /* padding: 15px; */
    margin-top: 0;
}
.float-list.col-list .float-item:hover{
    background: rgb(98, 97, 97);
}
.file .file-name{
    max-width: 90%;
    overflow: hidden;
    white-space: nowrap;
    display: flex;
    align-content: center;
    align-items: center;
    color: var(--color-0);
}
.editors-content.float-list.col-list .float-item{
    padding-left: 15px;
    position: relative;
}
.editors-content .file .fa{
  display: none;
  margin-right: 10px;
  position: absolute;
  height: 100%;
  padding: 10px;
  background: #000000a1;
  align-items: center;
  left: 0;
  border-radius: 5px 0 0 5px;
}
.editors-content .file:hover .fa{
    display: inline-flex;
}