/* ================================== */
/* css/pdf-to-word.css
/* Theme: Blue/Cyan
/* ================================== */

.mode-tab {
    color: var(--text-secondary);
    background: transparent;
    transition: all 0.2s ease;
}
.mode-tab:hover {
    color: var(--text-primary);
    background: rgba(0,0,0,0.05);
}
.mode-tab.active {
    background: white;
    color: #2563eb;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    font-weight: 700;
}
body.dark .mode-tab.active {
    background: #374151;
    color: #60a5fa;
}

/* Force white text for Start Conversion button specifically if utility class fails */
#wordProcessBtn {
    color: white !important;
}

#wordPagePreview {
    display: grid;
    place-items: start center; 
    overflow: auto;
}

#wordPagePreview canvas {
    max-width: 100%;
    height: auto;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    margin: auto; 
}

/* Quill Customization */
.ql-toolbar.ql-snow {
    border: none;
    border-bottom: 1px solid #e5e7eb;
    background: #f9fafb;
}
.ql-container.ql-snow {
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
}

body.dark .ql-toolbar.ql-snow {
    background: #1f2937;
    border-color: #374151;
}
body.dark .ql-container.ql-snow {
    background: #111827;
    color: #e5e7eb;
}
body.dark .ql-stroke { stroke: #e5e7eb !important; }
body.dark .ql-fill { fill: #e5e7eb !important; }
body.dark .ql-picker { color: #e5e7eb !important; }

/* Generated Table Styles for Editor */
.generated-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 12px;
}
.generated-table td {
    padding: 6px;
    vertical-align: top;
    border: 1px solid #e2e8f0; /* Visible grid lines */
}
body.dark .generated-table td {
    border-color: #4b5563;
}