* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    --border-radius-1: 15px;
    --border-radius-2: 10px;
    --border-radius-3: 5px;

    --accent: #6396f4;
    --accent-hovered: #77a6f7;
    --error-color: #bb0000;

    --subtext-color: gray;

    --bkg-color: white;
    --bkg-color-alt: #f8f8f8;
    --bkg-color-alt-2: #ececec;
    --accent-text-color: white;
    --border-color: lightgray;

    --large-text-1: 32px;
    --large-text-2: 28px;
    --large-text-3: 22px;
    --large-text-4: 20px;
    --large-text-5: 18px;
    --large-text-6: 16px;

    --regular-text: 16px;
    --small-text: 14px;
    --xsmall-text: 12px;

    --pfp-post-size: 42px;

    font-family: 'Roboto', sans-serif;
}

h1 {
    font-size: var(--large-text-1);
    font-weight: bold;
}

h2 {
    font-size: var(--large-text-2);
    font-weight: bold;
}

h3 {
    font-size: var(--large-text-3);
    font-weight: bold;
}

h4 {
    font-size: var(--large-text-4);
    font-weight: bold;
}

h5 {
    font-size: var(--large-text-5);
    font-weight: bold;
}

h6 {
    font-size: var(--large-text-6);
    font-weight: bold;
}

p {
    font-size: var(--regular-text);
}

li {
    padding: initial;
}

ul, ol {
    padding: initial;
    list-style-position: inside;
}

.root {
    display: flex;
}

.errorText {
    color: var(--error-color);
    font-size: 14px;
}

.page-container {
    display: flex;
    width: 100%;
    height: 100vh;
    overflow-y: auto;
    flex-direction: column;
    align-items: center;
    padding: 50px;
}

.page {
    display: flex;
    width: 100%;
    max-width: 1000px;
    flex: 1;
}

.post-page {
    display: flex;
    flex-direction: column;
    flex-grow: 1;

    h2 {
        margin-bottom: 10px;
    }

    & .mid-reply-runner {
        margin-left: 35px;
        width: 1px;
        height: 20px;
        background-color: var(--border-color);
    }

    & .reply-container {
        position: relative;
        display: flex;
        flex-direction: column;
        gap: 5px;
        padding: 15px;
        flex-grow: 1;

        .make-reply-title {
            margin-left: calc(var(--pfp-post-size) + 15px);
            font-weight: bold;
        }

        & .reply-bottom {
            display: flex;
            gap: 15px;

            & .pfp {
                width: var(--pfp-post-size);
                height: var(--pfp-post-size);
                border-radius: 50%;
                border: solid 1px var(--border-color);
                background-color: var(--bkg-color);
            }
        }

        & .reply-buttons {
            display: flex;
            justify-content: flex-end;
            align-items: center;
            gap: 10px;
        }

        & .runner {
            position: absolute;
            top: 0;
            left: calc(var(--pfp-post-size) / 2 + 14px);
            width: 1px;
            height: 64px;
            background-color: var(--border-color);
            z-index: -1;
        }
    }

    & .login-container {
        display: flex;
        border: solid 1px var(--border-color);
        border-radius: var(--border-radius-1);
        padding: 15px;
        width: 100%;
        gap: 15px;
        align-items: center;
    }

    & .info-container {
        display: flex;
        border: solid 1px var(--border-color);
        border-radius: var(--border-radius-1);
        padding: 15px;
        width: 100%;
        gap: 15px;
        align-items: center;
        justify-content: space-between;
    }
}

.post {
    position: relative;
    display: flex;
    gap: 20px;
    padding: 15px;
    width: 100%;

    & .content {
        display: flex;
        flex-direction: column;
        gap: 5px;
        flex-grow: 1;

        & .header {
            display: flex;
            gap: 15px;

            & .profile-pic-container {
                display: flex;
                align-items: center;
                background-color: var(--bkg-color);

                & img {
                    width: var(--pfp-post-size);
                    height: var(--pfp-post-size);
                    border-radius: 50%;
                    border: solid 1px var(--border-color);
                }
            }

            & .poster-info {
                display: flex;
                flex-direction: column;
                flex-grow: 1;

                & .top-bar {
                    display: flex;
                    align-items: center;
                    gap: 10px;

                    & .username {
                        font-weight: bold;
                    }
                }

                & .handle {
                    color: var(--subtext-color);
                    font-size: var(--small-text);
                    text-decoration: none;

                    &:hover {
                        text-decoration: underline;
                    }
                }
            }

            & .time-info {
                color: var(--subtext-color);
                font-size: var(--small-text);
            }
        }

        & .body {
            display: flex;
            flex-direction: column;
            gap: 10px;
            margin-left: calc(var(--pfp-post-size) / 2 + 36px);

            & img {
                max-width: 100%;
            }
        }
    }

    & .runner {
        position: absolute;
        top: 0;
        left: calc(var(--pfp-post-size) / 2 + 14px);
        width: 1px;
        height: 100%;
        background-color: var(--border-color);
        z-index: -1;
    }

    & .popup-menu-container {
        position: relative;
    }
}

.op-post {
    border: solid 1px lightgray;
    border-radius: var(--border-radius-1);

    & .tags {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
        margin-left: calc(var(--pfp-post-size) / 2 + 36px);
        margin-top: 10px;
    }
}

.new-question-container {
    gap: 10px;

    & form {
        display: flex;
        flex: 1;
        flex-direction: column;
        gap: 20px;

        & .form-group {
            display: flex;
            flex-direction: column;
            gap: 5px;
        }

        & label {
            font-weight: bold;
            font-size: var(--large-text-6);
        }

        & .category-select-container {
            display: flex;
            gap: 10px;
            align-items: center;

            & .select-group-container {
                display: flex;
                flex-direction: column;
                flex: 1;

                & label {
                    font-size: var(--regular-text);
                }
            }
        }

        & .post-textarea-container {
            height: 300px;
        }
    }
}


.button {
    all: unset;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent);
    color: var(--accent-text-color);
    border-radius: var(--border-radius-2);
    padding: 8px 16px;
    font-weight: bold;
    user-select: none;
    transition: background-color 80ms, filter 80ms;

    &:hover:not(:disabled) {
        cursor: pointer;
        filter: brightness(1.15);
    }

    &:disabled {
        cursor: not-allowed;
        background-color: lightgray;
    }

    &.danger {
        background-color: var(--error-color);
        color: white;

        &:disabled {
            filter: opacity(0.2);
        }
    }

    &.transparent {
        background-color: transparent;
        border: solid 1px var(--border-color);
        color: black;

        &:hover:not(:disabled) {
            background-color: var(--bkg-color-alt);
            filter: none;
        }
    }

    &.icon {
        padding: 8px;
        background-color: transparent;
        transition: background-color 80ms;
        border-radius: var(--border-radius-2);
        color: black;

        &:hover:not(:disabled) {
            cursor: pointer;
            background-color: rgba(0, 0, 0, 0.15);
            filter: none;
        }
    }
}

.textbox {
    all: unset;
    border: solid 1px var(--border-color);
    border-radius: var(--border-radius-1);
    padding: 10px;
    flex-grow: 1;
}

.selectbox {
    border: solid 1px var(--border-color);
    border-radius: var(--border-radius-1);
    padding: 10px;
    flex-grow: 1;
}

.post-textarea-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 200px;
    border: solid 1px var(--border-color);
    border-radius: var(--border-radius-1);
    padding: 10px;
    flex-grow: 1;

    & .control-buttons {
        display: flex;
        align-items: center;
        gap: 5px;

        & .control-button {
            all: unset;
            display: flex;
            padding: 2px 8px;
            font-size: var(--xsmall-text);
            font-weight: bold;
            background-color: transparent;
            border-radius: var(--border-radius-3);
            border: solid 1px transparent;
            transition: background-color 80ms, border-color 80ms;

            &.active {
                background-color: var(--bkg-color-alt-2);
            }

            &:hover {
                cursor: pointer;
                border-color: var(--bkg-color-alt-2)
            }
        }
    }

    & .post-textarea {
        all: unset;
        resize: none;
        height: 100%;
    }

    & .preview-container {
        display: flex;
        flex-direction: column;
        gap: 10px;
        height: 100%;
        overflow-y: auto;

        & img {
            max-width: 100%;
        }
    }

    & .hidden {
        display: none;
    }
}

.right-side-buttons-container {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
}

pre {
    background-color: var(--bkg-color-alt);
    padding: 10px 15px;
    border-radius: var(--border-radius-1);

    & code {
        font-family: monospace;
    }
}

.popup-menu {
    position: absolute;
    right: 0;
    background-color: var(--bkg-color);
    border: solid 1px var(--border-color);
    border-radius: var(--border-radius-2);
    padding: 5px;
    display: flex;
    flex-direction: column;
    z-index: 1;
    box-shadow: 0 0 5px #00000011;
    min-width: 125px;
    gap: 5px;
    list-style-type: none;

    &:not(.hidden) {
        animation: popup-show 80ms forwards;
    }

    &.hidden {
        animation: popup-hide 80ms forwards;
    }

    & .popup-option {
        all: unset;
        display: flex;
        align-items: center;
        gap: 10px;
        padding: 4px 8px;
        border-radius: var(--border-radius-3);
        transition: background-color 80ms;
        user-select: none;

        &:hover {
            cursor: pointer;
            background-color: var(--bkg-color-alt);
        }

        & img {
            width: 18px;
            height: 18px;
        }
    }
}

.popup-menu-fade-out {
    animation: popup-hide 80ms forwards;
}

.modal-bkg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #00000044;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    animation: modal-bkg-intro 80ms;
    animation-fill-mode: forwards;
    pointer-events: none;
}

@keyframes modal-bkg-intro {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.modal {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background-color: var(--bkg-color);
    padding: 25px;
    border-radius: var(--border-radius-1);
    width: 500px;
    animation: modal-intro 200ms;
    animation-fill-mode: forwards;
    pointer-events: all;

    & .header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }
}

@keyframes modal-intro {
    0% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

.buttons {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 10px;
}

.toast {
    position: fixed;
    z-index: 100;
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 10px 20px;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 5px #00000011;
    text-wrap: nowrap;
    background-color: #fff6f6;
    border: solid 1px #e1dada;
    border-radius: var(--border-radius-1);
    animation: toast-intro 200ms;

    & p {
        color: #240000;
    }
}

@keyframes toast-intro {
    0% {
        transform: translateX(-50%) translateY(calc(10px + 100%));
    }
    100% {
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes toast-outro {
    0% {
        transform: translateX(-50%) translateY(0);
    }
    100% {
        transform: translateX(-50%) translateY(calc(10px + 100%));
    }
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 275px;
    padding: 25px 15px;
    border-right: solid 1px var(--border-color);
    font-size: var(--large-text-5);

    --button-side-padding: 15px;

    & h1 {
        font-size: var(--large-text-1);
        font-weight: bold;
        padding-left: var(--button-side-padding);

        & a {
            text-decoration: none;
            color: black;
        }
    }

    & .nav-buttons {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
        list-style-type: none;
        height: 100%;

        & li {
            display: flex;
        }

        & a {
            display: flex;
            align-items: center;
            gap: 10px;
            padding: 10px var(--button-side-padding);
            width: 100%;
            color: black;
            text-decoration: none;
            user-select: none;
            border-radius: var(--border-radius-2);
            font-weight: bold;
            border: solid 1px transparent;
            transition: background-color 80ms, color 80ms, border-color 80ms;

            & img {
                width: 24px;
                height: 24px;
            }

            &:hover:not(.active) {
                border-color: var(--border-color);
            }

            &.active {
                background-color: var(--accent);
                color: var(--accent-text-color);

                & img {
                    filter: invert(100%);
                }
            }
        }
    }

    & .navbar-section {
        display: flex;
        flex-direction: column;
        gap: 10px;
        /*padding-left: var(--button-side-padding);*/

        & h2 {
            font-size: var(--large-text-6);
            /*color: var(--subtext-color);*/
        }

        & ul {
            display: flex;
            flex-direction: column;
            gap: 10px;
            list-style-type: none;
            padding-left: 0;
        }

        & a {
            text-decoration: none;
            color: black;

            &:hover {
                text-decoration: underline;
            }

            & p {
                text-wrap: nowrap;
                overflow: hidden;
                text-overflow: ellipsis;
            }
        }
    }

    & .notifications {
        & .notification-content {
            color: var(--subtext-color);
        }
    }

    & .recent-browsing {
        & .new-content-notif {
            padding-left: 15px;
            color: var(--subtext-color);
        }
    }
}

.page-content {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;

    & .left-side {
        display: flex;
        align-items: center;
        gap: 5px;
    }

    & p {
        color: var(--subtext-color);
    }

    & .top-right-buttons {
        display: flex;
        align-items: center;
        gap: 15px;
    }
}

.divider {
    height: 1px;
    background-color: var(--border-color);
    width: 100%;
}

.labelled-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
    border-radius: var(--border-radius-1);
    border: solid 1px var(--border-color);
    padding: 25px;

    & h3 {
        font-size: var(--large-text-4);
        color: var(--subtext-color);
    }

    & ul {
        display: flex;
        flex-direction: column;
        gap: 25px;
        list-style-type: none;
        padding-left: 0;
    }
}

.category {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    overflow-x: hidden;

    & a {
        text-decoration: none;
        color: black;
        text-wrap: nowrap;
        overflow-x: hidden;
        text-overflow: ellipsis;

        &:hover {
            text-decoration: underline;
        }
    }

    & .cat-name {
        font-size: var(--large-text-6);
    }

    & .cat-desc {
        color: var(--subtext-color);
        text-wrap: nowrap;
        overflow-x: hidden;
        text-overflow: ellipsis;
    }
}

.post-item {
    position: relative;
    display: flex;
    gap: 10px;
    justify-content: space-between;
    overflow-x: hidden;
    border: solid 1px var(--border-color);
    border-radius: var(--border-radius-1);
    padding: 15px 20px;

    & a {
        text-decoration: none;
        color: black;
        text-wrap: nowrap;
        overflow-x: hidden;
        text-overflow: ellipsis;

        &:hover {
            text-decoration: underline;
        }
    }

    & .post-name-container {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    & .post-name {
        font-size: var(--large-text-6);
    }

    & .post-preview {
        color: var(--subtext-color);
        text-wrap: nowrap;
        overflow-x: hidden;
        text-overflow: ellipsis;
    }

    & .tags {
        display: flex;
        gap: 5px;
        align-items: center;
        padding-top: 5px;
    }
}

.search-box-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;

    & .search-form-top {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    & .filters {
        display: flex;
        align-items: center;
        gap: 5px;
        width: 100%;

        &.sort-filters {
            margin-top: 10px;
        }

        & .sort-label {
            margin-right: 10px;
            color: var(--subtext-color);
        }
    }
}

.search-results {
    & .no-results {
        text-align: center;
        padding: 40px;
        color: var(--subtext-color);
    }

    &.htmx-indicator {
        visibility: visible;
        opacity: 1;
    }

    &.htmx-request {
        visibility: hidden !important;
        opacity: 0 !important;
    }

    & .results-info {
        margin-bottom: 15px;
        color: var(--subtext-color);
    }

    & .results-list {
        list-style: none;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }
}

.search-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;

    &.htmx-indicator {
        display: none;
    }

    &.htmx-request {
        display: flex;
    }
}

.filter-button {
    all: unset;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: var(--border-radius-2);
    padding: 4px 12px;
    font-size: var(--small-text);
    border: 1px solid var(--border-color);
    user-select: none;
    transition: background-color 80ms, filter 80ms, color 80ms, border-color 80ms;

    &:hover:not(:disabled) {
        cursor: pointer;
    }

    &.active {
        background-color: var(--accent);
        color: var(--accent-text-color);
        border-color: var(--accent);

        & img {
            transform: rotate(180deg);
            filter: invert(100%);
        }
    }

    & img {
        width: var(--small-text);
        transition: transform 80ms, filter 80ms;
    }
}

.tag {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--border-radius-2);
    padding: 2px 8px;
    font-size: var(--xsmall-text);
    background-color: var(--accent);
    color: var(--accent-text-color);
    transition: filter 80ms, background-color 80ms;

    &.selected {
        background-color: #2d7a2d;
        color: white;
    }

    &.dropdown-toggle {
        position: relative;
        background-color: var(--subtext-color);
    }
}

.tags-input-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tag-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    margin-top: 5px;
    background-color: var(--bkg-color);
    border: solid 1px var(--border-color);
    border-radius: var(--border-radius-2);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    z-index: 10;
    min-width: 120px;

    & .tag-dropdown-item {
        display: flex;
        align-items: center;
        padding: 8px 12px;
        font-size: var(--small-text);
        background-color: transparent;
        border: none;
        border-radius: var(--border-radius-3);
        cursor: pointer;
        transition: background-color 80ms;
        color: black;

        &:hover {
            background-color: var(--bkg-color-alt);
        }

        &.selected {
            background-color: #2d7a2d;
            color: white;

            &:hover {
                background-color: #2d7a2d;
                filter: brightness(1.15);
            }
        }

        &:first-child {
            margin-top: 5px;
        }

        &:last-child {
            margin-bottom: 5px;
        }
    }
}

.section-marker-container {
    display: flex;
    align-items: center;
    gap: 10px;

    & .marker {
        width: 10px;
        height: var(--large-text-3);
        border-radius: var(--border-radius-3);

        &.green {
            background-color: green;
        }

        &.orange {
            background-color: orange;
        }
    }
}

.tag-selector-popup {
    position: absolute;
    left: 0;
    top: calc(100% + 5px);
    background-color: var(--bkg-color);
    border: solid 1px var(--border-color);
    border-radius: var(--border-radius-2);
    padding: 15px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 1;
    box-shadow: 0 0 5px #00000011;
    min-width: 200px;

    &:not(.hidden) {
        animation: popup-show 80ms forwards;
    }

    &.hidden {
        animation: popup-hide 80ms forwards;
    }
}

.filter-button-container {
    position: relative;
}

.simple-radio-selector {
    font-size: var(--small-text);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

@keyframes popup-show {
    0% {
        opacity: 0;
        transform: scale(0.95);
        visibility: hidden;
    }
    100% {
        opacity: 1;
        transform: scale(1);
        visibility: visible;
    }
}

@keyframes popup-hide {
    0% {
        opacity: 1;
        transform: scale(1);
        visibility: visible;
    }
    100% {
        opacity: 0;
        transform: scale(0.95);
        visibility: hidden;
    }
}

.preload {
    display: none !important;
}

.user-info-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    & .top-bar {
        display: flex;
        align-items: center;
        gap: 10px;
    }

    & .not-the-button {
        display: flex;
        flex-direction: row;
        justify-content: flex-start;
        align-items: center;
        gap: 8px;

        & .name-handle > p {
            color: var(--subtext-color);
        }
    }
}

.pfp-tabs {
    //background-color: #ff0000;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
}

.pfp-tabs {
    & .button {
        background-color: transparent;
        color: #3b82f6;
        width: auto;                 /* override any 100% width */
        flex: 0 0 auto;              /* don’t stretch or wrap */
        display: inline-flex;        /* optional, nice for centering text */
        align-items: center;
        justify-content: center;
    }
    .button.active {
        background-color: #3b82f6; /* blue */
        color: white;
    }
}

.userPosts {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.userAnswers {
    display: flex;
    flex-direction: column;
    gap: 10px;

    & .userAnswer {
        border: solid 1px var(--border-color);
        border-radius: var(--border-radius-1);
        padding: 15px 20px;

        & .otherPost {
            & .postContent {
                color: var(--subtext-color);
                text-wrap: nowrap;
                overflow-x: hidden;
                text-overflow: ellipsis;
            }
        }
        .userReply {
            padding-top: 12px;
            display: flex;
            flex-direction: row;
            gap: 5px;
            align-items: center;
            text-wrap: nowrap;
            overflow-x: hidden;
            text-overflow: ellipsis;
        }

        .tags {
            display: flex;
            flex-direction: row;
            gap: 5px;
            padding-top: 15px;
        }
    }
}

.arrow-right {
  width: 0;
  height: 0;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 10px solid black;
}

.pfp-container {
    display: flex;
    position: relative;

    & img:hover {
        cursor: pointer;
    }
}


.admin-tags-container {
    display: flex;
    flex-direction: column;
    gap: 15px;

    & .sub-container {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    & .tags {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;

        & .admin-tag {
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: var(--border-radius-2);
            background-color: var(--accent);
            color: var(--accent-text-color);
            font-size: var(--regular-text);
            padding: 5px 15px;
            gap: 5px;

            & .button {
                padding: 2px 2px;
            }

            & img {
                width: 12px;
                height: 12px;
                filter: invert(100%);
            }
        }
    }

    & .create-tag-form {
        display: flex;
        align-items: center;
        gap: 5px;
    }
}

.tag-selector {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;

    & .tag-selector-item {
        all: unset;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--border-radius-2);
        padding: 2px 8px;
        font-size: var(--xsmall-text);
        border: 1px solid var(--border-color);
        user-select: none;

        &:hover {
            cursor: pointer;
        }

        &:has(.tag-button:checked) {
            background-color: var(--accent);
            border-color: var(--accent);
            color: var(--accent-text-color);
        }

        & .tag-button {
            display: none;
        }
    }
}

.contained-section {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 25px;
    border-radius: var(--border-radius-1);
    border: solid 1px var(--border-color);
}

.profile-menu-popup-container {
    position: absolute;
    top: calc(100% + 5px);
    left: 100%;

    & .popup-menu {
        min-width: 200px;

        & .user-info {
            display: flex;
            flex-direction: column;
            gap: 2px;
            padding: 8px;

            & .sub-text {
                color: var(--subtext-color);
                font-size: var(--small-text);
            }

            & .display-name {
                font-size: var(--regular-text);
                font-weight: bold;
            }
        }
    }
}

.notifications {
    gap: 0;
}

.notification {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    border-left: 3px solid transparent;
    padding: 5px 0 5px 10px;

    & .notif-content {
        display: flex;
        flex-direction: column;
        padding: 5px;
        flex-grow: 1;

        & .title-container {
            display: flex;
            align-items: center;
            gap: 10px;

            & p {
                font-style: italic;
                font-size: var(--small-text);
            }
        }

        & p {
           color: var(--subtext-color);
        }
    }

    & .action-buttons {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    &.unread {
        background-color: rgba(59, 130, 246, 0.1);
        border-left: 3px solid #3b82f6;
        padding-left: 10px;
    }

    & + .notification {
        border-top: solid 1px var(--border-color);
    }
}

code[class*="language-"] {
    line-height: 1.15 !important;
    font-family: monospace !important;
    background: transparent !important;
    font-size: var(--regular-text) !important;

    & span {
        font-family: monospace !important;
        background: transparent !important;
        font-size: var(--regular-text) !important;
    }
}

.audit-entry {

}

.admin-search {
    display: flex;
    flex-direction: row;
    gap: 5px;
    padding-top: 5px;
}

.card {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border: solid 1px var(--border-color);
    border-radius: var(--border-radius-1);
    padding: 15px 20px;

    & .handle {
        color: var(--subtext-color);
    }
}

.notification-bubble {
    position: absolute;
    top: 100%;
    left: 100%;
    background-color: #ff0000;
    border-radius: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    color: white;
    font-size: var(--xsmall-text);
    transform: translate(-85%, -85%);
}

.hidden {
    & .poster-info, .body {
        opacity: 40%;
    }

    &.post-item {
        opacity: 40%;
    }
}

.home-page {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 100%;
    flex-direction: column;
    gap: 20px;

    & .section {
        display: flex;
        gap: 20px;
        border: solid 1px var(--border-color);
        border-radius: var(--border-radius-1);
        padding: 20px;
        align-items: center;

        & img {
            background-color: var(--accent);
            padding: 10px;
            border-radius: 1000px;
        }

        & .section-content {
            display: flex;
            flex-direction: column;
            gap: 3px;
        }
    }
}