/* Osnovne postavke */

body {
 font-family: Verdana, Geneva, sans-serif;
 font-size: 13px;
 word-wrap: normal;
}
b, strong {
 font-weight: bold;
}
dt label {
 font-weight: bold;
}
.search-box .inputbox {
 font-size: 11px;
}

/* Različiti overflow za UCP i SEARCH */

body.section-ucp .panel fieldset dl {
 overflow: hidden;
}

body.section-search .search-box fieldset dl,
body.section-search .panel fieldset dl {
 overflow: visible !important;
}

body.section-search fieldset dl dt label {
 white-space: normal !important;
 word-break: break-word;
 overflow-wrap: break-word;
 max-width: 100%;
}

/* Tabela (forum-prikaz) */
.table1 {
 width: 100%;
 border-collapse: separate;
 border-spacing: 0;
 margin: 10px 0;
 font-size: 13px;
}
.table1 thead tr th {
 background: #555;
 color: #fff;
 font-weight: bold;
 text-transform: uppercase;
 font-size: 11px;
 padding: 8px 10px;
 border: none;
 position: sticky;
 top: 0;
 z-index: 10;
}
.table1 thead tr th:first-child {
 border-right: 1px solid rgba(255,255,255,0.4) !important;
 padding-right: 15px;
}
.table1 thead tr th:nth-child(2) {
 border-left: 1px solid rgba(255,255,255,0.2) !important;
 padding-left: 15px;
 margin-left: -1px;
}
.table1 tbody tr td {
 padding: 8px 10px;
 border: 1px solid #ddd;
 vertical-align: middle;
}
.table1 tbody tr td:first-child {
 border-right: 1px solid #ddd !important;
 padding-right: 15px;
}
.table1 tbody tr td:nth-child(2) {
 border-left: 1px solid #eee !important;
 padding-left: 15px;
}
.table1 td.user-rank {
 white-space: nowrap;
}
.table1 td.user-rank .rank-img,
.table1 td.user-rank .rank-title {
 margin-right: 8px;
 display: inline-block;
 vertical-align: middle;
}
.table1 td.user-rank .username {
 display: inline-block;
 vertical-align: middle;
}
.table1 tr.bg1 { background-color: #ffffff; }
.table1 tr.bg2 { background-color: #f4f4f4; }
.table1 tbody tr:hover td {
 background-color: #f0f0f0 !important;
}

/* Ostalo */
.rank-img { display: inline-block; margin-right: 4px; }
.pagination { font-size: 12px; color: #555; margin: 8px 0; }
.action-bar { display: flex; justify-content: space-between; align-items: center; padding: 6px 0; }
h2.solo { margin: 12px 0; font-size: 18px; font-weight: normal; border-bottom: 2px solid #ccc; padding-bottom: 4px; color: #222; }
td.info div { margin-bottom: 2px; font-size: 12px; }

@media screen and (max-width: 768px) {
 .table1 th, .table1 td { font-size: 12px; padding: 6px 8px; }
 h2.solo { font-size: 16px; }
 .pagination { font-size: 11px; }
}

/* Responsive-tabela */
.forumbg-table .inner {
 overflow-x: auto;
 -webkit-overflow-scrolling: touch;
}
.forumbg-table table {
 min-width: 100%;
 width: auto;
}

a[href*="search.php?author_id="]:not(.username) {
 color: #007bff;
 text-decoration: underline;
 cursor: pointer;
 font-weight: 500;
 transition: color 0.2s ease-in-out;
}

a[href*="search.php?author_id="]:not(.username):hover {
 color: #0056b3; /* tamnija nijansa plave */
 text-decoration: underline;
}