/* WooAIPress Buy Plugins Styles */

.wooaipress-buy-plugins-container {
    max-width: 900px;
    margin: 0 auto;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Plugin Information Section */
.plugin-info-section {
    margin-bottom: 40px;
}

.plugin-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 30px;
    color: white;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3);
}

.plugin-header {
    display: flex;
    align-items: center;
    gap: 20px;
}

.plugin-icon {
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.2);
    width: 80px;
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.plugin-details h4 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.plugin-description {
    opacity: 0.9;
    font-size: 1.1rem;
}

.plugin-price {
    text-align: right;
    margin-left: auto;
}

.price {
    font-size: 2.5rem;
    font-weight: 900;
    display: block;
    line-height: 1;
}

.price-note {
    font-size: 0.9rem;
    opacity: 0.8;
}

.plugin-features {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.plugin-features h5 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.plugin-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.plugin-features li {
    padding: 8px 0;
    font-size: 1rem;
    display: flex;
    align-items: center;
}

/* User Form Section */
.user-form-section {
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.user-form-section h4 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #374151;
}

.form-group input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-hint {
    font-size: 0.85rem;
    color: #6b7280;
    margin-top: 5px;
    display: block;
}

.status-message {
    padding: 12px 16px;
    border-radius: 8px;
    margin-top: 15px;
    font-weight: 500;
    display: none;
}

.status-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.status-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.status-message.warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fcd34d;
}

/* Payment Section */
.payment-section {
    background: white;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.payment-section h4 {
    color: #2d3748;
    font-size: 1.5rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.payment-summary {
    background: #f8fafc;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    font-size: 1rem;
}

.summary-item.total {
    border-top: 2px solid #e5e7eb;
    margin-top: 10px;
    padding-top: 15px;
    font-weight: 600;
    font-size: 1.2rem;
    color: #2d3748;
}

#paypal-button-container {
    margin: 20px 0;
}

.payment-security {
    text-align: center;
    color: #6b7280;
    margin-top: 15px;
}

/* Success Section */
.success-container {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 20px 40px rgba(16, 185, 129, 0.3);
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-container h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.success-container p {
    font-size: 1.1rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary,
.btn-secondary {
    padding: 12px 24px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: #059669;
}

.btn-secondary:hover {
    background: #f3f4f6;
    transform: translateY(-2px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .plugin-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .plugin-price {
        text-align: center;
        margin-left: 0;
    }
    
    .plugin-card,
    .user-form-section,
    .payment-section,
    .success-container {
        padding: 20px;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        max-width: 250px;
    }
}

@media (max-width: 480px) {
    .wooaipress-buy-plugins-container {
        padding: 0 10px;
    }
    
    .plugin-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .plugin-details h4 {
        font-size: 1.4rem;
    }
    
    .price {
        font-size: 2rem;
    }
}

