#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,
#palleon-library-custom-my-on-image-tab .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,
#palleon-library-custom-my-on-image-tab .custom-library-delete:hover
{
    background: #D32F2F;
}

#palleon-library-my .custom-library-delete .material-icons,
#palleon-library-custom-my-on-image-tab .custom-library-delete .material-icons
{
    font-size: 18px;
    line-height: 20px;
}

#palleon-library-custom-my-on-image-tab{
    margin-top: 30px;
}

.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, #palleon-draft-templates .btn-delete{
    position: absolute;
    z-index: 9;
    color: #FF9800;
    right: 3px;
    top: 3px;
}

/* #palleon-my-templates .btn-delete {
    position: absolute;
    z-index: 9;
    color: #191111;
    right: 3px;
    top: 3px;
} */


.palleon-wrap #palleon-ruler #palleon-ruler-icon{
    display: flex !important;
}
/* 
#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;
}

#palleon-my-templates li .template{
    display: flex;
    flex-direction: column;
    border: 1px solid #6658ea;
    background: #303030;
}

#palleon-my-templates li .template img{
    width: 100%;
} */

#palleon-my-templates li .template p{
    margin: 0px;
    width: 100%;
    background: #fff;
    color: #090909;
    padding: 2px;
    font-size: .9rem;
    text-align: center;
}

#draggableButton{
    width: 20px;
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

/* #palleon-menus .menu-item-controller .heading, .menu-item-controller .description{
    resize: none; 
    overflow:auto;
    background: #eee;
    color: black;
    border-radius: 5px;
    border: 1px solid #434343;
    padding: 10px;
} */

#palleon-menus #custom-menu-item #frm-custom-menu-item{
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* #palleon-menus #custom-menu-item .heading, */
/* #palleon-menus #custom-menu-item .description, */
#palleon-menus #custom-menu-item .price{
    height: 40px;
}
/* #palleon-menus #custom-menu-title .heading
{
    width: 100%;
    resize: none; 
    overflow:auto;
    background: #eee;
    color: black;
    border-radius: 5px;
    border: 1px solid #434343;
    padding: 10px;
}

#palleon-menus #custom-menu-item .heading{
    height: 40px;
} */

#palleon-menus #custom-menu-item .description{
    height: 80px;
}

#palleon-menus #custom-menu-item .remove-menu-item{
    /* margin-top: 20px; */
}

#palleon-menus #frm-custom-menu-item{
    display: none;
}

#palleon-menus .menu-item-controller .price{
    width: 100px;
    padding: 10px;
    background: #eee;
    color: black;
    border-radius: 5px;
    border: 1px solid #434343;
}
#palleon-menus .menu-item-controller tr{
    display: block;
    margin-top: 5px;
}

#palleon-menus .menu-item-controller thead tr{
    display: block;
    height: 22px;
}
#palleon-menus .menu-item-controller tr:first-child{
    margin-top: 0px;
}

#palleon-menus .menu-item-controller .remove-menu{
    cursor: pointer;
}

#palleon-menus #custom-menu-styles .content{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 5px
}

#palleon-menus #custom-menu-styles .content h6{
    font-size: 16px;
    margin-bottom: 10px;
    border-bottom: 1px solid #626262;
    padding-bottom: 8px;
}

#palleon-menus #custom-menu-styles .palleon-control-label{
    font-size: 12px;
}

/** Menu Templates */

#palleon-menus .menu-templates{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 20px;
}

#palleon-menus .menu-templates > div{
    border: 1px solid;
    border-radius: 10px;
    padding: 10px;
    font-size: 12px;
    cursor: pointer;
}

#palleon-menus .menu-templates .group-name,
#palleon-menus .menu-templates .item-name
{
    font-weight: bold;
}

#palleon-menus .menu-templates .template-1 .template-item{
    display: flex;
    justify-content: space-between;
    margin-top: 5px;
}

#palleon-menus .menu-templates .template-1 .template-item .item-name{
    font-weight: bold;
}

#palleon-menus .menu-templates .template-1 .template-item .item-brief{
    display: block;
    
}

#palleon-menus .menu-templates .template-2 .template-item{
    margin-top: 5px;
}

#palleon-menus .menu-templates .template-3{
    text-align: center;
}

#palleon-menus .menu-templates .template-3 .template-item{
    margin-top: 5px;
}

#palleon-menus .menu-templates .template-4{
    text-align: right;
}

#palleon-menus .menu-templates .template-4 .template-item{
    margin-top: 5px;
}

#palleon-menus .menu-templates .template-5 .template-item{
    margin-top: 5px;
}

#palleon-menus .menu-templates .template-6{
    text-align: center;
}
#palleon-menus .menu-templates .template-6 .template-item{
    margin-top: 5px;
    display: flex;
    flex-direction: column;
}

#palleon-menus #custom-menu-spacing .tab-content{
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-top: 10px;
}

.dark-theme #palleon-menus #custom-menu-spacing .spacing-group-items h6{
    color: white;
}

#palleon-menus #custom-menu-spacing .spacing-group-items h6{
    font-size: 15px;
    font-weight: bold;
    color: #494949;
    margin-bottom: 10px;
    border-bottom: 1px solid #626262;
    padding-bottom: 8px;
}
#palleon-menus #custom-menu-spacing .spacing-group-items hr{
    margin: 0px;
    margin-bottom: 10px;
}

#palleon-menus #custom-menu-spacing .spacing-group-items .list-spacings{
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#palleon-menus #custom-menu-spacing .spacing-group-items .list-spacings > div{
    display: flex;
    flex-direction: row;
}
#palleon-menus #custom-menu-spacing .spacing-group-items .list-spacings > div label{
    width: 100px;
}

#palleon-menus #custom-menu-spacing .spacing-group-items .list-spacings > div input{
    flex: 1;
}

#palleon-menus .menu-list h3{
    padding-top: 30px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    border-bottom: 2px solid #444;
    padding-bottom: 5px;
}

#palleon-menus .menu-list .menu-groups{
    margin: 0px;
    padding: 0px;
}

#palleon-menus .menu-list .menu-groups li{
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #2a2a2a;
    padding: 8px 15px;
    border-radius: 4px;
    margin-bottom: 10px;
    transition: background-color 0.3s;
    cursor: pointer;
}

#palleon-menus .menu-list .menu-groups li .group-name {
    font-size: 13px;
    font-weight: bold;
    color: #ffffff;
    cursor: pointer;
}

#palleon-menus .menu-list .menu-groups li .remove-btn {
    background: none;
    border: none;
    color: #ff4c4c;
    font-size: 20px;
    transition: color 0.3s;
    cursor: pointer;
}

#palleon-icon-panel-inner{
    padding: 10px;
}

#palleon-template-preview {
    position: fixed !important;
    z-index: 3000 !important;
    max-width: 220px; /* or whatever size you prefer */
    height: auto;
    width: auto !important;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
    border-radius: 4px;
    color:#000;
}

#palleon-template-preview img {
    max-width: 100%;
    height: auto;
    display: block;
}

#palleon-toggle-left, #palleon-toggle-right {
    background-color: #fff;
    border: 1px solid #BCBCBC;
    z-index: 5 !important;
}

.palleon-btn {
    border-radius: 4px !important;
}

button.palleon-icon-menu-btn.active, button.palleon-icon-menu-btn:hover {
    color: #fff !important;
    background: #292f36 !important;
    margin: 8px 8px 0 !important;
    display: flex !important;
    padding: 8px 8px !important;
    border-radius: 5px !important;
}



ul.palleon-dropdown li {
    padding-left: 8px !important;
    padding-bottom:4px !important;
    padding-top:4px !important;
    border-bottom: 0px solid #bcbcbc !important;
}

ul.palleon-dropdown {
    background: #fff !important;
    border: 1px solid #bcbcbc !important;
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    width: 165px !important;
}

.select2-container--dark .select2-selection--single .select2-selection__placeholder{
    color: #3f3d3d !important;
}

/* .digitalsigns-popup-wrapper .loggout-popup p { 
    font-size: 18px; 
    font-family: Roboto, sans-serif; 
    color: #1b1b1b; 
    padding-top: 15px;
} */

/* .digitalsigns-popup-wrapper .loggout-popup {
    display: inline-block;
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 5px;
} */


.digitalsigns-popup-wrapper{
    position: absolute;
    top: 0px;
    width: 100%;
    height: 100%;
    z-index: 99999;
    background: rgb(255 255 255 / 30%);
    display: flex;
    align-content: center;
    justify-content: center;
    flex-wrap: wrap;
    font-family: "Roboto Condensed";
}
.digitalsigns-popup-wrapper .loggout-popup {
    display: inline-block;
    background: #ffffff;
    padding: 28px 47px;
    border-radius: 7px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}
.digitalsigns-popup-wrapper .loggout-popup p{
    font-size: 18px; 
    font-family: Roboto, sans-serif; 
    color: #1b1b1b; 
    padding-top: 15px;
}

.digitalsigns-popup-wrapper .loggout-popup .logout-popup-buttons{
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    padding-top: 20px;
}

.digitalsigns-popup-wrapper .loggout-popup .logout-popup-buttons .logout{
    background: #9f0505;
    border-radius: 5px;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    text-decoration: auto;
    font-size: 16px;
}
.digitalsigns-popup-wrapper .loggout-popup .logout-popup-buttons .cancel{
    background: #adadad;
    padding: 8px 12px;
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .9rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background .2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 4px;
}

.digitalsigns-popup-wrapper .loggout-popup .logout-popup-buttons .success{
    background: #292f36;
    padding: 8px 12px;
    margin: 0;
    line-height: 1.2;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .9rem;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    transition: background .2s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border-radius: 4px;
}

#modal-template-library .palleon-tabs-menu li{
    font-size: 12px;
    padding: 5px 8px;
}

#palleon-library-custom-my-on-image-tab input[name="my-media-keyword"]{
    margin-bottom: 15px;
}

/* "eyJhbGciOiJIUzI1NiJ9.eyJ1aWQiOjQxLCJzdWIiOiJkdWN0cnVuZzA4MUBnbWFpbC5jb20iLCJsaWQiOjU0LCJyb2xlcyI6IjtST0xFX0FETUlOO1JPTEVfT1JHQU5JWkFUSU9OX0FETUlOOyIsIm9pZCI6MzAsImV4cCI6MTc0OTY3NTg2MiwiaWF0IjoxNzQ5NjM5ODYyfQ.q9GJyuuKCIiwrK2nE1Agz4syVl5tWBOB_6k6854WSj8" */