/* Reuse Word to PDF styles and extend with Excel-specific rules */
@import url('../word-to-pdf/style.css');

/* Excel-specific additions */
.preview-section { display: none; margin-top: 2rem; }
.preview-section.show { display: block; }
.options-section { display: none; margin-top: 1rem; }
.options-section.show { display: block; }
.progress-section { display: none; text-align: center; }
.progress-section.show { display: block; }
.download-section { display: none; text-align: center; }
.download-section.show { display: block; }
.sheet-controls {
    margin: 1rem 0;
    padding: 1rem;
    background: #f8f9ff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.sheet-controls-row {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sheet-tabs {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.sheet-tab {
    padding: 0.5rem 0.75rem;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #fff;
    cursor: pointer;
}

.sheet-tab.active {
    background: #007bff;
    color: #fff;
    border-color: #007bff;
}

.table-container {
    overflow: auto;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #fff;
    max-height: 500px;
}

.sheet-preview table {
    width: 100%;
    border-collapse: collapse;
}

.sheet-preview th,
.sheet-preview td {
    border: 1px solid #dee2e6;
    padding: 8px 10px;
    font-size: 0.95rem;
}

.sheet-preview.hide-gridlines th,
.sheet-preview.hide-gridlines td {
    border-color: transparent;
}

/* Responsive */
@media (max-width: 768px) {
    .sheet-controls-row {
        flex-direction: column;
        align-items: flex-start;
    }
}

