.forum-gg-users {
    border-width: 3px;
    font-size: 12px;
    padding: 25px;
    padding-bottom: 12px;
    padding-top: 12px;
    margin-top: 15px;
    margin-bottom: 0px;
    background-color: rgb(30, 32, 33);
    border-left: 1px solid #9b9b9b;
}

.forum-gg-users i {
    margin-right: 8px;
}

.forum-body {
    /* These are technically the same, but use both */
    overflow-wrap: break-word;
    word-wrap: break-word;

    -ms-word-break: break-all;
    /* This is the dangerous one in WebKit, as it breaks things wherever */
    word-break: break-all;
    /* Instead use this non-standard one: */
    word-break: break-word;

    /* Adds a hyphen where the word breaks, if supported (No Blink) */
    -ms-hyphens: auto;
    -moz-hyphens: auto;
    -webkit-hyphens: auto;
    hyphens: auto;
}

.uo-dropdown {
    margin-left: 0 !important;
    margin-top: 0px !important;
}

nav ul li .uo-dropdown-menu {
    background: #1b1d1e !important;
}

.uo-dropdown-menu li a:focus h3,
.uo-dropdown-menu li a:hover h3 {
    color: rgb(200, 195, 188) !important;
}

/* (removed: moved to modules/polls/css/polls.ui.css) */
.notif-panel {
    background: rgb(24, 26, 27);
    border: 1px solid rgb(56, 60, 63);
    min-width: 420px
}

.nav-right .nav-dropdown .dropdown-menu {
    width: 420px;
    background: rgb(24, 26, 27);
    border: 1px solid rgb(56, 60, 63);
    padding: 0;
    border-radius: 8px;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4)
}

.nav-dropdown .dropdown-header {
    font-weight: 600;
    color: #fff;
    background: rgb(24, 26, 27) !important;
    padding: 12px 16px;
    border-bottom: 1px solid rgb(56, 60, 63)
}

.nav-dropdown .divider {
    border-top-color: rgb(56, 60, 63)
}

.nav-dropdown .dropdown-footer {
    background: rgb(24, 26, 27);
    border-top: 1px solid rgb(56, 60, 63)
}

.nav-dropdown .dropdown-footer a {
    display: inline-block;
    padding: 0 8px;
    color: #fff !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0;
    text-decoration: none
}

.nav-dropdown .dropdown-footer a:hover {
    background: transparent !important;
    color: #fff !important
}

.notif-list {
    padding: 0 8px;
    max-height: calc(100vh - 200px);
    overflow: auto
}

.notif-item {
    display: flex;
    align-items: center !important;
    gap: 12px;
    padding: 5px 5px 5px 0px;
    border-bottom: 1px solid rgb(56, 60, 63);
    position: relative
}

.notif-item:hover {
    background-color: #1b1d1e !important;
}

.notif-item.unread {
    background: rgb(27, 30, 31)
}

.notif-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-decoration: none;
    color: #fff !important
}

.notif-link:hover {
    background-color: transparent !important
}

.notif-avatar {
    flex: 0 0 40px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.notif-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.notif-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    max-width: calc(100% - 120px)
}

.notif-title {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.notif-message {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.notif-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 300;
    line-height: 10px;
}

.notif-thumb {
    flex: 0 0 86px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    background: rgb(30, 32, 33)
}

.notif-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.notif-empty {
    padding: 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8)
}

.notif-dot {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7289da
}

.notif-settings {
    color: #fff !important;
    padding-top: 5px !important;
}

.notif-settings i {
    font-size: 24px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important
}

.notif-settings:hover {
    color: #fff;
}

.notif-settings:hover i {
    color: #fff !important;
}

.notif-settings:hover {
    background-color: transparent !important
}

.notif-list::-webkit-scrollbar {
    width: 8px
}

.notif-list::-webkit-scrollbar-thumb {
    background: rgb(56, 60, 63);
    border-radius: 4px
}

.notif-list::-webkit-scrollbar-track {
    background: rgb(27, 30, 31)
}

.notifier-panel+.notifier-panel {
    margin-top: 20px
}

.link-sub {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none
}

.link-sub:hover {
    color: #fff;
    text-decoration: underline
}

.notifier-settings .col-sm-6 {
    display: flex;
    align-items: center;
    gap: 8px
}

.notifier-settings input[type=checkbox] {
    margin-right: 8px;
    height: 13px;
    width: 13px
}

.notifier-settings .settings-head {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600
}

.notifier-settings .form-group {
    padding: 10px 0;
    border-bottom: 1px solid rgb(56, 60, 63);
    display: flex;
    align-items: center;
    margin-bottom: 0
}

.notifier-settings .form-group:last-child {
    border-bottom: 0
}

.notifier-settings .control-label {
    color: rgba(255, 255, 255, 0.8)
}

.notifier-settings .checkbox-inline {
    display: inline-block;
    margin-right: 16px
}

.notifier-settings .actions {
    margin-top: 10px
}

.notifier-settings .settings-row .settings-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85)
}

.notifier-settings .settings-row .settings-label i {
    color: rgba(255, 255, 255, 0.9)
}

.notif-link {
    display: flex !important;
    align-items: center;
    gap: 10px;
    width: 100%;
    text-decoration: none;
    color: #fff !important
}

.notif-link:hover {
    background-color: transparent !important
}

.notif-avatar {
    flex: 0 0 40px;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    overflow: hidden;
}

.notif-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.notif-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    max-width: calc(100% - 120px)
}

.notif-title {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis
}

.notif-message {
    color: rgba(255, 255, 255, 0.8);
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden
}

.notif-time {
    color: rgba(255, 255, 255, 0.6);
    font-size: 11px;
    font-weight: 300;
    line-height: 10px;
}

.notif-thumb {
    flex: 0 0 86px;
    height: 48px;
    border-radius: 6px;
    overflow: hidden;
    background: rgb(30, 32, 33)
}

.notif-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover
}

.notif-empty {
    padding: 16px;
    text-align: center;
    color: rgba(255, 255, 255, 0.8)
}

.notif-dot {
    position: absolute;
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #7289da
}

.notif-settings {
    color: #fff !important;
    padding-top: 5px !important;
}

.notif-settings i {
    font-size: 24px !important;
    color: rgba(255, 255, 255, 0.6) !important;
    margin: 0 !important
}

.notif-settings:hover {
    color: #fff;
}

.notif-settings:hover i {
    color: #fff !important;
}

.notif-settings:hover {
    background-color: transparent !important
}

.notif-list::-webkit-scrollbar {
    width: 8px
}

.notif-list::-webkit-scrollbar-thumb {
    background: rgb(56, 60, 63);
    border-radius: 4px
}

.notif-list::-webkit-scrollbar-track {
    background: rgb(27, 30, 31)
}

.notifier-panel+.notifier-panel {
    margin-top: 20px
}

.link-sub {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none
}

.link-sub:hover {
    color: #fff;
    text-decoration: underline
}

.notifier-settings .col-sm-6 {
    display: flex;
    align-items: center;
    gap: 8px
}

.notifier-settings input[type=checkbox] {
    margin-right: 8px;
    height: 13px;
    width: 13px
}

.notifier-settings .settings-head {
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600
}

.notifier-settings .form-group {
    padding: 10px 0;
    border-bottom: 1px solid rgb(56, 60, 63);
    display: flex;
    align-items: center;
    margin-bottom: 0
}

.notifier-settings .form-group:last-child {
    border-bottom: 0
}

.notifier-settings .control-label {
    color: rgba(255, 255, 255, 0.8)
}

.notifier-settings .checkbox-inline {
    display: inline-block;
    margin-right: 16px
}

.notifier-settings .actions {
    margin-top: 10px
}

.notifier-settings .settings-row .settings-label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.85)
}

.notifier-settings .settings-row .settings-label i {
    color: rgba(255, 255, 255, 0.9)
}

.notif-a {
    color: rgb(197 198 197) !important;
    background: transparent !important;
}

@media (max-width: 768px) {
    .table-responsive {
        border: none !important
    }

    .notifier-settings .form-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .notifier-settings .col-sm-6 {
        width: 100%;
        justify-content: flex-start;
    }

    .notifier-settings .settings-row .settings-label {
        margin-bottom: 5px;
    }
}

/* Responsive YouTube Embeds */
.embeddedContent.oembed-provider-youtube {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    margin-bottom: 20px;
}

.embeddedContent.oembed-provider-youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
}
