/**
 * blackcointalk - Dark Theme Stylesheet
 */

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

body {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 11px;
    line-height: 1.4;
    color: #c0c0c0;
    background-color: #0a0a0a;
}

a {
    color: #7799bb;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
    color: #99bbdd;
}

img {
    border: none;
}

.wrapper {
    max-width: 960px;
    margin: 0 auto;
    background-color: #121212;
}

/* Token Bar */
.token-bar {
    background: linear-gradient(180deg, #1a1a1a 0%, #0d0d0d 100%);
    padding: 6px 10px;
    text-align: center;
    font-size: 10px;
    color: #888;
    border-bottom: 1px solid #2a2a2a;
}

.token-bar span {
    color: #4a9eff;
    font-family: monospace;
    font-size: 11px;
    user-select: all;
}

/* Header */
.header {
    background: linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
    padding: 5px 10px;
    border-bottom: 1px solid #333;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo a {
    color: #ffffff;
    font-size: 22px;
    font-weight: bold;
    text-decoration: none;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.logo-subtitle {
    color: #666;
    font-size: 10px;
    margin-left: 10px;
}

.header-user {
    color: #888;
    font-size: 11px;
}

.header-user a {
    color: #7799bb;
}

/* Navigation Menu */
.nav-menu {
    background: linear-gradient(180deg, #252525 0%, #1a1a1a 100%);
    padding: 4px 10px;
    border-bottom: 1px solid #333;
}

.nav-menu ul {
    list-style: none;
    display: flex;
    gap: 15px;
}

.nav-menu li {
    display: inline;
}

.nav-menu a {
    color: #c0c0c0;
    font-size: 11px;
    font-weight: bold;
}

.nav-menu a:hover {
    text-decoration: underline;
}

/* Breadcrumb */
.breadcrumb-bar {
    background: #1a1a1a;
    padding: 4px 10px;
    border-bottom: 1px solid #2a2a2a;
    font-size: 10px;
    color: #666;
}

.breadcrumb-bar a {
    color: #7799bb;
}

/* Main Content Area */
.main-content {
    padding: 10px;
    background-color: #121212;
}

/* Category Headers */
.category-header {
    background: linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
    color: #ffffff;
    padding: 6px 10px;
    font-size: 11px;
    font-weight: bold;
    border: 1px solid #333;
    border-bottom: none;
}

.category-header a {
    color: #ffffff;
}

/* Forum Table */
.forum-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 15px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
}

.forum-table th {
    background: linear-gradient(180deg, #252525 0%, #1e1e1e 100%);
    color: #888;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.forum-table td {
    padding: 6px 8px;
    border-bottom: 1px solid #222;
    vertical-align: top;
}

.forum-table tr:hover td {
    background-color: #1e1e1e;
}

.forum-table .col-icon {
    width: 40px;
    text-align: center;
}

.forum-table .col-stats {
    width: 80px;
    text-align: center;
    font-size: 10px;
    color: #666;
}

.forum-table .col-lastpost {
    width: 180px;
    font-size: 10px;
    color: #666;
}

/* Board Icon */
.board-icon {
    width: 30px;
    height: 30px;
    background: #252525;
    border: 1px solid #333;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

.board-icon.new {
    background: #2a3a4a;
    border-color: #3a4a5a;
}

/* Board Info */
.board-name {
    font-size: 12px;
    font-weight: bold;
}

.board-name a {
    color: #7799bb;
}

.board-description {
    color: #666;
    font-size: 10px;
    margin-top: 2px;
    font-style: italic;
}

.board-moderators {
    color: #555;
    font-size: 9px;
    margin-top: 4px;
}

/* Thread Table */
.thread-table {
    width: 100%;
    border-collapse: collapse;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
}

.thread-table th {
    background: linear-gradient(180deg, #252525 0%, #1e1e1e 100%);
    color: #888;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 8px;
    text-align: left;
    border-bottom: 1px solid #333;
}

.thread-table td {
    padding: 5px 8px;
    border-bottom: 1px solid #222;
    font-size: 11px;
}

.thread-table tr:hover td {
    background-color: #1e1e1e;
}

.thread-table .col-icon {
    width: 24px;
    text-align: center;
}

.thread-table .col-replies,
.thread-table .col-views {
    width: 60px;
    text-align: center;
    color: #666;
}

.thread-table .col-lastpost {
    width: 160px;
    font-size: 10px;
    color: #666;
}

.thread-title {
    font-weight: bold;
}

.thread-title a {
    color: #7799bb;
}

.thread-starter {
    font-size: 10px;
    color: #666;
}

.thread-sticky {
    background-color: #1a2020 !important;
}

.thread-locked .thread-title a {
    color: #666;
}

/* Post Display */
.post-container {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    margin-bottom: 10px;
}

.post-header {
    background: linear-gradient(180deg, #252525 0%, #1e1e1e 100%);
    padding: 4px 8px;
    border-bottom: 1px solid #333;
    font-size: 10px;
    display: flex;
    justify-content: space-between;
    color: #888;
}

.post-header a {
    color: #7799bb;
}

.post-body {
    display: flex;
}

.post-author {
    width: 160px;
    min-width: 160px;
    padding: 8px;
    border-right: 1px solid #222;
    background: #151515;
    text-align: center;
}

.author-name {
    font-weight: bold;
    font-size: 12px;
}

.author-name a {
    color: #7799bb;
}

.author-rank {
    color: #666;
    font-size: 10px;
    margin-top: 2px;
}

.author-activity {
    font-size: 9px;
    color: #555;
    margin-top: 4px;
}

.author-posts {
    font-size: 9px;
    color: #555;
}

.post-content {
    flex: 1;
    padding: 8px 12px;
    font-size: 11px;
    line-height: 1.5;
    color: #c0c0c0;
}

.post-signature {
    margin-top: 15px;
    padding-top: 8px;
    border-top: 1px solid #222;
    font-size: 10px;
    color: #555;
}

/* Quote Box */
.quote-box {
    background: #151515;
    border: 1px solid #2a2a2a;
    padding: 8px;
    margin: 8px 0;
    font-size: 10px;
}

.quote-header {
    font-weight: bold;
    margin-bottom: 4px;
    color: #666;
}

/* Forms */
.form-container {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    padding: 15px;
    margin-bottom: 15px;
}

.form-title {
    background: linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
    color: #ffffff;
    padding: 6px 10px;
    font-weight: bold;
    margin: -15px -15px 15px -15px;
    border-bottom: 1px solid #333;
}

.form-group {
    margin-bottom: 12px;
}

.form-group label {
    display: block;
    font-weight: bold;
    margin-bottom: 4px;
    font-size: 11px;
    color: #c0c0c0;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea,
.form-group select {
    width: 100%;
    max-width: 400px;
    padding: 6px 8px;
    border: 1px solid #333;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 11px;
    background: #121212;
    color: #c0c0c0;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #4a9eff;
    background: #1a1a1a;
}

.form-group textarea {
    min-height: 150px;
    max-width: 100%;
}

.form-group small {
    display: block;
    color: #555;
    font-size: 9px;
    margin-top: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 5px 15px;
    font-family: Verdana, Geneva, sans-serif;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    border: 1px solid;
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(180deg, #2a2a2a 0%, #1e1e1e 100%);
    color: #c0c0c0;
    border-color: #444;
}

.btn-primary:hover {
    background: linear-gradient(180deg, #333 0%, #252525 100%);
    text-decoration: none;
}

.btn-secondary {
    background: linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
    color: #888;
    border-color: #333;
}

.btn-secondary:hover {
    background: linear-gradient(180deg, #252525 0%, #1a1a1a 100%);
    text-decoration: none;
}

/* Pagination */
.pagination {
    display: flex;
    gap: 4px;
    align-items: center;
    font-size: 11px;
    margin: 10px 0;
}

.pagination a,
.pagination span {
    padding: 2px 6px;
    border: 1px solid #333;
    background: #1a1a1a;
    color: #888;
}

.pagination a:hover {
    background: #252525;
    text-decoration: none;
}

.pagination .current {
    background: #2a2a2a;
    color: #fff;
    border-color: #444;
    font-weight: bold;
}

.pagination .ellipsis {
    border: none;
    background: none;
}

/* Info Bar */
.info-bar {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    padding: 8px 10px;
    font-size: 10px;
    color: #888;
    margin-bottom: 10px;
}

.info-bar strong {
    color: #c0c0c0;
}

/* Forum Stats */
.stats-box {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    margin-bottom: 15px;
}

.stats-header {
    background: linear-gradient(180deg, #252525 0%, #1e1e1e 100%);
    padding: 4px 10px;
    font-weight: bold;
    font-size: 11px;
    border-bottom: 1px solid #333;
    color: #888;
}

.stats-content {
    padding: 10px;
    font-size: 10px;
}

.stats-row {
    display: flex;
    justify-content: space-between;
    padding: 2px 0;
    border-bottom: 1px dotted #333;
    color: #666;
}

.stats-row:last-child {
    border-bottom: none;
}

.stats-row strong {
    color: #c0c0c0;
}

/* User Profile */
.profile-container {
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
}

.profile-header {
    background: linear-gradient(180deg, #1e1e1e 0%, #141414 100%);
    color: #ffffff;
    padding: 10px 15px;
    border-bottom: 1px solid #333;
}

.profile-header h1 {
    font-size: 16px;
    margin: 0;
}

.profile-body {
    display: flex;
}

.profile-sidebar {
    width: 180px;
    padding: 15px;
    border-right: 1px solid #222;
    background: #151515;
    text-align: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    background: #252525;
    border: 1px solid #333;
    margin: 0 auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: #555;
}

.profile-main {
    flex: 1;
    padding: 15px;
}

.profile-section {
    margin-bottom: 15px;
}

.profile-section h3 {
    font-size: 12px;
    color: #7799bb;
    border-bottom: 1px solid #333;
    padding-bottom: 4px;
    margin-bottom: 8px;
}

.profile-row {
    display: flex;
    padding: 4px 0;
    font-size: 11px;
}

.profile-label {
    width: 120px;
    font-weight: bold;
    color: #666;
}

.profile-value {
    flex: 1;
    color: #c0c0c0;
}

/* Alert Messages */
.alert {
    padding: 10px 15px;
    margin-bottom: 15px;
    border: 1px solid;
    font-size: 11px;
}

.alert-success {
    background: #1a2a1a;
    border-color: #2a4a2a;
    color: #6a9a6a;
}

.alert-error {
    background: #2a1a1a;
    border-color: #4a2a2a;
    color: #aa6a6a;
}

.alert-warning {
    background: #2a2a1a;
    border-color: #4a4a2a;
    color: #aaaa6a;
}

.alert-info {
    background: #1a2a2a;
    border-color: #2a4a4a;
    color: #6a9a9a;
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 10px;
    border-top: 1px solid #2a2a2a;
    text-align: center;
    font-size: 10px;
    color: #555;
}

.footer a {
    color: #7799bb;
}

/* Welcome message */
.welcome-message {
    padding: 8px 10px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    margin-bottom: 10px;
    font-size: 11px;
    color: #888;
}

.welcome-message strong {
    color: #c0c0c0;
}

/* Quick Reply */
.quick-reply {
    margin-top: 15px;
}

.quick-reply textarea {
    width: 100%;
    min-height: 100px;
}

/* Empty message */
.empty-message {
    text-align: center;
    padding: 30px;
    color: #555;
    font-style: italic;
}

/* Responsive */
@media (max-width: 768px) {
    .wrapper {
        width: 100%;
    }
    
    .post-body {
        flex-direction: column;
    }
    
    .post-author {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #222;
        padding: 10px;
    }
    
    .profile-body {
        flex-direction: column;
    }
    
    .profile-sidebar {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #222;
    }
    
    .forum-table .col-stats,
    .forum-table .col-lastpost {
        display: none;
    }
    
    .thread-table .col-replies,
    .thread-table .col-views,
    .thread-table .col-lastpost {
        display: none;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }
.mt-10 { margin-top: 10px; }
.mb-10 { margin-bottom: 10px; }
.small { font-size: 10px; }
.muted { color: #555; }
