/* WarriorPlus Integration - Frontend Styles */

.wp-affiliate-link {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.wp-affiliate-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(102, 126, 234, 0.5);
    color: white;
}

/* Delivery Page Styles */
.wp-delivery-page {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.wp-delivery-header {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid #e2e8f0;
}

.wp-delivery-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.wp-product-info {
    background: linear-gradient(135deg, #667eea11 0%, #764ba211 100%);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.wp-license-box {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px dashed #cbd5e1;
    text-align: center;
    margin: 2rem 0;
}

.wp-license-key {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: monospace;
    color: #667eea;
    margin: 1rem 0;
    letter-spacing: 2px;
}

.wp-download-section {
    text-align: center;
    margin: 2rem 0;
}

.wp-download-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.wp-download-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(16, 185, 129, 0.5);
    color: white;
}

/* Sales Stats Widget */
.wp-sales-stats {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.wp-stats-header {
    text-align: center;
    margin-bottom: 2rem;
}

.wp-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.wp-stat-item {
    text-align: center;
    padding: 1.5rem;
    background: linear-gradient(135deg, #667eea11 0%, #764ba211 100%);
    border-radius: 8px;
}

.wp-stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.wp-stat-label {
    color: #64748b;
    font-weight: 500;
}

/* Loading Animation */
.wp-loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f4f6;
    border-top-color: #667eea;
    border-radius: 50%;
    animation: wp-spin 0.6s linear infinite;
}

@keyframes wp-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Error Message */
.wp-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #ef4444;
}

/* Success Message */
.wp-success {
    background: #d1fae5;
    color: #065f46;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #10b981;
}