#palleon-my-templates{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(120px, 100%), 1fr));
    min-height: 80px;
}

#palleon-my-templates li{
    padding: 5px;
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    /* height: 150px; */
}

#palleon-my-templates li .template{
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid #6658ea;
    background: #303030;
    position: relative;
}

#palleon-my-templates li .template img{
    width: 100%;
    max-height: 200px;
}

#palleon-my-templates li p.name{
    margin: 0px;
    width: 100%;
    background: #fff;
    color: #090909;
    padding: 2px;
    font-size: .9rem;
    text-align: center;
}

#palleon-my-templates li a{
    position: absolute;
    top: 5px;
    left: 5px;
    color: rgb(167, 0, 0);
    font-weight: bold;
    background-color: antiquewhite;
    padding: 2px;
    font-size: 12px;
    z-index: 99;
    text-decoration: none;
    border: 1px solid rgb(167, 0, 0);
}

.custom-template-loader .palleon-loader-inner{
    opacity: 0.5;
}

#palleon-my-templates-tab .pagination{
    display: flex; 
    gap: 10px;
    margin-top: 10px;
}

#palleon-my-templates-tab .pagination a{
    color: white;
    border: 1px solid white;
    padding: 5px 10px;
    text-decoration: none;
}

#palleon-my-templates-tab .pagination .page-numbers.current{
    color: white;
    border: 1px solid white;
    padding: 5px 10px;
    background-color: #6658ea;

}


#palleon-library-my .custom-library-delete {
    position: absolute;
    top: 7px;
    right: 7px;
    z-index: 9;
    cursor: pointer;
    line-height: 20px;
    width: 20px;
    height: 20px;
    border-radius: 100%;
    text-align: center;
    color: #fff;
    background: #F44336;
}

#palleon-library-my .custom-library-delete:hover {
    background: #D32F2F;
}

#palleon-library-my .custom-library-delete .material-icons {
    font-size: 18px;
    line-height: 20px;
}

.logo-desktop {
    position: relative; /* Add this */
    display: inline-block;
}

.logo-desktop:hover::after { /* Change to ::before */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-color: rgba(102, 88, 234, 0.5); /* Add transparency */
    z-index: 1; /* Add this */
    pointer-events: none; /* Add this */
}

.screen-publishing-options{
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.screen-publishing-options input[type="radio"]{
    width: 20px;
    height: 20px;
}

#palleon-my-templates .btn-delete{
    position: absolute;
    z-index: 9;
    color: #FF9800;
    right: 3px;
    top: 3px;
}
