/* Product Page PDF Generation Button Styles - Matching Existing Button Design */
.wcpg-generate-product-pdf {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background-color: transparent;
    color: inherit;
    text-decoration: none;
    border: 1px solid #ccc; /* tertiary border to match existing button */
    border-radius: 0;
    font-weight: 500;
    font-size: 0.875rem;
    line-height: 1.4;
    transition: all 0.3s ease;
    cursor: pointer;
    text-transform: none;
}

.wcpg-generate-product-pdf:hover {
    background-color: transparent;
    color: inherit;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.wcpg-generate-product-pdf:focus {
    outline: 2px solid #007cba;
    outline-offset: 2px;
}

.wcpg-generate-product-pdf:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.wcpg-generate-product-pdf .dashicons {
    font-size: 16px;
    width: 16px;
    height: 16px;
}

/* Documentation section styling */
.mt-4 h4 {
    margin-bottom: 0.75rem;
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Grid layout for buttons */
.grid {
    display: grid;
    gap: 0.75rem;
}

.grid-cols-1 {
    grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 640px) {
    .sm\:grid-cols-2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Loading animation */
@keyframes wcpg-spin {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive design */
@media (max-width: 768px) {
    .wcpg-generate-product-pdf {
        padding: 0.625rem 1.25rem;
        font-size: 0.8125rem;
    }
}

@media (max-width: 480px) {
    .wcpg-generate-product-pdf {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
}

/* Success/Error states */
.wcpg-generate-product-pdf.success {
    background-color: #10b981 !important;
    border-color: #10b981 !important;
    color: white !important;
}

.wcpg-generate-product-pdf.error {
    background-color: #ef4444 !important;
    border-color: #ef4444 !important;
    color: white !important;
}