.template-settings {
    z-index: 9999;
    width: 250px;
    left: -250px;
    transition: all 0.3s ease;
    border-top: 1px solid #ddd;
}

.template-settings h6 {
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 1rem !important;
}

.template-settings-button {
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: absolute;
    transform: translateY(-50%);
    top: 50%;
    right: -40px;
    color: #666;
    line-height: 40px;
    border-top: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
}

.template-settings-button i {
    display: inline-block;
    animation: spin 5s linear infinite;
    will-change: transform;
}

/* keyframe */
@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Color Table */
.color-table {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.color-table .cVal {
    width: 30px;
    height: 30px;
    cursor: pointer;
    flex: 0 0 calc(25% - 10px);
}