/* style.css - Wiki Ref Workspace Manager */
/* Minimal custom styles - Bootstrap 5.3 handles most styling */

/* RTL/LTR text direction support for editor */
.rtl-mode {
    direction: rtl;
    text-align: right;
}

.ltr-mode {
    direction: ltr;
    text-align: left;
}

/* Editor textarea minimum height */
.editor-textarea {
    min-height: 400px;
    line-height: 1.6;
}

/* Ensure body uses flexbox for sticky footer */
body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* DataTables dark mode support */
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_info,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_paginate {
    color: var(--bs-body-color);
}

[data-bs-theme="dark"] .dataTables_wrapper .dataTables_filter input,
[data-bs-theme="dark"] .dataTables_wrapper .dataTables_length select {
    background-color: var(--bs-body-bg);
    border-color: var(--bs-border-color);
    color: var(--bs-body-color);
}

/* Responsive adjustments for small screens */
@media (max-width: 576px) {
    .editor-textarea {
        min-height: 250px;
    }
}
