/* Community Board Specific Styles */

.board-container {
    padding-bottom: 6rem;
}

.comment-form {
    max-width: 800px;
    margin: 0 auto 5rem;
    padding: 3rem;
}

.comment-form h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: var(--text-main);
    font-family: var(--font-heading);
}

.form-group {
    margin-bottom: 2rem;
}

.comment-author-label {
    font-size: 1rem;
    color: var(--text-muted);
}

.comment-author-label strong {
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 1.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    border-radius: 16px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    resize: vertical;
}

.form-control:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    user-select: none;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.checkbox-group label {
    color: var(--text-muted);
    font-size: 0.95rem;
    cursor: pointer;
}

.btn-submit {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
    margin-top: 1rem;
}

.login-prompt {
    text-align: center;
    padding: 4rem 2rem;
}

.login-prompt p {
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* Comments Section */
.comments-section-header {
    margin-bottom: 3rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--surface-border);
}

.comments-section-header h3 {
    font-size: 2rem;
    font-weight: 700;
    font-family: var(--font-heading);
}

.comments-grid {
    display: grid;
    gap: 2rem;
}

.comment-item {
    padding: 2.5rem;
    transition: all 0.3s ease;
}

.comment-item:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.comment-author {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary-color);
}

.comment-date {
    color: var(--text-muted);
    font-size: 0.85rem;
}

.comment-content {
    line-height: 1.7;
    word-break: break-all;
    white-space: pre-wrap;
    color: var(--text-main);
    font-size: 1.05rem;
}

.comment-content.masked {
    color: var(--text-muted);
    font-style: italic;
    opacity: 0.7;
}

.secret-icon {
    margin-right: 0.6rem;
    filter: drop-shadow(0 0 5px var(--accent-color));
}

.empty-message {
    text-align: center;
    opacity: 0.5;
    padding: 8rem 2rem;
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Mobile Overrides */
@media (max-width: 768px) {
    .board-container {
        padding-top: 2rem;
    }
    
    .comment-form {
        padding: 2rem 1.5rem;
        margin-bottom: 3rem;
    }

    .comment-item {
        padding: 1.5rem;
    }

    .comments-section-header h3 {
        font-size: 1.6rem;
    }

    .comment-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .comment-author {
        font-size: 1rem;
    }
}
