/* Responsive global forum styles for all pages */
@media (max-width: 900px) {
    .main-container, .thread-header, .thread-table-container, .thread-form-container {
        padding-left: 4vw !important;
        padding-right: 4vw !important;
    }
    .thread-header {
        flex-direction: column;
        gap: 8px;
    }
    .thread-table {
        font-size: 0.98em;
    }
}
@media (max-width: 700px) {
    .main-container, .thread-header, .thread-table-container, .thread-form-container {
        padding-left: 2vw !important;
        padding-right: 2vw !important;
    }
    .thread-header h2 {
        font-size: 1.1em !important;
    }
    .thread-table th, .thread-table td {
        padding: 6px 2px !important;
    }
    .thread-avatar img {
        width: 64px !important;
        height: 64px !important;
    }
}
@media (max-width: 600px) {
    .main-container {
        padding: 0 !important;
    }
    .thread-header, .thread-table-container, .thread-form-container {
        padding: 8px 2vw 8px 2vw !important;
    }
    .thread-header {
        font-size: 0.98em;
    }
    .thread-table-container {
        overflow-x: auto;
    }
    .thread-table {
        min-width: 480px;
        width: 100%;
        font-size: 0.95em;
    }
    .thread-user-cell, .thread-message-cell {
        display: block;
        width: 100% !important;
        box-sizing: border-box;
    }
    .thread-row {
        display: block;
        margin-bottom: 18px;
        border-bottom: 1px solid #eee;
    }
    .thread-edit-btn-row-bottom, .react-btns-row {
        text-align: right;
    }
    .pagination {
        font-size: 0.98em;
    }
    .thread-avatar img {
        width: 48px !important;
        height: 48px !important;
    }
    .thread-username {
        min-width: 0 !important;
        max-width: 100% !important;
        font-size: 1em !important;
    }
    .thread-form textarea, .thread-form input[type="text"] {
        width: 100% !important;
        font-size: 1em;
    }
    .form-actions button, .thread-edit-btn-row-bottom button {
        width: 100%;
        min-width: 0;
        margin-top: 6px;
    }
}
