/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #131313;
    color: #fff;
    line-height: 1.6;
}

/* Container */
#container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #131313;
    padding-bottom: 10px; /* note - footer text height from edge + = higher */
}

/* Header Styles */
#rotmghub-header {
    background-color: #131313;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.topBarMenu {
    background-color: #131313;
    padding: 15px 0;
    width: 100%;
}

/* topBar wrapper*/
.wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    position: relative;
    left: 0;
    transform: none;
    margin: 0 auto;
}

.logo a {
    text-decoration: none;
    color: inherit;
}

.logo h1 {
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
}

.nav {
    display: flex;
    gap: 15px;
    margin-left: auto;
    align-items: center;
    height: 100%;
}

.btn {
    padding: 10px 20px;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.btn-outline {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
}

.btn-primary {
    background: #6674DE;
    color: #fff;
}

.btn:hover {
    opacity: 0.9;
    text-decoration: none;
}

.btn-icon {
    font-size: 16px;
}

/* Banner Styles */
.midBar {
    background: linear-gradient(rgba(22, 22, 22, 0.9), rgba(22, 22, 22, 0.9)), url('images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 40px 0;
    text-align: center;
    position: relative;
}

.midBar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/banner-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

.banner-content {
    max-width: 1600px;
    margin: 0 auto;
    color: #fff;
    position: relative;
    z-index: 2;
    font-family: 'Inter', sans-serif;
    line-height: 1.2;
    padding: 0 20px;
}

.banner-content h1 {
    font-size: 56px;
    margin-bottom: 0px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: #fff;
}

.banner-content h2 {
    font-size: 25px;
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: #fff;
}

.banner-content p {
    font-size: 24px;
    opacity: 0.9;
    font-family: 'Inter', sans-serif;
    color: #fff;
}

/* Content Area */
#content {
    max-width: 1200px;
    width: 100%;
    margin: 20px auto;
    padding: 40px 20px;
    background-color: #1a1a1a;
    flex: 1;
    min-height: calc(100vh - 280px);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
}

/* Home Page Layout */
.homeLayout {
    display: flex;
    flex-direction: row;
    gap: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.homeMainContent {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

/* Forum Section */
.forumSection {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.chat-box {
    background: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 20px;
    overflow: hidden;
    width: 100%;
}

.chat-header {
    background: #2156c9;
    color: white;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 42px;
}

.chat-header h3 {
    margin: 0;
    font-size: 18px;
    font-family: 'Inter', sans-serif;
}

.help-button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.chat-container {
    padding: 15px;
}

.chat-messages {
    height: 340px;
    overflow-y: auto;
    margin-bottom: 15px;
    padding-right: 10px;
    scroll-behavior: smooth;
}

.chat-messages::-webkit-scrollbar {
    width: 8px;
}

.chat-messages::-webkit-scrollbar-track {
    background: #2a2a2a;
    border-radius: 4px;
}

.chat-messages::-webkit-scrollbar-thumb {
    background: #2156c9;
    border-radius: 4px;
}

.message {
    padding: 8px 12px;
    background: #292929;
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background-color 0.2s ease;
    border-left: 3px solid transparent;
}

.message:hover {
    background: #262626;
    border-left: 3px solid #2156c9;
}

.mention-button {
    background: none;
    border: none;
    color: #ffffffd9;
    cursor: pointer;
    font-size: 14px;
    padding: 0;
    font-family: 'Inter', sans-serif;
    opacity: 0.7;
    transition: opacity 0.2s ease;
}

.mention-button:hover {
    opacity: 1;
}

.message.self-mention {
    background: rgba(255, 215, 0, 0.1);
}

.message.self-mention:hover {
    background: rgba(255, 215, 0, 0.15);
    border-left: 3px solid #2156c9;
}

.message:nth-child(even) {
    background: #2d2d2d;
}

.message:nth-child(even):hover {
    background: #262626;
    border-left: 3px solid #2156c9;
}

.message:nth-child(even).self-mention {
    background: rgba(255, 215, 0, 0.1);
}

.message:nth-child(even).self-mention:hover {
    background: rgba(255, 215, 0, 0.15);
    border-left: 3px solid #2156c9;
}

.message .user-link {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.message .user-link:hover {
    text-decoration: none;
}

.message .user-link:hover .username {
    text-decoration: underline;
}

.message .avatar {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    transition: none;
}

.message .username.admin {
    color: #ff4444;
}

.message .username.rotmghubstaff {
    color: #ffd700;
}

.message .username {
    color: #b8b7b7;
    font-weight: 600;
    white-space: nowrap;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.message .text {
    color: #ffffff;
    flex: 1;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
}

.message .text .mention {
    background: rgba(88, 101, 242, 0.298);
    padding: 2px 6px;
    border-radius: 4px;
    color: #ffffff;
}

.message .time {
    color: #808080;
    font-size: 12px;
    white-space: nowrap;
    margin-left: 8px;
    font-family: 'Inter', sans-serif;
}

.delete-message {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.2s;
    padding: 0 8px;
    font-family: 'Inter', sans-serif;
}

.message:hover .delete-message {
    opacity: 1;
}

.chat-input-container {
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid #3a3a3a;
    border-radius: 6px;
    background: #2a2a2a;
    color: white;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.chat-input:focus {
    outline: none;
    border-color: #2156c9;
}

.chat-send-btn {
    padding: 10px 20px;
    background: #2156c9;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s;
    font-family: 'Inter', sans-serif;
}

.chat-send-btn:hover {
    background: #1a45a0;
}

.chat-send-btn:disabled {
    background: #3a3a3a;
    cursor: not-allowed;
}

.forum-box {
    background: #131313;
    border-radius: 4px;
    padding: 20px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    width: 138%;
    min-height: 1000px;
    color: #fff;
}

.tabselection {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    padding-bottom: 10px;
    justify-content: center;
    width: 100%;
}

.tab-services, .tab-marketplace {
    padding: 10px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
    max-width: 600px;
    background: #171717;
}

.tab-marketplace {
    border-radius: 20px 0 0 20px;
}

.tab-services {
    border-radius: 0 20px 20px 0;
}

.tab-services:hover, .tab-marketplace:hover {
    background-color: #2a2a2a;
}

.tab-services.active, .tab-marketplace.active {
    background-color: #2156c9;
}

.tab-services h3, .tab-marketplace h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.content-placeholder {
    color: #808080;
    text-align: center;
    padding: 20px;
    font-family: 'Inter', sans-serif;
}

/* Home Page Sidebar */
.homeSideBar {
    width: 300px;
    height: calc(100% - 300px);
    background: #1a1a1a;
    border-radius: 8px;
    padding: 20px;
    box-sizing: border-box;
    overflow-y: auto;
    flex-shrink: 0;
}

.homeSideBar .component {
    background: #1e1e1e;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.homeSideBar .componentTitle {
    background: #6674DE;
    color: #fff;
    padding: 12px 20px;
    height: 42px;
    display: flex;
    align-items: center;
}

.homeSideBar .componentTitle h3 {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.homeSideBar .componentContent {
    padding: 5px 20px;
    color: #fff;
    min-height: 120px;
    font-family: 'Inter', sans-serif;
}

.homeSideBar .componentContent p {
    margin: 0;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.homeSideBar .componentContent .variable {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 0;
    color: #FFFFFFB3;
    font-size: 14px;
    border-bottom: 1px solid #2a2a2a;
}

.homeSideBar .componentContent .variable:last-child {
    border-bottom: none;
}

.homeSideBar .componentContent .variable i {
    width: 16px;
    color: #FFFFFFB3;
}

.homeSideBar .componentContent .variable .val {
    margin-left: auto;
}

.homeSideBar .componentContent .variable .val a {
    text-decoration: none;
}

/* Footer */
#footer,
.footerContent,
.footer-section,
#footerEnd {
    display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .homeLayout {
        flex-direction: column;
        padding: 0 10px;
    }

    .homeMainContent {
        width: 100%;
    }

    .homeSideBar {
        width: 100%;
        margin-top: 20px;
        height: auto;
    }

    .forum-box {
        width: 100%;
    }

    .wrapper {
        flex-direction: column;
        gap: 15px;
    }

    .logo {
        margin-bottom: 10px;
    }

    .logo h1 {
        font-size: 28px;
    }

    .nav {
        width: 100%;
        justify-content: center;
        margin-left: 0;
        flex-wrap: wrap;
        gap: 10px;
    }

    .btn {
        padding: 8px 15px;
        font-size: 14px;
    }

    .username-trigger {
        padding: 8px 12px;
        font-size: 14px;
    }

    .header-avatar {
        width: 28px;
        height: 28px;
    }

    .notification-center,
    .message-center {
        margin-right: 10px;
    }

    .notification-icon,
    .message-icon {
        font-size: 16px;
        padding: 8px;
    }

    .dropdown-content {
        width: 100%;
        left: 0;
        right: 0;
    }

    .notifCenter,
    .messageCenter {
        width: 100%;
        left: 0;
        right: 0;
    }
}

@media (min-width: 769px) {
    .responsiveshow {
        display: none;
    }
}

/* User Dropdown Styles */
.user-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
}

.username-trigger {
    color: #fff;
    cursor: pointer;
    padding: 10px 15px;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    height: 100%;
    font-family: 'Inter', sans-serif;
    background: #1e1e1e;
    border-radius: 12px;
}

.header-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.username-trigger:hover {
    color: #2156c9;
}

.dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 200px;
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.user-dropdown:hover .dropdown-content {
    display: block;
}

.drop-menu-inner {
    background-color: #0014ff;
    padding: 10px;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
}

.drop-menu-icon {
    background: rgba(0, 0, 0, 0.1);
    padding: 5px;
    border-radius: 3px;
    color: #fff;
    font-size: 14px;
}

.drop-menu-links {
    padding: 6px;
}

.dropborder {
    display: block;
    padding: 8px 12px;
    color: #fff;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.dropborder:hover {
    background-color: #2a2a2a;
}

.dropborder i {
    width: 25px;
    color: #2156c9;
}

.logout-link {
    text-decoration: none;
}

.logoutmenu {
    background-color: #1c1c1c;
    padding: 10px;
    border-bottom-right-radius: 8px;
    border-bottom-left-radius: 8px;
    text-align: center;
    color: #8d8d8d;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.logoutmenu:hover {
    color: #2156c9;
}

/* Notification and Message Center Styles */
.notification-center,
.message-center {
    position: relative;
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    height: 100%;
}

.notification-icon,
.message-icon {
    color: #fff;
    font-size: 18px;
    cursor: pointer;
    padding: 10px;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.notification-icon:hover,
.message-icon:hover {
    color: #2156c9;
}

.notifCenter,
.messageCenter {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    min-width: 300px;
    background: #1e1e1e;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    margin-top: 5px;
}

.notification-center:hover .notifCenter,
.message-center:hover .messageCenter {
    display: block;
}

.ncTitle,
.mcTitle {
    display: block;
    padding: 12px 15px;
    background: #2156c9;
    color: #fff;
    font-weight: 600;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    font-family: 'Inter', sans-serif;
}

.ncTitle a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: normal;
    font-family: 'Inter', sans-serif;
}

.ncTitle a:hover {
    text-decoration: underline;
}

.notifCenter .content,
.messageCenter .content {
    padding: 10px;
}

.notifCenter .list,
.messageCenter .list {
    min-height: 100px;
    max-height: 300px;
    overflow-y: auto;
}

.notifCenter .extra,
.messageCenter .extra {
    padding: 10px 0;
    border-top: 1px solid #2a2a2a;
    margin-top: 10px;
}

.notifCenter .extra a,
.messageCenter .extra a {
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    display: inline-block;
    padding: 5px 10px;
    transition: color 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.notifCenter .extra a:hover,
.messageCenter .extra a:hover {
    color: #2156c9;
}

.notifCenter .extra a[style*="float: right"] {
    float: right;
}

/* Profile Page Styles */
.mainWrapper {
    display: grid;
    grid-template-columns: 280px 1fr 280px;
    gap: 20px;
    width: 100%;
    padding: 0 20px;
}

.profileSidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profileContent {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profileActivitySidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.profileComponent {
    background: #1e1e1e;
    border-radius: 4px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.profileComponentTitle {
    background: #6674DE;
    color: #fff;
    padding: 12px 20px;
    height: 42px;
    display: flex;
    align-items: center;
}

.profileComponentTitle h3 {
    font-size: 22px;
    font-weight: 600;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.profileComponentContent {
    padding: 20px;
    color: #fff;
    min-height: 120px;
    font-family: 'Inter', sans-serif;
}

.profileComponentContent p {
    margin: 0;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.profileDetail {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    color: #fff;
    border-bottom: 1px solid #2a2a2a;
    font-family: 'Inter', sans-serif;
}

.profileDetail:last-child {
    border-bottom: none;
}

.profileDetail i {
    color: #2156c9;
    width: 20px;
    text-align: center;
}

.profileDetail .label {
    color: #808080;
}

.profileDetail .value {
    margin-left: auto;
    color: #fff;
}

.userRole {
    color: #b8b7b7;
    font-size: 16px;
    margin-top: 2px;
    margin-bottom: 15px;
    font-family: 'Inter', sans-serif;
}

.userRole.admin {
    color: #ff4444;
}

.userRole.staff {
    color: #ffd700;
}

.badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.badge {
    background: #2a2a2a;
    padding: 8px 12px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.badge i {
    color: #2156c9;
}

.activity {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.activityItem {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #2a2a2a;
    border-radius: 4px;
}

.activityItem i {
    color: #2156c9;
    font-size: 20px;
}

.activityContent {
    flex: 1;
}

.activityTime {
    display: block;
    font-size: 12px;
    color: #808080;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
}

.activityContent p {
    margin: 0;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.statItem {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #2a2a2a;
}

.statItem:last-child {
    border-bottom: none;
}

.statLabel {
    color: #808080;
    font-family: 'Inter', sans-serif;
}

.statValue {
    color: #fff;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
}

.visitors {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.visitor {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #2a2a2a;
    border-radius: 4px;
}

.visitor img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
}

.visitor span {
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.trust {
    background: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 1px;
    display: flex;
    gap: 10px;
}

.trust .rep,
.trust .like {
    flex: 1;
    text-align: center;
    padding: 20px;
    background: #2a2a2a;
    border-radius: 8px;
}

.trust .value {
    display: block;
    font-size: 24px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
    font-family: 'Inter', sans-serif;
}

.trust .text {
    display: block;
    font-size: 13px;
    color: #808080;
    font-family: 'Inter', sans-serif;
}

.status {
    background: #2a2a2a;
    border-radius: 8px;
    margin-bottom: 0px;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.status .title {
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status .title i {
    color: #2156c9;
}

.status .lastSeen {
    color: #fff;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    margin-left: auto;
}

.status .lastSeen i {
    color: #2156c9;
    margin-right: 8px;
}

.statistics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.statistics-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.no-visitors {
    color: #808080;
    text-align: center;
    padding: 10px;
    font-family: 'Inter', sans-serif;
}

@media (max-width: 1200px) {
    .mainWrapper {
        grid-template-columns: 280px 1fr;
        padding: 0 15px;
    }
    
    .profileActivitySidebar {
        display: none;
    }
}

@media (max-width: 768px) {
    .mainWrapper {
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    
    .profileSidebar {
        display: flex;
        flex-direction: column;
        gap: 15px;
        margin-top: 20px;
    }
    
    .profileCover {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }
    
    .profileAvatar {
        width: 100px;
        height: 100px;
        margin: 0 auto;
    }
    
    .profileInfo {
        width: 100%;
        text-align: center;
    }
    
    .profileStats {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .profileStats .stat {
        font-size: 13px;
    }
    
    .username {
        font-size: 28px;
        text-align: center;
    }
    
    .userRole {
        text-align: center;
        margin-bottom: 10px;
    }
    
    .profileComponent {
        margin-bottom: 15px;
        width: 100%;
    }
    
    .profileComponentTitle {
        padding: 10px 15px;
    }
    
    .profileComponentTitle h3 {
        font-size: 18px;
    }
    
    .profileComponentContent {
        padding: 15px;
    }
    
    .profileDetail {
        padding: 8px 0;
        font-size: 14px;
    }
    
    .profileDetail .label {
        font-size: 13px;
    }
    
    .profileDetail .value {
        font-size: 13px;
    }
    
    .badges {
        justify-content: center;
        gap: 8px;
    }
    
    .badge {
        padding: 6px 10px;
        font-size: 13px;
    }
    
    .activityItem {
        padding: 12px;
    }
    
    .statistics-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .visitors {
        gap: 8px;
    }
    
    .visitor {
        padding: 6px;
    }
    
    .visitor img {
        width: 28px;
        height: 28px;
    }
    
    .visitor span {
        font-size: 13px;
    }
    
    .no-visitors {
        font-size: 13px;
        padding: 8px;
    }
}

.breadcrumb {
    background: #1a1a1a;
    padding: 15px 20px;
    border-radius: 8px 8px 0 0;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.breadcrumb a {
    color: #fff;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
}

.breadcrumb a:hover {
    color: #2156c9;
}

.breadcrumb i {
    margin: 0 5px;
    font-size: 12px;
}

.breadcrumb span {
    color: rgba(255, 255, 255, 0.8);
    font-family: 'Inter', sans-serif;
}

/* Update profile elements to use Inter */
.profileInfo h1,
.profileStats .stat,
.profileDetail,
.badge,
.activityContent p,
.statLabel,
.statValue,
.visitor span,
.componentTitle h3 {
    font-family: 'Inter', sans-serif;
}

.username {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    display: block;
    margin: 0;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

/* Profile Header Styles */
.profileHeader {
    width: 100%;
    margin-bottom: 20px;
}

.profileCover {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    position: relative;
}

.profileAvatar {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
}

.profileAvatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2a2a2a;
}

.profileInfo {
    flex: 1;
}

.profileStats {
    display: flex;
    gap: 20px;
    margin-top: 10px;
}

.profileStats .stat {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #808080;
    font-size: 14px;
}

.profileStats .stat i {
    color: #2156c9;
}

.prices {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    gap: 10px;
}

.prices li {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 0;
    flex: 1;
    text-align: center;
}

.prices h4 {
    margin: 0;
    font-size: 14px;
    color: #FFFFFFB3;
    margin-bottom: 5px;
}

.prices .icon {
    margin: 5px 0;
}

.prices span {
    color: #FFFFFFB3;
    font-size: 12px;
    margin-top: 5px;
}

/* Marketplace Tab Sections */
.mp-tab-section1,
.mp-tab-section2,
.mp-tab-section3,
.mp-tab-section4 {
    background: #171717;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mp-group1, 
.mp-group2, 
.mp-group3 {
    width: 100%;
    min-height: 110px;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Title styles */
.mp-title {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    width: 100%;
}

.mp-title h3 {
    color: #e9e9e9;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Latest post styles */
.mp-latest-post {
    width: 100%;
    height: 40px;
    position: relative;
    margin-top: 10px;
    display: flex;
    justify-content: center;
}

.mp-latest-post p {
    font-size: 14px;
    color: rgb(137,137,137);
    font-family: 'Inter', sans-serif;
    margin: 0;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Clock icon styles */
.mp-latest-post p i {
    margin: -1px 7px 0 7px;
    color: rgb(137,137,137);
    font-size: 14px;
}

/* Title icon styles */
.mp-title h3 i {
    color: #2156c9;
    margin-right: 10px;
}

/* Media Queries for Responsive Design */
@media screen and (min-width: 768px) {
    .mp-tab-section1,
    .mp-tab-section2,
    .mp-tab-section3,
    .mp-tab-section4 {
        flex-direction: row;
        flex-wrap: wrap;
        padding: 30px;
    }

    .mp-group1, 
    .mp-group2 {
        width: calc(50% - 10px);
    }

    .mp-group3 {
        width: 100%;
    }

    .mp-title h3 {
        font-size: 28px;
    }
}

@media screen and (max-width: 767px) {
    .mp-group1, 
    .mp-group2, 
    .mp-group3 {
        padding: 0 10px;
    }

    .mp-title h3 {
        font-size: 24px;
        text-align: center;
        justify-content: center;
    }

    .mp-latest-post {
        text-align: center;
    }

    .mp-latest-post p {
        font-size: 13px;
        justify-content: center;
    }
}

/* Forum Modal Styles */
.forum-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow-y: auto;
}

.forum-modal.active {
    display: block;
}

.forum-modal-content {
    background: #1a1a1a;
    margin: 50px auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    border-radius: 8px;
    position: relative;
}

.forum-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2a2a2a;
}

.forum-modal-header h2 {
    color: #fff;
    font-size: 24px;
    margin: 0;
    font-family: 'Inter', sans-serif;
}

.close-modal {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
}

.forum-posts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.forum-post {
    background: #2a2a2a;
    border-radius: 6px;
    padding: 15px;
    transition: background-color 0.2s ease;
    display: flex;
    gap: 15px;
    align-items: center;
}

.forum-post:hover {
    background: #333;
}

.forum-post-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.forum-post-content {
    flex: 1;
    min-width: 0;
    padding: 0 15px;
    position: relative;
}

.forum-post-header {
    display: flex;
    flex-direction: column;
    gap: 4px;
    width: 67%;
}

.forum-post-title-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    position: relative;
}

.forum-post-tag {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    font-family: 'Inter', sans-serif;
    display: inline-flex;
    align-items: center;
}

.forum-post-title {
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 14px;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    display: inline-block;
}

.forum-post-title:hover {
    color: #2156c9;
}

.forum-post-author {
    font-size: 13px;
    color: rgb(137, 137, 137);
    font-family: 'Inter', sans-serif;
    margin-top: 2px;
}

.forum-post-author span {
    color: #ffffff;
    background: url(https://i.imgur.com/hSQW3ZC.gif);
    text-shadow: 0px 4px 5px #000;
}

.forum-post-meta {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    color: #808080;
    font-size: 12px;
    white-space: nowrap;
}

.forum-post-meta .forum-post-views {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #E9E9E9;
    white-space: nowrap;
    min-width: 55px;
    justify-content: flex-end;
    margin-right: 20px;
}

.forum-post-meta .forum-post-views i {
    font-size: 12px;
    color: #E9E9E9;
}

.forum-post-meta .forum-post-views span {
    font-size: 12px;
    color: #E9E9E9;
}

.forum-post-meta .like-section {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #E9E9E9;
    white-space: nowrap;
    min-width: 1px;
    justify-content: flex-end;
    margin-right: 20px;
}

.forum-post-meta .like-button {
    background: none;
    border: none;
    color: #E9E9E9;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    pointer-events: none;
    cursor: default;
}

.forum-post-meta .like-button i {
    font-size: 12px;
    color: #E9E9E9;
}

.forum-post-meta .like-count {
    font-size: 12px;
    color: #E9E9E9;
}

.forum-post-replies {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #E9E9E9;
    white-space: nowrap;
    min-width: 80px;
    justify-content: flex-end;
    margin-right: 1px;
}

.forum-post-replies svg {
    width: 16px;
    height: 16px;
}

.forum-post-time {
    min-width: 120px;
    text-align: right;
    color: #E9E9E9;
    font-size: 14px;
    white-space: nowrap;
}

.post-time {
    color: #E9E9E9;
    font-size: 14px;
}

.create-post-btn {
    background: #2156c9;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s ease;
    margin-bottom: 20px;
}

.create-post-btn:hover {
    background: #1a45a0;
}

/* Forum Title Hover Effect */
.mp-title h3 {
    cursor: pointer;
    transition: color 0.2s ease;
}

.mp-title h3:hover {
    color: #2156c9;
}

/* Create Post Form Styles */
.create-post-form {
    display: none;
    background: #2a2a2a;
    padding: 20px;
    border-radius: 6px;
    margin-top: 20px;
}

.create-post-form.active {
    display: block;
}

.create-post-form input[type="text"],
.create-post-form textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.create-post-form input[type="text"]:focus,
.create-post-form textarea:focus {
    outline: none;
    border-color: #2156c9;
}

.create-post-form textarea {
    min-height: 200px;
    resize: vertical;
}

.form-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.cancel-post-btn {
    background: #3a3a3a;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.2s ease;
}

.cancel-post-btn:hover {
    background: #4a4a4a;
}

.submit-post-btn {
    background: #2156c9;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 500;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.2s ease;
}

.submit-post-btn:hover {
    background: #1a45a0;
}

.submit-post-btn:disabled {
    background: #3a3a3a;
    cursor: not-allowed;
}

.forum-post-tag.selling {
    background: linear-gradient(to bottom, #1a9cff, #006bb3);
}

.forum-post-tag.buying {
    background: linear-gradient(to bottom, #37ff1a, #38b300);
}

/* Post Modal Styles */
.post-content {
    padding: 20px;
    color: #fff;
}

.post-header {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 20px;
    width: 100%;
}

.post-title-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    position: relative;
}

.post-title {
    color: #fff;
    font-size: 24px;
    font-weight: 600;
    margin: 0;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    line-height: 1.3;
}

.post-author {
    color: #808080;
    font-size: 14px;
}

.post-body {
    background: #1a1a1a;
    border-radius: 4px;
    padding: 20px;
    margin-bottom: 20px;
    color: #fff;
    line-height: 1.6;
    word-wrap: break-word;
    word-break: break-word;
    overflow-wrap: break-word;
}

.post-meta {
    display: flex;
    justify-content: flex-end;
    color: #808080;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    align-items: center;
}

.like-section {
    display: flex;
    align-items: center;
    margin-right: 40px;
    gap: 5px;
}

.like-button {
    background: none;
    border: none;
    color: #72767d;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.like-button:hover {
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
}

.like-button.liked {
    color: #5865f2;
}

.like-button.liked:hover {
    color: #4752c4;
    background-color: rgba(88, 101, 242, 0.1);
}

.like-count {
    font-size: 0.9em;
    color: inherit;
}

.post-meta .like-button {
    display: inline-flex;
    align-items: center;
    gap: 0px;
    padding: 6px 12px;
    border-radius: 6px;
    background: #2a2a2a;
    color: #E9E9E9;
    border: 1px solid #3a3a3a;
    transition: all 0.2s ease;
    cursor: pointer;
}

.post-meta .like-button:hover {
    background: #333;
    border-color: #444;
}

.post-meta .like-button i {
    font-size: 14px;
    color: #2ecc71;
}

.post-meta .like-count {
    font-size: 12px;
    color: #E9E9E9;
    font-weight: 500;
}

.post-meta .like-section {
    display: flex;
    align-items: center;
    margin-right: 35px;
}

.like-button i {
    font-size: 12px;
    margin-right: 5px;
}

.like-count {
    font-size: 12px;
    color: #E9E9E9;
}

.post-tag {
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.post-tag.selling {
    background: linear-gradient(to bottom, #1a9cff, #006bb3);
}

.post-tag.buying {
    background: linear-gradient(to bottom, #37ff1a, #38b300);
}

/* Post Replies Styles */
.post-replies {
    margin-top: 30px;
    border-top: 1px solid #2a2a2a;
    padding-top: 20px;
}

.post-replies h4 {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.replies-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.reply {
    background: #2a2a2a;
    border-radius: 6px;
    padding: 15px;
    display: flex;
    gap: 15px;
    max-width: 100%;
    position: relative; /* Add this to position the delete button */
}

.reply-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.reply-content {
    flex: 1;
    min-width: 0; /* This ensures flex items can shrink below their minimum content size */
}

.reply-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.reply-author {
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.reply-time {
    color: #808080;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
}

.reply-text {
    color: #fff;
    font-size: 14px;
    line-height: 1.5;
    font-family: 'Inter', sans-serif;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.reply-form {
    margin-top: 20px;
    background: #1a1a1a;
    border-radius: 4px;
    padding: 15px;
}

.reply-form textarea {
    width: 100%;
    min-height: 100px;
    padding: 12px;
    margin: 10px 0;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    resize: vertical;
}

.reply-form textarea:focus {
    outline: none;
    border-color: #2156c9;
}

.reply-form .markdown-toolbar {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 4px 4px 0 0;
    flex-wrap: wrap;
}

.reply-form .markdown-btn {
    background: none;
    border: none;
    color: #808080;
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.reply-form .markdown-btn:hover {
    color: #fff;
    background: #2a2a2a;
}

.reply-form .toolbar-separator {
    color: #3a3a3a;
    margin: 0 2px;
}

.reply-form .markdown-preview {
    display: none;
    margin: 10px 0;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #fff;
}

.reply-form .markdown-preview.active {
    display: block;
}

.reply-form .content-char-counter {
    margin-left: auto;
    color: #808080;
    font-size: 12px;
}

.submit-reply-btn {
    background: #2156c9;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: background 0.2s ease;
}

.submit-reply-btn:hover {
    background: #1a45a0;
}

.login-to-reply {
    text-align: center;
    padding: 20px;
    background: #2a2a2a;
    border-radius: 6px;
    margin-top: 20px;
}

.login-to-reply p {
    color: #808080;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
}

.login-to-reply a {
    color: #2156c9;
    text-decoration: none;
    font-weight: 500;
}

.login-to-reply a:hover {
    text-decoration: underline;
}

/* Forum Pagination Styles */
.forum-pagination {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
    padding: 1rem;
    border-top: 1px solid #2a2a2a;
}

.prev-page-btn,
.next-page-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.prev-page-btn:hover:not(:disabled),
.next-page-btn:hover:not(:disabled) {
    background: #2156c9;
    border-color: #2156c9;
}

.prev-page-btn:disabled,
.next-page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.prev-page-btn i,
.next-page-btn i {
    font-size: 0.8rem;
}

.page-number {
    display: flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
}

/* Markdown Toolbar Styles */
.markdown-toolbar {
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 4px 4px 0 0;
    padding: 8px;
    margin-bottom: -1px;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    align-items: center;
}

.markdown-btn {
    background: none;
    border: none;
    color: #fff;
    padding: 4px 8px;
    cursor: pointer;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.markdown-btn:hover {
    background-color: #3a3a3a;
}

.toolbar-separator {
    color: #3a3a3a;
    margin: 0 4px;
}

/* Markdown Preview Styles */
.markdown-preview {
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 0 0 4px 4px;
    padding: 15px;
    margin-top: -1px;
    min-height: 100px;
    max-height: 300px;
    overflow-y: auto;
    display: none;
}

.markdown-preview.active {
    display: block;
}

/* Markdown Content Styles */
.markdown-content {
    line-height: 1.6;
    color: #dcddde;
    word-wrap: break-word;
}

.markdown-content .align-left {
    text-align: left;
}

.markdown-content .align-center {
    text-align: center;
}

.markdown-content .align-right {
    text-align: right;
}

.markdown-content ul,
.markdown-content ol {
    margin: 0.5em 0;
    padding-left: 0;
    list-style-position: outside;
}

.markdown-content ul {
    list-style-type: disc;
    padding-left: 1.5em;
}

.markdown-content ol {
    list-style-type: decimal;
    padding-left: 1.5em;
}

.markdown-content li {
    margin: 0;
    padding: 0;
    display: block;
    position: relative;
    left: 0;
}

.markdown-content h1,
.markdown-content h2,
.markdown-content h3 {
    margin: 1em 0 0.5em;
    font-weight: 600;
    line-height: 1.25;
    color: #fff;
}

.markdown-content p {
    margin: 0.5em 0;
}

.markdown-content .quote {
    margin: 0.5em 0;
    padding: 0.5em 0 0.5em 1em;
    border-left: 4px solid #4f545c;
    background: rgba(79, 84, 92, 0.16);
    color: #dcddde;
    font-size: 0.9em;
    line-height: 1.4;
}

.markdown-content code {
    font-family: 'Consolas', 'Andale Mono', monospace;
    background: rgba(79, 84, 92, 0.16);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    color: #dcddde;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.markdown-content pre {
    margin: 0.5em 0;
    padding: 0.5em;
    background: rgba(79, 84, 92, 0.16);
    border-radius: 4px;
    overflow-x: auto;
    max-width: 100%;
}

.markdown-content pre code {
    background: none;
    padding: 0;
    font-size: 0.9em;
    color: #dcddde;
}

.markdown-content img {
    max-width: 100%;
    height: auto;
    border-radius: 4px;
}

.markdown-content table {
    border-collapse: collapse;
    margin: 0.5em 0;
    width: 100%;
}

.markdown-content th,
.markdown-content td {
    padding: 0.5em;
    border: 1px solid #4f545c;
}

.markdown-content th {
    background: rgba(79, 84, 92, 0.16);
}

.markdown-content .spoiler {
    display: none;
}

/* Post Content Styles */
.forum-post-content .markdown-content {
    margin-top: 10px;
}

.post-body .markdown-content {
    margin-top: 15px;
}

.title-input-container {
    position: relative;
    margin-bottom: 15px;
}

.title-input-container input {
    width: 100%;
    padding: 12px;
    background: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.char-counter {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #808080;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
}

.content-char-counter {
    color: #808080;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    margin-left: auto;
    padding: 0 10px;
}

.forum-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 0 20px;
    gap: 20px;
}

.search-box {
    position: relative;
    flex: 1;
}

.search-box input {
    width: 100%;
    padding: 10px 40px 10px 15px;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    background: #1a1a1a;
    color: #fff;
    font-family: 'Inter', sans-serif;
}

.search-box i {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #808080;
}

.filter-controls {
    display: flex;
    gap: 10px;
}

.filter-controls select {
    padding: 10px 15px;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    background: #1a1a1a;
    color: #fff;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
}

.filter-controls select:hover {
    border-color: #4a4a4a;
}

.filter-controls select:focus {
    outline: none;
    border-color: #2156c9;
}

.post-actions {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.edit-post-btn,
.delete-post-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.edit-post-btn {
    background-color: #2c3e50;
    color: #fff;
}

.edit-post-btn:hover {
    background-color: #34495e;
}

.delete-post-btn {
    background-color: #c0392b;
    color: #fff;
}

.delete-post-btn:hover {
    background-color: #e74c3c;
}

.edit-post-form {
    display: none;
    margin-top: 20px;
    padding: 20px;
    background: #1a1a1a;
    border-radius: 8px;
}

.edit-post-form.active {
    display: block;
}

.edit-post-form textarea {
    width: 100%;
    min-height: 200px;
    padding: 12px;
    margin-bottom: 15px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    resize: vertical;
}

.edit-post-form textarea:focus {
    outline: none;
    border-color: #2156c9;
}

.edit-post-form .form-buttons {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.edit-post-form .cancel-edit-btn {
    padding: 8px 16px;
    background: #2c3e50;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.edit-post-form .cancel-edit-btn:hover {
    background: #34495e;
}

.edit-post-form .save-edit-btn {
    padding: 8px 16px;
    background: #2156c9;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.edit-post-form .save-edit-btn:hover {
    background: #1a45a0;
}

.delete-reply-btn {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #ff4444;
    cursor: pointer;
    font-size: 18px;
    padding: 0 8px;
    font-family: 'Inter', sans-serif;
    transition: color 0.2s;
}

.delete-reply-btn:hover {
    color: #ff6666;
}

/* Remove the old hover styles */
.reply:hover .delete-reply-btn {
    opacity: 1;
}

/* Custom Dialog Styles */
.custom-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
}

.custom-dialog-content {
    background: #1a1a1a;
    border-radius: 8px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: dialogFadeIn 0.2s ease-out;
}

@keyframes dialogFadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.custom-dialog-header {
    padding: 20px;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.custom-dialog-header h3 {
    margin: 0;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
}

.close-dialog-btn {
    background: none;
    border: none;
    color: #808080;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.close-dialog-btn:hover {
    color: #fff;
}

.custom-dialog-body {
    padding: 20px;
    color: #fff;
}

.custom-dialog-body p {
    margin: 0 0 10px 0;
    font-size: 14px;
    line-height: 1.5;
}

.warning-text {
    color: #ff4444 !important;
    font-size: 12px !important;
}

.custom-dialog-footer {
    padding: 20px;
    border-top: 1px solid #2a2a2a;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.cancel-delete-btn,
.confirm-delete-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.cancel-delete-btn {
    background: #2a2a2a;
    color: #fff;
}

.cancel-delete-btn:hover {
    background: #3a3a3a;
}

.confirm-delete-btn {
    background: #ff4444;
    color: #fff;
}

.confirm-delete-btn:hover {
    background: #ff6666;
}

/* Post Delete Dialog Styles */
.post-delete-dialog {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
}

.post-delete-dialog-content {
    background: #1a1a1a;
    border-radius: 12px;
    width: 90%;
    max-width: 450px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: postDialogSlideIn 0.3s ease-out;
}

@keyframes postDialogSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-delete-dialog-header {
    padding: 25px;
    border-bottom: 1px solid #2a2a2a;
    display: flex;
    align-items: center;
    gap: 15px;
}

.post-delete-dialog-header i {
    color: #ff4444;
    font-size: 24px;
}

.post-delete-dialog-header h3 {
    margin: 0;
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

.post-delete-dialog-body {
    padding: 25px;
    color: #fff;
}

.post-delete-dialog-body p {
    margin: 0 0 15px 0;
    font-size: 15px;
    line-height: 1.5;
    color: #e9e9e9;
}

.post-delete-warning {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: rgba(255, 68, 68, 0.1);
    border-radius: 6px;
    border: 1px solid rgba(255, 68, 68, 0.2);
}

.post-delete-warning i {
    color: #ff4444;
    font-size: 16px;
}

.post-delete-warning span {
    color: #ff4444;
    font-size: 13px;
    font-weight: 500;
}

.post-delete-dialog-footer {
    padding: 20px 25px;
    border-top: 1px solid #2a2a2a;
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.post-delete-cancel-btn,
.post-delete-confirm-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

.post-delete-cancel-btn {
    background: #2a2a2a;
    color: #fff;
}

.post-delete-cancel-btn:hover {
    background: #3a3a3a;
}

.post-delete-confirm-btn {
    background: #ff4444;
    color: #fff;
}

.post-delete-confirm-btn:hover {
    background: #ff6666;
}

.post-delete-cancel-btn i,
.post-delete-confirm-btn i {
    font-size: 14px;
}

.post-views {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #E9E9E9;
    font-size: 14px;
    margin-left: auto;
    padding-left: 15px;
}

.post-views i {
    font-size: 14px;
    color: #E9E9E9;
}

.post-views span {
    font-size: 14px;
    color: #E9E9E9;
}

/* Mobile Styles for Forum Posts */
@media screen and (max-width: 768px) {
    .forum-post-meta {
        display: none;
    }

    .forum-post-avatar {
        display: none;
    }

    .forum-post-content {
        padding-right: 0;
        padding-left: 0;
    }

    .forum-post-header {
        width: 100%;
    }

    .forum-post {
        padding: 12px;
    }
}

