*{
    margin: 0;
    padding: 0;
}
.popup-overlay{
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    background: #0a0a0ab8;
    z-index: 99;
    display: none;
}
.popup-overlay.open{
    display: block !important;
}
.popup-content {
    max-width: 680px;
    padding: 60px 30px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid transparent;
    border-radius: 10px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.popup-content button{
    padding: 10px;
    color: #fff;
    background: #0a51ed;
    border: none;
    cursor: pointer;
}
.popup-content button:hover{
    color: #fff;
    background: rgba(31, 124, 31, 0.97);
}
.close-popup{
    position: absolute;
    right: 0;
    top: 0;
    padding: 10px;
}
.close-popup i{
    font-size: 25px;
    cursor: pointer;
}
body .filter-btn {
    padding: 5px 04px 7px;
    color: #fff;
    background: #2782ad;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
body .export-to-csv{
    padding: 5px 04px 7px;
    color: #fff;
    background: #2782ad;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    margin-bottom: 20px;
}
body .canceled-btn{
    margin-top: 35px;
    padding: 5px 04px 7px;
    color: #fff;
    background: #2782ad;
    border: none;
    border-radius: 3px;
    cursor: pointer;
}
.fields-to-export{
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 10px;
}
.fields-to-export label{
    margin-right: 10px;
}
.screen{
    max-width: 100% !important;
    height: auto !important;
    border: 1px solid #ddd !important;
}
.wrapper-template {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/*.wrapper-template {*/
/*    display: grid;*/
/*    grid-template-columns: repeat(3, 1fr);*/
/*    gap: 20px;*/
/*    margin-bottom: 20px;*/
/*}*/

.template-item {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    /*height: 300px; */
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.template-preview {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    margin-top: 10px;
}

.template-preview h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.template-preview img.screen {
    width: 100%;
    height: auto;
    max-width: 150px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

.color-input {
    display: flex;
    align-items: center;
}

.color-input input[type="color"] {
    border: 1px solid #ccc;
    width: 40px;
    height: 40px;
    padding: 0;
    margin-right: 8px;
    cursor: pointer;
}

.color-input input[type="text"] {
    border: 1px solid #ccc;
    padding: 5px;
    font-size: 16px;
    width: 100px;
}