   body {
    background-color: #121212; /* Dark background color */
    color: #e0e0e0; /* Default text color */
    font-family: Arial, sans-serif; /* Default font */
    line-height: 1.5; /* Improved line spacing for readability */
}

.notification {
    padding: 15px; 
    border-radius: 8px; 
    margin-bottom: 20px; 
    font-weight: bold; 
    text-align: center; 
}

.notification.information {
    background-color: rgba(30, 144, 255, 0.1); /* Light blue for information */
    color: #1e90ff; /* Bright blue text */
}

.notification.error {
    background-color: rgba(255, 0, 0, 0.1); /* Light red for error */
    color: #ff0000; /* Bright red text */
}

.notification.warning {
    background-color: rgba(255, 165, 0, 0.1); /* Light orange for warning */
    color: #ffa500; /* Bright orange text */
}
.forum {
    color: #1e90ff; /* Bright blue for parent forums */
    font-weight: bold; /* Bold font for parent forums */
    text-decoration: none; /* Remove underline */
}

.forum:hover {
    text-decoration: underline; /* Underline on hover for better UX */
}

.category {
    color: #1e90ff; /* Lighter grey for categories */
    margin-left: 0px; /* Indentation for categories */
    font-size: 0.95rem; /* Slightly smaller font size */
    text-decoration: none; /* Remove underline */
    display: block; /* Ensure the category name is displayed as a block */
}

.category-description {
    font-size: 0.85rem;
    color: #b0b0b0;
    margin-left: 20px;
    padding: 8px 0; /* Add top and bottom padding */
    line-height: 1.4;
    max-width: 600px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2); /* Add a subtle underline to connect */
    margin-bottom: 10px; /* Space before subcategories */
}

.subcategory {
    color: #80cbc4;
    margin-left: 30px; /* Indent for subcategories */
    font-size: 0.9rem;
    padding-left: 10px; /* Add padding so it looks like it's aligned under the underline */
    border-left: 1px solid rgba(255, 255, 255, 0.2); /* Continue the connection with a vertical line */
}

.subcategory:hover {
    text-decoration: underline; /* Add underline hover effect */
}



.subcategory {
    color: #80cbc4; /* Soft teal for subcategories */
    margin-left: 30px; /* More indentation for subcategories */
    font-size: 0.9rem; /* Slightly smaller font size */
}

.latest-thread {
    max-width: 29ch; /* Limit to 29 characters */
    white-space: nowrap; /* Prevent line breaks */
    overflow: hidden; /* Hide overflow */
    text-overflow: ellipsis; /* Show ellipsis */
    display: inline-block; /* Allow for text overflow handling */
    font-size: 0.9rem; /* Slightly smaller font size */
    color: #ffffff; /* White color for latest thread text */
}

.thread-details {
    font-size: 0.7rem; /* Smaller font size for details */
    color: #9e9e9e; /* Light grey color for details */
}

.profile-pic {
    width: 25px; /* Set profile picture width */
    height: 25px; /* Set profile picture height */
    border-radius: 50%; /* Make it circular */
    object-fit: cover; /* Cover the area without distortion */
    margin-right: 5px; /* Space between image and text */
    vertical-align: middle; /* Align the image vertically */
}

.forum-container {
    background-color: #1e1e1e; /* Darker background for forum sections */
     border: 1px solid #444444; /* Add border color and thickness */
    padding: 15px; /* Padding inside forum sections */
    border-radius: 16px; /* Increased border-radius for smoother corners */
    margin-bottom: 20px; /* Space between sections */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Subtle shadow for depth */
}

.grid-container {
    display: grid;
    grid-template-columns: 3fr 1fr; /* 3:1 ratio for forum and latest thread */
    gap: 15px; /* Space between columns */
}

.grid-item {
    padding: 15px; /* Padding for grid items */
}

/* Add specific styling for forum column */
.forum-column {
    color: #b0b0b0; /* Bright blue for parent forums */
}

/* Add specific styling for latest thread column */
.latest-thread-column {
    color: #d8d8d8; /* Bright blue for latest thread text */
}
.circle-category {
    display: inline-block; /* Ensure the circle wraps around the text */
    padding: 8px 20px; /* Add padding for a button-like appearance */
    border-radius: 50px; /* Use a high value to create a fully rounded button */
    background-color: rgba(30, 144, 255, 0.15); /* Semi-transparent blue background */
    color: #1e90ff; /* Keep the text blue */
    font-weight: 600; /* Slightly bolder text for elegance */
    text-align: center; /* Center the text inside the circle */
    margin-right: 10px; /* Add space to the right */
    border: 1px solid #444444; /* Add border color and thickness */
    min-width: 150px; /* Adjust to ensure it fits longer names */
    transition: background-color 0.3s ease, transform 0.3s ease; /* Smooth transitions for hover effects */
    cursor: pointer; /* Make it feel like a button */
    text-decoration: none; /* Remove underline from link */
}

.circle-category:hover {
    background-color: rgba(30, 144, 255, 0.25); /* Slightly darker on hover for better UX */
    transform: translateY(-3px); /* Lift the button on hover for an elegant effect */
}

@media (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr; /* Stack the columns vertically on smaller screens */
        gap: 10px; /* Reduce the gap between columns */
    }

    .latest-thread {
        max-width: 100%; /* Allow full width for the thread title on smaller screens */
        white-space: normal; /* Allow line breaks */
        overflow: visible; /* Prevent hidden overflow */
        text-overflow: clip; /* Disable text clipping */
    }

    .profile-pic {
        width: 20px; /* Reduce profile picture size on small screens */
        height: 20px;
    }
}
