/* Base Styles */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f0f0f0;
    color: #333;
    margin: 0;
    padding: 0;
}

/* Header Styles */
header {
    background-color: #004080;
    color: white;
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    margin: 0;
    font-size: 2rem;
}

/* Navigation Bar Styles */
nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

nav ul li {
    margin-right: 20px;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 10px;
}

/* Main Content */
main {
    max-width: 800px;
    margin: 20px auto;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Thread Container */
.thread {
    margin-bottom: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Post Styles */
.post {
    margin-bottom: 15px;
}

.post .user {
    font-weight: bold;
    margin-right: 5px;
}

.post .timestamp {
    color: #888;
    font-size: 0.9em;
}

/* Comment Styles */
.comment {
    margin-left: 20px;
    padding-left: 10px;
    border-left: 2px solid #ddd;
}

/* ChatGPT Input */
.chatgpt-input {
    margin-top: 20px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    width: 100%;
}

/* ChatGPT Output */
.chatgpt-output {
    margin-top: 10px;
    padding: 10px;
    background-color: #f0f6ff;
    border-radius: 5px;
}

/* Voting Buttons */
.vote-buttons {
    display: flex;
}

.vote-button {
    margin-right: 5px;
    cursor: pointer;
}

.vote-button:hover {
    color: #007bff;
}

/* Dark Mode */
body.dark-mode {
    background-color: #333;
    color: #fff;
}

body.dark-mode main {
    background: #444;
}

body.dark-mode header {
    background-color: #111;
}

/* Add more specific styles as needed */
