/* Download-brochure control. PDF layout itself is generated as a fixed A4 document
   in pdf-generator.js, so it cannot inherit page CSS or browser zoom settings. */
.pdf-download-wrap {
    position: fixed;
    bottom: 28px;
    left: 28px;
    z-index: 1000;
}

.btn-pdf-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 46px;
    padding: 12px 22px;
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 999px;
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
    color: #ffffff;
    box-shadow: 0 10px 25px rgba(2, 132, 199, 0.4), 0 0 20px rgba(56, 189, 248, 0.2);
    cursor: pointer;
    font: 700 0.88rem/1.1 Inter, Arial, sans-serif;
    letter-spacing: 0.02em;
    backdrop-filter: blur(8px);
    transition: all 200ms ease;
}

.btn-pdf-download:hover:not(:disabled),
.btn-pdf-download:focus-visible:not(:disabled) {
    background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
    box-shadow: 0 14px 30px rgba(2, 132, 199, 0.6), 0 0 25px rgba(56, 189, 248, 0.35);
    transform: translateY(-2px);
    border-color: rgba(56, 189, 248, 0.7);
}

.btn-pdf-download:focus-visible {
    outline: 3px solid rgba(109, 229, 222, 0.7);
    outline-offset: 3px;
}

.btn-pdf-download:disabled,
.btn-pdf-download.loading {
    background: #47636a;
    box-shadow: none;
    cursor: wait;
    transform: none;
}

.btn-pdf-download .spinner {
    animation: pdfRotate 900ms linear infinite;
}

@keyframes pdfRotate {
    to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
    .pdf-download-wrap {
        right: 16px;
        bottom: 16px;
        left: 16px;
    }

    .btn-pdf-download {
        width: 100%;
        justify-content: center;
    }
}
