
/* Neo-classic Forum Style - Early 2000s aesthetic with modern CSS */
:root {
    --bg-primary: #FFFFCC;
    --bg-secondary: #F0F0E0;
    --text-primary: #000000;
    --link-color: #0000FF;
    --link-visited: #800080;
    --border-color: #999999;
    --header-bg: #4A5D7A;
    --header-text: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, Arial, sans-serif;
    font-size: 12px;
    line-height: 1.4;
    color: var(--text-primary);
    background: var(--bg-primary);
    background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAQAAAAECAYAAACp8Z5+AAAAEklEQVQImWNgYGD4z0AswK4SAFXuAf8EPy+xAAAAAElFTkSuQmCC');
    padding: 20px;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    background: var(--bg-secondary);
    border: 2px solid var(--border-color);
    box-shadow: 2px 2px 5px rgba(0,0,0,0.1);
}

.header {
    background: var(--header-bg);
    color: var(--header-text);
    padding: 15px 20px;
    border-bottom: 3px solid var(--border-color);
}

.header h1 {
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.nav {
    background: #E0E0D0;
    padding: 8px 20px;
    border-bottom: 1px solid var(--border-color);
    font-size: 11px;
}

.nav a {
    color: var(--link-color);
    text-decoration: none;
    margin-right: 15px;
}

.nav a:hover {
    text-decoration: underline;
}

.content {
    padding: 20px;
}

.profile-header {
    background: white;
    border: 1px solid var(--border-color);
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.profile-header h2 {
    font-size: 16px;
    color: #333;
    margin-bottom: 10px;
}

.profile-stats {
    font-size: 11px;
    color: #666;
}

.profile-posts {
    background: white;
    border: 1px solid var(--border-color);
    padding: 15px;
}

.profile-posts h3 {
    font-size: 14px;
    color: #333;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #E0E0E0;
}

.profile-post-item {
    padding: 8px 0;
    border-bottom: 1px dotted #E0E0E0;
}

.profile-post-item:last-child {
    border-bottom: none;
}

.thread-list {
    border-collapse: collapse;
    width: 100%;
    background: white;
    border: 1px solid var(--border-color);
}

.thread-list th {
    background: #D0D0C0;
    padding: 8px;
    text-align: left;
    font-size: 11px;
    border-bottom: 2px solid var(--border-color);
}

.thread-list td {
    padding: 8px;
    border-bottom: 1px solid #E0E0E0;
}

.thread-list tr:hover {
    background: #F8F8F0;
}

.thread-list .title {
    font-weight: bold;
}

.thread-list .author {
    color: #666;
    font-style: italic;
}

.thread-list .stats {
    text-align: center;
    color: #666;
    font-size: 11px;
}

.thread-list .source-tag {
    display: inline-block;
    background: #666;
    color: white;
    font-size: 9px;
    padding: 2px 4px;
    margin-right: 5px;
    border-radius: 2px;
}

.post {
    background: white;
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.post-header {
    background: linear-gradient(to bottom, #E8E8D8, #D8D8C8);
    padding: 10px;
    border-bottom: 1px solid var(--border-color);
}

.post-title {
    font-size: 14px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.post-meta {
    font-size: 11px;
    color: #666;
}

.post-meta .author {
    font-weight: bold;
    color: #4A5D7A;
}

.post-meta .author a {
    color: #4A5D7A;
    text-decoration: none;
}

.post-meta .author a:hover {
    text-decoration: underline;
}

.post-content {
    padding: 15px;
    background: white;
}

.post-footer {
    background: #F0F0E0;
    padding: 8px 10px;
    font-size: 11px;
    color: #666;
    border-top: 1px solid #E0E0E0;
}

.replies {
    margin-left: 30px;
    margin-top: 10px;
    border-left: 3px solid #D0D0C0;
    padding-left: 15px;
}

.replies .replies {
    margin-left: 20px;
    border-left-color: #E0E0D0;
}

.reply {
    background: #FAFAF5;
}

.reply .post-header {
    background: linear-gradient(to bottom, #F0F0E0, #E0E0D0);
}

.user-list {
    background: white;
    border: 1px solid var(--border-color);
    padding: 15px;
    margin-top: 20px;
}

.user-list h3 {
    font-size: 14px;
    margin-bottom: 10px;
    padding-bottom: 5px;
    border-bottom: 1px solid #E0E0E0;
}

.user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.user-item {
    padding: 5px;
    font-size: 11px;
}

.user-item a {
    color: #4A5D7A;
    text-decoration: none;
}

.user-item a:hover {
    text-decoration: underline;
}

.user-post-count {
    color: #666;
    font-size: 10px;
}

a {
    color: var(--link-color);
    text-decoration: underline;
}

a:visited {
    color: var(--link-visited);
}

a:hover {
    color: #FF0000;
}

.footer {
    margin-top: 30px;
    padding: 15px;
    text-align: center;
    font-size: 10px;
    color: #666;
    border-top: 1px dashed var(--border-color);
}

/* Search functionality */
.search-box {
    background: white;
    border: 1px solid var(--border-color);
    padding: 10px;
    margin-bottom: 15px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.1);
}

.search-box input {
    font-family: Verdana, Arial, sans-serif;
    font-size: 11px;
    padding: 4px;
    border: 1px solid #999;
    width: 200px;
}

.search-box button {
    font-family: Verdana, Arial, sans-serif;
    font-size: 11px;
    padding: 4px 8px;
    margin-left: 5px;
    background: #E0E0D0;
    border: 1px solid #999;
    cursor: pointer;
}

.search-box button:hover {
    background: #D0D0C0;
}

.search-results {
    font-size: 11px;
    color: #666;
    margin-top: 8px;
}

.no-results {
    font-style: italic;
    color: #999;
    padding: 10px;
    text-align: center;
}

tr.hidden {
    display: none;
}

/* Retro animated GIF-style decoration */
.blink {
    animation: blink-animation 1s steps(2, start) infinite;
}

@keyframes blink-animation {
    to { visibility: hidden; }
}

.new-badge {
    display: inline-block;
    background: #FF0000;
    color: white;
    font-size: 9px;
    padding: 2px 4px;
    font-weight: bold;
    margin-left: 5px;
}
