/* Template Selection Styles */
.dsmk-template-selection {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.dsmk-template-option {
    position: relative;
}

.dsmk-template-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.dsmk-template-label {
    display: block;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    position: relative;
    font-size: 16px;
    font-weight: 500;
    color: #333;
}

.dsmk-template-label:hover {
    border-color: #0073aa;
    box-shadow: 0 4px 12px rgba(0, 115, 170, 0.15);
    transform: translateY(-2px);
}

.dsmk-template-radio:checked + .dsmk-template-label {
    border-color: #0073aa;
    background: linear-gradient(135deg, #f0f7fc, #e6f3fa);
    box-shadow: 0 6px 20px rgba(0, 115, 170, 0.2);
    font-weight: 600;
}

.dsmk-template-radio:checked + .dsmk-template-label::before {
    content: '';
    position: absolute;
    top: 15px;
    right: 20px;
    width: 20px;
    height: 20px;
    background: #0073aa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.dsmk-template-radio:checked + .dsmk-template-label::after {
    content: '✓';
    position: absolute;
    top: 15px;
    right: 20px;
    width: 20px;
    height: 20px;
    color: white;
    font-size: 12px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}



/* Responsive Design */
@media (max-width: 768px) {
    .dsmk-template-label {
        padding: 12px 16px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .dsmk-template-label {
        padding: 10px 14px;
        font-size: 14px;
    }
}

/* Animation for template selection */
.dsmk-template-option {
    animation: fadeInUp 0.3s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Stagger animation for template options */
.dsmk-template-option:nth-child(1) { animation-delay: 0.1s; }
.dsmk-template-option:nth-child(2) { animation-delay: 0.2s; }
.dsmk-template-option:nth-child(3) { animation-delay: 0.3s; }
.dsmk-template-option:nth-child(4) { animation-delay: 0.4s; }
.dsmk-template-option:nth-child(5) { animation-delay: 0.5s; }

/* Enhanced affiliate link styles for Clickbank */
.dsmk-affiliate-link-name {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 4px;
    font-size: 14px;
}

.dsmk-affiliate-link-description {
    display: block;
    color: #666;
    font-size: 12px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.dsmk-affiliate-link-price {
    background: #0073aa;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 8px;
} 