/*
 * Conversionauts PrestaShop Theme
 * Copyright (c) 2026 Conversionauts (conversionauts.pl)
 * Licensed for use on one store only. Unauthorized distribution, resale, or modification prohibited.
 * All rights reserved.
 *
 * cv_gus/views/js/front.js builds its own button/message markup in plain JS (not a Smarty template),
 * hardcoding Bootstrap's "btn btn-primary" classes, which this theme doesn't style. The stable hooks
 * are the module's own class names (.cv-gus-fetch-btn / .cv-gus-message / .cv-gus-spinner) - this file
 * is a static stylesheet served as-is (not run through the theme's Tailwind/PostCSS build), so values
 * are hand-matched to the theme's existing button look instead of using @apply.
 */
.cv-gus-fetch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid #111111;
    border-radius: 0.375rem;
    background-color: #111111;
    color: #ffffff;
    font-weight: 600;
    font-size: 0.875rem;
    line-height: 1.5rem;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cv-gus-fetch-btn:hover {
    background-color: #ffffff;
    border-color: #111111;
    color: #111111;
}

.cv-gus-fetch-btn:disabled {
    opacity: 0.5;
    pointer-events: none;
}

.cv-gus-fetch-btn svg {
    flex-shrink: 0;
}

.cv-gus-spinner {
    animation: cv-gus-spin 1s linear infinite;
}

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

.cv-gus-message:not(:empty) {
    margin-bottom: 0.5rem;
}
