/* ===== WIDGETS ===== */

/* Widget Container */
.widget {
    background: rgba(255, 255, 255, 0.03) !important;
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 16px !important;
    padding: 16px !important;
    margin-bottom: 12px !important;
    color: rgba(255, 255, 255, 0.7) !important;
    font-size: 0.875rem !important;
}

/* Widget Header-Zeile (erste Zeile im Widget) */
.widget > *:first-child {
    background: rgba(245, 166, 35, 0.05) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
    padding: 10px 16px !important;
    font-weight: 700 !important;
    color: white !important;
    font-size: 0.85rem !important;
    letter-spacing: 0.025em !important;
}

/* Widget Body */
.widget > *:not(:first-child) {
    padding: 8px 16px !important;
    font-size: 0.8rem !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

/* Widget Titel */
.widget h4,
.widget .header,
.widget > b:first-child,
.widget > strong:first-child {
    color: white !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    margin-bottom: 12px !important;
    display: block !important;
    padding-bottom: 8px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06) !important;
}

/* Widget Links */
.widget a {
    transition: color 0.2s !important;
}

.widget a:hover {
    color: #F5A623 !important;
}

/* Avatar in Widgets */
.widget img,
.widget .ui.image,
.widget .ui.mini.image,
.widget .ui.mini.circular.image,
.ui.mini.circular.image {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}

/* Widget Text-Zeilen schöner machen */
.widget p,
.widget div {
    line-height: 1.6 !important;
}

/* Statistiken Widget - Zahlen hervorheben */
.widget b,
.widget strong {
    color: #F5A623 !important;
    font-weight: 700 !important;
}

/* "Letztes Mitglied" etc. */
.widget .item {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 4px 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04) !important;
}

/* Online-Indikator */
.widget .green {
    color: #4ade80 !important;
}

/* ===== FORUM POST STYLING ===== */
.forum_post img {
    max-width: 100% !important;
    border-radius: 8px !important;
}

.forum_post a {
    color: #F5A623 !important;
}

.forum_post pre {
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 12px !important;
    border-radius: 8px !important;
    overflow-x: auto !important;
}

.forum_post code {
    background: rgba(255, 255, 255, 0.05) !important;
    padding: 2px 6px !important;
    border-radius: 4px !important;
}

.forum_post blockquote {
    border-left: 3px solid #F5A623 !important;
    padding-left: 12px !important;
    color: rgba(255, 255, 255, 0.5) !important;
    margin: 8px 0 !important;
}

/* ===== PAGINATION ===== */
.ui.pagination.menu,
.ui.menu {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

.ui.pagination.menu .item {
    background: rgba(255, 255, 255, 0.05) !important;
    color: rgba(255, 255, 255, 0.6) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
    margin: 2px !important;
    min-width: 36px !important;
    justify-content: center !important;
}

.ui.pagination.menu .active.item {
    background: rgba(245, 166, 35, 0.15) !important;
    color: #F5A623 !important;
    border-color: rgba(245, 166, 35, 0.3) !important;
}

.ui.pagination.menu .item:hover {
    background: rgba(255, 255, 255, 0.08) !important;
    color: white !important;
}

/* Modal Fix - zentriert */
.ui.modal {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
    background: #0d1117 !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    border-radius: 16px !important;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5) !important;
    z-index: 1000 !important;
}

.ui.modal .header {
    background: transparent !important;
    color: white !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    font-weight: 700 !important;
}

.ui.modal .content {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.6) !important;
}

.ui.modal .actions {
    background: transparent !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Dimmer Overlay */
.ui.dimmer {
    background: rgba(0, 0, 0, 0.6) !important;
    backdrop-filter: blur(4px) !important;
}