.content-container {
    width: 75%;
}

.topic-title-head {
    font-size: 1.5rem !important;
}

#communityCommentSectionTitle {
    font-size: 1.3rem;
}

/* ---------- Container ---------- */
.community-container {
    height: 75vh;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
    margin-top: 10px;
    padding-right: 5px;
    overflow-x: hidden;
    overflow-y: auto;
}

.community-container::-webkit-scrollbar {
    width: 6px;
}

.community-container::-webkit-scrollbar-track {
    background: transparent;
}

.community-container::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

/* ---------- Header ---------- */
.community-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #1c1c1c;
    padding: 10px;
    border-radius: 8px;
    margin-bottom: 20px;
    position: relative;
}

.community-header-image {
    height: 10vh;
    object-fit: cover;
    border-radius: 5px;
    width: 100%;
}

.community-logo-title {
    display: flex;
    align-items: center;
    gap: 5px;
}

.community-logo-title:hover {
    opacity: 0.7;
    cursor: pointer;
}

.community-logo {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #2a2a2a;
}

.community-title {
    font-size: 20px;
    font-weight: bold;
    color: #ffffff;
    margin-bottom: -5px;
}

.community-searchbar {
    width: 100%;
    padding: 8px 12px;
    background-color: #2a2a2a;
    border: none;
    border-radius: 5px;
    color: #ffffff;
    outline: none;
    height: 16px;
}

/* Hover: etwas helleres Grau */
.community-searchbar:hover {
    background-color: #303030;
}

/* Focus: behält das hellere Grau, kein Border/Outline */
.community-searchbar:focus {
    background-color: #303030;
    border: none;
    outline: none;
}

/* ---------- Moderator Message ---------- */
.community-moderator-message {
    display: flex;
    align-items: center;
    background-color: #1c1c1c;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border: 1px solid black;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

.moderator-profile {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 12px;
    background-color: #2a2a2a;
}

.moderator-text .moderator-message {
    font-weight: bold;
    margin: 0;
}

.moderator-text .moderator-meta {
    font-size: 12px;
    color: #aaaaaa;
    margin: 0;
}

/* ---------- Main Content (2 Columns) ---------- */
.community-main-content {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

/* Left: Topics */
.community-topics {
    flex: 3;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.topic-card {
    background-color: #1c1c1c;
    padding: 10px;
    border-radius: 8px;
    position: relative;
    border: 1px solid transparent;
}

.topic-card:hover {
    background-color: #222222;
    border: 1px solid black;
    cursor: pointer;
}

.topic-card:hover .topic-title {
    text-decoration: underline;
}

.latest-card:hover .topic-title {
    text-decoration: underline;
}

.topic-title {
    font-size: 14px;
    font-weight: bold;
    margin: 0 0 5px;
}

.topic-main-text {
    padding: 10px;
    background-color: #1c1c1c;
    border-radius: 10px;
    text-transform: none;
    margin: 10px 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    border: 1px solid black;
}

.topic-description {
    margin: 0 0 5px;
    color: #cccccc;
    font-size: 16px;
    text-transform: none;
}

.topic-meta {
    font-size: 12px;
    color: #888888;
    margin: 0;
}

.topic-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaaaaa;
    align-items: center;
}

.topic-post-like-button {
    filter: grayscale(1);
    cursor: pointer;
    font-size: 16px;
}

.topic-post-like-button.active {
    filter: grayscale(0);
}

.topic-post-like-button:hover {
    cursor: pointer;
    opacity: 0.7;
    filter: grayscale(0);
}

/* Right: Recently Created */
.community-recently {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.recent-topic {
    background-color: #1c1c1c;
    border: 1px solid transparent;
    padding: 10px;
    border-radius: 6px;
    font-size: 14px;
    color: #ffffff;
}

.recent-topic-grid {
    display: contents;
}

.recent-topic:hover {
    background-color: #222222;
    border: 1px solid black;
    cursor: pointer;
}

.recent-topic:hover .topic-title {
    text-decoration: underline;
}

/* ---------- Latest Section ---------- */
.community-latest-section {
    background-color: #1c1c1c7a;
    padding: 24px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    border: 1px solid black;
}

.latest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.latest-header h2 {
    font-size: 18px;
    margin: 0;
    width: 100%;
    display: contents;
}

.create-topic-btn {
    background-color: #287e00;
    color: #ffffff;
    padding: 6px 12px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

.create-topic-btn:hover {
    background-color: #313131;
}

.latest-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 14px;
}

.latest-tabs span:hover {
    border-bottom: 2px solid rgba(255, 255, 255, 0.5);
}

.latest-tabs .tab {
    cursor: pointer;
    padding-bottom: 4px;
    border-bottom: 2px solid transparent;
    color: #aaaaaa;
}

.latest-tabs .tab.active {
    color: #ffffff;
    border-color: #ffffff;
}

.latest-content-list {
    display: block;
}

.latest-card {
    background-color: #1c1c1c;
    padding: 10px;
    border-radius: 8px;
    margin: 10px 0;
    border: 1px solid transparent;
}

.latest-card:hover {
    background-color: #222222;
    border: 1px solid black;
    cursor: pointer;
}

.latest-title {
    font-size: 16px;
    margin: 0 0 5px;
}

.latest-description {
    margin: 0 0 5px;
    color: #cccccc;
}

.latest-meta {
    font-size: 12px;
    color: #888888;
    margin: 0 0 8px;
}

.latest-footer {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #aaaaaa;
}

.community-header-grid {
    position: absolute;
    display: flex;
    align-items: center;
    width: 30vw;
    top: 65%;
    left: 50%;
    transform: translate(-50%, -50%);
    gap: 5px;
}

.community-header-logo {
    width: 30px;
    height: auto;
    margin-top: -15px;
}

.community-searchbar-container {
    width: 100%;
    display: flex;
    gap: 5px;
    align-items: center;
}

.community-searchbar-container img {
    width: 40px;
    height: 40px;
    transform: scale(1.3);
}

.community-searchbar-container img:hover {
    opacity: 0.5;
    cursor: pointer;
}

.topic-hashtag-grid {
    display: flex;
    gap: 5px;
    margin-top: 10px;
}

.topic-main-hashtag-grid {
    display: flex;
    gap: 5px;
    font-size: 12px;
}

.hashtag-span {
    font-size: 10px;
    padding: 2px 5px;
    background-color: #ffffffc9;
    color: black;
    border-radius: 5px;
    height: min-content;
    text-transform: none;
    margin-bottom: 5px;
}

.icon-pin {
    width: 15px;
    height: auto;
    position: absolute;
    right: 5px;
    top: 5px;
}

.hr-topic {
    width: 80%;
    opacity: 0.4;
}

.custom-textarea {
    margin-top: 10px;
    width: 100%;
    min-height: 100px;
    padding: 10px;
    border-radius: 4px;
    background-color: #1c1c1c;
    resize: vertical;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    border: none;
    outline: none;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 14px;
    text-transform: none;
}

.comment-input-grid {
    display: flex;
    gap: 10px;
    width: min-content;
    margin-left: auto;
    margin-top: 10px;
    align-items: center;
}

.comment-input-grid button {
    background: transparent;
    border: none;
    outline: none;
    width: 160px;
    color: black;
    background-color: rgba(255, 255, 255, 0.877);
    border-radius: 5px;
    height: 30px;
}

.comment-input-grid button,
.comment-input-grid img {
    transition: opacity 0.2s ease;
}

/* Normal aktiv */
.comment-input-grid button,
.comment-input-grid img {
    opacity: 1;
}

/* Hover nur wenn aktiv */
.comment-input-grid button:hover,
.comment-input-grid img:hover {
    opacity: 0.5;
    cursor: pointer;
}

/* Disabled Zustand */
.comment-input-grid .disabled {
    opacity: 0.5;
    pointer-events: none;
    cursor: default;
}


#uploadFile {
    width: 30px;
    height: auto;
}

.topic-owner-grid {
    display: flex;
    gap: 10px;
    width: min-content;
    margin-bottom: 10px;
}

.topic-owner-image {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    object-fit: cover;
}

.topic-owner-flag {
    width: 20px;
    height: auto;
}

.owner-info-grid {
    display: flex;
    gap: 5px;
    align-items: center;
}

.owner-info-grid p,
.owner-info-grid span,
.owner-info-grid a {
    margin: 0;
}

.owner-info-grid a,
.comment-owner-link {
    color: white;
    text-decoration: none;
    width: max-content;
}

.owner-info-grid a:hover,
.comment-owner-link:hover {
    cursor: pointer;
    opacity: 0.7;
    text-decoration: underline;
}

.comment-owner-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
    width: 120px;
}

.comment-owner-grid img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.comment-owner-info p {
    margin: 0;
    font-size: 12px;
}

.comment-message-bubble p {
    margin: 0;
}

.comment-section-grid {
    padding: 10px;
    background-color: #2461655c;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    box-shadow: 0 4px 5px rgb(0 0 0 / 50%);
    margin-bottom: 5px;
    width: 100%;
    box-sizing: border-box;
}

.comment-message-bubble,
.quote-message-bubble {
    text-transform: none;
}

.comment-message-bubble:hover,
.quote-message-bubble:hover {
    opacity: 0.7;
    cursor: pointer;
}

.community-topic-comment-section {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: #1c1c1cde;
    margin: 10px 0;
    border-radius: 10px;
}

.quote-owner-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 6px;
}

.quote-owner-grid img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 50%;
}

.quote-owner-info p {
    margin: 0;
    font-size: 12px;
}

.quote-message-bubble p {
    margin: 0;
}

.quote-section-grid {
    padding: 10px;
    background-color: #2461655c;
    border-bottom-right-radius: 10px;
    border-bottom-left-radius: 10px;
    border-top-right-radius: 10px;
    width: 100%;
}

.community-topic-quote-section {
    display: flex;
    gap: 15px;
    padding: 10px;
    margin-bottom: 10px;
    background-color: rgba(0, 0, 0, 0.7);
    border-radius: 10px;
    opacity: 0.7;
}

.comment-section-parent-grid {
    display: block;
    position: relative;
    width: 100%;
    box-sizing: content-box;
}

.comment-section-parent-grid p {
    margin: 0;
}

.comment-date-p {
    font-size: 12px;
    font-weight: normal;
}

.comment-section-quote-icon {
    width: 30px;
    height: 30px;
    position: absolute;
    left: 5px;
    top: 5px;
    transform: rotate(-30deg);
    z-index: 99;
}

.custom-textarea:empty:before {
    content: attr(placeholder);
    color: #666;
    pointer-events: none;
}


/* Stil beim Hovern über das Textarea */
.custom-textarea:hover {
    background-color: #333 !important;
}

.comment-upload-content {
    display: flex;
    gap: 20px;
    justify-content: flex-end;
    align-items: flex-end;
}

.added-comment-docs-grid,
.added-comment-images-grid,
.added-comment-archives-grid,
.added-topic-docs-grid,
.added-topic-images-grid,
.added-topic-archives-grid {
    display: flex;
    gap: 20px;
}

.added-comment-images-grid img,
.added-topic-images-grid img {
    object-fit: cover;
}

.added-comment-docs-grid img,
.added-comment-images-grid img,
.added-comment-archives-grid img,
.added-topic-docs-grid img,
.added-topic-images-grid img,
.added-topic-archives-grid img {
    width: auto;
    height: 60px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.added-comment-docs-grid img:hover,
.added-comment-images-grid img:hover,
.added-comment-archives-grid img:hover,
.added-topic-docs-grid img:hover,
.added-topic-images-grid img:hover,
.added-topic-archives-grid img:hover {
    opacity: 0.7;
    cursor: pointer;
    transform: scale(1.05);
    filter: saturate(1.05);
}

.added-topic-images-grid {
    margin-bottom: 20px;
}

.added-topic-docs-grid {
    margin-bottom: 20px;
}

.quote-tag {
    color: #4c847c;
    font-weight: bold;
    user-select: none;
    padding: 5px 10px;
    background-color: #2461655c;
    border-radius: 5px;
    margin-bottom: 5px;
    width: fit-content;
}

#commentTopic {
    position: relative;
    min-height: 80px;
    background: #1c1c1c;
    color: white;
    padding: 10px;
}

#commentTopic.comment-locked {
    pointer-events: none;
    opacity: 0.5;
}

.comment-login-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #aaa;
    background: rgba(0, 0, 0, 0.6);
    text-align: center;
    pointer-events: none;
}

.attached-file-entry p {
    font-size: 12px;
    width: max-content;
}

.attached-file-entry span {
    color: rgb(119, 0, 0);
}

.attached-file-entry span:hover {
    color: red;
    cursor: pointer;
}

.attached-file-entry {
    align-items: center;
}

#attachedFiles {
    display: flex;
    gap: 5px;
    max-width: 35vw;
    overflow: auto;
}

.create-topic-input {
    padding: 8px;
    border-radius: 4px;
    background-color: #1c1c1c;
    color: #fff;
    transition: opacity 0.3s ease;
    border: none;
    outline: none;
    box-shadow: none;
    width: 100%;
    box-sizing: border-box;
}

.create-topic-input:hover {
    background-color: #333 !important;
}

.create-topic-input {
    margin: 10px 0;
}

.create-custom-textarea {
    margin-bottom: 10px;
    min-height: unset;
}

.desc-textarea {
    height: 60px;
}

.main-textarea {
    height: 100px;
    margin-top: 0;
}

.allowed-images,
.allowed-docs,
.allowed-archives {
    display: flex;
    gap: 10px;
    align-items: center;
    text-transform: none;
}

.allowed-images {
    margin-bottom: 5px;
}

.allowed-images p,
.allowed-docs p,
.allowed-archives p {
    margin: 0;
}

.allowed-archives {
    margin-top: 5px;
}

.file-ext {
    padding: 2px 5px;
    background-color: #353535;
    border-radius: 5px;
}

.create-topic-page {
    padding: 10px;
    background-color: #121212;
    border-radius: 5px;
}

.page-header h1 {
    margin-top: 5px;
}

.page-header h2,
.community-recently h2 {
    margin-top: 0;
}

.create-topic-intro p {
    text-transform: none;
}

.header-div {
    display: flex;
    gap: 10px;
    width: 100%;
}

.group-div-1 {
    width: 40%;
}

.group-div-2 {
    width: 60%;
}

.attachments-container {
    display: flex;
    gap: 10px;
    align-items: center;
}

#uploadTopicFiles {
    width: 120px;
    height: 30px;
    border: black solid 1px;
    border-radius: 5px;
}

#uploadTopicFiles:hover {
    opacity: 0.7;
    cursor: pointer;
}

#createTopicSubmitBtn {
    width: 150px;
    height: 30px;
    border: black solid 1px;
    border-radius: 5px;
    background-color: #5a8d84;
    color: white;
    display: block;
    margin-left: auto;
    margin-top: 10px;
}

#createTopicSubmitBtn:hover {
    opacity: 0.7;
    cursor: pointer;
}

.added-files-grid {
    display: block;
    background-color: #1b1b19;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

.doc-entry span {
    color: white;
    font-weight: lighter;
    font-size: 12px;
}

.doc-entry {
    display: grid;
    place-items: center;
    gap: 5px;
}

.doc-entry-comment-section img {
    height: 40px;
}

.topic-stats {
    font-size: 0.8rem;
    display: flex;
    gap: 5px;
    align-items: center;
}

.value {
    margin-top: -1px;
}

.topic-stat {
    display: flex;
    gap: 2px;
    align-items: center;
}

.doc-entry img,
.archive-entry img {
    height: 40px;
}

.allowed-formats {
    font-size: small;
}

.header-bar-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-formating-info-grid {
    display: flex;
    gap: 10px;
    font-size: 13px;
}

.text-formating-info-grid p {
    text-transform: none;
}

.text-formating-info-grid p span {
    padding: 2px;
    background: #ffffffb5;
    border-radius: 5px;
    color: black;
}

#attachedTopicFiles {
    height: 40px !important;
    display: flex;
    gap: 20px;
    overflow-x: scroll;
    overflow-y: hidden;
    padding-bottom: 10px;
}

.topic-creater-attached-file-entry span {
    font-size: 13px;
}

.topic-creater-attached-file-entry {
    height: min-content;
}

#topicPostContentLoader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #11111146;
    /* oder dein Dark Theme Background */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.topic-post-collab-logo {
    width: 120px;
    opacity: 0;
    animation: logoFlip 2s ease forwards;
}

.community-icon {
    width: 15px;
    height: auto;
}

@keyframes logoFlip {
    0% {
        opacity: 0;
        transform: rotateY(0deg) scale(0.8);
    }

    20% {
        opacity: 1;
    }

    50% {
        transform: rotateY(180deg) scale(1);
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        transform: rotateY(360deg) scale(0.8);
    }
}

.edit-topic-modal-bg {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    z-index: 9000;
}

.edit-topic-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #121212;
    border-radius: 10px;
    padding: 20px;
    width: 60%;
    color: #fff;
    z-index: 9010;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    display: none;
}

.edit-custom-textarea {
    margin-top: 10px;
    width: 100%;
    padding: 10px;
    border-radius: 4px;
    background-color: #1c1c1c;
    resize: vertical;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
    border: none;
    outline: none;
    overflow-y: auto;
    white-space: pre-wrap;
    word-wrap: break-word;
    font-size: 16px;
    text-transform: none;
}

.edit-custom-textarea:empty:before {
    content: attr(placeholder);
    color: #666;
    pointer-events: none;
}


/* Stil beim Hovern über das Textarea */
.edit-custom-textarea:hover {
    background-color: #333 !important;
}

#editTopicMainText {
    height: 250px;
}

#editTopicDescription {
    height: 60px;
}

.modal-inner-div {
    display: flex;
    gap: 20px;
}

.modal-main-flexer {
    width: 75%;
}

.modal-attatchment-flexer {
    width: 25%;
}

#cancelEditTopicBtn {
    padding: 5px;
    width: 150px;
    background-color: rgb(100, 0, 0);
    border: none;
    border-radius: 5px;
    height: 28px;
    color: white;
}

#saveEditTopicBtn {
    padding: 5px;
    width: 15vw;
    background-color: white;
    border: none;
    border-radius: 5px;
    height: 28px;
}

#cancelEditTopicBtn:hover,
#saveEditTopicBtn:hover {
    opacity: 0.7;
    cursor: pointer;
}

.page-footer {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.edit-topic-input::-webkit-scrollbar {
    width: 6px;
}

.edit-topic-input::-webkit-scrollbar-track {
    background: transparent;
}

.edit-topic-input::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

.edit-custom-textarea::-webkit-scrollbar {
    width: 6px;
}

.edit-custom-textarea::-webkit-scrollbar-track {
    background: transparent;
}

.edit-custom-textarea::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

#uploadEditTopicFiles {
    padding: 5px;
    background-color: white;
    border: none;
    border-radius: 5px;
    height: 30px;
    width: 100%;
}

#uploadEditTopicFiles:hover {
    opacity: 0.7 !important;
    cursor: pointer;
}

#attachedEditTopicFiles {
    font-size: 0.8rem;
    display: flex;
    gap: 5px;
    padding: 8px;
    border-radius: 4px;
    background-color: #1c1c1c;
    color: #fff;
    transition: opacity 0.3s ease;
    border: none;
    outline: none;
    box-shadow: none;
    width: 15vw;
    box-sizing: border-box;
    margin: 5px 0;
    overflow-x: scroll;
    overflow-y: hidden;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.5) transparent;
}

.delete-new:hover {
    opacity: 0.7;
    cursor: pointer;
}

#attachedEditTopicFiles::-webkit-scrollbar {
    width: 6px;
}

#attachedEditTopicFiles::-webkit-scrollbar-track {
    background: transparent;
}

#attachedEditTopicFiles::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 10px;
}

#attatchedFilesGrid {
    background-color: #1c1c1c;
    height: 340px;
    overflow: hidden;
    margin: 12px 0;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 5px;
    padding: 10px;
    align-content: start;
    justify-content: start;
}

.modal-attatchment-flexer p {
    margin: 0;
    font-style: italic;
    font-size: 12px;
    text-transform: none;
}

.edit-modal-file-entry img {
    height: 40px;
    width: 40px;
    border-radius: 4px;
    cursor: pointer;
    object-fit: cover;
}

.edit-modal-file-entry {
    display: flex;
    gap: 5px;
    height: min-content;
    padding: 5px;
    background-color: #121212;
    border-radius: 4px;
}

.edit-modal-file-entry span {
    height: min-content;
}

.edit-modal-file-entry span:hover {
    opacity: 0.7;
}

.edit-modal-file-entry div p {
    text-transform: none;
}

.upload-limit-container {
    margin-top: 8px;
    font-size: 13px;
    color: #fff;
}

.upload-limit-bar {
    position: relative;
    width: 100%;
    height: 30px;
    background: #2a2a2a;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 4px 5px rgb(0 0 0 / 50%);
}

#uploadLimitProgress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: #246165b3;
    transition: width 0.3s ease;
}

#uploadLimitText {
    position: absolute;
    top: 50%;
    right: -10%;
    transform: translate(-50%, -50%);
    font-size: 13px;
    font-weight: bold;
    pointer-events: none;
}

.header-div-create-topic {
    margin-top: 0 !important;
}

.archive-entry {
    display: grid;
    place-items: center;
    gap: 5px;
}

.doc-and-archive-img {
    padding: 10px;
    background-color: #101010;
    border-radius: 5px;
}

.topic-creater-remove-btn {
    color: red;
}

.topic-creater-remove-btn:hover {
    opacity: 0.7;
}

.delete-comment-icon {
    width: 22px !important;
    height: 22px !important;
    margin-top: 10px;
    opacity: 0.7;
    transform: scale(0.9);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.delete-comment-icon:hover {
    opacity: 1;
    transform: scale(1);
    cursor: pointer;
}

mark {
    padding: 1px;
    border-radius: 5px;
    background-color: #62adad;
}

.activegig-pagination {
    justify-content: end !important;
}

.activegig-pagination button {
    border: none;
    background: transparent;
    color: white;
}

.activegig-pagination-btn {
    font-weight: bold;
    background: rgb(41, 41, 41);
    padding: 5px 10px;
    border-radius: 5px;
}

.activegig-pagination button:hover {
    opacity: 0.7;
    cursor: pointer;
}

#topicViewsCount,
#topicLikesCount,
#topicCommentsCount {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.6);

    display: flex;
    align-items: center;
    justify-content: center;

    z-index: 9999;
}

.status-modal-box {
    background: #1c1c1c;
    padding: 20px;
    border-radius: 10px;

    color: #fff;
    text-align: center;

    min-width: 320px;
}

.status-modal-message-error {
    color: #ff4c4c;
    margin-bottom: 15px;
}

.status-modal-message-success {
    color: #4cff6a;
    margin-bottom: 15px;
}

.status-modal-message {
    margin-bottom: 15px;
}

.status-modal-code {
    color: #aaa;
    font-size: 12px;
    margin-bottom: 10px;
}

.status-modal-btn {
    padding: 5px 15px;
    background: #2a2a2a;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.status-modal-progress-wrapper {
    width: 100%;
    background: #333;
    border-radius: 5px;
    overflow: hidden;
    height: 16px;
}

.status-modal-progress-bar {
    width: 0%;
    height: 100%;
    background: #4a90e2;
    transition: width 0.3s;
}

.status-modal-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.status-modal-btn-secondary {
    padding: 5px 15px;
    background: #444;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}

.status-modal-btn:hover,
.status-modal-btn-secondary:hover {
    opacity: 0.7;
    cursor: pointer;
}

.delete-modal-box {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 4px 10px rgb(255 0 0 / 25%);
}

#statusYesBtn:hover {
    background: #880000 !important;
    opacity: 0.7;
    cursor: pointer;
}

#statusNoBtn:hover {
    opacity: 0.7;
    cursor: pointer;
}

#copyLinkBtn {
    width: 15px;
    height: 15px;
    cursor: pointer;
    filter: invert(1);
}

#copyLinkBtn:hover {
    opacity: 0.7;
    cursor: pointer;
}

#copyLinkBtnDiv {
    padding: 5px;
    background-color: #2a2a2a;
    border-radius: 5px;
}

#shareLinkInput {
    border: none;
    outline: none;
    box-shadow: none;
}

#shareLinkInput:focus {
    outline: none;
    box-shadow: none;
    border: none;
}

#shareLinkInput:focus-visible {
    outline: none;
}