/**
 * 4Office Koszyk Tabela – Export Button Styles
 * Matches wc-block-cart__submit-container styling
 */

/* ======================================================
   EXPORT BUTTON CONTAINER
   ====================================================== */

.fouroffice-cart-export {
    margin: 0 0 10px 0;
}

.fouroffice-cart-export-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 0.618em 1em;
    background: none;
    color: rgb(51, 62, 72);
    border: 1px solid rgb(51, 62, 72);
    border-radius: 0;
    font-family: Inter, "Open Sans", HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "Lucida Grande", sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.14px;
    line-height: 27.42px;
    text-align: center;
    cursor: pointer;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    overflow-wrap: break-word;
    text-decoration: none;
    box-sizing: border-box;
}

.fouroffice-cart-export-btn:hover,
.fouroffice-cart-export-btn:focus,
.fouroffice-cart-export-btn:active {
    color: rgb(51, 62, 72);
    background: none;
    border-color: rgb(51, 62, 72);
    box-shadow: none;
    outline: none;
    opacity: 1;
    text-decoration: none;
}

.fouroffice-cart-export-btn:disabled {
    color: rgb(150, 150, 150);
    border-color: rgb(150, 150, 150);
    cursor: not-allowed;
    opacity: 0.5;
}

.fouroffice-cart-export-btn svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    color: inherit;
}

/* ======================================================
   LOADING SPINNER
   ====================================================== */

.fouroffice-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(51, 62, 72, 0.2);
    border-top-color: rgb(51, 62, 72);
    border-radius: 50%;
    animation: fouroffice-spin 0.6s linear infinite;
    vertical-align: middle;
}

@keyframes fouroffice-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ======================================================
   PRINT – hide interactive elements
   ====================================================== */

@media print {
    .fouroffice-cart-export {
        display: none !important;
    }
}
