.forum-main-index {
    padding: 20px;
    margin: 40px;
    box-sizing: border-box;
}
:focus {
    outline: 3px solid #ffcc00;
    outline-offset: 2px;
}
body {
    color: #1f1f1f;
    background: #ffffff;
    line-height: 1.6;
    font-size: 15px;
}
.main-panel {
    padding-left: 15px;
    padding-right: 25px;
}

/* LINKI */
a {
    color: #0b57d0;
    text-decoration: none;
}

a:hover {
    color: #083a9b;
    text-decoration: underline;
}

/* TYPOGRAFIA */
strong {
    font-weight: 700;
}

/* ====== STATUSY ====== */

.text-success {
    color: #1b5e20 !important;
    font-weight: 700;
}

.text-danger {
    color: #b71c1c !important;
    font-weight: 700;
}

/* usunięcie “zbyt bladego tekstu” */
.text-lighter,
.opacity,
.forum-stats > span {
    color: #555 !important;
    opacity: 1 !important;
}

/* NAV */
.nav-link {
    color: #1a237e;
    font-weight: 500;
}

.nav-link:hover {
    background: #e3f2fd;
}

/* SIDEBAR */
.openside {
    background: #ffffff;
    color: #222;
    border: 1px solid #ddd;
    padding: 12px;
}

/* FORUM TITLES */
.forum-title {
    text-transform: uppercase;
    font-weight: 700;
    color: #111;
}

/* SUBTITLE */
.forum-title .sub-title {
    font-size: 0.85em;
    color: #555;
    opacity: 1;
}

/* POST BOX */
.post-item {
    border: 1px solid #dcdcdc;
    background: #fff;
    border-radius: 6px;
}

/* FILTERS */
.filter {
    border: 1px solid #ccc;
    background: #fff;
}

/* LAST POST */
.forum-lastuser {
    border-left: 4px solid #555;
    color: #222;
}

/* ICON SPACING */
.nowrap > .fa {
    margin-right: 6px;
}

/* BADGE / RANK */
.rank-label {
    padding: 5px 8px;
    border-radius: 4px;
    background: #f5f5f5;
}

/* PAGINATION */
.forum-pages > nav {
    font-size: 13px;
}

/* AVATARS */
.avatar {
    border-radius: 50%;
}

/* RESPONSYWNOŚĆ TEKSTU */
.forum-link {
    font-size: 15px;
    font-weight: 600;
    color: #111;
}

/* FIX NA “ZBYT JASNE WARTOŚCI” */
small,
.text-smaller {
    color: #555 !important;
}
.forum-rules-container {
    margin: 15px 0;
}

.forum-rules-details {
    border: 1px solid #e74c3c;
    border-radius: 8px;
    background-color: #fff9f9;
}

.forum-rules-summary {
    padding: 12px 15px;
    cursor: pointer;
    font-weight: bold;
    color: #c0392b;
    list-style: none;           /* usuwa domyślną strzałkę na niektórych przeglądarkach */
}

.forum-rules-summary:hover {
    background-color: #fdf0f0;
}

.forum-rules-content {
    padding: 15px;
    border-top: 1px solid #eee;
}
/* GLOBAL TYPOGRAPHY FIX */

html {
    font-size: 17px;
}

body {
    font-size: 1rem;
    line-height: 1.7;
    color: #1f1f1f;
}

/* tekst forum */
p,
li,
td,
.forum-link,
.list-group-item,
.post-item,
.forum-lastuser,
.small,
small {
    font-size: 1rem;
}

/* linki */
a {
    font-size: inherit;
}

/* sidebar i metadata */
.text-smaller,
.forum-stats,
.forum-title .sub-title {
    font-size: 0.95rem;
    color: #555 !important;
}

/* pagination */
.forum-pages > nav {
    font-size: 0.95rem;
}
.forum-list .panel {
    border-radius: 6px;
    margin-bottom: 12px;
}

.forum-list a {
    font-weight: 600;
}

.forum-list .text-muted {
    color: #666;
    font-size: 14px;
}
.forum-viewthread,
.main-panel {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    min-width: 0;
}

.breadcrumb {
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
}
.post-message pre {
    max-width: 100%;
    overflow-x: auto;
    box-sizing: border-box;
}

.post-message code {
    word-break: break-word;
}
.quote.extended blockquote {
    margin: 15px 0;
    padding: 15px 20px;
    background: #f8f9fb;
    border-left: 4px solid #337ab7;
    border-radius: 4px;
    color: #444;
    line-height: 1.7;
}