/* Frontend Styles for Product Brochure Button */
.wc-brochure-container {
    margin: 20px 0;
    display: inline-block;
    width: 100%;
}

.wc-brochure-download-btn {
    display: inline-block;
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-family: inherit;
    line-height: 1.5;
}

.wc-brochure-download-btn:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
}

.wc-brochure-download-btn:active {
    transform: translateY(0);
}

/* Loading state */
.wc-brochure-download-btn.loading {
    opacity: 0.7;
    cursor: wait;
}

.wc-brochure-download-btn.loading::after {
    content: "...";
    margin-left: 5px;
}

/* Notification Popup */
.wc-brochure-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    padding: 15px 20px;
    border-radius: 5px;
    color: white;
    font-size: 14px;
    animation: slideIn 0.3s ease-out;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.wc-brochure-notification.success {
    background-color: #4CAF50;
}

.wc-brochure-notification.error {
    background-color: #f44336;
}

.wc-brochure-notification.info {
    background-color: #2196F3;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .wc-brochure-download-btn {
        padding: 10px 20px;
        font-size: 14px;
        width: 100%;
        text-align: center;
    }
    
    .wc-brochure-container {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .wc-brochure-download-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .wc-brochure-download-btn {
        padding: 11px 22px;
        font-size: 15px;
    }
}