/**
 * FBS Technical Data Sheet – Front-end Styles
 *
 * Matches the grey pill-shaped "Technical Data Sheet" button
 * visible on the Aspekt / Wood Innovations product pages.
 */

.fbs-tds-button-wrap {
    margin: 16px 0;
}

/* Base button */
.fbs-tds-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 11px 22px;
    background-color: #e8e8e8;
    color: #333333;
    border: 1px solid #d0d0d0;
    border-radius: 30px;           /* pill shape */
    font-size: 15px;
    font-weight: 500;
    line-height: 1.3;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

/* Hover / focus */
.fbs-tds-btn:hover,
.fbs-tds-btn:focus {
    background-color: #d4d4d4;
    border-color: #b8b8b8;
    color: #111111;
    text-decoration: none;
    outline: none;
}

.fbs-tds-btn:focus-visible {
    box-shadow: 0 0 0 3px rgba(0, 115, 170, 0.4);
}

/* Download icon */
.fbs-tds-btn__icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    opacity: 0.75;
}

.fbs-tds-btn__icon svg {
    width: 100%;
    height: 100%;
}

/* Label */
.fbs-tds-btn__label {
    line-height: 1;
}

/* ── Dark / alternative theme support ─────────────────── */
/* If the theme uses a dark background, flip to a white pill */
@media (prefers-color-scheme: dark) {
    .fbs-tds-btn {
        background-color: #3a3a3a;
        border-color: #555;
        color: #e8e8e8;
    }

    .fbs-tds-btn:hover,
    .fbs-tds-btn:focus {
        background-color: #4a4a4a;
        color: #ffffff;
    }
}

/* ── Mobile ────────────────────────────────────────────── */
@media ( max-width: 600px ) {
    .fbs-tds-btn {
        font-size: 14px;
        padding: 10px 18px;
    }
}
