.template-card {
            transition: all 0.3s ease;
            cursor: pointer;
        }
        .template-card:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        }
        .template-card.selected {
            border: 2px solid #0d6efd;
            background: #f0f7ff;
        }
        .template-preview {
            min-height: 150px;
            background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
            border-radius: 8px;
            color: white;
            padding: 15px;
            font-size: 12px;
        }
        .btn-icon {
            width: 32px;
            height: 32px;
            padding: 0;
            display: inline-flex;
            align-items: center;
            justify-content: center;
        }
        .template-thumbnail {
            height: 120px;
            background-size: cover;
            background-position: center;
            border-radius: 4px 4px 0 0;
        }

${template.css_styles}