@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,500;1,400&display=swap');

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

*::-webkit-scrollbar {
    width: 8px; /* Set the width of the scrollbar */
}

*::-webkit-scrollbar-track {
    background-color: transparent; /* Set the background color of the scrollbar track */
}

*::-webkit-scrollbar-thumb {
    background-color: #999; /* Set the color of the scrollbar thumb */
    border-radius: 4px; /* Add rounded corners to the scrollbar thumb */
}

html {
    font-family: 'Roboto', sans-serif;
    background-color: #020c0f;
    color: #cacaca;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}
/* .header{
    border-bottom: 10px solid #23436c;
} */

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 24px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
    height: 60px;
    background-color: #020b0e;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.navbar-search-bar-container {
    flex: 1;
    display: flex;
    justify-content: center;
    margin: 0 20px;
    position: relative;
}

.search-bar {
    display: flex;
    align-items: center;
    background-color: #acacac;
    border-radius: 22px;
    padding: 12px 20px;
    width: 100%;
    max-width: 600px;
    min-height: 42px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: relative;
}

.search-icon {
    margin-right: 16px;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
}

.search-input {
    border: none;
    background: transparent;
    outline: none;
    font-size: 16px;
    color: #333;
    width: 100%;
    font-family: 'Roboto', sans-serif;
}

.search-input::placeholder {
    color: #666;
    font-weight: 400;
}

.search-input:focus {
    color: #333;
}

.search-dropdown {
    position: absolute;
    top: 100%;
    left: -70px;
    background-color: #2d3748;
    width: calc(100% + 140px);
    height: calc(100vh - 250px);
    z-index: 1000;
    display: none;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    margin-top: 8px;
    color: white;
    padding: 0;
    overflow-y: auto;
}

.search-suggestions {
    padding: 4px 0;
}

.search-suggestion-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    gap: 8px;
}

.search-suggestion-item:hover {
    background-color: #4a5568;
}

.suggestion-icon {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

.suggestion-icon-number {
    width: 16px;
    height: 16px;
    background-color: #e53e3e;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

.suggestion-text {
    flex: 1;
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 400;
}

.suggestion-close {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    opacity: 0.6;
    cursor: pointer;
}

.suggestion-close:hover {
    opacity: 1;
}

.search-divider {
    height: 1px;
    background-color: #4a5568;
    margin: 4px 12px;
}

.search-lairs {
    padding: 4px 0;
}

.search-lairs-header {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-lair-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    gap: 8px;
}

.search-lair-item:hover {
    background-color: #4a5568;
}

.lair-icon-small {
    width: 20px;
    height: 20px;
    background-color: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.lair-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1px;
}

.lair-text {
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 400;
    line-height: 1.2;
}

.lair-members {
    font-size: 12px;
    color: #a0aec0;
    font-weight: 400;
}

.search-tools {
    padding: 4px 0;
}

.search-tools-header {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-tool-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    gap: 8px;
}

.search-tool-item:hover {
    background-color: #4a5568;
}

.tool-icon-small {
    width: 20px;
    height: 20px;
    background-color: #00d4aa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.tool-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1px;
}

.tool-text {
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 400;
    line-height: 1.2;
}

.tool-upvotes {
    font-size: 12px;
    color: #a0aec0;
    font-weight: 400;
}

.search-users {
    padding: 4px 0;
}

.search-users-header {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-user-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    gap: 8px;
}

.search-user-item:hover {
    background-color: #4a5568;
}

.user-icon-small {
    width: 20px;
    height: 20px;
    background-color: #9c27b0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.user-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1px;
}

.user-text {
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 400;
    line-height: 1.2;
}

.user-karma {
    font-size: 12px;
    color: #a0aec0;
    font-weight: 400;
}

/* New search styles */
.search-section-header {
    padding: 6px 12px;
    font-size: 11px;
    font-weight: 600;
    color: #a0aec0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.search-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    cursor: pointer;
    gap: 8px;
}

.search-item:hover {
    background-color: #4a5568;
}

.search-item-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: #a0aec0;
    flex-shrink: 0;
    border-radius: 50%;
    background-color: #2d3748;
    overflow: hidden;
}

.search-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 1px;
}

.search-item-name {
    font-size: 14px;
    color: #e2e8f0;
    font-weight: 400;
    line-height: 1.2;
}

.search-item-meta {
    font-size: 12px;
    color: #a0aec0;
    font-weight: 400;
}

.search-loading {
    padding: 8px 12px;
    font-size: 13px;
    color: #a0aec0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid #4a5568;
    border-top: 2px solid #a0aec0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    flex-shrink: 0;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.search-error, .search-no-results {
    padding: 8px 12px;
    font-size: 13px;
    color: #a0aec0;
    font-style: italic;
}

.search-user-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    object-fit: cover;
}

.search-user-avatar-placeholder {
    width: 20px;
    height: 20px;
    background-color: #9c27b0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: bold;
    color: white;
    flex-shrink: 0;
}

.navbar-right-container {
    visibility: hidden;
}
.navbar-login-profile-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Logged-in user interface elements */
.navbar-loggedin-container {
    display: none;
    align-items: center;
}

.navbar-create-container {
    display: flex;
    align-items: center;
}

.create-button {
    display: flex;
    align-items: center;
    gap: 8px;
    background-color: transparent;
    border: none;
    color: #ffffff;
    font-size: 16px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 6px;
    text-decoration: none;
}

.create-button:hover {
    background-color: #535353;
}

.create-button:active {
    background-color: #424242;
}

.create-icon {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    stroke-width: 2;
    fill: none;
}

.navbar-notification-container {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 6px;
}

.navbar-notification-container:hover {
    background-color: #535353;
}

.navbar-notification-container:active {
    background-color: #424242;
}

.notification-bell-icon {
    width: 24px;
    height: 24px;
    stroke: #ffffff;
    stroke-width: 1.5;
    fill: none;
}

.notification-badge {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    background-color: #ff6b35;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: white;
    border: 2px solid #020b0e;
}

.navbar-profile-container {
    display: flex;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 6px;
}

.navbar-profile-container:hover {
    background-color: #535353;
}

.navbar-profile-container:active {
    background-color: #424242;
}

.profile-icon {
    width: 32px;
    height: 32px;
    background-color: #157c9b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.profile-icon::before {
    content: "👤";
    font-size: 16px;
    color: white;
}

.profile-icon.has-image::before {
    content: "";
}

.profile-status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background-color: #00ff00;
    border-radius: 50%;
    border: 2px solid #020b0e;
}

.notification-indicator {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 18px;
    height: 18px;
    background-color: #ff6b35;
    border-radius: 50%;
    display: none; /* Initially hidden */
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: white;
    border: 2px solid #020b0e;
    z-index: 1;
}

/* Profile Dropdown Menu */
.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    width: 280px;
    background-color: #1a1a1b;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    z-index: 1000;
    display: none;
    margin-top: 8px;
    overflow: hidden;
}

.profile-dropdown-section {
    padding: 8px 0;
}

.profile-dropdown-item {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    cursor: pointer;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.profile-dropdown-item:hover {
    background-color: #2d2d2e;
}

.profile-dropdown-item.profile-header {
    padding: 16px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.profile-dropdown-item.profile-header:hover {
    background-color: #2d2d2e;
}

.profile-dropdown-icon {
    width: 20px;
    height: 20px;
    stroke: #ffffff;
    stroke-width: 1.5;
    fill: none;
    flex-shrink: 0;
}

.profile-dropdown-item-content {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 2px;
}

.profile-dropdown-subtext {
    font-size: 12px;
    color: #818384;
    font-weight: 400;
}

.profile-dropdown-beta {
    font-size: 10px;
    color: #ff6b35;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.profile-dropdown-divider {
    height: 1px;
    background-color: #343536;
    margin: 4px 0;
}

/* Profile Header Styles */
.profile-avatar-large {
    width: 40px;
    height: 40px;
    background-color: #157c9b;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    flex-shrink: 0;
}

.profile-avatar-large::before {
    content: "👤";
    font-size: 20px;
    color: white;
}

.profile-avatar-large.has-image::before {
    content: "";
}

.profile-status-indicator-large {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    background-color: #00ff00;
    border-radius: 50%;
    border: 2px solid #1a1a1b;
}

.profile-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.profile-name {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
}

.profile-username {
    font-size: 12px;
    color: #818384;
    font-weight: 400;
}

/* Toggle Switch Styles */
.profile-dropdown-toggle {
    margin-left: auto;
}

.toggle-switch {
    width: 44px;
    height: 24px;
    background-color: #343536;
    border-radius: 12px;
    position: relative;
    cursor: pointer;
}

.toggle-switch.active {
    background-color: #0079d3;
}

.toggle-switch-handle {
    width: 20px;
    height: 20px;
    background-color: #ffffff;
    border-radius: 50%;
    position: absolute;
    top: 2px;
    left: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.toggle-switch.active .toggle-switch-handle {
    transform: translateX(20px);
}

.toggle-switch.active .toggle-switch-handle::after {
    content: "✓";
    font-size: 12px;
    color: #0079d3;
    font-weight: bold;
}

.navbar-three-dots-icon-container {
    display: none;
}
.login-button {
    background-color: #157c9b;
    color: white;
    border: none;
    border-radius: 24px;
    padding: 12px 20px;
    font-size: 18px;
    font-weight: 500;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
}

.login-button:hover {
    background-color: #168aad;
}

.login-button:active {
    background-color: #106079;
}

.navbar-left-container {
    display: flex;
    align-items: center;
}
.navbar-hamburger-icon-container {
    display: none;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    border-radius: 6px;
}
.navbar-hamburger-icon-container:hover {
    background-color: #535353;
}
.navbar-hamburger-icon-container:active {
    background-color: #424242;
}

.navbar-hamburger-icon {
    display: none;
    cursor: pointer;
}

.navbar-logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 40px;
    cursor: pointer;
}

.navbar-logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.navbar-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    flex-shrink: 0;
}

.navbar-logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    align-self: center;
    font-family: 'Roboto', sans-serif;
    white-space: nowrap;
    letter-spacing: 1.8px;
}

.main-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    position: fixed;
    top: 60px;
    bottom: 0;
    width: 100%;
    height: auto;
    background-color: #0d1518;
    z-index: 5;
}

.main-container-left-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 250px;
    min-width: 250px;
    height: 100%;
    overflow-y: auto;
    background-color: #0a1216;
}

/* Discord Join Section - Simplified */
.discord-join-container {
    display: flex;
    width: 100%;
    padding: 12px 16px;
    background-color: #0a1216;
    border-bottom: 1px solid #343536;
}

.discord-join-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: #5865f2;
    color: white;
    border: none;
    border-radius: 6px;
    padding: 8px 12px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
}

.discord-join-btn:hover {
    background-color: #4752c4;
}

.discord-join-btn:active {
    background-color: #3c4394;
}

.discord-join-btn svg {
    flex-shrink: 0;
}

.tools-catagory-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: #0a1216;
    border-bottom: 1px solid #343536;
}

.tools-catagory-container-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 600;
    color: #9ca3af;
    cursor: pointer;
    user-select: none;
}

.tools-catagory-container-header:hover {
    color: #ffffff;
    background-color: #1f2937;
}

.tools-catagory-container-header a {
    color: inherit;
    text-decoration: none;
}

.tools-catagory-container-header a:hover {
    color: #ffffff;
}

.collapse-icon {
    color: #9ca3af;
}

.tools-catagory-container-header.collapsed .collapse-icon {
    transform: rotate(-90deg);
}
.tools-container {
    display: flex;
    flex-direction: column;
    padding: 0px 12px 12px 12px;
    overflow: hidden;
    max-height: 1000px; /* Large enough to show all content */
    opacity: 1;
}

.tools-container.collapsed {
    max-height: 0;
    opacity: 0;
    padding: 0px 12px;
}
.tool-svg-name-container {
    display: flex;
    align-items: center;
    justify-content: start;
    font-size: 16px;
    gap: 6px;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    color: #9ca3af;
    text-decoration: none;
}

.tool-svg-name-container:hover {
    color: #ffffff;
}

.tool-svg-name-container:active {
    color: #d1d5db;
}

/* User Lairs Section */
.user-lairs-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 16px;
    background-color: #0a1216;
    border-top: 1px solid #343536;
    border-bottom: 1px solid #343536;
}

.user-lairs-header {
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.user-lairs-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-lair-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
}

.user-lair-item:hover {
    background-color: #1f2937;
    text-decoration: none;
    color: inherit;
}

.user-lair-icon {
    width: 24px;
    height: 24px;
    background-color: #ff4500;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    color: white;
}

.user-lair-icon::before {
    content: "L";
}

.user-lair-info {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.user-lair-name {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    line-height: 1.2;
}

.user-lair-members {
    font-size: 11px;
    color: #9ca3af;
}

/* Footer Links Section */
.footer-links-container {
    display: flex;
    flex-direction: column;
    width: 100%;
    padding: 16px;
    background-color: #0a1216;
    margin-top: auto;
}

.footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.footer-link {
    font-size: 11px;
    color: #9ca3af;
    text-decoration: none;
}

.footer-link:hover {
    color: #4c9aff;
    text-decoration: none;
}

.footer-separator {
    font-size: 11px;
    color: #6b7280;
}

.footer-copyright {
    font-size: 10px;
    color: #6b7280;
    text-align: center;
    line-height: 1.3;
}
.main-container-center-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    overflow-y: auto;
    border-left: 1px solid #343536;
    border-right: 1px solid #343536;
    background-color: #0d1518;
}

.main-container-center-container-inner {
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: flex-start;
    width: 100%;
    max-width: 800px;
    padding: 0px 8px;
}

.main-container-center-container-inner-upper {
    display: flex;
    /* align-items: center; */
    justify-content: space-between;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 12px;
    margin-bottom: 20px;
    gap: 8px;
}

.filter-container {
    display: flex;
    align-items: center;
    width: fit-content;
    gap: 0;
    background-color: #272729;
    border-radius: 20px;
    padding: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.filter-item {
    padding: 8px 16px;
    border-radius: 16px;
    font-size: 14px;
    font-weight: 500;
    color: #f0f0f0;
    cursor: pointer;
    user-select: none;
}

.filter-item:hover {
    background-color: #157c9b;
    color: #1a1a1b;
}

.filter-item.active {
    background-color: #157c9b;
    color: white;
}

.filter-item.active:hover {
    background-color: #157c9b;
}

.show-sidebar-btn {
    display: none;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    background-color: #272729;
    border: none;
    color: #f0f0f0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.show-sidebar-btn:hover {
    background-color: #157c9b;
}

.show-sidebar-btn svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
}

.tools-link {
    display: none;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 20px;
    background-color: #0079d3;
    cursor: pointer;
}
.tools-link:hover {
    background-color: #0084e9;
}
.tools-link:active {
    background-color: #028efa;
}
.post-container {
    width: 100%;
    /* background-color: #4b4b4b; */
    overflow: hidden;
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0px;
}

.disclair-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.disclair-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    flex-shrink: 0;
}

.disclair-name {
    font-size: 12px;
    font-weight: 700;
    color: #e9e9e9;
    letter-spacing: 0.8px;
}

.post-time {
    font-size: 12px;
    color: #787c82;
    font-weight: 400;
}

.join-button {
    background-color: #0079d3;
    color: white;
    border: none;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

.join-button:hover {
    background-color: #0060a8;
}

.post-title {
    padding: 8px 0px 12px;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.3;
}

.post-content {
    padding: 0 0px 12px;
}

.post-image-placeholder {
    width: 100%;
    height: 400px;
    background-color: #f6f7f8;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #787c82;
    font-size: 14px;
    border: 1px solid #e0e0e0;
}

.post-image-placeholder::before {
    content: "Image Content";
}

.post-actions {
    display: flex;
    align-items: center;
    padding: 12px 0px;
    gap: 4px;
}

.action-group {
    display: flex;
    align-items: center;
}

.upvote-section {
    display: flex;
    align-items: center;
    background-color: #3a3a3a;
    border-radius: 20px;
    padding: 4px;
}

.vote-btn {
    background: none;
    border: none;
    font-size: 16px;
    cursor: pointer;
    padding: 6px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
}

.vote-btn:hover {
    background-color: #7c7c7c;
}

.vote-btn.active.upvote {
    background-color: #ff4500;
}

.vote-btn.active.upvote:hover {
    background-color: #ff5722;
}

.vote-btn.active.downvote {
    background-color: #7193ff;
}

.vote-btn.active.downvote:hover {
    background-color: #5a7de0;
}

.vote-count {
    font-size: 12px;
    font-weight: 700;
    min-width: 24px;
    letter-spacing: 0.8px;
    text-align: center;
}

.action-section {
    display: flex;
    align-items: center;
    background-color: #3a3a3a;
    border-radius: 20px;
    padding: 4px 12px 4px 4px;
    cursor: pointer;
}

.action-section.award-only {
    padding: 4px;
}

.action-section:hover {
    background-color: #4a4a4a;
}

.action-btn {
    background: none;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6px;
    border-radius: 50%;
    cursor: pointer;
}

.action-count, .action-text {
    font-size: 12px;
    font-weight: 700;
    min-width: 24px;
    text-align: center;
    letter-spacing: 0.8px;
}

.no-posts-message {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.no-posts-message .post-container {
    padding: 40px 20px;
    text-align: center;
}

.no-posts-content h3 {
    color: #e9e9e9;
    margin-bottom: 8px;
    font-size: 18px;
}

.no-posts-content p {
    color: #787c82;
    font-size: 14px;
    margin: 0;
}

.post-divider {
    width: 100%;
    height: 1px;
    background-color: #4d1717;
    margin: 12px auto;
}

.main-container-right-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    width: 250px;
    min-width: 250px;
    height: 100%;
    background-color: #0a1216;
}

.popular-lairs-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: 16px;
}

.popular-lairs-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.popular-lair {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    gap: 12px;
    text-decoration: none;
    color: inherit;
}

.popular-lair:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: inherit;
}

.lair-icon {
    width: 32px;
    height: 32px;
    background-color: #157c9b;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.lair-icon::before {
    content: "Lair";
}

.lair-icon.has-image::before {
    content: "";
}

.lair-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.lair-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.lair-members {
    font-size: 12px;
    font-weight: 400;
    margin-top: 2px;
}

.divider {
    width: 80%;
    height: 1px;
    background-color: #e0e0e0;
    margin: 0px auto;
}
.trending-tools-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: 16px;
}

.trending-tools-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.trending-tool {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    gap: 12px;
    margin-bottom: 8px;
    text-decoration: none;
    color: inherit;
}

.trending-tool:hover {
    background-color: #f8f9fa;
    text-decoration: none;
    color: inherit;
}

.tool-icon {
    width: 32px;
    height: 32px;
    background-color: #00d4aa;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.tool-icon::before {
    content: "t/";
}

.tool-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.tool-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.tool-upvotes {
    font-size: 12px;
    font-weight: 400;
    margin-top: 2px;
}

/* Tool icon image styling */
.tool-icon img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

/* When image is present, hide the ::before content */
.tool-icon:has(img)::before {
    display: none;
}

/* Recently Added Tools functionality uses existing .recently-added-container styles */

/* Expand Tools Functionality */
.expand-tools-section,
.expand-recently-tools-section {
    margin-top: 8px;
    width: 100%;
}

.expand-tools-btn,
.expand-recently-tools-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #9ca3af;
    font-size: 0.85rem;
    cursor: pointer;
}

.expand-tools-btn:hover,
.expand-recently-tools-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.hidden-tools,
.hidden-recently-tools {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.recently-added-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
    padding: 16px;
}

.recently-added-header {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
}

.recently-added-tool {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    gap: 12px;
    margin-bottom: 8px;
}

.recently-added-tool:hover {
    background-color: #f8f9fa;
}

.recent-tool-icon {
    width: 32px;
    height: 32px;
    background-color: #9c27b0;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
}

.recent-tool-icon::before {
    content: "n/";
}

.recent-tool-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.recent-tool-name {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
}

.recent-tool-time {
    font-size: 12px;
    font-weight: 400;
    margin-top: 2px;
}

@media (max-width: 1199px) {
    .navbar {
        padding: 8px 4px;
        gap: 4px;
    }
    .navbar-logo-container {
        gap: 4px;
    }
    .navbar-logo-text {
        display: none;
    }
    .navbar-search-bar-container {
        margin: 0px 4px;
    }
    .main-container-left-container {
        position: fixed;
        left: 0;
        top: 60px;
        bottom: 0;
        height: auto;
        max-height: none;
        z-index: 1000;
        transform: translateX(-100%);
        -webkit-overflow-scrolling: touch;
    }
    
    .main-container-left-container.show {
        transform: translateX(0);
    }
    
    .discord-join-container,
    .user-lairs-container,
    .footer-links-container {
        flex-shrink: 0;
    }
    
    .navbar-hamburger-icon-container {
        display: flex;
    }
    .navbar-hamburger-icon {
        display: block;
        stroke: #ffffff;
    }
    
    .tool-svg-name-container {
        font-size: 14px;
        gap: 4px;
        padding: 6px 10px;
    }
    
    .tool-svg-name-container svg {
        width: 20px;
        height: 20px;
    }
    
    .show-sidebar-btn {
        display: flex;
    }
    
    .main-container-center-container {
        border-left: none;
        border-right: none;
    }
    
    .main-container-right-container {
        display: none;
        position: fixed;
        top: 60px;
        right: 0;
        bottom: 0;
        width: 320px;
        max-width: 80vw;
        background-color: #1a1a1b;
        transform: translateX(100%);
        transition: transform 0.3s ease;
        overflow-y: auto;
        z-index: 1000;
        box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
    }
    
    .main-container-right-container.show {
        display: block;
        transform: translateX(0);
    }
}

@media (max-width: 799px) {
    .tools-link {
        display: flex;
    }
    .create-text {
        display: none;
    }
    .create-button {
        padding: 8px;
    }
}

/* Login Modal Styles */
.login-modal {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.login-modal-content {
    position: relative;
    background-color: #1a1a1b;
    margin: 0 auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    max-height: 85vh; /* prevent modal from exceeding viewport */
    overflow-y: auto; /* allow internal scrolling for tall content */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    animation: modalSlideIn 0.3s ease-out;
}

/* Report Modal Styles (mirrors Login Modal) */
.report-modal {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.report-modal-content {
    position: relative;
    background-color: #1a1a1b;
    margin: 0 auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 480px;
    max-height: 85vh; /* prevent modal from exceeding viewport */
    overflow-y: auto; /* allow internal scrolling for tall content */
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    top: 50%;
    transform: translateY(-50%);
}

.login-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 28px 32px 20px;
    border-bottom: 1px solid #343536;
}

.login-modal-title {
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    font-family: 'Roboto', sans-serif;
}

.login-modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #818384;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
}

.login-modal-close:hover {
    background-color: #343536;
    color: #ffffff;
}

.login-modal-body {
    padding: 20px 32px 32px;
}

.login-disclaimer {
    margin-bottom: 20px;
}

.login-disclaimer p {
    font-size: 12px;
    color: #b3b3b3;
    line-height: 1.4;
    margin: 0;
    text-align: center;
}

.login-link {
    color: #4c9aff;
    text-decoration: none;
}

.login-link:hover {
    text-decoration: underline;
}

.social-login-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 12px 16px;
    border: 1px solid #343536;
    border-radius: 24px;
    background-color: #272729;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
}

.social-login-btn:hover {
    background-color: #343536;
    border-color: #4c4c4d;
}

.social-login-btn:active {
    background-color: #404041;
}

.social-icon {
    flex-shrink: 0;
}

.github-btn {
    background-color: #24292e;
    border-color: #30363d;
}

.github-btn:hover {
    background-color: #30363d;
    border-color: #484f58;
}

.github-btn:active {
    background-color: #21262d;
    border-color: #30363d;
}

.github-btn .social-icon {
    fill: #ffffff;
}

.x-btn {
    background-color: #000000;
    border-color: #2f3349;
}

.x-btn:hover {
    background-color: #16181c;
    border-color: #3d4043;
}

.x-btn:active {
    background-color: #0a0a0a;
    border-color: #1a1a1a;
}

.x-btn .social-icon {
    fill: #ffffff;
}

.login-divider {
    display: flex;
    align-items: center;
    margin: 20px 0;
}

.login-divider::before,
.login-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background-color: #343536;
}

.login-divider span {
    padding: 0 16px;
    color: #818384;
    font-size: 12px;
    font-weight: 600;
}

.login-form,
.signup-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

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

.form-label {
    color: #d7dadc;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.required {
    color: #ff4444;
}

.form-input {
    padding: 12px 16px;
    border: 1px solid #343536;
    border-radius: 4px;
    background-color: #1a1a1b;
    color: #ffffff;
    font-size: 14px;
    font-family: 'Roboto', sans-serif;
}

.form-input:focus {
    outline: none;
    border-color: #4c9aff;
    box-shadow: 0 0 0 2px rgba(76, 154, 255, 0.2);
}

.form-input::placeholder {
    color: #818384;
}

.form-options {
    display: flex;
    justify-content: flex-end;
    margin-top: -8px;
}

.forgot-password {
    color: #4c9aff;
    font-size: 12px;
    text-decoration: none;
}

.forgot-password:hover {
    text-decoration: underline;
}

.login-submit-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 24px;
    background-color: #157c9b;
    color: #ffffff;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    margin-top: 8px;
}

.login-submit-btn:hover {
    background-color: #12637c;
}

.login-submit-btn:active {
    background-color: #0d485a;
}

.signup-link {
    text-align: center;
    margin-top: 16px;
    font-size: 12px;
    color: #b3b3b3;
}

.signup-link .login-link {
    font-weight: 600;
}

/* Warning Message Styles */
.warning-message {
    margin-bottom: 20px;
    animation: warningSlideIn 0.3s ease-out;
}

@keyframes warningSlideIn {
    from {
        transform: translateY(-10px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.warning-content {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background-color: #2d1b1b;
    border: 1px solid #ff6b35;
    border-radius: 8px;
    color: #ff6b35;
}

.warning-icon {
    flex-shrink: 0;
    stroke: #ff6b35;
}

.warning-text {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
}

.warning-close {
    background: none;
    border: none;
    color: #ff6b35;
    font-size: 18px;
    cursor: pointer;
    padding: 2px;
    border-radius: 4px;
    flex-shrink: 0;
}

.warning-close:hover {
    background-color: rgba(255, 107, 53, 0.1);
    color: #ff8c69;
}

/* Popular Lairs Section Styles */
.popular-lairs-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
    padding: 0 4px;
}

.popular-lairs-header h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.popular-lairs-header svg {
    color: #4c9aff;
    flex-shrink: 0;
}

.popular-lairs-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.popular-lair-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px 4px;
    border-radius: 6px;
}

.popular-lair-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

.lair-rank {
    font-size: 0.9rem;
    font-weight: 600;
    color: #4c9aff;
    min-width: 20px;
    text-align: center;
}

.lair-info {
    flex: 1;
    min-width: 0;
}

.lair-name {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 2px;
}

.lair-name a {
    color: #cacaca;
    font-weight: 500;
    font-size: 0.95rem;
    text-decoration: none;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.lair-name a:hover {
    color: #4c9aff;
}

.lair-members {
    font-size: 0.8rem;
    color: #9ca3af;
}

.nsfw-badge {
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    flex-shrink: 0;
}

.nsfw-badge.nsfw-safe {
    background-color: rgba(34, 197, 94, 0.2);
    color: #22c55e;
}

.nsfw-badge.nsfw-semi_nsfw {
    background-color: rgba(251, 191, 36, 0.2);
    color: #fbbf24;
}

.nsfw-badge.nsfw-nsfw {
    background-color: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}

.expand-lairs-section {
    margin-top: 8px;
}

.expand-lairs-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    padding: 8px 12px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: #9ca3af;
    font-size: 0.85rem;
    cursor: pointer;
}

.expand-lairs-btn:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.hidden-lairs {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* User's Lair Posts Styles */
.user-lairs-posts-container {
    background-color: #1a252b;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 20px;
    border: 1px solid #2d3748;
}

.user-lairs-posts-header {
    font-size: 16px;
    font-weight: 600;
    color: #e2e8f0;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid #2d3748;
}

.user-posts-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-post-item {
    padding: 10px;
    background-color: #2d3748;
    border-radius: 6px;
    border: 1px solid #4a5568;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.user-post-item:hover {
    background-color: #374151;
}

.post-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.post-title {
    font-size: 14px;
    font-weight: 500;
    color: #e2e8f0;
    line-height: 1.3;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    color: #a0aec0;
}

.post-lair {
    font-weight: 500;
    color: #9c27b0;
}

.post-score {
    color: #4caf50;
}

.post-comments {
    color: #a0aec0;
}

/* Logout Confirmation Modal */
.logout-modal {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(4px);
}

.logout-modal-content {
    position: relative;
    background-color: #1a1a1b;
    margin: 0 auto;
    padding: 0;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
    animation: modalSlideIn 0.3s ease-out;
}

.logout-modal-header {
    padding: 24px 28px 16px;
    border-bottom: 1px solid #343536;
}

.logout-modal-title {
    margin: 0;
    font-size: 20px;
    font-weight: 600;
    color: #d7dadc;
}

.logout-modal-body {
    padding: 24px 28px 28px;
}

.logout-message {
    margin: 0 0 24px 0;
    font-size: 15px;
    color: #d7dadc;
    line-height: 1.5;
}

.logout-modal-buttons {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.logout-cancel-btn,
.logout-confirm-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.logout-cancel-btn {
    background-color: #343536;
    color: #d7dadc;
}

.logout-cancel-btn:hover {
    background-color: #4a4b4c;
}

.logout-confirm-btn {
    background-color: #e53e3e;
    color: white;
}

.logout-confirm-btn:hover {
    background-color: #c53030;
}

@media (max-width: 480px) {
    .logout-modal-content {
        width: 95%;
    }
    
    .logout-modal-buttons {
        flex-direction: column-reverse;
        gap: 8px;
    }
    
    .logout-cancel-btn,
    .logout-confirm-btn {
        width: 100%;
    }
}