/* split-pdf.css */
@import '../../merge-pdf/css/merge-pdf.css';

/* Custom styling specific to split-pdf toolbar or features */
.toolbar-center input {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 4px;
    padding: 6px 12px;
    color: var(--t);
    font-size: 0.85rem;
    width: 140px;
    transition: all 0.2s;
}

.toolbar-center input:focus {
    outline: none;
    border-color: #ef4444;
    background: rgba(255, 255, 255, 0.1);
}

.split-options-bar {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.split-options-bar button {
    font-size: 0.8rem;
    padding: 6px 12px;
}

/* Stacks toolbar vertically on medium/narrow viewports to prevent wrapping cutoff */
@media (max-width: 1200px) {
    .preview-toolbar {
        flex-direction: column;
        align-items: stretch;
        gap: 15px;
        height: auto !important;
    }
    .toolbar-left, .toolbar-center, .toolbar-right {
        display: flex;
        justify-content: center;
        width: 100% !important;
        flex-wrap: wrap;
        gap: 10px;
    }
    .toolbar-center input {
        flex-grow: 1;
        max-width: 48%;
    }
    .toolbar-right button {
        width: 100%;
        padding: 12px;
        text-align: center;
    }
}

/* Hide native number input spinners (arrows) to match premium design */
input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}
